Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a device discovery method and system based on identification analysis.
In order to achieve the purpose, the invention adopts the following technical scheme:
an equipment discovery method based on identification resolution comprises the following steps:
step 1: solidifying the equipment information of the equipment to the equipment;
step 2: the method comprises the steps that equipment information carried by equipment registers model information and the equipment information of the equipment into an identification analysis system, the identification analysis system generates a model identification and an information identification, and an identification relation corresponding to the model identification and the information identification is established;
step 3: the identification analysis system returns the generated model identification and the information identification to the equipment and stores the model identification and the information identification in the equipment;
step 4: the equipment carries the model identification to send a registration request to the equipment management cloud platform, and the equipment management cloud platform acquires equipment information from the identification analysis system according to the model identification to complete equipment discovery.
In one embodiment, the registration process at Step4 includes the following:
the equipment carries a model identifier and an information identifier and registers to an equipment management cloud platform;
and the equipment management cloud platform acquires model information and equipment information from an identification analysis system according to the model identification and the information identification.
In one embodiment, the method further comprises: updating the device information, the information mark and the mark relation, wherein the updating mode comprises at least one of the following modes:
s1: updating equipment information and information marks of the equipment, the identification analysis system and the equipment management cloud platform and a mark relation of the identification analysis system by updating the equipment information on the equipment;
s2: updating equipment information and information marks of the equipment, the identification analysis system and the equipment management cloud platform by updating the equipment information in the identification analysis system, and marking relations of the identification analysis system;
s3: and updating the equipment information and the information marks of the equipment, the identification analysis system and the equipment management cloud platform by updating the equipment information on the equipment management cloud platform, and the mark relation of the identification analysis system.
In one embodiment, the S1 includes the following steps:
s1.1, solidifying updated equipment information to equipment, wherein the equipment carries a model identifier, an original information identifier and the updated equipment information and sends an update request to an identifier analysis system, and the identifier analysis system processes the update request;
s1.2, the identification analysis system generates an updated information identification and establishes an updated identification relation;
s1.3, the identification analysis system carries the model identification, the updated equipment information and the updated information identification to send an update request to the equipment management cloud platform, and the equipment management cloud platform processes the update request;
s1.4, after the equipment management cloud platform completes updating, the identification analysis system returns the updated information identification to the equipment.
In one embodiment, the process of the identity resolution system processing the update request comprises the following steps:
the identification analysis system retrieves the original equipment information according to the model identification and the old user information identification, and compares the original equipment information with the updated equipment information;
if the original equipment information is the same as the updated equipment information, returning to the equipment to update successfully;
and if the original equipment information is not the same as the updated equipment information, performing the subsequent steps according to the S1.1.
In one embodiment, the process of processing the update request by the device management cloud platform includes the following steps:
the equipment management cloud platform retrieves original equipment information according to the model identification and compares the original equipment information with the updated equipment information;
if the original equipment information is the same as the updated equipment information, returning to the identification analysis system for successful update;
if the original device information is not the same as the updated device information, the following steps of S1.3 in claim 3 are performed.
In one embodiment, the S2 includes the following steps:
registering updated equipment information in an identifier analysis system, generating an updated information identifier, and establishing an updated identifier relationship;
the identification analysis system sends updated equipment information and an updated information identification to the equipment according to the model identification, and the equipment stores the updated equipment information and the updated information identification;
the identification analysis system carries the model identification, the updated equipment information and the updated information identification and sends an update request to the equipment management cloud platform;
and the equipment management cloud platform updates and stores the updated equipment information and the updated information identifier.
In one embodiment, the S3 includes the following steps:
modifying the original equipment information into updated equipment information on the equipment management cloud platform;
the equipment management cloud platform carries the model identification and the updated equipment information and sends an update request to the identification analysis system;
the identification analysis system generates an updated information identification and establishes an updated identification relation;
and the identification analysis system sends the updated information identification and the updated equipment information to the equipment, and the equipment stores the information identification and the updated equipment information.
The invention provides an equipment discovery system based on identification analysis, which can realize equipment discovery or equipment information update by the method.
The invention also proposes a storage medium having stored thereon a computer program which, when executed, implements the above-mentioned method.
The invention has the beneficial effects that: by adopting the method of the invention, the equipment does not need to be manually established on the equipment management cloud platform in advance, and the discovery management on the equipment management platform can be completed only through the communication interaction between the equipment and the identification analysis system and between the equipment management cloud platform, thereby avoiding or reducing a large amount of work of an enterprise needing to manually input equipment information into the equipment management platform on equipment management, and greatly improving the equipment access efficiency and the enterprise equipment management cost.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Referring to fig. 1 to 7, a device discovery method based on identity resolution includes the following steps:
step 1: solidifying the equipment information of the equipment to the equipment;
step 2: the method comprises the steps that equipment information carried by equipment registers model information and the equipment information of the equipment into an identification analysis system, the identification analysis system generates a model identification and an information identification, and an identification relation corresponding to the model identification and the information identification is established;
step 3: the identification analysis system returns the generated model identification and the information identification to the equipment and stores the model identification and the information identification in the equipment;
step 4: the equipment carries the model identification to send a registration request to the equipment management cloud platform, and the equipment management cloud platform acquires equipment information from the identification analysis system according to the model identification to complete equipment discovery.
The registration process of Step4 comprises the following steps:
the equipment carries a model identifier and an information identifier and registers to an equipment management cloud platform;
the steps from Step1 to Step4 do not limit the sequence of each Step, and the sequence of each Step can be adjusted according to specific embodiments;
the information identifier carried by the device may be one or more of the above-mentioned exemplary information identifiers at the same time;
the equipment management cloud platform acquires model information and equipment information from an identification analysis system according to the model identification and the information identification;
the method further comprises the following steps: updating the device information, the information mark and the mark relation, wherein the updating mode comprises at least one of the following modes:
s1: updating equipment information and information marks of the equipment, the identification analysis system and the equipment management cloud platform and a mark relation of the identification analysis system by updating the equipment information on the equipment;
s2: updating equipment information and information marks of the equipment, the identification analysis system and the equipment management cloud platform by updating the equipment information in the identification analysis system, and marking relations of the identification analysis system;
s3: and updating the equipment information and the information marks of the equipment, the identification analysis system and the equipment management cloud platform by updating the equipment information on the equipment management cloud platform, and the mark relation of the identification analysis system.
The S1 includes the following steps:
s1.1, solidifying updated equipment information to equipment, wherein the equipment carries a model identifier, an original information identifier and the updated equipment information and sends an update request to an identifier analysis system, and the identifier analysis system processes the update request;
s1.2, the identification analysis system generates an updated information identification and establishes an updated identification relation;
s1.3, the identification analysis system carries the model identification, the updated equipment information and the updated information identification to send an update request to the equipment management cloud platform, and the equipment management cloud platform processes the update request;
s1.4, after the equipment management cloud platform completes updating, the identification analysis system returns the updated information identification to the equipment.
The process of processing the update request by the identification resolution system comprises the following steps:
the identification analysis system retrieves the original equipment information according to the model identification and the old user information identification, and compares the original equipment information with the updated equipment information;
if the original equipment information is the same as the updated equipment information, returning to the equipment to update successfully;
and if the original equipment information is not the same as the updated equipment information, performing the subsequent steps according to the S1.1.
The process of processing the update request by the equipment management cloud platform comprises the following steps:
the equipment management cloud platform retrieves original equipment information according to the model identification and compares the original equipment information with the updated equipment information;
if the original equipment information is the same as the updated equipment information, returning to the identification analysis system for successful update;
if the original device information is not the same as the updated device information, the following steps of S1.3 in claim 3 are performed.
The S2 includes the following steps:
registering updated equipment information in an identifier analysis system, generating an updated information identifier, and establishing an updated identifier relationship;
the identification analysis system sends updated equipment information and an updated information identification to the equipment according to the model identification, and the equipment stores the updated equipment information and the updated information identification;
the identification analysis system carries the model identification, the updated equipment information and the updated information identification and sends an update request to the equipment management cloud platform;
and the equipment management cloud platform updates and stores the updated equipment information and the updated information identifier.
The S3 includes the following steps:
modifying the original equipment information into updated equipment information on the equipment management cloud platform;
the equipment management cloud platform carries the model identification and the updated equipment information and sends an update request to the identification analysis system;
the identification analysis system generates an updated information identification and establishes an updated identification relation;
and the identification analysis system sends the updated information identification and the updated equipment information to the equipment, and the equipment stores the information identification and the updated equipment information.
The method of the present invention will be further described with reference to some embodiments, some of which relate to the process of updating user information in device information, and other device information can be performed according to the method of the embodiments:
in one embodiment of the present invention, for example, a method for new device discovery based on identity resolution, as shown in fig. 1, may include the following steps, for example:
1) the equipment information is solidified to the new equipment through a burning program or a configuration tool;
2) registering the model information and the new equipment information to an identification analysis system;
3) the identification analysis system stores the signal information and the equipment information, generates a model identification and an information identification thereof according to an identification rule, and establishes an identification relation corresponding to the model identification and the information identification;
4) the identification analysis system returns the generated model identification and the information identification to the equipment;
5) the equipment stores the model identification and the information identification into a local file or solidifies the model identification and the information identification into a local program;
6) the equipment carries the model identification and the information identification and registers and sends equipment registration request information to the equipment management cloud platform;
7) the equipment management cloud platform acquires equipment information from the identification analysis system according to the equipment registration request information;
8) the identification analysis system acquires the equipment information stored in the step3 according to the model identification and the information identification and returns the equipment information to the equipment management cloud platform;
9) the equipment management cloud platform receives equipment information returned by the identification analysis system and stores the equipment information according to platform rules;
10) setting the equipment state as new registration and setting the registration mode as automatic discovery;
11) the device management cloud platform returns a device registration success message to the device;
12) the device registration success indication (if any) on the device lights up or sounds.
Through the above manner, the equipment registration can be automatically completed only by simple configuration and data solidification at the equipment end, and the equipment discovery and online management can be automatically completed by the equipment management platform;
meanwhile, the identification analysis system generates globally unique identification for each device, and unique identity identification is provided for the devices in the full life cycle management of the devices.
In one embodiment of the present invention, for example, a method for initiating device user information update by a device, as shown in fig. 2, the method for initiating device user information update by a device may include the following steps, for example:
1) storing or solidifying and backing up the old user information of the equipment through a burning program or a configuration tool, and writing new user information of the equipment;
2) the equipment carries the model mark, the old user information mark and the new user information and sends a request for updating the new user information to the mark analysis system.
3) The id parsing system updates new user information of the device, and fig. 3 is a flowchart of the id parsing system processing device user information update, specifically:
A. retrieving user information according to the model identification and the old user information identification, and comparing the result with the new user information;
B. if the information of the new user is the same as that of the old user, returning the information to the equipment for successful updating;
C. if the new user information is different from the old user information, generating a new user information identifier of the equipment;
D. updating the new user identifier into the equipment identifier relationship, and establishing a new identifier relationship;
4) the identification analysis system carries the model identification, the new user information and the new user information identification to initiate a user information updating request to the equipment management cloud platform;
5) the equipment management cloud platform updates new user information of the equipment; fig. 4 is a flowchart of the device management cloud platform processing device user information update, specifically:
E. and retrieving the information of the old user of the equipment according to the model identification, and comparing the result with the information of the new user.
F. If the information of the new user is the same as that of the old user, the information is returned to the identification analysis system to be updated successfully;
G. if the new user information is different from the old user information, updating the new user information into the user information of the equipment, and recording an update log, wherein the update log comprises the new user information and the old user information and time;
6) the equipment management cloud platform returns to the identification analysis system that the equipment user information is successfully updated;
7) the identification analysis system carries a new user information identification and returns the new user information identification to the equipment to update the equipment user information successfully;
8) the device stores or solidifies the new user information identifier.
Through the mode, when the equipment information is changed, the equipment information can be managed on the equipment management cloud platform only after new change is registered in the identification analysis system, and therefore the safety of the equipment information change is ensured.
In an embodiment of the present invention, for example, a method for initiating an equipment user information update by an identity resolution system, as shown in fig. 5, the updating of the equipment information from the identity resolution system may include the following steps, for example:
1) registering new user information of the equipment on an identification analysis system so as to generate a new user information identification;
2) the identification analysis system sends new equipment user information and a new user information identification to the equipment according to the model identification;
3) the equipment updates the user information and the information mark of the equipment;
4) the equipment returns the successful updating information to the identification analysis system;
5) the identification analysis system searches out the equipment identification relation according to the model identification and the old user information of the equipment;
6) the identification analysis system disconnects the old equipment user identification in the equipment identification relationship, adds a new user information identification, and establishes an identification relationship between the model identification and the new user information identification;
7) the identification analysis system carries the model identification, the new user information and the new user information identification and sends an equipment user information updating request to the equipment management cloud platform;
8) the equipment management cloud platform updates the equipment user information corresponding to the equipment into a new equipment user and a new user information identifier, and records an update log comprising new and old user information and an old user information identifier;
9) and the equipment management cloud platform returns an equipment user information updating success message to the identification analysis system.
Through the mode, when the equipment information is changed, the purpose of updating the equipment information can be achieved only by establishing the identification relation between the updated equipment information identification registered on the identification analysis system and the equipment model identification on the identification analysis system which is sufficiently registered in the equipment information registration, and the updating operation flow is greatly simplified.
In an embodiment of the present invention, for example, a method for initiating an update of device user information by a device management cloud platform is, as shown in fig. 6, initiated by the device management cloud platform, and includes the following steps, for example:
1) finding out equipment needing to be modified on the equipment management cloud platform and modifying user information of the equipment;
2) the equipment management cloud platform carries the model identification and new user information thereof and sends an equipment user information updating request to the identification analysis system;
3) the identification analysis system retrieves the equipment identification relation according to the model identification in the updating request;
4) the identification analysis system retrieves the old equipment user information of the equipment according to the old equipment user identification in the equipment identification relation and compares the old equipment user information with the new user information in the updating request;
5) if the new user information is the same as the old user information, returning an updating success result to the equipment management cloud platform;
6) if the new user information and the old user information are different, the identification analysis system judges whether the new user information is registered in the identification analysis system, if not, the new user information is registered and a new user information identification is generated;
7) the identification analysis system sends the new user information and the new user information identification to the equipment;
8) after the equipment receives new user information and a new user information identifier sent by the identifier analysis system, the stored old user information and the stored old user information identifier are updated to be the new user information and the new user information identifier, and the old user information identifier are backed up;
9) the equipment returns an updating success result to the identification analysis system;
10) after the identifier analysis system receives the successful updating result returned by the equipment, the old user information identifier in the equipment identifier relationship in the identifier analysis system is updated to be a new user information identifier, and the identifier relationship between the model identifier and the new user information identifier is established;
11) the identification analysis system returns an update success result to the equipment management cloud platform;
12) and after receiving the successful updating result returned by the identification analysis, the equipment management cloud platform records the updating logs including new and old equipment users, and the updating process is completed.
Through the mode, the equipment management cloud platform stores all historical data of equipment and information registration and change of the equipment, and can meet the requirements of tracking and tracing the use history of the equipment.
In a method or embodiment of the invention:
the device management cloud platform may have, but is not limited to, the following functions:
1) the method comprises the steps that a device sending model identification and information identification registration request can be received;
2) whether the registration is carried out or not can be judged according to the registration request information;
3) a request for obtaining model information and equipment information can be sent to an identification analysis system;
4) the model information and the equipment information can be judged and stored according to the returned result of the identification analysis system;
5) the registration result can be returned to the device;
6) a device information update operation can be initiated.
The identity resolution system may have, but is not limited to, the following functions:
1) the method comprises the steps of receiving model information and a device information registration request sent by a device;
2) the model identification and the information identification and the corresponding identification relation can be generated and stored according to the registration request information;
3) the generated model identification and the information identification can be returned to the equipment;
4) whether an identification registration request sent by the equipment is registered or not can be judged;
5) whether the identification registration request sent by the equipment is an updating request can be judged;
6) whether new registration or update is legal or not can be verified according to the registration request information;
7) the method comprises the steps of receiving a request for acquiring a model identifier and an information identifier sent by an equipment management cloud platform;
8) the model information and the equipment information stored by the terminal can be acquired according to the request for acquiring the model identification and the information identification;
9) whether the corresponding relation between the model identifications and the identification relations between the information identifications is correct or not can be judged according to the request for obtaining the model identifications and the information identifications;
10) the acquired model information and the acquired equipment information can be returned to the equipment management cloud platform;
11) a device information update operation can be initiated.
The device can have a networking function, but not limited to the networking function of the device, and can also be networked through a networking tool or a gateway with the networking function, and the networking mode can be wired, WIFI, 4G/5G and the like;
the model information in the model information of the equipment can be a model mark or a sale mark or the like given to the equipment when a manufacturer produces the equipment, or a mark which is used for giving an equipment name and is manually set for the equipment and is used for distinguishing different equipment bodies of the same equipment or different equipment;
the equipment information may include equipment manufacturer, equipment mac address, equipment serial number, equipment supplier, equipment user, equipment owner, equipment deployment and installation location, etc.;
the information identifier corresponds to the device information, for example, one device information may generate one information identifier, and according to the device information example, the information identifier may be: the equipment comprises an equipment manufacturer identifier, an equipment mac address identifier, an equipment serial number identifier, an equipment supplier identifier, an equipment user identifier, an equipment owner identifier, an equipment deployment and installation position identifier and the like.
In summary, the beneficial effects of the present invention in the above embodiments are as follows:
1. the equipment registration can be automatically completed only by simple configuration and data solidification at the equipment end, and the equipment discovery and online management are automatically completed by the equipment management platform.
2. The identification analysis system generates globally unique identification for each device and provides unique identification for the devices in the full life cycle management of the devices.
3. When the equipment information is changed, the equipment management cloud platform can be managed after new change is registered in the identification analysis system, so that the safety of the equipment information change is ensured.
4. The device management cloud platform stores all historical data of devices and information registration and change of the devices, and can meet the requirements of tracking and tracing the use history of the devices;
the equipment does not need to be manually established on the equipment management cloud platform in advance, discovery management on the equipment management platform can be completed only through communication interaction between the equipment and the identification analysis system and between the equipment management cloud platform, a large amount of work that an enterprise needs to manually input equipment information to the equipment management platform on equipment management is avoided or reduced, and the equipment access efficiency and the enterprise equipment management cost are greatly improved.
Based on the method and the embodiment, the invention also provides an equipment discovery system based on the identification analysis, and the system can realize equipment discovery or equipment information update through the method.
Based on the above method and embodiments, the present invention also provides a storage medium having a computer program stored thereon, where the computer program is executed to implement the above method.
The above description is only a part of the embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can substitute or change the technical solution of the present invention and the inventive concept within the technical scope of the present invention.