Management method and device of digital fingerprint database of Internet of Things equipment, equipment and medium

By monitoring changes in IoT devices in real time and generating a unique digital fingerprint, dynamically updating the digital fingerprint library is solved, the problem of inability to monitor the status of devices in real time and low management efficiency in the existing technology is solved, precise identification and identity security of IoT devices are achieved, and management automation and real-time performance are improved.

CN119598439APending Publication Date: 2025-03-11GUANGDONG POWER GRID CO LTD +1

Patent Information

Application Number
CN202411671070.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The existing IoT device management methods rely on static device information and cannot monitor device status changes in real time, resulting in low efficiency in digital fingerprint library management and inability to cope with the large-scale deployment and complex management needs of IoT devices.

Method used

By monitoring the changing status of IoT devices in real time, extracting the device's characteristic information and generating a unique digital fingerprint, dynamically update the digital fingerprint library to ensure that the fingerprint library and the device status are consistent.

Benefits of technology

It realizes accurate identification and identity security of IoT devices, improves management automation and real-timeness, ensures the accuracy and consistency of device information, and maintains the efficient operation of IoT systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119598439A_ABST
    Figure CN119598439A_ABST
Patent Text Reader

Abstract

The invention discloses a management method and device of a digital fingerprint database of Internet of Things equipment, equipment and a medium. The method comprises the following steps: monitoring an equipment change state of the Internet of Things in real time through equipment data communication in the Internet of Things, and determining changed first equipment according to the equipment change state; acquiring equipment information of the first equipment, and extracting feature information from the equipment information; after encoding the feature information, generating a digital fingerprint of the first equipment through a hash function; and after associating the digital fingerprint with the equipment information, updating a preset digital fingerprint database according to the digital fingerprint. According to the method and the device, the equipment management efficiency can be maintained under the condition that the equipment scale is continuously expanded, and the management safety of the Internet of Things equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to a management method, device, equipment and medium for a digital fingerprint library of an Internet of Things device. Background Art

[0002] With the rapid development of Internet of Things (IoT) technology, the number and types of power grid IoT devices are increasing, which makes the management and identification of power grid devices more and more complicated. The management of IoT devices not only involves the physical maintenance and network connection of devices, but also includes the authentication and security management of devices. Traditional IoT device management methods often rely on the hardware identifiers of devices (such as device serial numbers, etc.), which are prone to forgery, tampering or interception, leading to the leakage of device identity or failure of device management.

[0003] In order to improve the security and management efficiency of IoT devices, digital fingerprint technology has been gradually introduced into the field of IoT. Digital fingerprint technology can effectively distinguish different IoT devices by extracting the characteristic information of the device and generating a unique digital fingerprint. However, most of the existing digital fingerprint generation and management methods are based on static device information and lack the monitoring and processing of real-time changes in device status. In addition, the device's characteristic information extraction and encoding methods are relatively simple and cannot fully adapt to the diversity and complexity of IoT devices, resulting in low management efficiency of the digital fingerprint library.

[0004] Therefore, how to provide a management method that can monitor device changes in real time and dynamically update the digital fingerprint library to cope with the large-scale deployment and complex management needs of IoT devices has become a technical problem that needs to be solved in the current field of IoT device management. Summary of the invention

[0005] The present application provides a management method, apparatus, device and medium for a digital fingerprint library of an IoT device to solve the technical problem of how to improve the data consistency of IoT device management and improve the security of IoT device information management.

[0006] In order to solve the above technical problems, in a first aspect, an embodiment of the present application provides a method for managing a digital fingerprint library of an IoT device, comprising:

[0007] By means of device data communication in the Internet of Things, the device change status of the Internet of Things is monitored in real time, and the changed first device is determined according to the device change status;

[0008] Acquire device information of the first device, and extract feature information from the device information;

[0009] After encoding the characteristic information, a digital fingerprint of the first device is generated by a hash function;

[0010] After the digital fingerprint is associated with the device information, a preset digital fingerprint library is updated according to the digital fingerprint.

[0011] Compared with the prior art, the embodiments of the present application have the following beneficial effects: by real-time monitoring of the changing status of IoT devices, it is possible to timely capture dynamic changes such as the addition, update or removal of devices, ensure that the system can respond quickly to the device status, improve the automation level of IoT device management, and improve the real-time performance of IoT device management; by extracting the characteristic information of the device and generating a unique digital fingerprint, it is possible to accurately identify the IoT device, and at the same time, the digital fingerprint is generated by encoding multiple characteristic information of the device, which is not easy to be forged or tampered with, thereby enhancing the security of the device identity and reducing the risk of the device being impersonated or attacked; by associating the generated digital fingerprint with the device information and dynamically updating the digital fingerprint library, it is ensured that the digital fingerprint library can be updated as the device changes, ensuring the accuracy and consistency of the device information in the IoT; at the same time, real-time updating of the digital fingerprint library helps to maintain the efficient operation of the entire IoT system, and even when the scale of devices continues to expand, it can still maintain a high management efficiency.

[0012] In some embodiments of the first aspect of the present application, the acquiring device information of the first device and extracting feature information from the device information includes:

[0013] The characteristic information includes: device type, communication protocol, first data format and characteristic parameters;

[0014] Acquire the device type according to the character string of the existing device type and the device information of the first device;

[0015] Parsing the communication data according to the protocol type of the first device to obtain the communication protocol;

[0016] Identify the data format of the device information by using a regular expression to obtain the first data format;

[0017] The characteristic parameter is obtained by calculating the average value of data of the first device in the current Internet of Things.

[0018] Compared with the prior art, the above embodiment has the following beneficial effects: by extracting key information such as device type, communication protocol, data format and characteristic parameters for subsequent generation of digital fingerprints, the uniqueness and accuracy of digital fingerprints are improved; at the same time, the above characteristic information not only provides a basis for the initial generation of digital fingerprints, but also can realize intelligent update of fingerprints when device information changes, ensuring that the management of IoT devices can always maintain an efficient and dynamically updated state, thereby enhancing the intelligent management capabilities of the system.

[0019] In some embodiments of the first aspect of the present application, acquiring the device type according to the character string of the existing device type and the device information of the first device includes:

[0020] Calculating the minimum edit distance between the character string of each existing device type and the character string corresponding to the device information of the first device;

[0021] The existing device type with the shortest minimum edit distance is selected as the device type of the first device.

[0022] Compared with the prior art, the above embodiment has the following beneficial effects: through the calculation of the minimum edit distance, the accuracy of device type identification is effectively improved; in addition, the use of the minimum edit distance for string matching can determine the device type more quickly and accurately than the traditional method, reducing the computational complexity in the feature extraction process and saving the time cost of device management.

[0023] In some embodiments of the first aspect of the present application, the calculating the minimum edit distance between the character string of each existing device type and the character string corresponding to the device information of the first device includes:

[0024] The minimum edit distance is obtained by the following formula:

[0025] EditDistance(s,t)=MinimumNumberofOperations(s,t)

[0026] Among them, EditDistance(s,t) is the minimum edit distance; t is the character string corresponding to the device information of the first device; s is the character string of the existing device type; MinimumNumberofOperations(s,t) represents the minimum unit number of edits from the character string t to the character string s.

[0027] In some embodiments of the first aspect of the present application, after encoding the feature information, generating a digital fingerprint of the first device through a hash function includes:

[0028] According to the second data format of the characteristic information, a corresponding encoding method is selected for encoding;

[0029] A digital fingerprint is obtained by combining the encoded feature information and the corresponding identification information of the first device through a SHA-256 hash function.

[0030] Compared with the prior art, the above embodiment has the following beneficial effects: by selecting a suitable encoding method for different data formats and combining the SHA-256 hash function to generate a digital fingerprint of the device, the security and uniqueness of the device fingerprint are ensured and the possibility of conflict is reduced; according to the different data formats of the feature information, the encoding method is flexibly selected, which increases the applicability of the method and adapts to the differences in data formats in various device environments.

[0031] In some embodiments of the first aspect of the present application, the obtaining of the digital fingerprint by combining the encoded feature information and corresponding identification information of the first device through a SHA-256 hash function includes:

[0032] The digital fingerprint is obtained by the following formula:

[0033] DigitalFingerprint=SHA-256(DeviceID+FeatureInformation)

[0034] Among them, DigitalFingerprint is the digital fingerprint; SHA-256(*) is the SHA-256 hash function; DeviceID is the corresponding identification information of the first device; FeatureInformation is the encoded feature information.

[0035] In some embodiments of the first aspect of the present application, after associating the digital fingerprint with the device information, updating a preset digital fingerprint library according to the digital fingerprint includes:

[0036] Retrieving the digital fingerprint library through the digital fingerprint, and when the digital fingerprint exists in the digital fingerprint library, regenerating the digital fingerprint through the preset hash function until the same digital fingerprint does not exist in the digital fingerprint library;

[0037] When the first device is used to replace an existing second device in the Internet of Things, the digital fingerprint of the second device in the digital fingerprint library is replaced with the digital fingerprint of the first device;

[0038] When the first device is a new device newly added to the Internet of Things, the digital fingerprint of the first device is directly added to the digital fingerprint library.

[0039] Compared with the prior art, the above embodiment has the following beneficial effects: through the dynamic retrieval and update mechanism of digital fingerprints, it can ensure that the fingerprint of each device in the fingerprint library is the latest and there is no duplication, thereby improving the accuracy and security of system management; at the same time, when a device is replaced, the device fingerprint replacement mechanism is used to effectively handle the update and replacement of IoT devices, reduce the risk of fingerprint conflicts or confusion, and improve the reliability of the system and the level of intelligent management.

[0040] In a second aspect, an embodiment of the present application further provides a management device for a digital fingerprint library of an IoT device, comprising: a first device determination module, a feature extraction module, an encryption module, and a digital fingerprint library update module;

[0041] The first device determination module is used to monitor the device change status of the Internet of Things in real time through device data communication in the Internet of Things, and determine the changed first device according to the device change status;

[0042] The feature extraction module is used to obtain device information of the first device and extract feature information from the device information;

[0043] The encryption module is used to generate a digital fingerprint of the first device through a hash function after encoding the characteristic information;

[0044] The digital fingerprint library updating module is used to update a preset digital fingerprint library according to the digital fingerprint after associating the digital fingerprint with the device information.

[0045] In a third aspect, the present application also provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the above-mentioned method for managing a digital fingerprint library of an Internet of Things device when executing the computer program.

[0046] In a fourth aspect, the present application also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned method for managing a digital fingerprint library of an Internet of Things device. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic diagram of a flow chart of a method for managing a digital fingerprint library of an Internet of Things device provided in some embodiments of the present application;

[0048] Figure 2 A schematic diagram of the structure of a management device for a digital fingerprint library of an Internet of Things device provided in some embodiments of the present application. DETAILED DESCRIPTION

[0049] In order to improve the security and management efficiency of power grid IoT devices, digital fingerprint technology has been gradually introduced into the field of IoT. Digital fingerprint technology can effectively distinguish different IoT devices by extracting the characteristic information of the device and generating a unique digital fingerprint. However, most of the existing digital fingerprint generation and management methods are based on static device information and lack the monitoring and processing of real-time changes in device status. In addition, the device's characteristic information extraction and encoding methods are relatively simple and cannot fully adapt to the diversity and complexity of IoT devices, resulting in low management efficiency of the digital fingerprint library.

[0050] In order to solve the above technical problems, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0051] Embodiment 1

[0052] Please refer to Figure 1 , a method for managing a digital fingerprint library of an Internet of Things device provided in an embodiment of the present application, includes S10 to S40, specifically:

[0053] S10: Monitor the device change status of the Internet of Things in real time through device data communication in the Internet of Things, and determine the changed first device according to the device change status.

[0054] Preferably, in some embodiments of the present application, the device change status includes: normal, replacement device, new device, etc. When the connected device is a new device, the new device is determined to be the first device. When the device in the Internet of Things is a replacement device, it means that the device is replaced and the first device replaces the device.

[0055] Preferably, in some embodiments of the present application, the types and categories of devices in the Internet of Things include but are not limited to sensors, actuators, controllers, etc.

[0056] S20: Acquire device information of the first device, and extract feature information from the device information.

[0057] Preferably, in some embodiments of the present application, the device information can be obtained through, but not limited to, the following preferred ways:

[0058] S21: Obtain basic information of the device, such as device model, manufacturer, firmware version, serial number, etc., through a device management system, a network scanning tool, or an API call.

[0059] S22: Obtain the operating status information of the device, including the working mode of the device, network connection status, sensor data, etc.

[0060] S23: Obtain the communication data of the device through network packet capture or traffic monitoring tools, including the communication protocol of the device, data packet format and other information.

[0061] Furthermore, in some embodiments of the present application, the acquiring device information of the first device and extracting feature information from the device information includes:

[0062] The characteristic information includes: device type, communication protocol, first data format and characteristic parameters;

[0063] Acquire the device type according to the character string of the existing device type and the device information of the first device;

[0064] Parsing the communication data according to the protocol type of the first device to obtain the communication protocol;

[0065] Identify the data format of the device information by using a regular expression to obtain the first data format;

[0066] The characteristic parameter is obtained by calculating the average value of data of the first device in the current Internet of Things.

[0067] By extracting key information such as device type, communication protocol, data format and characteristic parameters for subsequent generation of digital fingerprints, the uniqueness and accuracy of digital fingerprints are improved. At the same time, the above characteristic information not only provides a basis for the initial generation of digital fingerprints, but also can realize intelligent updating of fingerprints when device information changes, ensuring that the management of IoT devices can always maintain an efficient and dynamically updated state, enhancing the system's intelligent management capabilities.

[0068] Preferably, in some embodiments of the present application, the feature information can be obtained by, but is not limited to, the following preferred methods:

[0069] S24: Preliminary extraction of feature information: Determine the feature information that needs to be extracted based on the device type and application scenario, and further extract the required feature information from the device information through data parsing technology, which can use regular expressions, XML (eXtensible Markup Language) parsing, JSON (JavaScript Object Notation) parsing and other methods.

[0070] S25: Preprocess the feature information extracted in S24, including: data cleaning and preprocessing of the extracted feature information, including data format conversion, missing value processing, outlier detection, etc.; integrate and unify feature information from different sources to ensure consistency and accuracy of feature data; for large-scale equipment information, use distributed computing or data processing platforms for processing and management.

[0071] S26: Storing the extracted feature information in a database or data warehouse for subsequent data analysis and processing, including:

[0072] S261: Design data storage structure and indexing method to improve data retrieval efficiency and query performance. For example, create an index for the device ID field in the device information table, feature information table, and digital fingerprint table to speed up data retrieval based on the device ID.

[0073] S262: In the feature information table, an index is created for the feature type field to support data query based on a specific feature type.

[0074] S263: In the digital fingerprint table, create an index for the digital fingerprint field to achieve fast digital fingerprint matching and query.

[0075] S264: In the feature information table, you may consider creating a combined index of the device ID and the feature type to support more complex query requirements, such as querying based on the device ID and the feature type at the same time.

[0076] S265: Encrypt or anonymize sensitive information.

[0077] Furthermore, in some embodiments of the present application, obtaining the device type according to the character string of the existing device type and the device information of the first device includes:

[0078] Calculating the minimum edit distance between the character string of each existing device type and the character string corresponding to the device information of the first device;

[0079] The existing device type with the shortest minimum edit distance is selected as the device type of the first device.

[0080] The accuracy of device type identification is effectively improved through minimum edit distance calculation. In addition, compared with traditional methods, string matching using the minimum edit distance can determine the device type more quickly and accurately, reduce the computational complexity of the feature extraction process, and save time costs for device management.

[0081] Preferably, in some embodiments of the present application, the calculating the minimum edit distance between the character string of each existing device type and the character string corresponding to the device information of the first device includes:

[0082] The minimum edit distance is obtained by the following formula:

[0083] EditDistance(s,t)=MinimumNumberofOperations(s,t)

[0084] Among them, EditDistance(s,t) is the minimum edit distance; t is the character string corresponding to the device information of the first device; s is the character string of the existing device type; MinimumNumberofOperations(s,t) represents the minimum unit number of edits from the character string t to the character string s.

[0085] S30: After encoding the characteristic information, a digital fingerprint of the first device is generated through a hash function.

[0086] Furthermore, in some embodiments of the present application, after encoding the feature information, generating a digital fingerprint of the first device through a hash function includes:

[0087] According to the second data format of the characteristic information, a corresponding encoding method is selected for encoding;

[0088] A digital fingerprint is obtained by combining the encoded feature information and the corresponding identification information of the first device through a SHA-256 hash function.

[0089] Preferably, in some embodiments of the present application, the feature information may be encoded in the following manners, but not limited to:

[0090] S31: Encode the feature information extracted from S24 to S26 for unified format and processing. Encoding can be done by digital encoding, one-hot encoding, etc. The specific encoding method is selected according to the nature and data type of the feature information. For example, for the feature information of the device type, digital encoding is used to map different types of devices to digital identifiers. If there are three types of devices: sensors, switches, and controllers, they can be represented by 0, 1, and 2, respectively. Specifically, the LabelEncoder in the sklearn library in Python can be used for digital encoding, or get_dummies in the pandas library can be used for one-hot encoding.

[0091] S32: After encoding, a unified feature data standard is established to ensure that different types of device feature information have the same data format and structure. By designing a data template or data dictionary, the fields and formats of different types of device feature information are defined. For example, for sensor devices, the data template includes fields such as sensor type, data sampling frequency, and data accuracy. This simplifies subsequent data processing and analysis. Specifically, this can be achieved by establishing a unified feature data standard by formulating a data template or data dictionary, and using JSON or XML format to define the feature information fields and formats of different types of devices.

[0092] Preferably, in some embodiments of the present application, the step of obtaining a digital fingerprint by combining the encoded feature information and the corresponding identification information of the first device through a SHA-256 hash function includes:

[0093] The digital fingerprint is obtained by the following formula:

[0094] DigitalFingerprint=SHA-256(DeviceID+FeatureInformation)

[0095] Where DigitalFingerprint is the digital fingerprint; SHA-256(*) is the SHA-256 hash function; DeviceID is the corresponding identification information of the first device; FeatureInformation is the encoded feature information. Where DeviceID+FeatureInformation means that the corresponding identification information and feature information of the device are concatenated together as the input of the hash function.

[0096] Specific technical solutions:

[0097] S40: After associating the digital fingerprint with the device information, a preset digital fingerprint library is updated according to the digital fingerprint.

[0098] Preferably, in some embodiments of the present application, the digital fingerprint is associated with the device information, and a database table can be designed to store the corresponding relationship between the digital fingerprint and the device information. The structure of the table may include the following fields: DeviceID: corresponding identification information of the device; DigitalFingerprint: generated digital fingerprint; OtherDeviceInfo: other device information, such as device type, communication protocol, etc.

[0099] Further, in some embodiments of the present application, after associating the digital fingerprint with the device information, updating a preset digital fingerprint library according to the digital fingerprint includes:

[0100] Retrieving the digital fingerprint library through the digital fingerprint, and when the digital fingerprint exists in the digital fingerprint library, regenerating the digital fingerprint through the preset hash function until the same digital fingerprint does not exist in the digital fingerprint library;

[0101] When the first device is used to replace an existing second device in the Internet of Things, the digital fingerprint of the second device in the digital fingerprint library is replaced with the digital fingerprint of the first device;

[0102] When the first device is a new device newly added to the Internet of Things, the digital fingerprint of the first device is directly added to the digital fingerprint library.

[0103] Preferably, in some embodiments of the present application, before the digital fingerprint is stored, the uniqueness of the digital fingerprint is ensured by a unique index or other mechanism of the database. When the uniqueness is determined, an insert operation is performed using a database operating language (such as SQL) to store the digital fingerprint and device information in the digital fingerprint library.

[0104] Preferably, in some embodiments of the present application, when the digital fingerprint and device information are stored in the digital fingerprint library, there are the following two situations:

[0105] S41: Equipment maintenance and replacement: When it is found that the device has been repaired and replaced, the replaced device is marked as being in maintenance and replacement status, and the digital fingerprint of the first device is obtained through S10 to S30; further, the digital fingerprint of the replaced device is found in the digital fingerprint library through the corresponding identification information, and it is replaced with the digital fingerprint of the first device, and the device information is replaced synchronously.

[0106] S42: Newly added device: When a new device is detected in the IoT system, the device is marked as a newly added device, i.e., the first device. Through S10 to S30, the digital fingerprint of the first device is obtained, and after the digital fingerprint of the first device is associated with the corresponding identification information, the digital fingerprint is stored in the digital fingerprint library.

[0107] In summary, the management method of the digital fingerprint library of an Internet of Things device provided in the embodiment of the present application has the following beneficial effects: by real-time monitoring of the changing status of the Internet of Things devices, it is possible to timely capture dynamic changes such as the addition, update or removal of the device, ensuring that the system can respond quickly to the device status, improving the automation level of Internet of Things device management, and improving the real-time performance of Internet of Things device management; by extracting the characteristic information of the device and generating a unique digital fingerprint, it is possible to accurately identify the Internet of Things device, and at the same time, the digital fingerprint is generated by encoding multiple characteristic information of the device, which is not easy to be forged or tampered with, thereby enhancing the security of the device identity and reducing the risk of the device being impersonated or attacked; by associating the generated digital fingerprint with the device information and dynamically updating the digital fingerprint library, it is ensured that the digital fingerprint library can be kept updated with the changes of the device, ensuring the accuracy and consistency of the device information in the Internet of Things; at the same time, real-time updating of the digital fingerprint library helps to maintain the efficient operation of the entire Internet of Things system, and even when the scale of equipment continues to expand, it can still maintain a high management efficiency.

[0108] Embodiment 2

[0109] refer to Figure 2 , a management device for a digital fingerprint library of an Internet of Things device provided in an embodiment of the present application, includes: a first device determination module 11, a feature extraction module 12, an encryption module 13 and a digital fingerprint library update module 14.

[0110] Furthermore, in some embodiments of the present application, the first device determination module 11 is used to monitor the device change status of the Internet of Things in real time through device data communication in the Internet of Things, and determine the changed first device according to the device change status; the feature extraction module 12 is used to obtain the device information of the first device and extract feature information from the device information; the encryption module 13 is used to encode the feature information and then generate a digital fingerprint of the first device through a hash function; the digital fingerprint library update module 14 is used to associate the digital fingerprint with the device information and then update a preset digital fingerprint library according to the digital fingerprint.

[0111] Furthermore, in some embodiments of the present application, the device information of the first device is obtained, and characteristic information is extracted from the device information, including: the characteristic information includes: device type, communication protocol, first data format and characteristic parameters; obtaining the device type according to a character string of an existing device type and the device information of the first device; parsing communication data according to the protocol type of the first device to obtain the communication protocol; identifying the data format of the device information through a regular expression to obtain the first data format; and obtaining the characteristic parameters by calculating the data average value of the first device in the current Internet of Things.

[0112] Furthermore, in some embodiments of the present application, obtaining the device type based on the character string of the existing device type and the device information of the first device includes: calculating the minimum edit distance between the character string of each existing device type and the character string corresponding to the device information of the first device; and selecting the existing device type with the shortest minimum edit distance as the device type of the first device.

[0113] Furthermore, in some embodiments of the present application, the calculating the minimum edit distance between the character string of each existing device type and the character string corresponding to the device information of the first device includes:

[0114] The minimum edit distance is obtained by the following formula:

[0115] EditDistance(s,t)=MinimumNumberofOperations(s,t)

[0116] Among them, EditDistance(s,t) is the minimum edit distance; t is the character string corresponding to the device information of the first device; s is the character string of the existing device type; MinimumNumberofOperations(s,t) represents the minimum unit number of edits from the character string t to the character string s.

[0117] Furthermore, in some embodiments of the present application, after the characteristic information is encoded, a digital fingerprint of the first device is generated through a hash function, including: selecting a corresponding encoding method for encoding according to the second data format of the characteristic information; and obtaining a digital fingerprint by combining the encoded characteristic information and the corresponding identification information of the first device through a SHA-256 hash function.

[0118] Furthermore, in some embodiments of the present application, the step of obtaining a digital fingerprint by combining the encoded feature information and corresponding identification information of the first device with a SHA-256 hash function includes:

[0119] The digital fingerprint is obtained by the following formula:

[0120] DigitalFingerprint=SHA-256(DeviceID+FeatureInformation)

[0121] Among them, DigitalFingerprint is the digital fingerprint; SHA-256(*) is the SHA-256 hash function; DeviceID is the corresponding identification information of the first device; FeatureInformation is the encoded feature information.

[0122] Furthermore, in some embodiments of the present application, after associating the digital fingerprint with the device information, updating a preset digital fingerprint library according to the digital fingerprint includes: retrieving the digital fingerprint library through the digital fingerprint, and when the digital fingerprint exists in the digital fingerprint library, regenerating the digital fingerprint through the preset hash function until the same digital fingerprint does not exist in the digital fingerprint library; when the first device is used to replace an existing second device in the Internet of Things, replacing the digital fingerprint of the second device in the digital fingerprint library with the digital fingerprint of the first device; when the first device is a new device newly added to the Internet of Things, directly adding the digital fingerprint of the first device to the digital fingerprint library.

[0123] It can be understood that the above-mentioned device item embodiment corresponds to the method item embodiment of the present invention. The management device of the digital fingerprint library of an Internet of Things device provided by the embodiment of the present invention can implement any method item embodiment of the present invention, that is, the management method of the digital fingerprint library of an Internet of Things device provided in Example 1.

[0124] In summary, the management device of the digital fingerprint library of the Internet of Things device provided by the embodiment of the present application has the following beneficial effects: by real-time monitoring of the changing status of the Internet of Things device, it can timely capture the dynamic changes such as the addition, update or removal of the device, ensure that the system can respond quickly to the device status, improve the automation level of the Internet of Things device management, and improve the real-time performance of the Internet of Things device management; by extracting the characteristic information of the device and generating a unique digital fingerprint, it can realize accurate identification of the Internet of Things device, and at the same time, the digital fingerprint is generated by encoding multiple characteristic information of the device, which is not easy to be forged or tampered with, thereby enhancing the security of the device identity and reducing the risk of the device being impersonated or attacked; by associating the generated digital fingerprint with the device information, the digital fingerprint library is dynamically updated to ensure that the digital fingerprint library can be updated as the device changes, and the accuracy and consistency of the device information in the Internet of Things are ensured; at the same time, the real-time updating of the digital fingerprint library helps to maintain the efficient operation of the entire Internet of Things system, and even when the scale of equipment continues to expand, it can still maintain a high management efficiency.

[0125] Embodiment 3

[0126] Based on the above-mentioned embodiment of the management method of the digital fingerprint library of the Internet of Things device, another embodiment of the present application provides a management terminal device for the digital fingerprint library of the Internet of Things device. The management terminal device for the digital fingerprint library of the Internet of Things device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the management method of the digital fingerprint library of the Internet of Things device of any embodiment of the present application is implemented.

[0127] Exemplarily, in this embodiment, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the management device of the digital fingerprint library of the IoT device.

[0128] The management device of the digital fingerprint library of the IoT device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The management terminal device of the digital fingerprint library of the IoT device may include, but is not limited to, a processor and a memory.

[0129] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The processor is the control center of the management device of the digital fingerprint library of the Internet of Things device, and uses various interfaces and lines to connect the various parts of the management device of the digital fingerprint library of the entire Internet of Things device. The memory may be used to store the computer program and / or module, and the processor implements various functions of the management device of the digital fingerprint library of the Internet of Things device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the mobile phone, etc. In addition, the memory may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0130] Embodiment 4

[0131] Based on the above-mentioned embodiment of the method for managing the digital fingerprint library of the Internet of Things device, another embodiment of the present application provides a storage medium, wherein the storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the method for managing the digital fingerprint library of the Internet of Things device of any embodiment of the present application.

[0132] In this embodiment, the storage medium is a computer-readable storage medium, and the computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0133] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims

1. A method for managing a digital fingerprint library of an Internet of Things device, characterized in that: include: By means of device data communication in the Internet of Things, the device change status of the Internet of Things is monitored in real time, and the changed first device is determined according to the device change status; Acquire device information of the first device, and extract feature information from the device information; After encoding the characteristic information, a digital fingerprint of the first device is generated by a hash function; After the digital fingerprint is associated with the device information, a preset digital fingerprint library is updated according to the digital fingerprint.

2. A method for managing a digital fingerprint library of an Internet of Things device as claimed in claim 1, characterized in that: The acquiring device information of the first device and extracting feature information from the device information includes: The characteristic information includes: device type, communication protocol, first data format and characteristic parameters; Acquire the device type according to the character string of the existing device type and the device information of the first device; Parsing the communication data according to the protocol type of the first device to obtain the communication protocol; Identify the data format of the device information by using a regular expression to obtain the first data format; The characteristic parameter is obtained by calculating the average value of data of the first device in the current Internet of Things.

3. A method for managing a digital fingerprint library of an Internet of Things device as claimed in claim 2, characterized in that: The acquiring the device type according to the character string of the existing device type and the device information of the first device includes: Calculating the minimum edit distance between the character string of each existing device type and the character string corresponding to the device information of the first device; The existing device type with the shortest minimum edit distance is selected as the device type of the first device.

4. A method for managing a digital fingerprint library of an Internet of Things device as claimed in claim 3, characterized in that: The calculating the minimum edit distance between the character string of each existing device type and the character string corresponding to the device information of the first device includes: The minimum edit distance is obtained by the following formula: EditDistance(s,t)=MinimumNumberofOperations(s,t) Among them, EditDistance(s,t) is the minimum edit distance; t is the character string corresponding to the device information of the first device; s is the character string of the existing device type; MinimumNumberofOperations(s,t) represents the minimum unit number of edits from the character string t to the character string s.

5. The method for managing a digital fingerprint library of an Internet of Things device according to claim 1, characterized in that: After encoding the feature information, generating a digital fingerprint of the first device through a hash function includes: According to the second data format of the characteristic information, a corresponding encoding method is selected for encoding; A digital fingerprint is obtained by combining the encoded feature information and the corresponding identification information of the first device through a SHA-256 hash function.

6. A method for managing a digital fingerprint library of an Internet of Things device as claimed in claim 5, characterized in that: The obtaining of a digital fingerprint by combining the encoded feature information and corresponding identification information of the first device through a SHA-256 hash function includes: The digital fingerprint is obtained by the following formula: DigitalFingerprint=SHA-256(DeviceID+FeatureInformation) Among them, DigitalFingerprint is the digital fingerprint; SHA-256(*) is the SHA-256 hash function; DeviceID is the corresponding identification information of the first device; FeatureInformation is the encoded feature information.

7. A method for managing a digital fingerprint library of an Internet of Things device as claimed in claim 1, characterized in that: After associating the digital fingerprint with the device information, updating a preset digital fingerprint library according to the digital fingerprint includes: Retrieving the digital fingerprint library through the digital fingerprint, and when the digital fingerprint exists in the digital fingerprint library, regenerating the digital fingerprint through the preset hash function until the same digital fingerprint does not exist in the digital fingerprint library; When the first device is used to replace an existing second device in the Internet of Things, the digital fingerprint of the second device in the digital fingerprint library is replaced with the digital fingerprint of the first device; When the first device is a new device newly added to the Internet of Things, the digital fingerprint of the first device is directly added to the digital fingerprint library.

8. A management device for a digital fingerprint library of an Internet of Things device, characterized in that: include: A first device determination module, a feature extraction module, an encryption module, and a digital fingerprint library update module; The first device determination module is used to monitor the device change status of the Internet of Things in real time through device data communication in the Internet of Things, and determine the changed first device according to the device change status; The feature extraction module is used to obtain device information of the first device and extract feature information from the device information; The encryption module is used to generate a digital fingerprint of the first device through a hash function after encoding the characteristic information; The digital fingerprint library updating module is used to update a preset digital fingerprint library according to the digital fingerprint after associating the digital fingerprint with the device information.

9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a method for managing a digital fingerprint library of an Internet of Things device as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method for managing a digital fingerprint library of an Internet of Things device as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Fingerprint extraction method and device for intelligent terminal equipment of Internet of Things and electronic equipment

    CN112968770A

  • Dynamically updated network equipment fingerprint database creating method

    CN116170407A

  • Industrial control equipment identification method and system based on improved convolutional neural network

    CN118250186A

  • Power distribution network security management and control method and system based on equipment fingerprints

    CN118659894A

Cited By

  • Digital device physical ID full life cycle management system based on deep learning

    CN120782218A