CN111225082A - Identity management method and device of Internet of things intelligent equipment and Internet of things platform - Google Patents

Identity management method and device of Internet of things intelligent equipment and Internet of things platform Download PDF

Info

Publication number
CN111225082A
CN111225082A CN202010038861.4A CN202010038861A CN111225082A CN 111225082 A CN111225082 A CN 111225082A CN 202010038861 A CN202010038861 A CN 202010038861A CN 111225082 A CN111225082 A CN 111225082A
Authority
CN
China
Prior art keywords
internet
things
address information
target
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.)
Granted
Application number
CN202010038861.4A
Other languages
Chinese (zh)
Other versions
CN111225082B (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.)
Shanghai Shuncom Smart Technology Co ltd
Original Assignee
Shanghai Shuncom Smart 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 Shanghai Shuncom Smart Technology Co ltd filed Critical Shanghai Shuncom Smart Technology Co ltd
Priority to CN202010038861.4A priority Critical patent/CN111225082B/en
Publication of CN111225082A publication Critical patent/CN111225082A/en
Application granted granted Critical
Publication of CN111225082B publication Critical patent/CN111225082B/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3005Mechanisms for avoiding name conflicts
    • 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

Abstract

The embodiment of the invention discloses an identity management method and device for intelligent equipment of the Internet of things and an Internet of things platform. The method comprises the following steps: when an access request of the Internet of things equipment is acquired, analyzing the access request of the Internet of things equipment to acquire address information of first target Internet of things equipment; setting an identity code for the first target Internet of things equipment according to a universal unique identification code generation algorithm; and binding the address information of the first target Internet of things equipment and the identity code of the first target Internet of things equipment in the current binding information table. According to the technical scheme provided by the embodiment of the invention, the lifelong uniqueness of the identity of the equipment of the Internet of things is realized, the effective management of the identity of the equipment of the Internet of things by the platform of the Internet of things is further realized, and the problem that the identity recognition error of the equipment of the Internet of things is caused by the change of the identity code when the access address of the equipment of the Internet of things is changed, so that the normal use of the equipment of the Internet of things is influenced is solved.

Description

Identity management method and device of Internet of things intelligent equipment and Internet of things platform
Technical Field
The embodiment of the invention relates to the technical field of Internet of things, in particular to an identity management method and device of intelligent equipment of the Internet of things and an Internet of things platform.
Background
With the increasingly wide application of the internet of things, the number of internet of things devices connected to the internet of things platform is increased explosively, and in order to control each internet of things device in a targeted manner, the identity of each internet of things device needs to be managed effectively.
In the prior art, an access address of the internet of things device is usually used as an identity for identifying and managing the internet of things device, but in such an identity management manner, when the access address of the internet of things device changes, if the logical position of the device in the internet of things platform moves or a gateway for connecting the device changes, the identity of the internet of things device also changes, and at this moment, the internet of things platform regards the internet of things device as a new device, so that identity identification confusion is caused, the possibility of management errors is increased, and effective management of the internet of things device cannot be realized.
Disclosure of Invention
The embodiment of the invention provides an identity management method and device of Internet of things intelligent equipment and an Internet of things platform, and aims to effectively manage the identity of the Internet of things equipment.
In a first aspect, an embodiment of the present invention provides an identity management method for an internet of things intelligent device, which is applied to an internet of things platform, and the method includes:
when an access request of the Internet of things equipment is acquired, analyzing the access request of the Internet of things equipment to acquire address information of first target Internet of things equipment;
setting an identity code for the first target Internet of things equipment according to a universal unique identification code generation algorithm;
and binding the address information of the first target Internet of things equipment and the identity code of the first target Internet of things equipment in the current binding information table.
In a second aspect, an embodiment of the present invention further provides an identity management apparatus for an internet of things smart device, where the apparatus includes:
the address information acquisition module is used for analyzing the access request of the Internet of things equipment to acquire the address information of the first target Internet of things equipment when the access request of the Internet of things equipment is acquired;
the identity code setting module is used for setting an identity code for the first target Internet of things equipment according to a universal unique identity code generation algorithm;
and the binding module is used for binding the address information of the first target Internet of things equipment and the identity code of the first target Internet of things equipment in the current binding information table.
In a third aspect, an embodiment of the present invention further provides an internet of things platform, where the platform includes:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the identity management method of the intelligent device of the internet of things provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the identity management method for an internet of things smart device provided in any embodiment of the present invention is implemented.
The embodiment of the invention provides an identity management method of Internet of things intelligent equipment. The lifelong uniqueness of the identity of the Internet of things equipment is realized, the effective management of the identity of the Internet of things equipment by the Internet of things platform is further realized, and the problem that the normal use of the Internet of things equipment is influenced due to the fact that the identity code of the Internet of things equipment is changed when the access address of the Internet of things equipment is changed and is caused by the identity recognition error of the Internet of things equipment is solved.
Drawings
Fig. 1 is a flowchart of an identity management method for an internet of things smart device according to an embodiment of the present invention;
fig. 2 is a flowchart of an identity management method for an internet of things intelligent device according to a second embodiment of the present invention;
fig. 3 is a block diagram of an identity management apparatus of an internet of things intelligent device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an internet of things platform according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of an identity management method for an internet of things intelligent device according to an embodiment of the present invention. The method can be executed by the identity management device of the intelligent equipment of the internet of things provided by the embodiment of the invention, can be realized in a hardware and/or software mode, and can be generally integrated in the platform of the internet of things. As shown in fig. 1, the method specifically comprises the following steps:
s11, when the access request of the Internet of things equipment is obtained, the access request of the Internet of things equipment is analyzed to obtain the address information of the first target Internet of things equipment.
The first target Internet of things equipment is equipment for sending an access request to the Internet of things platform so as to apply for connection into the Internet of things platform; if the first target internet of things device directly accesses the internet of things platform, the address information of the internet of things device can be generated by the internet of things device, and is encapsulated in the access request, or a device address pre-designated by the internet of things device in factory equipment can be used. When the Internet of things platform receives an access request of the Internet of things equipment, the access request is analyzed, and an equipment address contained in the access request is extracted to serve as address information of the Internet of things equipment. If the first target internet of things device is accessed to the internet of things platform through a parent device (e.g., an intelligent gateway) in the internet of things platform, which is responsible for device access, the address information of the internet of things device may also be generated by the parent device through a preset fixed algorithm. For example, the device address based on the Modbus may be 03+ port (1byte) +00+ gateway mac (6byte) + Modbus device 1byte address, where 03 and 00 are set standard characters, port is a port number (occupying one byte) when the internet of things device accesses, gateway mac is an ethernet address occupying 6 bytes for the parent device itself, and then the device address occupying one byte generated by the Modbus is added, that is, the device address information of the internet of things device can be spliced. The address information generation algorithm in the parent device only needs to ensure that the generated address information is unique, and the type of the address information generation algorithm is not specifically limited in this embodiment. When the Internet of things platform receives an access request of the Internet of things equipment, the access request is analyzed, and corresponding address information is generated for the Internet of things equipment through the parent equipment.
The address information of the internet of things equipment is a necessary parameter when the internet of things platform communicates with the internet of things equipment, and may change along with the disconnection and re-access of the internet of things equipment or the change of a gateway address, and only the address information of each equipment in the same time period is required to be ensured not to be repeated, but can be repeated in different time periods. For example, if the address of a certain internet of things device is 12345, when the device maintains an access state in the internet of things platform, the addresses of other devices may not be 12345, and if the device is deleted from the internet of things platform, the addresses of other devices may be 12345.
S12, setting an identity code for the first target Internet of things device according to a universal unique identification code generating algorithm.
A Universally Unique Identifier (UUID) is a standard that is constructed by software to identify an attribute type, and is considered to be a Unique Identifier in all spaces and times. The UUID is calculated and generated based on data such as the current time, the counter and the hardware identifier (generally, the MAC address of the wireless network card), can be independently created by anyone, and the probability of repetition is almost zero. Alternatively, the UUID generation algorithm may include a time-based UUID generation algorithm, a name-based generation algorithm, a Distributed Computing Environment (DCE) security-based generation algorithm, a random number-based generation algorithm, and the like. In this embodiment, the unique identifier generated according to the universal unique identifier generation algorithm is set as the identity code of the internet of things device, so that the identity codes of the internet of things devices are not repeated at any time.
The identity code of the Internet of things equipment is used for identifying the equipment, specific communication transmission data is not influenced, and the overall situation is not changed. Optionally, after the identity code is set for the first target internet of things device, the identity code is recorded in the device table of the internet of things platform database, so as to determine the device access condition of the internet of things platform.
Optionally, after the identity code of the first target internet of things device is recorded in the device table of the internet of things platform database, it is checked whether the identity code of the first target internet of things device is mutually repeated with the identity code already existing in the device table, so as to further ensure the uniqueness of the identity code of each internet of things device.
S13, binding the address information of the first target Internet of things device and the identity code of the first target Internet of things device in a current binding information table.
The current binding information table comprises an address information data item and an identity code data item, and when the address information and the identity code of the equipment are recorded at corresponding positions in the current binding information table at the same time, the equipment is bound to the Internet of things platform. When an access request of the Internet of things equipment is received and the address information and the identity code of the equipment are determined, the address information and the identity code of the equipment are recorded in a current binding information table together to indicate that the equipment is bound, namely the equipment is successfully accessed into the Internet of things platform.
On the basis of the above technical solution, optionally, the identity management method of the internet of things intelligent device further includes: when the address information change message of the Internet of things equipment is acquired, analyzing the address information change message of the Internet of things equipment to acquire new address information and an identity code of second target Internet of things equipment; and in the current binding information table, binding the new address information and the identity code of the second target Internet of things equipment, and storing the binding relationship between the old address information and the identity code of the second target Internet of things equipment in a historical binding information table.
The second target Internet of things device is a device corresponding to the Internet of things device address information change message acquired by the Internet of things platform. The change of the device address may be the movement of the relative logical address of the device in the platform of the internet of things, or the change of the device address generated by the device itself. When the address information of the Internet of things equipment changes, the equipment can send an address information change message to the Internet of things platform, and the Internet of things platform can also obtain the address information change message generated due to the change of the internally stored logical address so as to prompt the Internet of things platform to correct.
When the internet of things platform acquires the internet of things equipment address information change message, the internet of things equipment address information change message is analyzed to acquire the new address information and the identity code of the internet of things equipment contained in the internet of things equipment, wherein the acquisition process of the new address information of the second target internet of things equipment refers to the acquisition process of the address information of the first target internet of things equipment in the technical scheme, the acquisition process of the new address information of the second target internet of things equipment is not described again, and the identity code can be determined according to the binding information recorded in the current binding information table when the internet of things equipment is accessed to the internet of things platform.
After determining the new address information and the identity code of the second target internet of things device, the new address information and the identity code of the second target internet of things device can be recorded in the current binding information table together to indicate that the device is bound again, and the binding relationship between the old address information and the identity code is transplanted to the historical binding information table; the address information data item corresponding to the identity code can be searched in the current binding information table, then the new address information is used for replacing the old address information, and the binding relationship between the old address information and the identity code is stored in the historical binding information table, so that the subsequent inquiry on the historical binding condition is facilitated.
On the basis of the above technical solution, optionally, the identity management method of the internet of things intelligent device further includes: when the gateway equipment address information change message is acquired, analyzing the gateway equipment address information change message to acquire new address information of one or more third target Internet of things equipment, and acquiring identity codes of one or more third target Internet of things equipment in a current binding information table; binding the new address information and the identity codes of one or more third target Internet of things devices in a current binding information table, and storing the binding relationship between the old address information and the identity codes of one or more third target Internet of things devices in a historical binding information table; and one or more third target Internet of things devices are accessed to the Internet of things platform through the gateway device.
Specifically, if the address change of the internet of things device is caused by the address change of the gateway device responsible for device access, all the internet of things devices under the gateway device need to be bound again. When the internet of things platform obtains the gateway equipment address information change message, the gateway equipment address information change message is analyzed to obtain new address information of all internet of things equipment under the gateway equipment, identity codes of all internet of things equipment under the gateway equipment are obtained in a current binding information table, re-binding of all internet of things equipment is respectively realized, the binding process refers to the binding process of the new address information and the identity codes of second target internet of things equipment in the technical scheme, and the binding relationship between the old address information and the identity codes of all internet of things equipment is stored in a historical binding information table, so that the historical binding condition can be conveniently inquired in the follow-up process.
On the basis of the above technical solution, optionally, the identity management method of the internet of things intelligent device further includes: when the temporary deleting instruction of the Internet of things equipment is acquired, analyzing the temporary deleting instruction of the Internet of things equipment to acquire the identity code of the matched fourth target Internet of things equipment; in the current binding information table, setting address information corresponding to the identity code of the fourth target internet of things device to be null, and storing the binding relationship between the address information and the identity code of the fourth target internet of things device in the historical binding information table.
The fourth target internet of things device is a device corresponding to the temporary deletion instruction of the internet of things device acquired by the internet of things platform. Optionally, the temporary deleting instruction of the internet of things device may be an instruction specified by a user, or an instruction generated by the platform of the internet of things due to a network disconnection or a non-working state of the device.
When the temporary deleting instruction of the internet of things equipment is acquired, the temporary deleting instruction of the internet of things equipment is analyzed to acquire the identity code of the temporarily deleted internet of things equipment, then the address information data item corresponding to the identity code is searched in the current binding information table, the address information is set to be null to indicate that the equipment is unbound, namely, the equipment is successfully separated from the internet of things platform, and meanwhile, the binding relation between the address information of the fourth target internet of things equipment and the identity code before deletion is stored in the historical binding information table, so that the subsequent inquiry of the historical binding condition is facilitated.
On the basis of the above technical solution, optionally, the identity management method of the internet of things intelligent device further includes: when the permanent deleting instruction of the Internet of things equipment is acquired, analyzing the permanent deleting instruction of the Internet of things equipment to acquire the identity code of the matched fifth target Internet of things equipment; in the current binding information table, the identity code of the fifth target Internet of things equipment is marked as forbidden; wherein an identity code marked as disabled can no longer be bound to any address information.
The fifth target internet of things device is a device corresponding to the permanent deletion instruction of the internet of things device acquired by the internet of things platform. Specifically, if a certain piece of internet of things equipment needs to be permanently deleted from the internet of things platform due to equipment damage or other reasons, optionally, a user can designate a permanent deleting instruction of the internet of things equipment, the internet of things platform can also judge the equipment needing to be permanently deleted by itself, and the permanent deleting instruction of the internet of things equipment is generated.
When the Internet of things platform obtains the permanent deleting instruction of the Internet of things equipment, the permanent deleting instruction of the Internet of things equipment is analyzed to obtain the identity code of the equipment needing permanent deleting, then the identity code is searched in the current binding information table, the identity code is marked as forbidden, the identity code marked as forbidden can not be bound with any address information, and the life cycle of the equipment is represented to be finished. Meanwhile, the address information data item corresponding to the identity code in the current binding information table can be deleted to indicate that the equipment is unbound, and the binding relationship between the address information and the identity code of the fifth target Internet of things equipment before permanent deletion can be stored in the historical binding information table, so that the historical binding condition can be conveniently inquired in the follow-up process.
According to the technical scheme provided by the embodiment of the invention, the address information of the Internet of things equipment is obtained, the identity code is set for the Internet of things equipment according to the unique identification code generating algorithm, and then the address information and the identity code of the Internet of things equipment are bound in the binding information table of the Internet of things platform. The lifelong uniqueness of the identity of the Internet of things equipment is realized, the effective management of the identity of the Internet of things equipment by the Internet of things platform is further realized, and the problem that the normal use of the Internet of things equipment is influenced due to the fact that the identity code of the Internet of things equipment is changed when the access address of the Internet of things equipment is changed and is caused by the identity recognition error of the Internet of things equipment is solved.
Example two
Fig. 2 is a flowchart of an identity management method for an internet of things intelligent device according to a second embodiment of the present invention. The technical scheme of this embodiment is further refined on the basis of the above technical scheme, and specifically, in this embodiment, after the address information of the first target internet of things device is acquired, it can also be determined whether the first target internet of things device is accessed for the first time, and identity binding of the internet of things device under the condition of non-initial access is realized. Correspondingly, as shown in fig. 2, the method specifically includes the following steps:
s21, when the access request of the Internet of things equipment is obtained, the access request of the Internet of things equipment is analyzed to obtain the address information of the first target Internet of things equipment.
S22, judging whether the Internet of things equipment access request comprises a target identity code.
Specifically, if the target identity code is obtained by analyzing the access request of the internet of things device, it is indicated that the current internet of things device requesting access is not accessed for the first time, and the target identity code is already set for the device when the internet of things device is accessed for the first time. If the target identity code is not obtained through analyzing the access request of the internet of things device, it is indicated that the current internet of things device requesting access is accessed for the first time, and the access process refers to the access process of the first target internet of things device in the first embodiment.
S23, if the Internet of things equipment access request comprises the target identity code, inquiring whether the address information bound with the target identity code is empty in the current binding information table according to the target identity code.
Since the non-initial access process of the internet of things device is for the device which is temporarily deleted once, the re-access operation is only required when the device is in the unbinding state. Therefore, before the device is bound again, whether the address information corresponding to the identity code of the device in the current binding information table is empty is inquired, and if the address information is empty, the device is temporarily deleted, is in an unbinding state, and can be accessed again.
And S24, if the address information bound with the target identity code is null, binding the address information of the first target Internet of things device and the target identity code in a current binding information table.
After determining that the internet of things device is in the unbinding state, recording the address information of the device obtained again in the address information data item corresponding to the target identity code in the current binding information table to realize the rebinding.
On the basis of the above technical solution, optionally, after querying whether the address information bound to the target identity code is empty, the method further includes: and if the address information bound with the target identity code is not null, rejecting the access request of the equipment of the Internet of things.
Specifically, if the address information bound to the target identity code is not null, it indicates that the device is in a bound state and cannot be bound any more, and the internet of things platform rejects the access request of the internet of things device.
According to the technical scheme provided by the embodiment of the invention, whether the access request is a first access request is determined by judging whether the access request of the Internet of things equipment comprises the target identity code or not, and whether the Internet of things equipment is in a binding release state is judged when the access request is not accessed for the first time so as to determine whether the process of accessing again can be carried out or not, and then the operation of binding or refusing the binding is carried out. The method and the system realize the process of binding again according to the identity code after the equipment of the Internet of things is temporarily deleted, and further realize the effective management of the platform of the Internet of things on the identity of the equipment of the Internet of things.
EXAMPLE III
Fig. 3 is a block diagram of an identity management apparatus for an internet of things intelligent device according to a third embodiment of the present invention, where the apparatus may be implemented in a hardware and/or software manner, and may be generally integrated in an internet of things platform, and is configured to execute an identity management method for an internet of things intelligent device according to any embodiment of the present invention. As shown in fig. 3, the apparatus includes:
the address information obtaining module 31 is configured to, when an access request of the internet of things device is obtained, analyze the access request of the internet of things device to obtain address information of the first target internet of things device;
the identity code setting module 32 is used for setting an identity code for the first target internet of things equipment according to a universal unique identification code generation algorithm;
the binding module 33 is configured to bind the address information of the first target internet of things device and the identity code of the first target internet of things device in the current binding information table.
According to the technical scheme provided by the embodiment of the invention, the address information of the Internet of things equipment is obtained, the identity code is set for the Internet of things equipment according to the unique identification code generating algorithm, and then the address information and the identity code of the Internet of things equipment are bound in the binding information table of the Internet of things platform. The lifelong uniqueness of the identity of the Internet of things equipment is realized, the effective management of the identity of the Internet of things equipment by the Internet of things platform is further realized, and the problem that the normal use of the Internet of things equipment is influenced due to the fact that the identity code of the Internet of things equipment is changed when the access address of the Internet of things equipment is changed and is caused by the identity recognition error of the Internet of things equipment is solved.
On the basis of the above technical solution, optionally, the identity management apparatus of the internet of things intelligent device further includes:
the first change message acquisition module is used for analyzing the address information change message of the internet of things equipment to acquire new address information and an identity code of the second target internet of things equipment when the address information change message of the internet of things equipment is acquired;
and the first change binding module is used for binding the new address information and the identity code of the second target Internet of things equipment in the current binding information table and storing the binding relationship between the old address information and the identity code of the second target Internet of things equipment in the historical binding information table.
On the basis of the above technical solution, optionally, the identity management apparatus of the internet of things intelligent device further includes:
the second change message acquisition module is used for analyzing the address information change message of the gateway equipment to acquire new address information of one or more third target internet of things equipment and acquiring the identity codes of the one or more third target internet of things equipment in the current binding information table when the address information change message of the gateway equipment is acquired;
the second change binding module is used for binding the new address information and the identity codes of one or more third target Internet of things devices in the current binding information table and storing the binding relationship between the old address information and the identity codes of one or more third target Internet of things devices in the historical binding information table; and one or more third target Internet of things devices are accessed to the Internet of things platform through the gateway device.
On the basis of the above technical solution, optionally, the identity management apparatus of the internet of things intelligent device further includes:
the temporary deletion instruction acquisition module is used for analyzing the temporary deletion instruction of the internet of things equipment to acquire the identity code of the matched fourth target internet of things equipment when the temporary deletion instruction of the internet of things equipment is acquired;
and the temporary unbinding module is used for setting address information corresponding to the identity code of the fourth target Internet of things device to be null in the current binding information table and storing the binding relationship between the address information and the identity code of the fourth target Internet of things device in the historical binding information table.
On the basis of the above technical solution, optionally, the identity management apparatus of the internet of things intelligent device further includes:
the permanent deletion instruction acquisition module is used for analyzing the permanent deletion instruction of the internet of things equipment to acquire the identity code of the matched fifth target internet of things equipment when the permanent deletion instruction of the internet of things equipment is acquired;
the permanent unbinding module is used for marking the identity code of the fifth target Internet of things device as forbidden in the current binding information table; wherein an identity code marked as disabled can no longer be bound to any address information.
On the basis of the above technical solution, optionally, the identity management apparatus of the internet of things intelligent device further includes:
the target identity code judging module is used for judging whether the target identity code is included in the access request of the Internet of things equipment or not after the access request of the Internet of things equipment is analyzed to obtain the address information of the first target Internet of things equipment;
the address information inquiry module is used for inquiring whether the address information bound with the target identity code is empty or not in the current binding information table according to the target identity code if the access request of the Internet of things equipment comprises the target identity code;
and the secondary binding module is used for binding the address information of the first target Internet of things device and the target identity code in the current binding information table if the address information bound with the target identity code is empty.
On the basis of the above technical solution, optionally, the identity management apparatus of the internet of things intelligent device further includes:
and the request rejection module is used for rejecting the access request of the equipment of the Internet of things if the address information bound with the target identity code is not empty after inquiring whether the address information bound with the target identity code is empty or not.
The identity management device of the intelligent equipment of the internet of things provided by the embodiment of the invention can execute the identity management method of the intelligent equipment of the internet of things provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the identity management apparatus of the internet of things intelligent device, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example four
Fig. 4 is a schematic structural diagram of an internet of things platform according to a fourth embodiment of the present invention, which shows a block diagram of an exemplary internet of things platform suitable for implementing the embodiment of the present invention. The internet of things platform shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention. As shown in fig. 4, the internet of things platform includes a processor 41, a memory 42, an input device 43, and an output device 44; the number of the processors 41 in the platform of the internet of things may be one or more, one processor 41 is taken as an example in fig. 4, the processor 41, the memory 42, the input device 43 and the output device 44 in the platform of the internet of things may be connected by a bus or in another manner, and the processor 41, the memory 42, the input device 43 and the output device 44 in the platform of the internet of things are taken as an example in fig. 4.
The memory 42 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the identity management method of the internet of things smart device in the embodiment of the present invention (for example, the address information obtaining module 31, the identity code setting module 32, and the binding module 33 in the identity management apparatus of the internet of things smart device). The processor 41 executes various functional applications and data processing of the internet of things platform by running software programs, instructions and modules stored in the memory 42, that is, the identity management method of the internet of things intelligent device is realized.
The memory 42 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the internet of things platform, and the like. Further, the memory 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 42 may further include memory located remotely from processor 41, which may be connected to the internet of things platform via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 43 may be used to receive an access request from an internet of things device and generate key signal inputs related to user settings and function control of the internet of things platform. The output device 44 may include a display device such as a display screen, and may be used to feed back the access status information of the internet of things device to the user.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a method for identity management of an internet of things smart device, where the method includes:
when an access request of the Internet of things equipment is acquired, analyzing the access request of the Internet of things equipment to acquire address information of first target Internet of things equipment;
setting an identity code for the first target Internet of things equipment according to a universal unique identification code generation algorithm;
and binding the address information of the first target Internet of things equipment and the identity code of the first target Internet of things equipment in the current binding information table.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the identity management method for the intelligent device of the internet of things provided by any embodiment of the present invention.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An identity management method of intelligent equipment of the Internet of things is applied to a platform of the Internet of things and is characterized by comprising the following steps:
when an access request of the Internet of things equipment is acquired, analyzing the access request of the Internet of things equipment to acquire address information of first target Internet of things equipment;
setting an identity code for the first target Internet of things equipment according to a universal unique identification code generation algorithm;
and binding the address information of the first target Internet of things equipment and the identity code of the first target Internet of things equipment in a current binding information table.
2. The method of claim 1, further comprising:
when the address information change message of the Internet of things equipment is acquired, analyzing the address information change message of the Internet of things equipment to acquire new address information and an identity code of second target Internet of things equipment;
and in the current binding information table, binding the new address information and the identity code of the second target Internet of things equipment, and storing the binding relationship between the old address information and the identity code of the second target Internet of things equipment in a historical binding information table.
3. The method of claim 1, further comprising:
when acquiring a gateway equipment address information change message, analyzing the gateway equipment address information change message to acquire new address information of one or more third target Internet of things equipment, and acquiring identity codes of one or more third target Internet of things equipment in the current binding information table;
binding the new address information and the identity codes of one or more third target internet of things devices in the current binding information table, and storing the binding relationship between the old address information and the identity codes of one or more third target internet of things devices in the historical binding information table; and one or more third target Internet of things devices are accessed to the Internet of things platform through the gateway device.
4. The method of claim 1, further comprising:
when the temporary deleting instruction of the Internet of things equipment is acquired, analyzing the temporary deleting instruction of the Internet of things equipment to acquire the identity code of the matched fourth target Internet of things equipment;
in the current binding information table, setting address information corresponding to the identity code of the fourth target internet of things device to be null, and storing the binding relationship between the address information and the identity code of the fourth target internet of things device in the historical binding information table.
5. The method of claim 1, further comprising:
when the permanent deleting instruction of the Internet of things equipment is acquired, analyzing the permanent deleting instruction of the Internet of things equipment to acquire the identity code of the matched fifth target Internet of things equipment;
in the current binding information table, marking the identity code of the fifth target internet of things equipment as forbidden; wherein an identity code marked as disabled can no longer be bound to any address information.
6. The method of claim 1, wherein after parsing the internet of things device access request to obtain address information of a first target internet of things device, further comprising:
judging whether the access request of the Internet of things equipment comprises a target identity code or not;
if the internet of things equipment access request comprises the target identity code, inquiring whether address information bound with the target identity code is empty or not in the current binding information table according to the target identity code;
and if the address information bound with the target identity code is null, binding the address information of the first target Internet of things equipment and the target identity code in a current binding information table.
7. The method of claim 6, further comprising, after querying whether the address information bound to the target identity code is null:
and if the address information bound with the target identity code is not null, rejecting the access request of the Internet of things equipment.
8. The utility model provides an identity management device of thing networking smart machine which characterized in that includes:
the address information acquisition module is used for analyzing the Internet of things equipment access request to acquire the address information of the first target Internet of things equipment when the Internet of things equipment access request is acquired;
the identity code setting module is used for setting an identity code for the first target Internet of things equipment according to a universal unique identification code generation algorithm;
and the binding module is used for binding the address information of the first target Internet of things equipment and the identity code of the first target Internet of things equipment in a current binding information table.
9. An internet of things platform, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for identity management of an internet of things smart device as recited in any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a method for identity management of an internet of things smart device as claimed in any one of claims 1 to 7.
CN202010038861.4A 2020-01-14 2020-01-14 Identity management method and device of Internet of things intelligent equipment and Internet of things platform Active CN111225082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010038861.4A CN111225082B (en) 2020-01-14 2020-01-14 Identity management method and device of Internet of things intelligent equipment and Internet of things platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010038861.4A CN111225082B (en) 2020-01-14 2020-01-14 Identity management method and device of Internet of things intelligent equipment and Internet of things platform

Publications (2)

Publication Number Publication Date
CN111225082A true CN111225082A (en) 2020-06-02
CN111225082B CN111225082B (en) 2020-12-29

Family

ID=70831137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010038861.4A Active CN111225082B (en) 2020-01-14 2020-01-14 Identity management method and device of Internet of things intelligent equipment and Internet of things platform

Country Status (1)

Country Link
CN (1) CN111225082B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468538A (en) * 2020-11-04 2021-03-09 杭州萤石软件有限公司 Operation method and system of Internet of things equipment
CN113068680A (en) * 2021-04-06 2021-07-06 上海顺舟智能科技股份有限公司 Animal trapping system and trapping robot
CN114338600A (en) * 2021-12-28 2022-04-12 深信服科技股份有限公司 Equipment fingerprint selection method and device, electronic equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867508A (en) * 2006-12-31 2010-10-20 华为技术有限公司 Method, system and device for realizing home network interconnection
CN102694804A (en) * 2012-05-29 2012-09-26 华南理工大学 Realization method and device for intelligent home unified platform on basis of UPnP protocol
CN102724334A (en) * 2012-06-30 2012-10-10 华为技术有限公司 Notification and acquisition method, device and system for address information change in digital living network alliance (DLNA)
US20150378860A1 (en) * 2013-06-28 2015-12-31 Huawei Device Co., Ltd. Method for Identifying Device, and Device
CN106685900A (en) * 2015-11-10 2017-05-17 中国电信股份有限公司 Loophole prevention method and apparatus
US20190172285A1 (en) * 2017-08-14 2019-06-06 Q & K International Group Limited Application Method of Bluetooth Low-energy Electronic Lock Based on Built-in Offline Pairing Passwords, Interactive Unlocking Method of a Bluetooth Electronic Lock and Electronic Lock System

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867508A (en) * 2006-12-31 2010-10-20 华为技术有限公司 Method, system and device for realizing home network interconnection
CN102694804A (en) * 2012-05-29 2012-09-26 华南理工大学 Realization method and device for intelligent home unified platform on basis of UPnP protocol
CN102724334A (en) * 2012-06-30 2012-10-10 华为技术有限公司 Notification and acquisition method, device and system for address information change in digital living network alliance (DLNA)
US20150378860A1 (en) * 2013-06-28 2015-12-31 Huawei Device Co., Ltd. Method for Identifying Device, and Device
CN106685900A (en) * 2015-11-10 2017-05-17 中国电信股份有限公司 Loophole prevention method and apparatus
US20190172285A1 (en) * 2017-08-14 2019-06-06 Q & K International Group Limited Application Method of Bluetooth Low-energy Electronic Lock Based on Built-in Offline Pairing Passwords, Interactive Unlocking Method of a Bluetooth Electronic Lock and Electronic Lock System

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468538A (en) * 2020-11-04 2021-03-09 杭州萤石软件有限公司 Operation method and system of Internet of things equipment
CN112468538B (en) * 2020-11-04 2022-08-02 杭州萤石软件有限公司 Operation method and system of Internet of things equipment
CN113068680A (en) * 2021-04-06 2021-07-06 上海顺舟智能科技股份有限公司 Animal trapping system and trapping robot
CN114338600A (en) * 2021-12-28 2022-04-12 深信服科技股份有限公司 Equipment fingerprint selection method and device, electronic equipment and medium
CN114338600B (en) * 2021-12-28 2023-09-05 深信服科技股份有限公司 Equipment fingerprint selection method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN111225082B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN111225082B (en) Identity management method and device of Internet of things intelligent equipment and Internet of things platform
EP1949595B1 (en) Method for the construction and execution of a distributed workflow in a communication system
EP3418877A1 (en) Data writing and reading method and apparatus, and cloud storage system
US10425502B2 (en) System and method for acquiring, processing and updating global information
CN106155775B (en) Message processing method, device and system
US20160241635A1 (en) M2m data querying and invoking methods, querying and invoking devices, and system
CN110413845B (en) Resource storage method and device based on Internet of things operating system
CN108512930B (en) Shared file management method, device, server and storage medium
CN108154024B (en) Data retrieval method and device and electronic equipment
CN111737564A (en) Information query method, device, equipment and medium
CN113542292A (en) Intranet safety protection method and system based on DNS and IP credit data
CN114710549A (en) Dynamic management method, system and service node of network card in container platform
CN116881040A (en) Service operation processing method and device, electronic device and storage medium
CN115080771A (en) Data processing method and device based on artificial intelligence, medium and gateway equipment
WO2021155529A1 (en) Resource deletion method, apparatus, and device, and storage medium
CN108805741B (en) Fusion method, device and system of power quality data
CN113726885A (en) Method and device for adjusting flow quota
CN111125232A (en) Method and device for accessing public cloud asset information
CN107124293B (en) Protocol management method and system of distributed network system
US20210149752A1 (en) Communication System
CN111124923B (en) Running state query method and device, server equipment and storage medium
CN114666241B (en) Method and device for identifying industrial control asset information
CN117938936A (en) Method, system, computing device and medium for identifying tenant identification
CN110708208B (en) Monitoring data acquisition method and device, storage medium and terminal
CN113992739B (en) Local area network OTA firmware upgrading device, method and system

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