CN114900501A - Equipment registration method and device based on positioning, electronic device and storage medium - Google Patents

Equipment registration method and device based on positioning, electronic device and storage medium Download PDF

Info

Publication number
CN114900501A
CN114900501A CN202210450247.8A CN202210450247A CN114900501A CN 114900501 A CN114900501 A CN 114900501A CN 202210450247 A CN202210450247 A CN 202210450247A CN 114900501 A CN114900501 A CN 114900501A
Authority
CN
China
Prior art keywords
equipment
registered
positioning information
position range
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210450247.8A
Other languages
Chinese (zh)
Inventor
陈绍进
黎平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Lianlianhui Network Technology Co ltd
Original Assignee
Hangzhou Lianlianhui Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Lianlianhui Network Technology Co ltd filed Critical Hangzhou Lianlianhui Network Technology Co ltd
Priority to CN202210450247.8A priority Critical patent/CN114900501A/en
Publication of CN114900501A publication Critical patent/CN114900501A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Multimedia (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a method, a device, an electronic device and a storage medium for registering equipment based on positioning, wherein the method comprises the following steps: acquiring an activation code based on equipment to be registered to initiate a registration request; acquiring positioning information and equipment information of equipment to be registered; the positioning information is generated based on a positioning module arranged in the equipment to be registered; judging whether the positioning information meets a preset use position range or not; and when the positioning information meets the use position range, activating and registering the equipment to be registered according to the registration request and the equipment information. Through the method and the device, the problem that the equipment cannot be used safely because the equipment is directly activated and registered based on the equipment ID and the activation code is solved, the equipment is activated and registered in the using position range, and the using safety of the equipment is improved.

Description

Equipment registration method and device based on positioning, electronic device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for location-based device registration, an electronic apparatus, and a storage medium.
Background
Currently released operating equipment needs to be registered firstly when being used for the first time. The registration process of the existing device is as follows: the device is provided with a uniquely identifiable serial number, an activation code corresponding to the authorized device is obtained at the device publisher through the serial number, and the activation code is used for activating and registering the device according to the device ID of the device and the obtained activation code. Since the released device may be operated by a third party, the use location of the device is known by the releasing company, and thus the use safety of the device cannot be guaranteed.
Aiming at the problem that the use safety of the equipment cannot be guaranteed because the equipment is directly activated and registered based on the equipment ID and the activation code in the related technology, no effective solution is provided at present.
Disclosure of Invention
The embodiment provides a device registration method, a device, an electronic device and a storage medium based on positioning, so as to solve the problem that the use safety of a device cannot be guaranteed when the device is directly activated and registered based on a device ID and an activation code in the related art.
In a first aspect, in this embodiment, a method for location-based device registration is provided, including:
acquiring an activation code based on equipment to be registered to initiate a registration request;
acquiring positioning information and equipment information of the equipment to be registered; the positioning information is generated based on a positioning module arranged in the equipment to be registered;
judging whether the positioning information meets a preset use position range or not;
and when the positioning information meets the use position range, activating and registering the equipment to be registered according to the registration request and the equipment information.
In some of these embodiments, the method further comprises:
and carrying out initialization setting on the equipment to be registered.
In some embodiments, the initializing the device to be registered includes:
using a geo-fencing algorithm to define the using position range of the equipment to be registered, and generating the using position range corresponding to the equipment to be registered;
and generating a unique code corresponding to the equipment to be registered based on the equipment information by utilizing a Hash encryption algorithm, and acquiring the activation code of the corresponding equipment to be registered based on the unique code.
In some embodiments, the initializing the device to be registered further includes:
and installing authorization software in the equipment to be registered, and generating an identification code with equipment information after the authorization software is started.
In some of these embodiments, the method further comprises:
and after the positioning information and the equipment information of the equipment to be registered are obtained, judging whether the identification code exists in a collection library.
In some embodiments, the determining whether the positioning information satisfies a preset using position range includes:
constructing a use path based on the longitude and latitude in the use position range; the using path is a closed polygon;
generating rays by taking the longitude and latitude in the positioning information as a starting point, and judging the number of intersection points of the rays and the closed polygon;
if the number of the intersection points is an odd number, the positioning information is in the use path, and the positioning information meets the use position range;
and if the number of the intersection points is an even number, the positioning information is outside the using path, and the positioning information does not meet the using position range.
In some of these embodiments, the method further comprises:
after the device to be registered completes activation registration, a registration certificate is generated based on the device information;
and when the positioning information meets the use position range, operating the equipment according to the registration certificate.
In a second aspect, in this embodiment, there is provided a location-based device registration apparatus, including: the device comprises a first acquisition module, a second acquisition module, a judgment module and an activation registration module;
the first acquisition module is used for acquiring an activation code initiating registration request based on equipment to be registered;
the second obtaining module is used for obtaining the positioning information and the equipment information of the equipment to be registered; the positioning information is generated based on a positioning module arranged in the equipment to be registered;
the judging module is used for judging whether the positioning information meets a preset use position range;
and the activation registration module is used for activating and registering the equipment to be registered according to the registration request and the equipment information when the positioning information meets the using position range.
In a third aspect, in this embodiment, there is provided an electronic apparatus, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the location-based device registration method according to the first aspect.
In a fourth aspect, in the present embodiment, a storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the location based device registration method of the first aspect described above.
Compared with the related art, the method, the device, the electronic apparatus and the storage medium for device registration based on positioning provided in the embodiment initiate a registration request by acquiring an activation code based on a device to be registered; acquiring positioning information and equipment information of equipment to be registered; the positioning information is generated based on a positioning module arranged in the equipment to be registered; judging whether the positioning information meets a preset use position range or not; when the positioning information meets the use position range, the device to be registered is activated and registered according to the registration request and the device information, the problem that the use safety of the device cannot be guaranteed because the device is directly activated and registered based on the device ID and the activation code is solved, the device is activated and registered in the use position range, and the use safety of the device is improved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram illustrating a location-based device registration system according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a location-based device registration method according to an embodiment of the present application;
FIG. 3 is a flowchart of step S230 in FIG. 2;
fig. 4 is a block diagram illustrating a structure of a device registration apparatus based on positioning according to an embodiment of the present application.
In the figure: 10. a device to be registered; 20. a cloud server; 210. a first acquisition module; 220. a second acquisition module; 230. a judgment module; 240. the registration module is activated.
Detailed Description
For a clearer understanding of the objects, aspects and advantages of the present application, reference is made to the following description and accompanying drawings.
Unless defined otherwise, technical or scientific terms used herein shall have the same general meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The use of the terms "a" and "an" and "the" and similar referents in the context of this application do not denote a limitation of quantity, either in the singular or the plural. The terms "comprises," "comprising," "has," "having," and any variations thereof, as referred to in this application, are intended to cover non-exclusive inclusions; for example, a process, method, and system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or modules, but may include other steps or modules (elements) not listed or inherent to such process, method, article, or apparatus. Reference throughout this application to "connected," "coupled," and the like is not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference to "a plurality" in this application means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. In general, the character "/" indicates a relationship in which the objects associated before and after are an "or". The terms "first," "second," "third," and the like in this application are used for distinguishing between similar items and not necessarily for describing a particular sequential or chronological order.
Referring to fig. 1, an exemplary diagram of a location-based device registration system is shown in this embodiment. The system comprises a device to be registered 10 and a cloud server 20; the device to be registered 10 is connected to the cloud server 20. The device 10 to be registered can be located beside the elevator, at the entrance, at the exit, etc. of the shopping center or the mall. The device to be registered 10 may be a screen device, which refers to a device with a screen, including but not limited to a guide device, an advertisement delivery device, a guide device, etc.
The method provided in the present embodiment may be executed in an arithmetic device such as the cloud server 20. When running on cloud server 20, cloud server 20 may include one or more processors and memory for storing data, where the processors may include, but are not limited to, processing devices such as a microprocessor MCU or a programmable logic device FPGA. The cloud server 20 may further include a transmission device for a communication function and an input/output device. The cloud server 20 may also have a different configuration, such as having multiple processors, etc.
The memory may be used to store a computer program, for example, a software program of an application software and a module, such as a computer program corresponding to the traffic coloring method of the database in the embodiment, and the processor executes various functional applications and data processing by running the computer program stored in the memory, so as to implement the method described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located from the processor, and these remote memories may be connected to the device to be registered 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. The network described above includes a wireless network provided by a communication provider of the cloud server 20. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for device registration based on positioning is provided, and fig. 2 is a flowchart of the method for device registration based on positioning in this embodiment, as shown in fig. 2, the flowchart includes the following steps:
step S210, acquiring an activation code initiating registration request based on the equipment to be registered;
step S220, acquiring the positioning information and the equipment information of the equipment to be registered; the positioning information is generated based on a positioning module arranged in the equipment to be registered;
step S230, judging whether the positioning information meets the preset use position range;
and step S240, when the positioning information meets the use position range, activating and registering the equipment to be registered according to the registration request and the equipment information.
The method provided by the embodiment is executed in the cloud server, that is, after the device to be registered completes initialization setting, the device to be registered is activated and registered mainly through the cloud server. The cloud server is utilized to activate and register a plurality of devices to be registered simultaneously, so that the use safety of the devices is improved, and the devices can be managed and controlled. In other embodiments, the device to be registered may be provided with a relevant computing device to perform the above steps to complete the activation registration of the device to be registered.
It should be noted that the activation code is provided by the dispenser and is typically used only once, i.e., the activation code is disabled after successful activation of the device using the activation code. Specifically, the activation code corresponding to the device can be obtained from the release provider through a unique code, a unique serial number and the like; after the device to be registered is initialized, a registration request is initiated based on the activation code, and the positioning information and the device information are provided to the cloud server. The registration request includes an activation code, request content, and the like. The positioning information and the device information can be separately transmitted to the cloud server, such as: sending separately through a transmission protocol; or may be provided to the cloud server in the registration request. The device information includes, but is not limited to, a MAC address, a CPU serial number, a hard disk serial number, and the like.
The positioning information is generated based on a positioning module arranged in the equipment to be registered. The positioning module includes, but is not limited to, a single-mode positioning module, a single-frequency multi-mode positioning module, a multi-frequency multi-mode positioning module, an antenna-integrated positioning module, and the like. The positioning information includes, but is not limited to, longitude information and latitude information. The current position of the equipment to be registered can be determined through the positioning information, and then whether the positioning information meets the preset use position range or not is judged through calculation of the positioning information and the preset use position range. Only when the positioning information meets the use position range, activating and registering the equipment to be registered according to the registration request and the equipment information; therefore, the position of the device to be registered when the device to be registered is activated and registered is controlled, and the device to be registered is prevented from being activated, registered and used in the transportation process or other situations. In other embodiments, the positioning information may also include altitude information.
Through the steps, a registration request containing an activation code, positioning information and equipment information are obtained; judging whether the positioning information meets a preset use position range or not; and finally, when the positioning information meets the use position range, activating and registering the equipment to be registered according to the registration request and the equipment information, so that the problem that the use safety of the equipment cannot be guaranteed because the equipment is directly activated and registered based on the equipment ID and the activation code is solved, the equipment is activated and registered in the use position range, and the use safety of the equipment is improved.
In some of these embodiments, the location-based device registration method further comprises the steps of:
and carrying out initialization setting on the device to be registered.
Specifically, the initialization setting of the device to be registered includes the following steps:
the method comprises the steps that a geo-fencing algorithm is utilized to define a using position range of equipment to be registered, and a using position range corresponding to the equipment to be registered is generated;
and generating a unique code corresponding to the equipment to be registered based on the equipment information by utilizing a Hash encryption algorithm, and acquiring the activation code of the corresponding equipment to be registered based on the unique code.
It should be noted that before the device to be registered activates registration, the initialization setting needs to be completed, or may be considered as preparation work that needs to be completed.
The geo-fencing algorithm is to use a virtual fence to enclose a virtual geographical boundary, and the cloud server can receive automatic notification and warning when the device to be registered enters or leaves the range of the using position. Such as: there are three marketplaces on the map, shopping mall a, shopping mall B, and shopping mall C. Mall B is the enclosed usage location range. When the user enters the mall B, the cloud server automatically receives corresponding notification and warning, and then the fact that the positioning information meets the preset use position range can be judged.
Among them, the hash encryption algorithm is also called hash algorithm, which is a method of creating a small digital "fingerprint" from any data (files, characters, etc.). The hash algorithm only needs to meet the requirement of mapping one hash object to another interval, so that the hash algorithm can be divided into encrypted hash and non-encrypted hash according to different use scenes. The hash encryption algorithm employed in this embodiment includes, but is not limited to, MD5, SHA-1, SHA-2 (including SHA-224, SHA-256, SHA-512, etc.). And carrying out hash counting processing on the equipment information through a hash encryption algorithm to generate the unique equipment code. The activation code of the corresponding device to be registered can be obtained from the operator based on the unique code. The activation code may also be placed directly in the device to be registered by the operator.
Specifically, the initializing the device to be registered further includes:
and installing authorization software in the equipment to be registered, and generating an identification code with equipment information after the authorization software is started.
The device to be registered is provided with authorization software, and when a user starts the device to be registered, the authorization software can be automatically operated, and an identification code with device information is generated on a device interface. The identification may be a bar code, two-dimensional code, or the like. And providing the equipment information to a cloud server or a client of a user in a code scanning mode, a background operation mode or the like. A client: may be a mobile terminal, a fixed terminal, or a portable terminal such as a mobile handset, station, unit, device, multimedia computer, multimedia tablet, internet node, communicator, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, Personal Communication System (PCS) device, personal navigation device, Personal Digital Assistant (PDA), audio/video player, digital camera/camcorder, positioning device, television receiver, radio broadcast receiver, electronic book device, game device, or any combination thereof, including accessories and peripherals of these devices, or any combination thereof.
In some of these embodiments, the location-based device registration method further comprises the steps of:
after the positioning information and the equipment information of the equipment to be registered are obtained, whether the identification code exists in the collection library is judged.
Specifically, the collection library stores the identification codes of the devices installed or to be activated and registered in each shopping center. Because the identification code is generated based on the device information by using a hash encryption algorithm, the identification code has uniqueness and safety. Whether the identification code corresponding to the current equipment to be registered exists in the collection library can be judged by comparing the identification code with the identification codes in the collection library one by one, so that the association with the shopping center is completed, and the use safety of the equipment is further improved. Such as: performing Hash calculation on the identification code to obtain a hardware serial number, and inquiring whether the hardware serial number and the associated shopping center exist or not; if not; the device number is bound to the shopping mall relationship.
In some embodiments, as shown in fig. 3, step S230 includes the following steps:
step S231, constructing a using path based on the longitude and latitude in the using position range; the using path is a closed polygon;
step S232, generating rays by taking the longitude and latitude in the positioning information as a starting point, and judging the number of intersection points of the rays and the closed polygon;
step S233, if the number of the intersection points is odd, the positioning information is in the using path, and the positioning information meets the using position range;
in step S234, if the number of intersections is an even number, the positioning information is outside the use path, and the positioning information does not satisfy the use position range.
Specifically, the construction process of the use path is as follows: splitting the longitude and latitude into arrays; and taking any point in the array as a starting point, sequentially traversing the array and connecting the line, and finally returning to the point of the starting point in the array, thereby forming a closed polygon.
And generating rays by taking the longitude and latitude in the positioning information as a starting point, drawing an infinite ray by taking each point in the longitude and latitude as the starting point in any direction, and judging the number of intersection points of the rays and the closed polygon. Since the use path is a closed polygon, if the positioning information is in the use position range, the number of intersections of the ray with the closed polygon is odd. Therefore, if the number of the intersection points is odd, the positioning information is in the use path, and the positioning information meets the use position range; if the number of the intersection points is an even number, the positioning information is outside the using path, and the positioning information does not meet the using position range.
In some embodiments, in order to further improve the security of use, the activation registration of the device to be registered needs to satisfy four conditions, which are: 1. judging whether the identification code of the equipment exists in a database or not and whether the equipment information is collected or not; 2. judging whether the equipment is in the use position range or not; 3. judging whether the activation code is available; 4. whether the identification code of the authorization software and the equipment has other binding relations (hash calculation is carried out on the identification code to obtain a hardware serial number, whether the hardware serial number and the associated shopping center exist is inquired, and if not, the equipment number and the shopping center relation are bound); and only if the conditions are met, activating and registering the equipment to be registered according to the registration request and the equipment information.
In some embodiments, after the device to be registered completes activation registration, a registration certificate is generated based on the device information;
and when the positioning information meets the use position range, operating the equipment according to the registration certificate.
Specifically, the registration certificate is used for monitoring normal operation of the device, and if the device under monitoring leaves a range using position range or detects that device information is changed, software and hardware of the device stop operating, and position warning information is sent.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
In this embodiment, a device registration apparatus based on positioning is also provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description of which has been already made is omitted. The terms "module," "unit," "subunit," and the like as used below may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a positioning-based device registration apparatus according to this embodiment, and as shown in fig. 4, the apparatus includes: a first obtaining module 210, a second obtaining module 220, a judging module 230 and an activation registering module 240;
a first obtaining module 210, configured to obtain an activation code based on a device to be registered to initiate a registration request;
a second obtaining module 220, configured to obtain location information and device information of a device to be registered; the positioning information is generated based on a positioning module arranged in the equipment to be registered;
a determining module 230, configured to determine whether the positioning information meets a preset use position range;
and an activation registration module 240, configured to activate and register the device to be registered according to the registration request and the device information when the location information meets the usage location range.
Through the device, the problem that the equipment cannot be used safely because the equipment is directly activated and registered based on the equipment ID and the activation code is solved, the equipment is activated and registered in the using position range, and the using safety of the equipment is improved.
In some embodiments, on the basis of fig. 4, the apparatus further includes a setting module:
and the setting module is used for carrying out initialization setting on the equipment to be registered.
In some embodiments, the setting module is further configured to define a use location range of the device to be registered by using a geo-fencing algorithm, and generate a use location range corresponding to the device to be registered;
and generating a unique code corresponding to the equipment to be registered based on the equipment information by utilizing a Hash encryption algorithm, and acquiring the activation code of the corresponding equipment to be registered based on the unique code.
In some embodiments, the setting module is further configured to install authorization software in the device to be registered, and generate an identification code with device information after the authorization software is started.
In some embodiments, on the basis of fig. 4, the apparatus further includes a third obtaining module;
and the third acquisition module is used for judging whether the identification code exists in the collection library or not after the positioning information and the equipment information of the equipment to be registered are acquired.
In some embodiments, the determining module 230 is further configured to construct a usage path based on the longitude and latitude in the usage location range; the using path is a closed polygon;
generating rays by taking the longitude and latitude in the positioning information as a starting point, and judging the number of intersection points of the rays and the closed polygon;
if the number of the intersection points is odd, the positioning information is in the use path, and the positioning information meets the use position range;
if the number of the intersection points is an even number, the positioning information is outside the using path, and the positioning information does not meet the using position range.
In some embodiments, on the basis of fig. 4, the apparatus further includes a generation module:
the generation module is used for generating a registration certificate based on the equipment information after the equipment to be registered completes activation registration;
and when the positioning information meets the use position range, operating the equipment according to the registered certificate.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
There is also provided in this embodiment an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring an activation code based on the device to be registered to initiate a registration request;
s2, acquiring the positioning information and the equipment information of the equipment to be registered; the positioning information is generated based on a positioning module arranged in the equipment to be registered;
s3, judging whether the positioning information meets the preset use position range;
and S4, when the positioning information meets the use position range, activating and registering the device to be registered according to the registration request and the device information.
It should be noted that, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementations, and details are not described again in this embodiment.
In addition, in combination with the location-based device registration method provided in the foregoing embodiment, a storage medium may also be provided to implement this embodiment. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any of the location based device registration methods of the above embodiments.
It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to be limiting. All other embodiments, which can be derived by a person skilled in the art from the examples provided herein without any inventive step, shall fall within the scope of protection of the present application.
It is obvious that the drawings are only examples or embodiments of the present application, and it is obvious to those skilled in the art that the present application can be applied to other similar cases according to the drawings without creative efforts. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
The term "embodiment" is used herein to mean that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly or implicitly understood by one of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the patent protection. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method for location-based device registration, comprising:
acquiring an activation code based on equipment to be registered to initiate a registration request;
acquiring positioning information and equipment information of the equipment to be registered; the positioning information is generated based on a positioning module arranged in the equipment to be registered;
judging whether the positioning information meets a preset use position range or not;
and when the positioning information meets the use position range, activating and registering the equipment to be registered according to the registration request and the equipment information.
2. The location based device registration method of claim 1, further comprising:
and carrying out initialization setting on the equipment to be registered.
3. The method of claim 2, wherein the initializing the device to be registered comprises:
using a geo-fencing algorithm to define the using position range of the equipment to be registered, and generating the using position range corresponding to the equipment to be registered;
and generating a unique code corresponding to the equipment to be registered based on the equipment information by utilizing a Hash encryption algorithm, and acquiring the activation code of the corresponding equipment to be registered based on the unique code.
4. The location-based device registration method according to claim 3, wherein the initializing the device to be registered further comprises:
and installing authorization software in the equipment to be registered, and generating an identification code with equipment information after the authorization software is started.
5. The location based device registration method of claim 4, further comprising:
and after the positioning information and the equipment information of the equipment to be registered are obtained, judging whether the identification code exists in a collection library.
6. The method of claim 1, wherein the determining whether the positioning information satisfies a preset usage location range comprises:
constructing a use path based on the longitude and latitude in the use position range; the using path is a closed polygon;
generating rays by taking the longitude and latitude in the positioning information as a starting point, and judging the number of intersection points of the rays and the closed polygon;
if the number of the intersection points is an odd number, the positioning information is in the use path, and the positioning information meets the use position range;
and if the number of the intersection points is an even number, the positioning information is outside the using path, and the positioning information does not meet the using position range.
7. The location based device registration method of claim 6, further comprising:
after the device to be registered completes activation registration, a registration certificate is generated based on the device information;
and when the positioning information meets the use position range, operating the equipment according to the registration certificate.
8. A location-based device registration apparatus, comprising: the device comprises a first acquisition module, a second acquisition module, a judgment module and an activation registration module;
the first acquisition module is used for acquiring an activation code initiating registration request based on equipment to be registered;
the second obtaining module is used for obtaining the positioning information and the equipment information of the equipment to be registered; the positioning information is generated based on a positioning module arranged in the equipment to be registered;
the judging module is used for judging whether the positioning information meets a preset use position range;
and the activation registration module is used for activating and registering the equipment to be registered according to the registration request and the equipment information when the positioning information meets the using position range.
9. An electronic apparatus comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the steps of the location based device registration method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the location based device registration method according to any one of claims 1 to 7.
CN202210450247.8A 2022-04-27 2022-04-27 Equipment registration method and device based on positioning, electronic device and storage medium Pending CN114900501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210450247.8A CN114900501A (en) 2022-04-27 2022-04-27 Equipment registration method and device based on positioning, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210450247.8A CN114900501A (en) 2022-04-27 2022-04-27 Equipment registration method and device based on positioning, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114900501A true CN114900501A (en) 2022-08-12

Family

ID=82718603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210450247.8A Pending CN114900501A (en) 2022-04-27 2022-04-27 Equipment registration method and device based on positioning, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114900501A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095598A (en) * 2022-12-13 2023-05-09 国网湖南省电力有限公司 Registration position verification method and system for Internet of things acquisition equipment based on positioning

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882750A (en) * 2012-09-18 2013-01-16 华为软件技术有限公司 IPTV-based network access method and device
CN103493456A (en) * 2011-04-04 2014-01-01 瑞典爱立信有限公司 A method of and a support node for requesting registration of stationary user equipment in a cellular telecommunication system
CN103905920A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Network television open configuration method based on Ethernet dynamic address access and system thereof
CN109068326A (en) * 2018-07-24 2018-12-21 腾讯科技(深圳)有限公司 A kind of authentication method, device, terminal, storage medium and system
CN109525571A (en) * 2018-11-07 2019-03-26 紫光测控有限公司 A kind of registration activation method and system of intelligent electronic device
CN109565442A (en) * 2017-01-19 2019-04-02 株式会社世尊信息系统 IoT data collection system, IoT data collection method, management device, management program, agent device, and agent program
CN111376865A (en) * 2018-12-29 2020-07-07 上海银基信息安全技术股份有限公司 Vehicle digital key activation method, system and storage medium
CN113115435A (en) * 2021-03-12 2021-07-13 武汉慧联无限科技有限公司 Activation processing method, device, equipment and storage medium
CN113779523A (en) * 2021-09-13 2021-12-10 福州汇思博信息技术有限公司 A method, device, device and medium for rights management and control of terminal equipment
CN114282274A (en) * 2021-12-28 2022-04-05 北京纬百科技有限公司 Activation code verification method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103493456A (en) * 2011-04-04 2014-01-01 瑞典爱立信有限公司 A method of and a support node for requesting registration of stationary user equipment in a cellular telecommunication system
CN102882750A (en) * 2012-09-18 2013-01-16 华为软件技术有限公司 IPTV-based network access method and device
CN103905920A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Network television open configuration method based on Ethernet dynamic address access and system thereof
CN109565442A (en) * 2017-01-19 2019-04-02 株式会社世尊信息系统 IoT data collection system, IoT data collection method, management device, management program, agent device, and agent program
CN109068326A (en) * 2018-07-24 2018-12-21 腾讯科技(深圳)有限公司 A kind of authentication method, device, terminal, storage medium and system
CN109525571A (en) * 2018-11-07 2019-03-26 紫光测控有限公司 A kind of registration activation method and system of intelligent electronic device
CN111376865A (en) * 2018-12-29 2020-07-07 上海银基信息安全技术股份有限公司 Vehicle digital key activation method, system and storage medium
CN113115435A (en) * 2021-03-12 2021-07-13 武汉慧联无限科技有限公司 Activation processing method, device, equipment and storage medium
CN113779523A (en) * 2021-09-13 2021-12-10 福州汇思博信息技术有限公司 A method, device, device and medium for rights management and control of terminal equipment
CN114282274A (en) * 2021-12-28 2022-04-05 北京纬百科技有限公司 Activation code verification method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
贾建: "《计算机图形学》", 西安电子科技大学出版社, pages: 41 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095598A (en) * 2022-12-13 2023-05-09 国网湖南省电力有限公司 Registration position verification method and system for Internet of things acquisition equipment based on positioning

Similar Documents

Publication Publication Date Title
US11669872B2 (en) Smart broadcasting device
TWI755580B (en) Authentication method and device and electronic device
CN112202772B (en) An authorization management method, device, electronic device and medium
US10728244B2 (en) Method and system for credential management
KR102559827B1 (en) System for authenticating image based on blockchain and hash encryption technique and method thereof
WO2014194731A1 (en) Virtual user identification data distributing method and obtaining method, and devices
CN114268445B (en) Authentication method, device, system, authentication module and terminal for cloud phone application
CN102523282A (en) Mobile terminal data sharing method, apparatus thereof and network server
US7792928B2 (en) Method for establishing secure remote access over a network
KR20180061272A (en) Method and apparatus for data processing between terminals, device and storage medium
US9426130B2 (en) Methods, devices and systems for anti-counterfeiting authentication
CN104540086A (en) Business card information transmission method and device
CN106534102A (en) Device access method and device and electronic device
CN112874360A (en) Charging starting method and device for charging pile and computer readable storage medium
JP6533963B2 (en) User terminal, authentication terminal, authentication method and program
CN114900501A (en) Equipment registration method and device based on positioning, electronic device and storage medium
US10127407B2 (en) Location defined power charger management authorization for a user equipment
CN103457717A (en) Information processing apparatus, information processing system, information processing method, and program
CN108460251B (en) Method, device and system for running application program
US20130326591A1 (en) Wireless communication device and wireless communication method
US10542569B2 (en) Community-based communication network services
EP2849470B1 (en) Function sharing in wireless access hotspot device
CN113055884A (en) Network access method, network access device and terminal
CN110601852B (en) Authentication and authorization method and system for electronic equipment of voice conversation platform
CN115270082A (en) Method for sharing Digital Rights Management (DRM) file and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220812

RJ01 Rejection of invention patent application after publication