CN112511653B - Service authority activation method, configuration method and registration method of Internet of things equipment - Google Patents

Service authority activation method, configuration method and registration method of Internet of things equipment Download PDF

Info

Publication number
CN112511653B
CN112511653B CN202110148684.XA CN202110148684A CN112511653B CN 112511653 B CN112511653 B CN 112511653B CN 202110148684 A CN202110148684 A CN 202110148684A CN 112511653 B CN112511653 B CN 112511653B
Authority
CN
China
Prior art keywords
internet
activation
information
things
equipment
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.)
Active
Application number
CN202110148684.XA
Other languages
Chinese (zh)
Other versions
CN112511653A (en
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.)
FILLER SMART IOT TECHNOLOGY Co.,Ltd.
Original Assignee
Wuhan Wiregate 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 Wuhan Wiregate Technology Co ltd filed Critical Wuhan Wiregate Technology Co ltd
Priority to CN202110148684.XA priority Critical patent/CN112511653B/en
Publication of CN112511653A publication Critical patent/CN112511653A/en
Application granted granted Critical
Publication of CN112511653B publication Critical patent/CN112511653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a service authority activation method, a service authority configuration method and a registration method of Internet of things equipment. The method is applied to the Internet of things equipment and comprises the following steps: outputting an activation page; receiving an activation operation input on the activation page; based on the activation operation, sending an activation request carrying activation information and equipment information of the Internet of things equipment to an Internet of things platform; and receiving an activation response issued after the binding relationship between the activation information and the equipment information passes verification, wherein the activated Internet of things equipment has a preset service permission for using the Internet of things platform.

Description

Service authority activation method, configuration method and registration method of Internet of things equipment
Technical Field
The invention relates to the technical field of networks, in particular to a service authority activation method, a configuration method and a registration method of Internet of things equipment.
Background
The existing Internet of things platform provides registration service of Internet of things equipment for different customers, registration of the Internet of things equipment is completed on the Internet of things platform, and the Internet of things equipment can be used; however, in this way, the registration parameters of the internet of things device are transferred along with the sales flow of the internet of things device, which poses a great risk to the security and data security of the internet of things device.
And the registration parameter difference of the internet of things equipment with different communication modes is large, for a terminal user, the registration of the internet of things equipment is completed by adopting different registration parameters aiming at the internet of things equipment with different communication modes, the operation complexity is high, and the user experience is poor. In the related technology, access authorization of the Internet of things equipment is completed directly in a unified number allocation mode of the Internet of things platform, so that production of the Internet of things equipment is limited, and a suitable platform of the Internet of things equipment is also limited.
Disclosure of Invention
The embodiment of the invention provides a service authority activation method, a configuration method, a registration device, electronic equipment and a storage medium of Internet of things equipment.
The technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for activating a service right of an internet of things device, where the method is applied to the internet of things device and includes:
outputting an activation page;
receiving an activation operation input on the activation page;
based on the activation operation, sending an activation request carrying activation information and equipment information of the Internet of things equipment to an Internet of things platform;
and receiving an activation response issued after the binding relationship between the activation information and the equipment information passes verification, wherein the activated Internet of things equipment has a preset service permission for using the Internet of things platform.
In a second aspect, an embodiment of the present invention provides a service authority configuration method for an internet of things device, which is applied to an internet of things platform, and includes:
receiving an activation request sent by the Internet of things equipment;
determining whether the activation information and the equipment information carried by the activation request belong to the same binding relationship established in advance;
and if the activation information carried by the activation request and the equipment information belong to the same binding relationship which is established in advance, activating a service authority which is opened in advance for the equipment of the Internet of things, and issuing an activation response to the equipment of the Internet of things.
In a third aspect, an embodiment of the present invention provides a registration method for an internet of things device, which is applied to a registration terminal, and includes:
sending a registration request to an Internet of things platform, wherein the registration request carries registration information of the Internet of things equipment to be registered;
receiving a registration response which is returned based on the registration information and carries activation information; the activation information is carried in an activation request initiated by the corresponding internet of things equipment to the internet of things platform.
In a fourth aspect, an embodiment of the present invention provides a registration method for an internet of things device, which is applied to an internet of things platform, and includes:
receiving a registration request, wherein the registration request carries registration information of the Internet of things equipment to be registered;
configuring service authority of the Internet of things equipment in the Internet of things platform based on the registration request, and generating activation information of the Internet of things equipment; the stored activation information is used for verifying whether the activation of the Internet of things equipment is carried out;
and sending a registration response carrying the activation information to a registration terminal.
In a fifth aspect, an embodiment of the present invention provides a service permission activation device for an internet of things device, where the service permission activation device is applied to the internet of things device, and the service permission activation device includes:
the output module is used for outputting the activated page;
the receiving module is used for receiving the activation operation input on the activation page;
the sending module is used for sending an activation request carrying activation information and equipment information of the Internet of things equipment to the Internet of things platform based on the activation operation;
the receiving module is further configured to receive an activation response issued after the binding relationship between the activation information and the device information is verified, where the activated internet of things device has a preset service right for using the internet of things platform.
In a sixth aspect, an embodiment of the present invention provides a service authority configuration device for an internet of things device, where the service authority configuration device is applied to an internet of things platform, and the service authority configuration device includes:
the request receiving module is used for receiving an activation request sent by the Internet of things equipment;
the determining module is used for determining whether the activation information and the equipment information carried by the activation request belong to the same binding relationship which is established in advance;
and the configuration module is used for activating a pre-opened service authority for the equipment of the Internet of things and issuing an activation response to the equipment of the Internet of things if the activation information carried by the activation request and the equipment information belong to the same pre-established binding relationship.
In a seventh aspect, an embodiment of the present invention provides a registration apparatus for an internet of things device, where the registration apparatus is applied to a registration terminal, and the registration apparatus includes:
the request module is used for sending a registration request to the Internet of things platform, wherein the registration request carries registration information of the Internet of things equipment to be registered;
the registration response module is used for receiving a registration response which is returned based on the registration information and carries the activation information; the activation information is carried in an activation request initiated by the corresponding internet of things equipment to the internet of things platform.
In an eighth aspect, an embodiment of the present invention provides a registration apparatus for an internet of things device, which is applied to an internet of things platform, and includes:
the registration receiving module is used for receiving a registration request, wherein the registration request carries registration information of the Internet of things equipment to be registered;
the registration module is used for configuring the service authority of the Internet of things equipment in the Internet of things platform based on the registration request and generating activation information of the Internet of things equipment; the stored activation information is used for verifying whether the activation of the Internet of things equipment is carried out; and sending a registration response carrying the activation information to a registration terminal.
In a ninth aspect, an embodiment of the present invention provides an electronic device, including:
a memory for storing executable instructions;
and the processor is configured to implement the service authority activation method of the internet of things device provided by one or more of the foregoing technical solutions when executing the executable instructions stored in the memory.
In a tenth aspect, an embodiment of the present invention provides an electronic device, including:
a memory for storing executable instructions;
and the processor is configured to implement the service authority configuration method of the internet of things device provided by one or more technical solutions when the processor executes the executable instructions stored in the memory.
In an eleventh aspect, an embodiment of the present invention provides an electronic device, including:
a memory for storing executable instructions;
the processor is configured to, when executing the executable instructions stored in the memory, implement the registration method of the internet of things device according to one or more of the foregoing technical solutions.
In a twelfth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores executable instructions, and when the executable instructions are executed by a processor, the method for activating service permissions of an internet of things device is implemented as provided in one or more of the foregoing technical solutions.
In a thirteenth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores executable instructions, and when the executable instructions are executed by a processor, the method for configuring service permissions of internet of things devices according to one or more of the foregoing technical solutions is implemented.
In a fourteenth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores executable instructions, and when the executable instructions are executed by a processor, the method for registering an internet of things device provided in one or more of the foregoing technical solutions is implemented.
According to the service authority activation method, the configuration method, the registration method and device, the electronic equipment and the storage medium of the Internet of things equipment, the activation page is output; receiving an activation operation input on the activation page; based on the activation operation, sending an activation request carrying activation information and equipment information of the Internet of things equipment to an Internet of things platform; and receiving an activation response issued after the binding relationship between the activation information and the equipment information passes verification, wherein the activated Internet of things equipment has a preset service permission for using the Internet of things platform.
In this way, the registration process and the activation process of the internet of things equipment are separated, so that the registration and binding can be completed in advance before the internet of things equipment leaves a factory, and when a subsequent user uses the internet of things equipment, the activation of the internet of things equipment can be completed directly through the activation page of the internet of things equipment, so that the service right of the internet of things equipment is obtained; the terminal user does not need to register and bind the Internet of things equipment, the operation complexity of the terminal user is reduced, and the user experience is improved. And because the registration of the Internet of things equipment is completed in advance before leaving the factory, the registration parameters of the Internet of things equipment do not need to flow along with the sales flow of the Internet of things equipment, and the safety of the equipment and the safety of data are improved.
Drawings
Fig. 1 is a schematic flowchart of a service right activation method for an internet of things device according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a service authority configuration method of an internet of things device according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a registration method of an internet of things device applied to a registration terminal according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a registration method of an internet of things device applied to an internet of things platform according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a service authority activation apparatus of an internet of things device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a service authority configuration apparatus of an internet of things device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a registration apparatus of an internet of things device applied to a registration terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a registration apparatus of an internet of things device applied to an internet of things platform according to an embodiment of the present invention;
fig. 9 is a schematic diagram of component modules of an internet of things device access authorization system according to an embodiment of the present invention;
fig. 10 is a schematic flowchart of an access authorization method for an internet of things device according to an embodiment of the present invention;
fig. 11 is a schematic flowchart of an authorized access method applied to an internet of things device on a platform vendor side according to an embodiment of the present invention;
fig. 12 is a schematic flowchart of an access authorization method applied to an internet of things device on a terminal manufacturer side according to an embodiment of the present invention;
fig. 13 is a schematic flowchart of an access authorization method applied to an internet of things device on an end user side according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, to enable embodiments of the invention described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
An embodiment of the present invention provides a method for activating a service right of an internet of things device, where the method is applied to an internet of things device, and fig. 1 is a schematic flow diagram of a method for activating a service right of an internet of things device provided in an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101, outputting an activation page;
step 102, receiving an activation operation input on the activation page;
103, sending an activation request carrying activation information and equipment information of the Internet of things equipment to an Internet of things platform based on the activation operation;
and 104, receiving an activation response issued after the binding relationship between the activation information and the equipment information passes verification, wherein the activated Internet of things equipment has a preset service permission for using the Internet of things platform.
In step 101, the internet of things device may display a User Interface (UI), where the UI may include the activation page for activating the preset service permission on the internet of things platform. Namely, a UI which can be used for interaction of related matters such as preset service authority activation and the like is introduced into the Internet of things equipment.
It should be noted that the active page is a page that can be currently operated by the user in the internet of things device, that is, a page currently presented on the internet of things device of the user. The activation page can be a page which is automatically triggered to be presented when the Internet of things equipment is started for the first time, so that a user is guided to complete activation of the Internet of things equipment.
In step 102, the activation operation may be a key-in operation, an image capturing operation, or an activation operation sent by the control device.
Illustratively, the internet of things device can present a virtual keyboard or an entity button on a user interface by receiving a trigger operation on an activation page, and acquire a typing operation of a user on the virtual keyboard or the entity button; and acquiring the activation information input by the user and the equipment information of the to-be-activated Internet of things equipment based on the key-in operation.
Illustratively, the internet of things equipment comprises an image acquisition device, wherein the image acquisition device can be started by receiving triggering operation of the image acquisition device on an activation page; and acquiring the activation information and the equipment information of the to-be-activated Internet of things equipment based on the image acquired by the image acquisition device.
As another example, the internet of things device may include: a control device including, but not limited to, a user's mobile terminal including, but not limited to: a user's mobile phone, tablet computer or remote controller, etc.; and the mobile terminal transmits the activation operation to the Internet of things equipment after receiving the activation operation.
In some embodiments, the activation page may be displayed on a display screen of the internet of things device, or may be displayed on a display screen of a control device of the internet of things device.
In step 103, address information of the internet of things platform is stored in the internet of things device in advance;
acquiring the activation information and the equipment information of the to-be-activated Internet of things equipment based on the activation operation; generating an activation request based on the activation information and the equipment information of the Internet of things equipment to be activated; and sending the activation request to the Internet of things platform according to the address information of the Internet of things platform stored in advance.
Wherein the activation request includes at least: device information and the activation information of the internet of things device; the activation information may include: license information registered by the Internet of things equipment on the Internet of things platform; the activation information is unique within the internet of things platform.
Illustratively, the activation information may include: and the sequence codes are distributed by the Internet of things platform.
The device information may include: the equipment code of the Internet of things equipment; and the equipment code of the Internet of things equipment is used for uniquely identifying the Internet of things equipment. For example, the device code may be a unique identity identifier of the internet of things device.
Illustratively, the device information may include a device serial number, or an International Mobile Equipment Identity (IMEI).
The activation request is used for the internet of things platform to verify whether the equipment information of the internet of things equipment and the activation information in the activation request belong to the same binding relationship.
In some embodiments, the activation request further includes: user information; the user information is used for determining a user indicated by the user information as an activated user of the Internet of things equipment by the Internet of things platform after the Internet of things equipment is successfully activated.
In an embodiment of the present invention, the user information includes at least one of:
identity identification information of the user;
identity priority level information of the user;
type information of the user;
and the authority information of the user.
In the embodiment of the invention, the activation user of the internet of things equipment is used for determining whether to execute the operation corresponding to the operation request according to the user information carried in the operation request and the activation user of the internet of things equipment when the internet of things equipment receives the operation request aiming at the internet of things equipment.
For example, if a user a sends an activation request to an internet of things platform through an internet of things device 1, where the activation request carries user information corresponding to the user a; after the internet of things equipment 1 is successfully activated, the internet of things platform determines the user A as an activated user of the internet of things equipment 1 and sends an activation response downwards; the Internet of things equipment 1 receives the activation response and outputs activation success prompt information; a user B sends an activation equipment deletion request aiming at an Internet of things equipment 1 to an Internet of things platform through an Internet of things equipment 2, wherein the activation equipment deletion request carries user information corresponding to the user B; and the Internet of things platform receives the activation equipment deletion request, determines that the user B indicated by the user information in the activation equipment deletion request is inconsistent with the activation user corresponding to the Internet of things equipment 1, and issues request failure prompt information to the Internet of things equipment 2.
It should be noted that the internet of things device only supports activation by one user; the Internet of things equipment carries user information in the activation request, so that an Internet of things platform can record the user information after the Internet of things equipment is activated based on the activation information and the equipment information, and can inhibit other users from activating the Internet of things equipment through the activation information and the equipment information, and the Internet of things equipment is operated by other users.
In step 104, after receiving the activation response, the internet of things device outputs the activation success prompt message through the user interface.
If the Internet of things platform determines that the equipment information of the Internet of things equipment and the activation information have a binding relationship according to the activation information in the activation request and the equipment information of the Internet of things equipment; and the Internet of things equipment receives an activation response issued by the Internet of things platform.
In some embodiments, the activation response may include: service authority information of the internet of things equipment which is activated;
and after receiving the activation response issued by the Internet of things platform, the Internet of things equipment analyzes the activation response to obtain activated service authority information of the Internet of things equipment, and outputs activation success prompt information comprising the service authority information on a user interface.
In some embodiments, if the internet of things device does not receive the activation response within a preset time, it is determined that the activation of the internet of things device fails; and outputting the activation failure prompt information through the user interface.
In other embodiments, if the internet of things device does not receive the activation response within a preset time, the internet of things device resends the activation request to the internet of things platform; if the number of times that the Internet of things equipment retransmits the activation request reaches a preset number of times, determining that the activation of the Internet of things equipment fails; and outputting the activation failure prompt information through the user interface.
In the embodiment of the invention, the preset time and the preset times can be set according to actual requirements; for example, the preset time is set to 1 minute and the preset number of times is set to 3 times.
In some embodiments, the activation failure prompt information may include: failure detail information; the failure detailed information is used for indicating a specific reason of the activation failure of the internet of things equipment.
For example, the failure details may include: the device of the internet of things is activated by other users, the device information of the device of the internet of things and the activation information do not belong to the same binding relationship, the device information of the device of the internet of things is wrong, the activation information is wrong, and the like.
Optionally, before the step 101, the method further comprises:
determining whether the Internet of things equipment completes registration configuration and establishment of a binding relationship between activation information and equipment information;
and if the Internet of things equipment completes registration configuration and establishment of the binding relationship, outputting the activation page.
In some embodiments, since the internet of things device is activated by determining whether a binding relationship exists between the device information of the internet of things device and the activation information; therefore, before activating the internet of things device, the internet of things device needs to be registered on the internet of things platform, and a binding relationship between the device information and the activation information of the internet of things device needs to be established.
Determining whether the Internet of things equipment can be activated or not by determining whether the Internet of things equipment completes registration configuration or not and determining whether binding relationship is established between equipment information and activation information of the Internet of things equipment or not; and if the Internet of things equipment completes registration configuration and establishment of the binding relationship, outputting the activation page through the user interface.
In some embodiments, the determining whether the internet of things device completes registration configuration and establishment of a binding relationship between activation information and device information includes:
sending a determination request carrying equipment information of the Internet of things equipment and the activation information to an Internet of things platform; the determination request is used for the Internet of things platform to inquire the registration state of the Internet of things equipment according to the equipment information; determining a binding state according to the equipment information and the activation information;
receiving a confirmation response returned based on the registration status and the binding status; the determination response is used for indicating whether the Internet of things equipment completes registration configuration and establishment of a binding relationship between the activation information and the equipment information.
In an embodiment of the present invention, the determining request at least includes: device information and the activation information of the internet of things device; the device information of the Internet of things device is used for the Internet of things platform to inquire the registration state of the Internet of things device corresponding to the device information in a pre-stored registered network device list according to the device information; the activation information is used for the Internet of things platform to inquire the binding state of the activation information in pre-stored binding information according to the activation information.
The determining a response may include: the registration state and the binding state; the registration state is used for indicating whether the Internet of things equipment completes registration on the Internet of things platform or not; the binding status is used for indicating whether the device information and/or the activation information establish a binding relationship.
In some embodiments, if the determined response satisfies a first condition, outputting an activation page;
and if the determined response does not meet the first condition, outputting prompt information.
In this embodiment of the present invention, the first condition may be that the registration status information corresponding to the internet of things device indicates that the internet of things device completes registration configuration, and the internet of things device completes establishment of a binding relationship.
The prompt message is used for indicating the registration state and/or the binding state of the Internet of things equipment;
in other embodiments, the prompt message is output if the determined response does not satisfy the first condition; and outputting a registration page or a binding page according to the prompt message.
For example, if the determination response indicates that the registration state information corresponding to the internet of things device is unregistered, the internet of things device outputs prompt information indicating that the internet of things device is unregistered; and after a preset time interval (for example, after 10 seconds) of outputting the prompt message, the internet of things device automatically outputs a registration page to guide the user to complete registration configuration of the internet of things device.
For another example, if the determination response indicates that the registration state information corresponding to the internet of things device is registered and the binding state is unbound, the internet of things device outputs prompt information indicating that the internet of things device is registered but unbound; and after a preset time interval (for example, after 10 seconds) of outputting the prompt message, the internet of things device automatically outputs a binding page to guide a user to establish a binding relationship of the internet of things device.
Optionally, the method further comprises:
if the Internet of things equipment is unregistered equipment, outputting a registration page;
receiving registration information input on the registration page;
sending a registration request of the Internet of things equipment to an Internet of things platform based on the registration information;
receiving a registration response issued after the registration request passes; wherein, the registration response carries activation information;
storing the activation information.
In this embodiment of the present invention, the registration information includes: device information, network information and physical information of the Internet of things device; the equipment information of the Internet of things equipment is used for identifying the Internet of things equipment, and the network information and the physical information are used for communication verification between the Internet of things platform and the Internet of things equipment, so that the Internet of things equipment can normally communicate with the Internet of things platform.
The activation information may be permission information registered by the internet of things device on the internet of things platform; the activation information is unique within the internet of things platform.
If the Internet of things equipment is unregistered equipment, outputting a registration page through the user interface; receiving registration information input by a user on the user interface; generating a registration request based on the registration information, and sending the registration request to the Internet of things platform; and receiving a registration response sent back by the Internet of things platform, acquiring activation information carried in the registration response, and storing the activation information in the Internet of things equipment.
In some embodiments, if the internet of things device does not receive the registration response within a preset time, it is determined that the internet of things device fails to register; and outputting the registration failure prompt information through the user interface.
For example, if the internet of things device does not receive a registration response within a preset time (e.g., 3 minutes) after sending the registration request to the internet of things platform, it is determined that the internet of things device fails to register; the method comprises the steps that the Internet of things equipment outputs prompt information indicating registration failure of the Internet of things equipment through a user interface; and after a preset time interval (for example, after 10 seconds) of outputting the prompt message, the internet of things device automatically outputs a registration page, and the user is guided to complete registration configuration of the internet of things device again.
In some embodiments, if the registration response indicates that the internet of things device successfully completes registration configuration, the method further includes:
outputting the binding page;
acquiring activation information in the registration response and equipment information of the Internet of things equipment;
sending a binding request carrying the activation information and the equipment information to the Internet of things platform based on the triggering operation of the binding page;
and receiving a binding response issued after the binding relationship between the activation information and the equipment information is successfully established.
In the embodiment of the present invention, the trigger operation may include a click operation, a voice instruction, or a preset key operation for a preset area. For example, the trigger operation is a click operation for a "bind" icon on a bound page.
After the Internet of things equipment receives the registration response, a binding page is output on the user interface; the Internet of things equipment acquires the activation information in the registration response and the equipment information of the Internet of things equipment, and generates a binding request based on the activation information and the equipment information; and after receiving the triggering operation of the user on the binding page, the Internet of things equipment sends the binding request to the Internet of things platform. And receiving the binding response, and outputting prompt information of successful establishment of the binding relationship through the user interface.
For example, if the internet of things device receives a confirmation response indicating that the internet of things device is an unregistered device, outputting a registration page through the user interface, and receiving registration information input on the registration page; sending a registration request of the Internet of things equipment to an Internet of things platform based on the registration information; the Internet of things equipment receives a registration response issued after the registration request passes; wherein the registration response comprises: device information and the activation information of the internet of things device; and the Internet of things equipment stores the equipment information and the activation information.
The Internet of things equipment outputs a binding page through the user interface after determining that the Internet of things equipment successfully completes registration configuration according to the registration response; the Internet of things equipment directly acquires the stored equipment information and the activation information; after click operation aiming at the 'binding' icon on the binding page is obtained, sending a binding request carrying the equipment information and the activation information to the Internet of things platform; receiving a binding response returned based on the binding request; if the binding response indicates that the internet of things equipment completes the establishment of the binding relationship, the internet of things equipment outputs the activation page through the user interface, so that a user can complete the activation of the internet of things equipment through the activation page.
In some embodiments, if the internet of things device does not receive the binding response within a preset time, the internet of things device resends the binding request to the internet of things platform; if the number of times that the Internet of things equipment retransmits the binding request reaches the preset binding number, determining that the binding of the Internet of things equipment fails; and outputting the binding failure prompt information through the user interface.
In the embodiment of the invention, the preset time and the preset binding times can be set according to actual requirements; for example, the preset time is set to 1 minute and the preset number of times is set to 2 times.
Optionally, the method further comprises:
if the Internet of things equipment is equipment which does not establish the binding relationship, outputting a binding page;
receiving a binding operation input on the binding page;
sending a binding request carrying activation information and equipment information of the Internet of things equipment to an Internet of things platform based on the binding operation;
and receiving a binding response issued after the binding relationship between the activation information and the equipment information is successfully established.
In the embodiment of the invention, the binding operation can be a key-in operation, an image acquisition operation or an activation operation sent by a control device;
illustratively, the internet of things device can present a virtual keyboard or an entity button on a user interface by receiving a trigger operation on a binding page, and acquire a typing operation of a user on the virtual keyboard or the entity button; and acquiring the activation information input by the user and the equipment information of the Internet of things equipment based on the key-in operation.
Illustratively, the internet of things equipment comprises an image acquisition device, and the image acquisition device can be started by receiving triggering operation of the image acquisition device on a binding page; and acquiring the activation information and the equipment information of the Internet of things equipment based on the image acquired by the image acquisition device.
In some embodiments, the activation page may be displayed on a display screen of the internet of things device, or may be displayed on a display screen of a control device of the internet of things device.
Optionally, the step 102 includes:
receiving the activation information input on the activation page;
alternatively, the first and second electrodes may be,
and acquiring the activation information prestored by the Internet of things equipment.
In the embodiment of the invention, the Internet of things equipment can present a virtual keyboard on a user interface by receiving a trigger operation on an activation page, and acquire a typing operation of a user on the virtual keyboard; acquiring the activation information input by a user and equipment information of the Internet of things equipment based on the key-in operation; or the activation information and the equipment information of the internet of things equipment are prestored in the internet of things equipment, and the activation information and the equipment information prestored in the internet of things equipment are acquired after the internet of things equipment receives the triggering operation.
Next, an embodiment of the present invention provides a service authority configuration method for an internet of things device, where the method is applied to an internet of things platform; as shown in fig. 2, fig. 2 is a schematic flowchart of a service authority configuration method of an internet of things device according to an embodiment of the present invention. The method comprises the following steps:
step 201, receiving an activation request sent by an internet of things device;
step 202, determining whether the activation information and the device information carried by the activation request belong to the same binding relationship established in advance;
step 203, if the activation information carried by the activation request and the device information belong to the same binding relationship established in advance, activating a service right opened in advance for the internet of things device, and issuing an activation response to the internet of things device.
Wherein the activation request includes at least: device information and the activation information of the internet of things device;
illustratively, an internet of things platform receives an activation request sent by the internet of things equipment, and acquires activation information and equipment information in the activation request; based on the activation information, inquiring equipment information corresponding to the activation information from pre-stored binding information; determining whether the activation information carried by the activation request and the equipment information have a corresponding binding relationship according to the equipment information corresponding to the activation information and the equipment information in the activation request;
if the equipment information corresponding to the activation information is the same as the equipment information in the activation request, determining that a corresponding binding relationship exists between the activation information carried by the activation request and the equipment information; and activating a pre-opened service authority for the Internet of things equipment, and issuing an activation response to the Internet of things equipment after the service authority is successfully activated.
In some embodiments, the activation response further comprises: service authority information of the internet of things equipment which is activated;
and after determining that the activation information carried in the activation request and the equipment information have a corresponding binding relationship, the Internet of things platform activates a pre-opened service authority for the Internet of things equipment, generates an activation response according to the activated service authority information, and issues the activation response to the Internet of things equipment.
In other embodiments, the internet of things platform determines that the activation information and the device information do not have a corresponding binding relationship according to the device information and the activation information in the activation request; and the Internet of things platform issues prompt information of activation failure to the Internet of things equipment.
For example, the internet of things platform receives an activation request, acquires the device information a and the activation information B from the activation request, and queries device information C corresponding to the activation information B from pre-stored binding information according to the activation information B; if the internet of things equipment indicated by the equipment information C and the internet of things equipment indicated by the equipment information A are not the same equipment, determining that no corresponding binding relationship exists between the equipment information A and the activation information B in the activation request; and the Internet of things platform issues prompt information of activation failure to the Internet of things equipment.
Optionally, the step 202 includes:
determining an activation state of the Internet of things equipment indicated by the equipment information;
and if the activation state indicates that the Internet of things equipment is not activated, determining whether the activation information and the equipment information belong to the same binding relationship established in advance.
In the embodiment of the present invention, the activation status is used to indicate whether the internet of things device is successfully activated;
illustratively, after receiving the activation request, the internet of things platform queries, according to device information in the activation request, an activation state of the internet of things device corresponding to the device information; if the activation state of the Internet of things equipment is not activated; and determining whether the activation information and the equipment information belong to the same binding relationship which is established in advance according to the pre-stored binding information. And if the activation information and the equipment information belong to the same binding relationship which is established in advance, activating a service authority which is opened in advance for the equipment of the Internet of things, updating the activation state of the equipment of the Internet of things, and issuing an activation response to the equipment of the Internet of things.
In some embodiments, the method further comprises:
and if the activation state of the Internet of things equipment indicates that the Internet of things equipment is activated, issuing activation failure prompt information to the Internet of things equipment.
Illustratively, the internet of things platform inquires that the activation state of the internet of things device corresponding to the device information is activated according to the device information in the activation request; and the Internet of things platform issues activation failure prompt information to the Internet of things equipment.
It should be noted that, in the embodiment of the present invention, after the internet of things device is activated by a certain user, other users cannot successfully activate the internet of things device through the device information and the activation information of the internet of things device; therefore, before activating the internet of things device, the activation state of the internet of things device needs to be determined.
In other embodiments, the activation request further comprises: user information;
if the activation information carried by the activation request and the equipment information belong to the same binding relationship established in advance, activating a service right opened in advance for the equipment of the internet of things, and issuing an activation response to the equipment of the internet of things, the method comprises the following steps:
if the activation information carried by the activation request and the equipment information belong to the same binding relationship which is established in advance, activating a service right which is opened in advance for the equipment of the Internet of things; determining a user indicated by the user information as an activated user of the Internet of things equipment, and updating the activation state of the Internet of things equipment; and issuing an activation response to the Internet of things equipment.
In an embodiment of the present invention, the user information includes at least one of:
identity identification information of the user;
identity priority level information of the user;
type information of the user;
and the authority information of the user.
In practical application, the activation request carries user information, and after the internet of things equipment is successfully activated, the user indicated by the user information is determined as an activated user of the internet of things equipment, so that the activated user can process the activated internet of things equipment.
In some embodiments, the method further comprises:
receiving an activation equipment deleting request sent by the Internet of things equipment; the equipment deleting request carries equipment information and user information of the Internet of things equipment;
determining whether a user indicated by the user information in the request for deleting the active device is consistent with an active user of the internet of things device;
and if the user indicated by the user information in the request for deleting the activation equipment is consistent with the activation user of the Internet of things equipment, canceling the pre-opened service authority for the Internet of things equipment, updating the activation state and the activation user of the Internet of things equipment, and issuing a deletion response to the Internet of things equipment.
Illustratively, after receiving an operation request for an activated internet of things device, an internet of things platform determines whether a user indicated by user information has a processing right for the activated internet of things device or not according to a comparison between the user indicated by the user information carried in the operation request and an activated user corresponding to the activated internet of things device.
If the user indicated by the user information is the same as the activated user corresponding to the activated Internet of things equipment, determining that the user indicated by the user information has the processing authority for the activated Internet of things equipment, and executing corresponding operation on the activated Internet of things equipment by the Internet of things platform according to the operation request; and if the user indicated by the user information is different from the activated user corresponding to the activated Internet of things equipment, determining that the user indicated by the user information does not have the processing authority of the activated Internet of things equipment, and issuing error prompt information to the Internet of things equipment.
Optionally, the method further comprises:
receiving a registration request sent by the Internet of things equipment;
configuring the service authority of the Internet of things equipment in the Internet of things platform based on the registration request, and generating activation information of the Internet of things equipment;
and issuing a registration response carrying the activation information to the Internet of things equipment.
In this embodiment of the present invention, the registration request includes: device information, network information and physical information of the Internet of things device; the equipment letter of thing networking equipment is used for the sign thing networking equipment, network information with physical information is used for the thing networking platform with communication between the thing networking equipment is verified, so that thing networking equipment can with thing networking platform carries out normal communication.
In some embodiments, the receiving a registration request sent by an internet of things device includes:
receiving a registration request sent by the Internet of things equipment;
performing communication verification on the Internet of things equipment according to the network information and the physical information in the registration request;
and if the Internet of things equipment passes the communication verification, establishing communication connection with the Internet of things equipment.
Illustratively, after receiving the registration request, the internet of things platform performs communication verification on the internet of things according to the network information and the physical information in the registration request, and if the internet of things equipment passes the communication verification, the internet of things equipment can perform normal communication with the internet of things platform, and establishes communication connection with the internet of things equipment; after the communication connection is successfully established, the activation information is generated according to the equipment information of the Internet of things equipment; and the Internet of things platform configures service permission for the Internet of things equipment and issues the registration response to the Internet of things equipment.
In some embodiments, if the internet of things device fails to pass the communication verification, a registration failure prompt message is issued to the internet of things device.
Illustratively, if the internet of things device fails to pass communication verification, it is indicated that a communication connection with the internet of things device cannot be successfully established based on the network information and the physical information; the Internet of things platform issues registration failure prompt information to the Internet of things equipment;
in an embodiment of the present invention, the registration response at least includes: device information and the activation information of the internet of things device;
illustratively, the activation information may be permission information of the internet of things device registered in the internet of things platform; the internet of things platform can generate the activation information after the internet of things equipment is successfully registered; and issuing a registration response carrying the activation information to the Internet of things equipment.
For example, the activation information may be pre-generated in the internet of things platform, and after the internet of things device is successfully registered, unbound activation information is determined according to a binding state of the pre-generated activation information in the internet of things platform; and issuing a registration response carrying the unbound activation information to the Internet of things equipment.
In other embodiments, the configuring, in the internet of things platform, the service right of the internet of things device based on the registration request, and generating activation information of the internet of things device include:
adding the Internet of things equipment into a registered network equipment list of the Internet of things platform, and storing equipment information of the Internet of things equipment;
configuring the service authority of the Internet of things equipment in an Internet of things platform according to the registration request; and generating activation information of the Internet of things equipment.
In this embodiment of the present invention, the registration request further includes: service request information; the service request information is used for indicating the service authority to be opened of the Internet of things equipment; the service authority comprises: the management authority of the Internet of things equipment, the communication authority of the Internet of things equipment and the Internet of things platform and/or the use authority of the Internet of things equipment in the Internet of things platform.
For example, the internet of things platform receives registration information in the registration request, adds the internet of things equipment indicated by the equipment information to the list of the registered network equipment, and stores the equipment information of the internet of things equipment; configuring corresponding service authority for the Internet of things equipment according to service request information in the registration request; and after the service authority configuration is completed, generating activation information, and issuing a registration response carrying the activation information to the Internet of things equipment.
For another example, the internet of things platform generates 5 pieces of activation information in advance; the activation information 1 and 2 are already bound with the Internet of things equipment; the binding status of the activation information 3-5 is unbound. The Internet of things platform receives registration information of the Internet of things equipment, adds the Internet of things equipment to the list of the registered network equipment, and stores equipment information of the Internet of things equipment; configuring corresponding service authority for the Internet of things equipment according to service request information in the registration request; after the service authority configuration is completed, inquiring the binding state of the pre-generated activation information, and acquiring the activation information 3 according to the binding state; and issuing a registration response carrying the activation information 3 to the Internet of things equipment.
Optionally, the generating activation information of the internet of things device includes:
after the Internet of things equipment is successfully registered, acquiring equipment information of the registered Internet of things equipment in the Internet of things platform;
and based on a preset encryption key, encrypting the equipment information to obtain the activation information.
In this embodiment of the present invention, the device information may include: the equipment code of the Internet of things equipment; and the equipment code of the Internet of things equipment is used for uniquely identifying the Internet of things equipment.
Illustratively, the internet of things platform acquires the equipment code of the internet of things equipment after the internet of things equipment is successfully registered; and based on a preset encryption key, encrypting the equipment code to obtain the activation information, generating a registration response based on the activation information and the equipment code, and issuing the registration response to the Internet of things equipment.
In some embodiments, the device information of the registered internet of things device in the internet of things platform includes: the registered Internet of things equipment is in the serial number information of the registered network equipment list of the Internet of things platform;
and based on a preset encryption key, encrypting the serial number information corresponding to the registered Internet of things equipment to obtain the activation information.
It should be noted that, since the serial number information corresponding to the registered internet of things device is unique, the activation information obtained by encrypting based on the serial number information is also unique while the encryption key remains unchanged. In addition, the serial number information corresponding to the registered internet of things equipment can be used as index information of a database for storing the registered network equipment; when the Internet of things platform receives an activation request, the serial number information can be obtained by decrypting the activation information in the activation request; and searching in the database according to the serial number information to determine whether the activation information and the equipment information of the equipment of the Internet of things belong to the same binding relationship.
Therefore, the activation information is obtained based on the serial number information corresponding to the registered Internet of things equipment, on one hand, the uniqueness of the activation information in the Internet of things platform is ensured, and on the other hand, when the retrieval is carried out based on the activation information in the Internet of things platform, the retrieval efficiency is improved.
Optionally, the method further comprises:
receiving a binding request sent by the equipment of the Internet of things;
determining the binding state of the activation information in the binding request and the equipment information of the Internet of things equipment;
if the binding state indicates that neither the activation information nor the equipment information of the Internet of things equipment has established a binding relationship, establishing the binding relationship between the activation information and the Internet of things equipment;
and after the binding relationship is successfully established, sending a binding response to the equipment of the Internet of things.
Wherein the binding request includes at least: and the equipment information and the activation information of the equipment of the Internet of things.
In the embodiment of the invention, the binding state of the equipment of the internet of things is used for indicating whether the equipment information of the equipment of the internet of things establishes a binding relationship with the activation information;
in some embodiments, the binding state of the internet of things device may include: activating information;
if the binding state of the Internet of things equipment is null, determining that the Internet of things equipment is unbound equipment; if the binding state of the equipment of the Internet of things is not empty, the equipment of the Internet of things is determined to be bound equipment, and the activation information establishing a binding relationship with the equipment information of the equipment of the Internet of things is determined according to the activation information in the binding state of the equipment of the Internet of things.
The binding state of the activation information is used for indicating whether the activation information establishes a binding relationship with equipment information of the equipment of the Internet of things; the binding state of the activation information may include: device information of the internet of things device;
if the binding state of the activation information is null, determining that the activation information is unbound activation information;
if the binding state of the activation information is not null, determining that the activation information is bound activation information; and determining the equipment information of the equipment of the Internet of things, which establishes a binding relationship with the activation information, according to the equipment information of the binding state of the activation information.
In practical application, an internet of things platform receives a binding request sent by internet of things equipment, and obtains activation information in the binding request and equipment information of the internet of things equipment; inquiring the binding state of the activation information and the equipment information according to the activation information and the equipment information;
if the binding state of the activation information and the binding state of the equipment information are both empty, determining that the binding relationship between the activation information and the equipment information is not established; establishing a binding relationship between the activation information and the equipment information, and updating the binding state of the activation information and the binding state of the equipment information after the binding relationship is successfully established; and issuing a binding response for prompting successful binding to the Internet of things equipment.
In some embodiments, the method further comprises:
and if the binding state indicates that the binding relation is established between the activation information and the equipment information of the equipment of the Internet of things, issuing binding failure prompt information to the Internet of things.
Illustratively, the internet of things platform inquires the binding state of the equipment information according to the equipment information in the binding request; and if the binding state indicates that the equipment information is bound information, the Internet of things platform issues binding failure prompt information for prompting that the equipment information is bound to the Internet of things equipment.
Illustratively, the internet of things platform inquires the binding state of the activation information according to the activation information in the binding request; if the binding state indicates that the activation information is bound information, the Internet of things platform issues binding failure prompt information for prompting that the activation information is bound to the Internet of things equipment.
Next, an embodiment of the present invention provides a method for registering an internet of things device, where the method is applied to a registration terminal; as shown in fig. 3, fig. 3 is a schematic flowchart of a registration method of an internet of things device applied to a registration terminal according to an embodiment of the present invention. The method comprises the following steps:
step 301, sending a registration request to an internet of things platform, wherein the registration request carries registration information of the internet of things equipment to be registered;
step 302, receiving a registration response carrying activation information returned based on the registration information; the activation information is carried in an activation request initiated by the corresponding internet of things equipment to the internet of things platform.
In this embodiment of the present invention, the registration information includes: device information, network information and physical information of the Internet of things device; the equipment letter of thing networking equipment is used for the sign thing networking equipment, network information with physical information is used for the thing networking platform with communication between the thing networking equipment is verified, so that thing networking equipment can with thing networking platform carries out normal communication.
The activation information may be permission information registered by the internet of things device on the internet of things platform; the activation information is unique within the internet of things platform.
In practical application, the registration terminal sends a registration request to the internet of things platform, receives a registration response sent back by the internet of things platform, acquires activation information carried in the registration response, and records the activation information.
For example, a terminal manufacturer user inputs registration information of the internet of things device into the registration terminal, sends a registration request to the internet of things platform through the registration terminal, and after receiving a registration response sent by the internet of things platform, the registration terminal analyzes the registration response to obtain the activation information and outputs the activation information; and the terminal manufacturer can record the activation information on the corresponding Internet of things equipment.
In some embodiments, if the registration terminal does not receive the registration response within a preset time, it is determined that the registration of the internet of things device fails.
Exemplarily, if the registration terminal does not receive a registration response within a preset time (for example, 5 minutes) after sending a registration request to the internet of things platform, it is determined that the registration of the internet of things device fails; and the registration terminal outputs prompt information of registration failure of the Internet of things equipment through a user interface.
Optionally, the method further comprises:
sending a binding request to an Internet of things platform, wherein the binding request carries equipment information and activation information of the Internet of things equipment to be bound;
and receiving a binding response issued after the binding relationship between the activation information and the equipment information is successfully established.
Illustratively, after receiving a registration response, the registration terminal determines that the internet of things equipment successfully completes registration configuration according to the registration response, and outputs a binding page through the user interface; the registration terminal directly acquires the activation information and the equipment information in the registration response; after the click operation aiming at the preset area on the binding page is obtained, sending a binding request carrying the activation information and the equipment information to the Internet of things platform; receiving a binding response returned based on the binding request; if the binding response indicates that the internet of things equipment completes the establishment of the binding relationship, the internet of things equipment outputs the activation page through the user interface, so that a user can complete the activation of the internet of things equipment through the activation page.
Optionally, the method further comprises:
writing the activation information into the corresponding Internet of things equipment; and writing the activation information of the Internet of things equipment into the Internet of things equipment, and outputting the activation information on the activation page of the Internet of things equipment.
In practical application, after receiving a registration response sent by an internet of things platform, the registration device analyzes the registration response to obtain the activation information, writes the activation information into a storage device of the corresponding internet of things device, so that the internet of things device outputs an activation page, and when receiving a trigger operation, reads the activation information from the storage device and outputs the activation information on the activation page.
Optionally, the registration request is: batch registration requests of a plurality of Internet of things devices to be registered;
the registration response carries: activation information of at least one registered internet of things device.
In practical application, in order to improve the registration efficiency of the registration terminal, the registration terminal can send batch registration requests of a plurality of pieces of equipment of the internet of things to be registered to the platform of the internet of things; and receiving the registration response returned by the Internet of things platform, wherein the registration response carries at least one piece of activation information.
In some embodiments, the registration response further comprises: and registration prompt information of each to-be-registered Internet of things device. The registration prompt information is used for indicating whether the to-be-registered Internet of things equipment is successfully registered or not.
For example, a terminal manufacturer user sends a batch registration request of the internet of things devices 1-5 to be registered to the internet of things platform through the registration terminal, the registration terminal receives a registration response sent back by the internet of things platform, analyzes the registration response to obtain 3 pieces of activation information, and determines that the internet of things devices 1-2 are not successfully registered and the internet of things devices 3-5 are successfully registered according to the registration prompt information. And the registration terminal outputs the registration prompt information and writes the 3 pieces of activation information into corresponding Internet of things equipment respectively.
Optionally, the registration request carries user information of a preset user, where the registration response carrying the activation information is returned after the user information passes identity authentication.
In an embodiment of the present invention, the user information includes at least one of:
identity identification information of the user;
identity priority level information of the user;
type information of the user;
and the authority information of the user.
In practical application, the preset user is a user who has the authority to send a registration request and a binding request to the internet of things platform through the registration terminal, for example, a terminal manufacturer user or a platform manufacturer user.
And the user information of the preset user is used for the Internet of things platform to carry out identity authentication on the user based on the user information.
It should be noted that, in the embodiment of the present invention, only the terminal manufacturer user and the platform manufacturer user have the authority to send the registration request and the binding request to the internet of things platform through the registration terminal, and the registration terminal obtains the user information and carries the user information in the registration request, so that the internet of things platform can conveniently perform identity verification on the user according to the user information, and if the user indicated by the user information is the terminal manufacturer user or the platform manufacturer user, the internet of things platform returns the registration response to the registration terminal.
Next, an embodiment of the present invention provides a method for registering an internet of things device, where the method is applied to an internet of things platform; as shown in fig. 4, fig. 4 is a schematic flowchart of a registration method of an internet of things device applied to an internet of things platform according to an embodiment of the present invention. The method comprises the following steps:
step 401, receiving a registration request, wherein the registration request carries registration information of the internet of things device to be registered;
step 402, configuring service authority of the internet of things equipment in the internet of things platform based on the registration request, and generating activation information of the internet of things equipment; the stored activation information is used for verifying whether the activation of the Internet of things equipment is carried out;
step 403, sending a registration response carrying the activation information to the registered terminal.
In this embodiment of the present invention, the registration request includes: device information, network information and physical information of the Internet of things device; the equipment letter of thing networking equipment is used for the sign thing networking equipment, network information with physical information is used for the thing networking platform with communication between the thing networking equipment is verified, so that thing networking equipment can with thing networking platform carries out normal communication.
In some embodiments, the received registration request includes:
receiving a registration request sent by the registration terminal;
performing communication verification on the Internet of things equipment according to the network information and the physical information in the registration request;
and if the Internet of things equipment passes the communication verification, establishing communication connection with the Internet of things equipment.
Illustratively, after receiving the registration request, the internet of things platform performs communication verification on the internet of things according to the network information and the physical information in the registration request, and if the internet of things equipment passes the communication verification, the internet of things equipment can perform normal communication with the internet of things platform, and establishes communication connection with the internet of things equipment; after the communication connection is successfully established, the activation information is generated according to the equipment information of the Internet of things equipment; and the Internet of things platform configures service permission for the Internet of things equipment and issues the registration response to the registration terminal.
In some embodiments, if the internet of things device fails to pass the communication verification, a registration failure prompt message is issued to the internet of things device.
Illustratively, if the internet of things device fails to pass communication verification, it is indicated that a communication connection with the internet of things device cannot be successfully established based on the network information and the physical information; the Internet of things platform issues registration failure prompt information to the registration terminal;
in an embodiment of the present invention, the registration response at least includes: device information and the activation information of the internet of things device;
illustratively, the activation information may be permission information of the internet of things device registered in the internet of things platform; the internet of things platform can generate the activation information after the internet of things equipment is successfully registered; and issuing a registration response carrying the activation information to the Internet of things equipment.
For example, the activation information may be pre-generated in the internet of things platform, and after the internet of things device is successfully registered, unbound activation information is determined according to a binding state of the pre-generated activation information in the internet of things platform; and issuing a registration response carrying the unbound activation information to the Internet of things equipment.
In some embodiments, the configuring, in the internet of things platform, the service right of the internet of things device based on the registration request and generating activation information of the internet of things device includes:
adding the Internet of things equipment into a registered network equipment list of the Internet of things platform, and storing equipment information of the Internet of things equipment;
configuring the service authority of the Internet of things equipment in an Internet of things platform according to the registration request; and generating activation information of the Internet of things equipment.
In this embodiment of the present invention, the registration request further includes: service request information; the service request information is used for indicating the service authority to be opened of the Internet of things equipment; the service authority comprises: the management authority of the Internet of things equipment, the communication authority of the Internet of things equipment and the Internet of things platform and/or the use authority of the Internet of things equipment in the Internet of things platform.
Illustratively, the internet of things platform acquires registration information in the registration request, adds the internet of things equipment indicated by the equipment information to the list of the registered network equipment, and stores the equipment information of the internet of things equipment; configuring corresponding service authority for the Internet of things equipment according to service request information in the registration request; and after the service authority configuration is completed, generating activation information, and issuing a registration response carrying the activation information to the registration terminal.
Optionally, the method further comprises:
receiving a binding request, wherein the binding request carries equipment information and activation information of the Internet of things equipment to be bound;
determining the binding state of the activation information and the equipment information of the equipment of the Internet of things;
if the binding state indicates that neither the activation information nor the equipment information of the Internet of things equipment has established a binding relationship, establishing the binding relationship between the activation information and the Internet of things equipment;
and sending a binding response to the registration terminal after the binding relationship is successfully established.
In the embodiment of the invention, the binding state of the equipment of the internet of things is used for indicating whether the equipment information of the equipment of the internet of things establishes a binding relationship with the activation information;
the Internet of things platform receives a binding request sent by the registration terminal, and obtains activation information in the binding request and equipment information of the Internet of things equipment; inquiring the binding state of the activation information and the equipment information according to the activation information and the equipment information;
if the binding state of the activation information and the equipment information indicates that the binding relationship between the activation information and the equipment information is not established, establishing the binding relationship between the activation information and the equipment information, and updating the binding state of the activation information and the binding state of the equipment information after the binding relationship is established successfully; and issuing a binding response for prompting the successful binding to the registration terminal.
In some embodiments, the method further comprises:
and if the binding state indicates that the binding relation is established between the activation information and the equipment information of the equipment of the Internet of things, issuing binding failure prompt information to the Internet of things.
Illustratively, the internet of things platform inquires the binding state of the equipment information according to the equipment information in the binding request; and if the binding state indicates that the equipment information is bound information, the Internet of things platform issues binding failure prompt information for prompting that the equipment information is bound to the registration terminal.
Illustratively, the internet of things platform inquires the binding state of the activation information according to the activation information in the binding request; and if the binding state indicates that the activation information is bound information, the Internet of things platform sends binding failure prompt information for prompting that the activation information is bound to the registration terminal.
Optionally, the step 402 includes:
acquiring user information in the registration request;
according to the pre-stored user information, carrying out identity verification on the user information in the registration request;
and if the user information in the registration request passes identity verification, configuring the service authority of the Internet of things equipment in the Internet of things platform, and generating activation information of the Internet of things equipment.
In an embodiment of the present invention, the user information includes at least one of:
identity identification information of the user;
identity priority level information of the user;
type information of the user;
and the authority information of the user.
The user indicated by the pre-stored user information is a user with the registration authority and the binding authority of the Internet of things equipment; such as an end vendor user or a platform vendor user.
Illustratively, after receiving a registration request sent by the registration terminal, the internet of things platform acquires user information in the registration request; and carrying out identity verification on the user indicated by the user information, and if the user indicated by the user information is the same as the user indicated by the pre-stored user information, determining that the user information in the registration request passes the identity verification; and configuring the service authority of the Internet of things equipment in the Internet of things platform, generating activation information of the Internet of things equipment, and returning a registration response carrying the activation information to the registration terminal.
In some embodiments, if the user information in the registration request fails the identity verification, a registration failure prompt message is sent to the registration terminal.
Exemplarily, if the user indicated by the user information in the registration request is inconsistent with the user indicated by the user information pre-stored in the internet of things platform, determining that the user information fails to pass the identity authentication; and issuing registration failure prompt information to the registration terminal.
It should be noted that, in the embodiment of the present invention, only the terminal manufacturer user and the platform manufacturer user have the authority to send the registration request and the binding request to the internet of things platform through the registration terminal, after receiving the registration request, the internet of things platform performs identity verification on the user indicated by the user information according to the user information in the registration request, and if the user indicated by the user information is the terminal manufacturer user or the platform manufacturer user, the internet of things platform returns the registration response to the registration terminal; and if the user indicated by the user information is not the terminal manufacturer user or the platform manufacturer user, the Internet of things platform returns the registration failure prompt information to the registration terminal.
Next, an embodiment of the present invention provides a service right activation apparatus 50 for an internet of things device, where the apparatus is applied to the internet of things device; as shown in fig. 5, fig. 5 is a schematic structural diagram of a service right activation apparatus of an internet of things device according to an embodiment of the present invention. The device comprises:
an output module 51 for outputting an activation page;
a receiving module 52, configured to receive an activation operation input on the activation page;
a sending module 53, configured to send an activation request carrying activation information and device information of the internet of things device to the internet of things platform based on the activation operation;
the receiving module 52 is further configured to receive an activation response issued after the binding relationship between the activation information and the device information is verified, where the activated internet of things device has a preset service right for using the internet of things platform.
Optionally, the output module 51 is further configured to:
determining whether the Internet of things equipment completes registration configuration and establishment of a binding relationship between activation information and equipment information;
and if the Internet of things equipment completes registration configuration and establishment of the binding relationship, outputting the activation page.
Optionally, the output module 51 is further configured to output a registration page if the internet of things device is an unregistered device;
the receiving module 52 is configured to receive the registration information input on the registration page;
the sending module 53 is configured to send a registration request of the internet of things device to an internet of things platform based on the registration information;
the receiving module 52 is further configured to receive a registration response issued after the registration request passes through; wherein, the registration response carries activation information; storing the activation information.
Optionally, the output module 51 is further configured to output a binding page if the internet of things device is a device that does not establish the binding relationship;
the receiving module 52 is configured to receive a binding operation input on the binding page;
the sending module 53 is configured to send a binding request carrying activation information and device information of the internet of things device to the internet of things platform based on the binding operation;
the receiving module 52 is further configured to receive a binding response issued after the binding relationship between the activation information and the device information is successfully established.
Optionally, the receiving module 52 is specifically configured to:
receiving the activation information input on the activation page;
alternatively, the first and second electrodes may be,
and acquiring the activation information prestored by the Internet of things equipment.
Next, an embodiment of the present invention provides a service authority configuration device 60 for an internet of things device, where the device is applied to an internet of things platform; as shown in fig. 6, fig. 6 is a schematic structural diagram of a service authority configuration apparatus of an internet of things device according to an embodiment of the present invention. The device comprises:
a request receiving module 61, configured to receive an activation request sent by an internet of things device;
a determining module 62, configured to determine whether the activation information and the device information carried in the activation request belong to a same binding relationship established in advance;
and the configuration module 63 is configured to activate a pre-opened service permission for the internet of things device and issue an activation response to the internet of things device if the activation information carried by the activation request and the device information belong to the same pre-established binding relationship.
Optionally, the determining module 62 is specifically configured to:
determining an activation state of the Internet of things equipment indicated by the equipment information;
and if the activation state indicates that the Internet of things equipment is not activated, determining whether the activation information and the equipment information belong to the same binding relationship established in advance.
Optionally, the configuring module 63 is configured to:
receiving a registration request sent by the Internet of things equipment;
configuring the service authority of the Internet of things equipment in the Internet of things platform based on the registration request, and generating activation information of the Internet of things equipment;
and issuing a registration response carrying the activation information to the Internet of things equipment.
Optionally, the configuration module 63 is further configured to:
after the Internet of things equipment is successfully registered, acquiring equipment information of the registered Internet of things equipment in the Internet of things platform;
and based on a preset encryption key, encrypting the equipment information to obtain the activation information.
Optionally, the configuring module 63 is configured to:
receiving a binding request sent by the equipment of the Internet of things;
determining the binding state of the activation information in the binding request and the equipment information of the Internet of things equipment;
if the binding state indicates that neither the activation information nor the equipment information of the Internet of things equipment has established a binding relationship, establishing the binding relationship between the activation information and the Internet of things equipment;
and after the binding relationship is successfully established, sending a binding response to the equipment of the Internet of things.
Next, an embodiment of the present invention provides a registration apparatus 70 for an internet of things device, where the apparatus is applied to a registration terminal; as shown in fig. 7, fig. 7 is a schematic structural diagram of a registration apparatus of an internet of things device applied to a registration terminal according to an embodiment of the present invention. The device comprises:
the request module 71 is configured to send a registration request to an internet of things platform, where the registration request carries registration information of an internet of things device to be registered;
a registration response module 72, configured to receive a registration response carrying activation information and returned based on the registration information; the activation information is carried in an activation request initiated by the corresponding internet of things equipment to the internet of things platform.
Optionally, the requesting module 71 is configured to:
sending a binding request to an Internet of things platform, wherein the binding request carries equipment information and activation information of the Internet of things equipment to be bound;
and receiving a binding response issued after the binding relationship between the activation information and the equipment information is successfully established.
Optionally, the registration response module 72 is configured to:
writing the activation information into the corresponding Internet of things equipment; and writing the activation information of the Internet of things equipment into the Internet of things equipment, and outputting the activation information on the activation page of the Internet of things equipment.
Optionally, the registration request is: batch registration requests of a plurality of Internet of things devices to be registered;
the registration response carries: activation information of at least one registered internet of things device.
Optionally, the registration request carries user information of a preset user, where the registration response carrying the activation information is returned after the user information passes identity authentication.
Next, an embodiment of the present invention provides a registration apparatus 80 for an internet of things device, where the apparatus is applied to an internet of things platform; as shown in fig. 8, fig. 8 is a schematic structural diagram of a registration apparatus of an internet of things device applied to an internet of things platform according to an embodiment of the present invention. The device comprises:
the registration receiving module 81 is configured to receive a registration request, where the registration request carries registration information of an internet of things device to be registered;
a registration module 82, configured to configure a service right of the internet of things device in the internet of things platform based on the registration request, and generate activation information of the internet of things device; the stored activation information is used for verifying whether the activation of the Internet of things equipment is carried out; and sending a registration response carrying the activation information to a registration terminal.
Optionally, the registration receiving module 81 is configured to:
receiving a binding request, wherein the binding request carries equipment information and activation information of the Internet of things equipment to be bound;
determining the binding state of the activation information and the equipment information of the equipment of the Internet of things;
if the binding state indicates that neither the activation information nor the equipment information of the Internet of things equipment has established a binding relationship, establishing the binding relationship between the activation information and the Internet of things equipment;
and sending a binding response to the registration terminal after the binding relationship is successfully established.
Optionally, the registration module 82 is specifically configured to:
acquiring user information in the registration request;
according to the pre-stored user information, carrying out identity verification on the user information in the registration request;
and if the user information in the registration request passes identity verification, configuring the service authority of the Internet of things equipment in the Internet of things platform, and generating activation information of the Internet of things equipment.
With reference to the above embodiments of the present invention, an exemplary application of the embodiments of the present invention in a practical application scenario will be described below.
An embodiment of the present invention provides an access authorization system for devices in the internet of things, as shown in fig. 9, fig. 9 is a schematic diagram of constituent modules of the access authorization system for devices in the internet of things provided in the embodiment of the present invention. The system comprises: the device comprises a device registration module, an activation code generation module, an end code binding module, a device activation module and other functional modules.
The device registration module can be a functional module of a registration terminal and is used for providing an entrance for registering the Internet of things device on the Internet of things platform; and sending a registration request to the Internet of things platform, wherein the registration request carries the equipment information of the Internet of things equipment to be registered.
It should be noted that the device information required for registering the internet of things device is related to the characteristics of the internet of things device itself, for example, the device information required for registering the internet of things devices in different communication modes is different, and the device information only needs to meet the requirement of normal communication between the internet of things device and the internet of things platform. For example, the internet of things device is a communication device based on LoRaWAN, and the device information carried in the registration request includes: deveui, Appeui, Apkey and other parameters, wherein the Deieui parameter is the unique identity ID of the equipment of the Internet of things; the Appeui parameter is an application identifier ID; the Appkey parameter is used for authenticating communication between the Internet of things equipment and the Internet of things platform. The equipment information of the equipment of the Internet of things is written into hardware of the equipment of the Internet of things and leaves a factory along with the equipment of the Internet of things.
And the terminal manufacturer user and the platform manufacturer user can complete the registration of the Internet of things equipment through the equipment registration module on the registration terminal.
In practical application, the device registration module is further configured to manage the registered internet of things device. For example, the device registration module also provides modification, deletion, and viewing functions.
The activation code generation module is used for generating a serial number for activating the Internet of things equipment, the activation code corresponds to the permission of the registration of the Internet of things equipment on the Internet of things platform, and each Internet of things equipment used on the Internet of things platform must have an activation code for authentication; the activation code provides unique identity authentication of the Internet of things equipment in the Internet of things platform.
It should be noted that the activation code generation module is a functional module of the internet of things platform; the generation rule of the activation code can be various, and only the activation code is guaranteed to be unique within the range of the platform of the Internet of things.
In the embodiment of the invention, the Internet of things platform can acquire an incremental serial number, and the incremental serial number is encrypted by using a replacement encryption algorithm to obtain the activation code; the activation code can be guaranteed to be unique as long as the used encryption key is not changed.
In practical application, the activation code generation module can generate the activation codes with corresponding quantity according to the quantity of the input serial numbers, and store the information of the code numbers, batch numbers, time, accounts, creation applications, binding states and the like of the activation codes in a database.
In some embodiments, the method further comprises: and adding a check bit to the serial number obtained after encryption to obtain the activation code. Thus, the validity of the encryption key is ensured by adding the check bit.
In some embodiments, the activation code generation module is further to manage the activation code.
In practical application, the activation code generation module can be used for deleting, distributing, exporting in batches and the like the generated activation code.
And the end code binding module is used for binding the equipment code of the registered Internet of things equipment with the activation code and storing the association relationship between the equipment code and the activation code.
In practical application, the end code binding module is a functional module of the platform of the internet of things, and can establish a binding relationship between the device code and the activation code according to the device code and the activation code in the received binding request, and store the binding relationship.
In some embodiments, the end code binding module may be configured to bind and unbind a single piece of internet of things equipment, or to bind and unbind a batch of internet of things equipment.
In practical application, the end code binding module is further configured to perform association query on the device code and the activation code of the internet of things device.
And the equipment activation module is used for activating the Internet of things equipment on the Internet of things platform.
It should be noted that the device activation module is a function module of the internet of things device, and a user can send an activation request to the internet of things platform through the device activation module in the internet of things device; and receiving an activation response returned by the platform of the Internet of things.
The equipment activation is the premise that the equipment is used in the Internet of things platform, and only the activated Internet of things equipment can be normally used in the Internet of things platform. All users needing to use the Internet of things equipment need to input the equipment codes and the activation codes of the Internet of things equipment on an equipment activation page for authentication, and the Internet of things equipment after the authentication is passed can be normally used. But all users with device numbers and activation codes can make device activation use in their accounts. However, after one internet of things device is activated by a certain user, other users cannot be successfully activated until the original user deletes the internet of things device.
In practical application, the equipment activation module is used for activating the internet of things equipment, deleting the activated internet of things equipment, inquiring the state of the internet of things equipment and the like.
Next, an access authorization method for an internet of things device is provided in an embodiment of the present invention, and is applied to the internet of things access authorization system, as shown in fig. 10, fig. 10 is a schematic flow diagram of the access authorization method for the internet of things device provided in the embodiment of the present invention. The method comprises the following steps:
step 1001, registering the device;
illustratively, the device information of the internet of things device is registered in the internet of things platform through the device registration module in the registration terminal, and the device information of the internet of things device in network communication with the internet of things platform is input;
step 1002, generating an activation code;
illustratively, a certain number of pre-generated activation codes are acquired through an activation code generation module of the Internet of things platform;
step 1003, binding end codes;
illustratively, the end code binding module receives a binding request sent by the registration terminal, obtains a device code and an activation code of the internet of things device in the binding request, binds the device code and the activation code, and writes the device code and the activation code into the corresponding internet of things device.
In practical application, the equipment code of the internet of things equipment and the activation code can be bound on an internet of things platform, and then the equipment code and the activation code are exported, printed and pasted on the internet of things equipment; or the activation code generated by the Internet of things platform is printed and pasted on the Internet of things equipment, then the equipment code of the Internet of things equipment and the activation code are bound, and the equipment code and the binding relation between the activation codes are led in batch on the Internet of things platform.
Step 1004, activating the device;
illustratively, an activation code and a device code input by a user are acquired through a device activation module of the internet of things device; sending an activation request carrying an activation code and an equipment code to the Internet of things platform, so that the Internet of things platform determines whether an association relationship exists between the activation code and the equipment code according to the activation request; and if the association relationship exists between the activation code and the equipment code, activating the Internet of things equipment.
An embodiment of the present invention provides an authorized access method for an internet of things device, as shown in fig. 11, fig. 11 is a schematic flow diagram of an authorized access method for an internet of things device applied to a platform vendor side according to an embodiment of the present invention, where the method includes:
step 1101, a platform manufacturer purchases Internet of things equipment from a terminal manufacturer;
step 1102, a platform manufacturer sends a registration request to an Internet of things platform through a registration terminal;
1103, the platform manufacturer obtains an activation code from a registration response sent by the internet of things platform;
step 1104, the platform manufacturer pastes the activation code and the device code of the internet of things device on the internet of things device;
step 1105, the platform manufacturer sends a binding request to the platform of the internet of things through the registration terminal, and receives a binding response issued after the binding relationship between the activation code and the device code is successfully established;
step 1106, selling the Internet of things equipment to the end user by the platform manufacturer;
step 1107, the terminal user sends an activation request to the internet of things platform through the internet of things device to activate the internet of things device.
An embodiment of the present invention provides an access authorization method for an internet of things device, as shown in fig. 12, fig. 12 is a schematic flow diagram of an access authorization method for an internet of things device applied to a terminal manufacturer side according to an embodiment of the present invention. The method comprises the following steps:
step 1201, a terminal manufacturer produces an Internet of things device;
step 1202, a terminal manufacturer sends a registration request to an internet of things platform through a registration terminal;
step 1203, the terminal manufacturer obtains an activation code from a registration response sent by the internet of things platform;
step 1204, the terminal manufacturer pastes the activation code and the device code of the internet of things device on the internet of things device;
step 1205, the terminal manufacturer sends a binding request to the Internet of things platform through the registration terminal, and receives a binding response issued after the binding relationship between the activation code and the equipment code is successfully established;
step 1206, selling the internet of things equipment to the terminal user by the terminal manufacturer;
step 1207, the terminal user sends an activation request to the internet of things platform through the internet of things device to activate the internet of things device.
In the embodiment of the invention, the terminal manufacturer needs the functional authorities of equipment registration, binding, activation code generation and the like, and the platform manufacturer can change the activation code generation function into a paid service.
An embodiment of the present invention provides an access authorization method for an internet of things device, as shown in fig. 13, fig. 13 is a schematic flow chart of the access authorization method for an internet of things device applied to a terminal user side according to the embodiment of the present invention.
Step 1301, a terminal user purchases Internet of things equipment from a terminal manufacturer;
step 1302, the terminal user sends a registration request to the internet of things platform through the internet of things device;
step 1303, the internet of things equipment receives a registration response issued after the registration request passes, wherein the registration response carries an activation code;
step 1304, the terminal user pastes the activation code and the equipment code of the internet of things equipment on the internet of things equipment;
step 1305, the terminal user sends a binding request to the internet of things platform through the internet of things equipment, wherein the binding request carries the equipment code of the internet of things equipment and the activation code; receiving a binding response issued after the binding relationship between the activation code and the equipment code is successfully established;
step 1306, the terminal user sends an activation request to the internet of things platform through the internet of things device to activate the internet of things device.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
a memory for storing executable instructions;
and the processor is configured to implement the service authority activation method of the internet of things device provided by one or more of the foregoing technical solutions when executing the executable instructions stored in the memory.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
a memory for storing executable instructions;
and the processor is configured to implement the service authority configuration method of the internet of things device provided by one or more technical solutions when the processor executes the executable instructions stored in the memory.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
a memory for storing executable instructions;
the processor is configured to, when executing the executable instructions stored in the memory, implement the registration method of the internet of things device according to one or more of the foregoing technical solutions.
The hardware structure of an electronic device provided by the embodiment of the present invention is described in detail below, where the electronic device includes, but is not limited to, a server or a terminal. Optionally, the electronic device may further comprise at least one communication interface, and the various components in the electronic device are coupled together by a bus system, which is understood to be used to enable connection communication between these components. The bus system includes a power bus, a control bus, and a status signal bus in addition to a data bus.
It will be appreciated that the memory can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The described memory for embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory in the embodiments of the present invention is used to store various types of data for the operation of the electronic device. Examples of such data include: any computer program for operating on the electronic device, a program implementing a method according to an embodiment of the invention, may be contained in the memory.
The method disclosed by the embodiment of the invention can be applied to a processor or realized by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium having a memory and a processor reading the information in the memory and combining the hardware to perform the steps of the method.
In an exemplary embodiment, the electronic Device may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the above-described methods.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
An embodiment of the present invention further provides a computer storage medium, where a computer program is stored, and after the computer program is executed by a processor, the method for activating service permissions of internet of things devices provided in one or more technical solutions is executed, for example, the method shown in fig. 1 may be executed.
An embodiment of the present invention further provides a computer storage medium, where a computer program is stored, and after the computer program is executed by a processor, the computer program executes a service right configuration method of an internet of things device provided in one or more of the foregoing technical solutions, for example, the method shown in fig. 2 may be executed.
An embodiment of the present invention further provides a computer storage medium, where a computer program is stored, and after the computer program is executed by a processor, the computer program executes a registration method of an internet of things device provided in one or more of the foregoing technical solutions, for example, the method shown in fig. 3 or fig. 4 may be executed.
The computer storage medium provided by the embodiment of the invention comprises: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. Alternatively, the computer storage medium may be a non-transitory storage medium. The non-transitory storage medium herein may also be referred to as a non-volatile storage medium.
In some embodiments, the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories. The computer may be a variety of computing devices including intelligent terminals and servers.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only an example of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (20)

1. A service authority activation method of Internet of things equipment is applied to the Internet of things equipment and comprises the following steps:
outputting an activation page; the activation page is a page which is automatically triggered to be presented when the Internet of things equipment is started for the first time; the Internet of things equipment is established by a platform manufacturer user or a terminal manufacturer user through a registration terminal to complete registration configuration and binding relationship in advance;
receiving an activation operation input on the activation page;
generating an activation request carrying activation information and equipment information of the Internet of things equipment based on the activation operation;
sending the activation request to an Internet of things platform;
and receiving an activation response issued after the binding relationship between the activation information and the equipment information passes verification, wherein the activated Internet of things equipment has a service right opened in advance by the Internet of things equipment.
2. The method of claim 1, wherein receiving the activation operation entered on the activation page comprises:
receiving the activation information input on the activation page;
alternatively, the first and second electrodes may be,
and acquiring the activation information prestored by the Internet of things equipment.
3. A service authority configuration method of Internet of things equipment is applied to an Internet of things platform and comprises the following steps:
receiving an activation request sent by the Internet of things equipment; the activation request is generated based on activation operation input on an activation page; the activation page is a page which is automatically triggered to be presented when the Internet of things equipment is started for the first time; the Internet of things equipment is the Internet of things equipment which is established by a platform manufacturer user or a terminal manufacturer user through a registration terminal in advance to complete registration configuration and binding relationship;
determining whether the activation information and the equipment information carried by the activation request belong to the same binding relationship established in advance;
and if the activation information carried by the activation request and the equipment information belong to the same binding relationship which is established in advance, activating a service authority which is opened in advance for the equipment of the Internet of things, and issuing an activation response to the equipment of the Internet of things.
4. The method of claim 3, wherein the determining whether the activation information carried by the activation request and the device information belong to a same binding relationship established in advance comprises:
determining an activation state of the Internet of things equipment indicated by the equipment information;
and if the activation state indicates that the Internet of things equipment is not activated, determining whether the activation information and the equipment information belong to the same binding relationship established in advance.
5. A registration method of Internet of things equipment is applied to a registration terminal, and comprises the following steps:
sending a registration request to an Internet of things platform, wherein the registration request carries registration information of the Internet of things equipment to be registered, user information of a preset user and service request information; the preset user is a platform manufacturer user or a terminal manufacturer user which sends a registration request and a binding request permission to the Internet of things platform through the registration terminal; the service request information is used for indicating the service authority to be opened of the Internet of things equipment;
receiving a registration response which is returned based on the registration information and carries activation information; the activation information is carried in an activation request initiated by the corresponding Internet of things equipment to the Internet of things platform;
writing the activation information into the corresponding Internet of things equipment; the activation information of the Internet of things equipment is written in and is used for being output on an activation page of the Internet of things equipment; the activation page is a page which is automatically triggered to be presented when the Internet of things equipment is started for the first time.
6. The method of claim 5, further comprising:
sending a binding request to an Internet of things platform, wherein the binding request carries equipment information and activation information of the Internet of things equipment to be bound;
and receiving a binding response issued after the binding relationship between the activation information and the equipment information is successfully established.
7. The method according to claim 5 or 6, wherein the registration request is: batch registration requests of a plurality of Internet of things devices to be registered;
the registration response carries: activation information of at least one registered internet of things device.
8. The method according to claim 5 or 6, wherein the registration response carrying the activation information is returned after the user information passes authentication.
9. An Internet of things equipment registration method is applied to an Internet of things platform, and comprises the following steps:
receiving a registration request, wherein the registration request carries registration information, user information and service request information of the Internet of things equipment to be registered; the service request information is used for indicating the service authority to be opened of the Internet of things equipment;
according to the pre-stored user information, carrying out identity verification on the user information in the registration request; the user indicated by the pre-stored user information is a platform manufacturer user or a terminal manufacturer user with the registration authority and the binding authority of the Internet of things equipment;
if the user information in the registration request passes identity verification, configuring the service authority of the Internet of things equipment in an Internet of things platform according to the service request information, and generating activation information of the Internet of things equipment; the stored activation information is used for verifying whether the activation of the Internet of things equipment is carried out;
sending a registration response carrying the activation information to a registration terminal; the activation information is used for being written into the corresponding Internet of things equipment and being output on an activation page of the Internet of things equipment; the activation page is a page which is automatically triggered to be presented when the Internet of things equipment is started for the first time.
10. The method of claim 9, further comprising:
receiving a binding request, wherein the binding request carries equipment information and activation information of the Internet of things equipment to be bound;
determining the binding state of the activation information and the equipment information of the equipment of the Internet of things;
if the binding state indicates that neither the activation information nor the equipment information of the Internet of things equipment has established a binding relationship, establishing the binding relationship between the activation information and the Internet of things equipment;
and sending a binding response to the registration terminal after the binding relationship is successfully established.
11. The utility model provides a service authority activation device of thing networking equipment which characterized in that is applied to in the thing networking equipment, includes:
the output module is used for outputting the activated page; the activation page is a page which is automatically triggered to be presented when the Internet of things equipment is started for the first time; the Internet of things equipment is established by a platform manufacturer user or a terminal manufacturer user through a registration terminal to complete registration configuration and binding relationship in advance;
the receiving module is used for receiving the activation operation input on the activation page;
the sending module is used for generating an activation request carrying activation information and equipment information of the Internet of things equipment based on the activation operation; sending the activation request to an Internet of things platform;
the receiving module is further configured to receive an activation response issued after the binding relationship between the activation information and the device information is verified, where the activated internet of things device has a service right pre-opened by the internet of things device.
12. The utility model provides a service authority configuration device of thing networking device which characterized in that is applied to thing networking platform, includes:
the request receiving module is used for receiving an activation request sent by the Internet of things equipment; the activation request is generated based on activation operation input on an activation page; the activation page is a page which is automatically triggered to be presented when the Internet of things equipment is started for the first time; the Internet of things equipment is the Internet of things equipment which is established by a platform manufacturer user or a terminal manufacturer user through a registration terminal in advance to complete registration configuration and binding relationship;
the determining module is used for determining whether the activation information and the equipment information carried by the activation request belong to the same binding relationship which is established in advance;
and the configuration module is used for activating a pre-opened service authority for the equipment of the Internet of things and issuing an activation response to the equipment of the Internet of things if the activation information carried by the activation request and the equipment information belong to the same pre-established binding relationship.
13. The utility model provides a registration device of thing networking device which characterized in that is applied to the registration terminal, includes:
the system comprises a request module, a registration module and a service module, wherein the request module is used for sending a registration request to an Internet of things platform, and the registration request carries registration information of equipment of the Internet of things to be registered, user information of a preset user and service request information; the preset user is a platform manufacturer user or a terminal manufacturer user which sends a registration request and a binding request permission to the Internet of things platform through the registration terminal; the service request information is used for indicating the service authority to be opened of the Internet of things equipment;
the registration response module is used for receiving a registration response which is returned based on the registration information and carries the activation information; the activation information is carried in an activation request initiated by the corresponding Internet of things equipment to the Internet of things platform; writing the activation information into the corresponding Internet of things equipment; the activation information of the Internet of things equipment is written in and is used for being output on an activation page of the Internet of things equipment; the activation page is a page which is automatically triggered to be presented when the Internet of things equipment is started for the first time.
14. The utility model provides a registration device of thing networking equipment which characterized in that is applied to thing networking platform, includes:
the system comprises a registration receiving module, a registration request sending module and a registration request sending module, wherein the registration request carries registration information, user information and service request information of the Internet of things equipment to be registered; the service request information is used for indicating the service authority to be opened of the Internet of things equipment;
the registration module is used for carrying out identity verification on the user information in the registration request according to the pre-stored user information; the user indicated by the pre-stored user information is a platform manufacturer user or a terminal manufacturer user with the registration authority and the binding authority of the Internet of things equipment; if the user information in the registration request passes identity verification, configuring the service authority of the Internet of things equipment in an Internet of things platform according to the service request information, and generating activation information of the Internet of things equipment; the stored activation information is used for verifying whether the activation of the Internet of things equipment is carried out; sending a registration response carrying the activation information to a registration terminal; the activation information is used for being written into the corresponding Internet of things equipment and being output on an activation page of the Internet of things equipment; the activation page is a page which is automatically triggered to be presented when the Internet of things equipment is started for the first time.
15. An electronic device, comprising:
a memory for storing executable instructions;
a processor, configured to execute the executable instructions stored in the memory, and implement the service right activation method for the internet of things device according to any one of claims 1-2.
16. An electronic device, comprising:
a memory for storing executable instructions;
a processor, configured to execute the executable instructions stored in the memory, and implement the service authority configuration method of the internet of things device according to any one of claims 3 to 4.
17. An electronic device, comprising:
a memory for storing executable instructions;
a processor configured to implement the method of registering for an internet of things device as claimed in any one of claims 5-8 or 9-10 when executing the executable instructions stored in the memory.
18. A computer-readable storage medium storing executable instructions which, when executed by a processor, implement the service right activation method for an internet of things device as claimed in any one of claims 1-2.
19. A computer-readable storage medium storing executable instructions which, when executed by a processor, implement the service right configuration method of the internet of things device as claimed in any one of claims 3 to 4.
20. A computer-readable storage medium storing executable instructions that, when executed by a processor, implement a method for registering a device of the internet of things as claimed in any one of claims 5 to 8 or 9 to 10.
CN202110148684.XA 2021-02-03 2021-02-03 Service authority activation method, configuration method and registration method of Internet of things equipment Active CN112511653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110148684.XA CN112511653B (en) 2021-02-03 2021-02-03 Service authority activation method, configuration method and registration method of Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110148684.XA CN112511653B (en) 2021-02-03 2021-02-03 Service authority activation method, configuration method and registration method of Internet of things equipment

Publications (2)

Publication Number Publication Date
CN112511653A CN112511653A (en) 2021-03-16
CN112511653B true CN112511653B (en) 2021-05-07

Family

ID=74952884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110148684.XA Active CN112511653B (en) 2021-02-03 2021-02-03 Service authority activation method, configuration method and registration method of Internet of things equipment

Country Status (1)

Country Link
CN (1) CN112511653B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259155B (en) * 2021-04-21 2022-07-05 京东科技控股股份有限公司 Access method, device, gateway, medium and electronic equipment of Internet of things equipment
CN113259910B (en) * 2021-06-30 2022-07-05 智道网联科技(北京)有限公司 Activation method and device for vehicle-mounted networking equipment
CN113518317B (en) * 2021-06-30 2023-03-28 青岛海尔科技有限公司 Method and device for sending prompt information, storage medium and electronic device
CN113596838A (en) * 2021-07-29 2021-11-02 北京小米移动软件有限公司 Equipment distribution network binding method, device, equipment and storage medium
CN116614253A (en) * 2021-09-17 2023-08-18 支付宝(杭州)信息技术有限公司 Processing method, device and equipment for equipment account

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684961A (en) * 2012-04-10 2012-09-19 中国科学院计算机网络信息中心 Method, device and system for processing household appliance information
CN111917758A (en) * 2020-07-27 2020-11-10 深圳微控科技有限公司 Method and device for accessing Internet of things platform, computer equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10057173B2 (en) * 2013-05-28 2018-08-21 Convida Wireless, Llc Load balancing in the Internet of things
CN108259164B (en) * 2016-12-29 2021-01-15 华为技术有限公司 Identity authentication method and equipment of Internet of things equipment
CN108848499B (en) * 2018-06-28 2021-11-09 恒宝股份有限公司 Activation method
CN109862083B (en) * 2019-01-16 2021-03-12 深圳市宏电技术股份有限公司 Method, device and equipment for activating Internet of things equipment
CN110536284B (en) * 2019-07-03 2020-09-01 深圳杰睿联科技有限公司 eSIM management method and system based on Internet of things
CN110740119B (en) * 2019-09-06 2022-08-09 浪潮金融信息技术有限公司 Internet of things equipment activation mode
CN110751244B (en) * 2019-09-26 2021-07-27 支付宝(杭州)信息技术有限公司 IOT (Internet of things) equipment activation method, IOT equipment activation device and IOT equipment activation equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684961A (en) * 2012-04-10 2012-09-19 中国科学院计算机网络信息中心 Method, device and system for processing household appliance information
CN111917758A (en) * 2020-07-27 2020-11-10 深圳微控科技有限公司 Method and device for accessing Internet of things platform, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112511653A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN112511653B (en) Service authority activation method, configuration method and registration method of Internet of things equipment
CN107342992B (en) System authority management method and device and computer readable storage medium
AU2018374912B2 (en) Model training system and method, and storage medium
US9311470B2 (en) Method and system for authenticating a user
KR102280061B1 (en) Corporation related certificate issue system and method using did based on blockchain
CN108011862A (en) The mandate of mirror image warehouse, access, management method and server and client side
CN101438274B (en) Claim transformations for trust relationships
CN109831435B (en) Database operation method, system, proxy server and storage medium
CN109617926A (en) Control method, device and the storage medium of service authority
CN110768967A (en) Service authorization method, device, equipment and system
CN111177252A (en) Service data processing method and device
WO2017193074A1 (en) Script manager for distributed systems
US20230336982A1 (en) Virtual key sharing system and method
CN111523102B (en) Applet login method, device, equipment and computer readable storage medium
CN107409129B (en) Use the authorization in accesses control list and the distributed system of group
CN113221142A (en) Authorization service processing method, device, equipment and system
CN114726632A (en) Login method, device, storage medium and processor
CN105373723B (en) Automatic equipment authorization method and device
EP4018614B1 (en) Did delegation/revocation to another did
CN111178896B (en) Bus taking payment method, device and storage medium
CN116915493A (en) Secure login method, device, system, computer equipment and storage medium
CN103559430A (en) Application account management method and device based on android system
CN113031928B (en) Web system generation method and device, electronic equipment and computer readable storage medium
CN111277595B (en) User and data management method suitable for multiple users and multiple terminals
CN111262836B (en) Micro-service authorization method, device and storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220124

Address after: Area 114-125, 1 / F, block D, Optical Valley Exhibition Center expansion project, No.1, Software Park East Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province, 430000

Patentee after: FILLER SMART IOT TECHNOLOGY Co.,Ltd.

Address before: 430223 room 108-116, room 1, 1 / F, block D, Optical Valley Exhibition Center expansion project, No.1 Software Park East Road, Donghu Technology Development Zone, Wuhan City, Hubei Province

Patentee before: WUHAN EASYLINKIN TECHNOLOGY CO.,LTD

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Service Authority activation method, configuration method and registration method of IOT devices

Effective date of registration: 20220528

Granted publication date: 20210507

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: FILLER SMART IOT TECHNOLOGY Co.,Ltd.

Registration number: Y2022420000141

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230524

Granted publication date: 20210507

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: FILLER SMART IOT TECHNOLOGY Co.,Ltd.

Registration number: Y2022420000141

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Activation, configuration, and registration methods for service permissions of IoT devices

Effective date of registration: 20230602

Granted publication date: 20210507

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: FILLER SMART IOT TECHNOLOGY Co.,Ltd.

Registration number: Y2023420000218

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20210507

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: FILLER SMART IOT TECHNOLOGY Co.,Ltd.

Registration number: Y2023420000218

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Activation, configuration, and registration methods for service permissions of IoT devices

Granted publication date: 20210507

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: FILLER SMART IOT TECHNOLOGY Co.,Ltd.

Registration number: Y2024980019930