Power equipment fingerprint coding method and system
By combining the country, industry, enterprise codes and equipment type and status information, the fingerprint encoding of power equipment is generated, which solves the problem of tampering with traditional identification methods, and realizes the efficient, reliable and safe identity identification of power equipment, which is suitable for power systems. Full life cycle management.
Patent Information
- Application Number
- CN202411584481.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2044-11-07
AI Technical Summary
Traditional equipment identification methods have problems that are easy to tamper with and crack in the power system, which cannot meet the information security needs and is difficult to generate accurate, unique and safe power equipment fingerprints.
Prefix codes are generated based on national code, industry code and enterprise code, combined with device type and status encoding, and feature hash values are generated through multi-dimensional data hashing operations, and fingerprint encoding of power equipment is generated in combination with verification code to ensure uniqueness and security.
It realizes the full life cycle management of power equipment, improves management efficiency and security, prevents data tampering, and adapts to future power equipment management needs.
Smart Images

Figure CN119323018A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of Internet of Things, and in particular relates to a fingerprint coding method and system for electric power equipment. Background Art
[0002] Device fingerprint technology uses the characteristic attributes of a device (including hardware information, software information, and user behavior habits) to generate a unique identifier for each device. This identifier, like a human fingerprint, can effectively authenticate the uniqueness of the device and is unique and stable.
[0003] At present, common device identifications include IMEI (International Mobile Equipment Identity), MAC (Media Access Control Address), UUID (Universally Unique Identifier), EPC identification system, Handle system, object identifier OID (Object Indentifer) system, Ecode (Entity code) system, etc. These identification methods play an important role in device security and data management.
[0004] With the construction of smart grids, the informatization and automation of power grids are constantly improving, and the physical scale of power systems and power communication systems is gradually increasing, which brings new challenges to the security of new power systems, and information security issues are becoming increasingly prominent. Traditional equipment identification methods have shortcomings such as easy tampering and cracking, and can no longer meet the information security needs of power system equipment.
[0005] Therefore, how to generate accurate, unique and secure power equipment fingerprints is crucial for real-time monitoring, tracing equipment status, maintaining equipment assets, preventing failures and optimizing power system operations. Summary of the invention
[0006] In order to overcome the deficiencies of the above-mentioned prior art, the present invention provides a power equipment fingerprint coding method and system, which unifies the software and hardware management of power equipment based on fusion coding rules and realizes the full life cycle data management of power equipment.
[0007] In order to solve the above technical problems, the technical solution adopted by the present invention is: In a first aspect, the present invention provides a method for generating a fingerprint code of an electric power device, comprising: Generate prefix code based on country code, industry code and enterprise code; Generate device type code and device status code according to device type classification standard and device status table; Acquire the attribute information of the power equipment to form multi-dimensional data, generate multiple fingerprint libraries based on the multi-dimensional data according to the equipment characteristics, obtain equipment components based on different fingerprint libraries, perform hash operations based on the equipment component selection strategy, merge the hash values of each fingerprint component and perform hash operations again to obtain the characteristic hash value; Generate a checksum by combining the prefix code, device type code, status code, and feature hash value; Generate a suffix code by combining the device type code, status code, feature hash value, and check code; The prefix code and the suffix code are combined to generate a fingerprint code of the electric power equipment.
[0008] As a further improvement of the method of the present invention, the generation of the prefix code based on the country code, the industry code and the enterprise code includes: Combined with the predefined fusion coding rules, the code is divided into prefix code and suffix code, separated by a separator. The prefix is fixedly composed of a country code, an industry code, and an enterprise code. The country code represents the country or region to which the specific power equipment belongs, the industry code is the power industry, and the enterprise code identifies the specific enterprise or organization to which the power equipment belongs.
[0009] As a further improvement of the method of the present invention, the device type code and the device status code are generated according to the device type classification standard and the device status table, including: the device type and the device status each have a corresponding sub-coding table, each device type and device status corresponds to a number, and then the device type code and the status code are generated.
[0010] As a further improvement of the method of the present invention, the device component includes a device basic information component, a device operating system component, a device chip component and a device communication component; The basic device information component is obtained by combining multiple basic information of the target device, including device type, device name, device model, device version, manufacturer and serial number; The device operating system component is obtained by combining the operating system information of the target device, including the operating system type, operating system name, operating system version and operating system release information; The device chip component is obtained by combining the chip information of the target device, including the chip model and processor architecture; The device communication component is obtained by combining various communication information of the target device, including communication protocol, communication mode, port information and IP address.
[0011] As a further improvement of the method of the present invention, in the hash operation based on the device component selection strategy, the device component selection strategy includes: The first strategy, code is H1111, Hash=H1+H2+H3+H4; The second strategy, code is H1011, Hash=H1+H3+H4; The third strategy, code is H1101, Hash=H1+H2+H4; The fourth strategy, code is H1110, Hash=H1+H2+H3; The fifth strategy, code is H1001, Hash=H1+H4; The sixth strategy, code is H1010, Hash=H1+H3; The seventh strategy, code is H1100, Hash=H1+H2; The eighth strategy, code is H1000, Hash=H1; Among them, H1 represents the basic information fingerprint component, H2 represents the operating system fingerprint component, H3 represents the chip fingerprint component, and H4 represents the communication fingerprint component. The 4-digit number in the code represents H1, H2, H3, and H4 from left to right. When the number is 1, it means that the fingerprint component is enabled, and when the number is 0, the device component is not enabled. After obtaining each device component, perform hash operations on the device components to obtain hash values, merge the hash values in order, and then perform hash operations again to obtain feature hash values.
[0012] As a further improvement of the method of the present invention, the generation of a verification code by combining the prefix code, the device type code, the status code, and the characteristic hash value includes: verifying the prefix code, the device type, the status code, and the characteristic hash value.
[0013] As a further improvement of the method of the present invention, the method of generating a suffix code by combining the device type code, the state code, the characteristic hash value, and the check code includes: Generate the device type code and device status code according to the device type and device status code sub-coding table, and then generate the check code together with the prefix code and the characteristic hash value, and concatenate the device type code, device status code, characteristic hash value and check code to generate the suffix code.
[0014] As a further improvement of the method of the present invention, the step of combining the prefix code with the suffix code to generate a fingerprint code of the power equipment includes: The generation module combines the prefix code and the suffix code together to form the fingerprint of the power device.
[0015] In a second aspect, the present invention provides a device fingerprint encoding system, comprising: A first generation module is used to generate a prefix code based on a country code, an industry code and an enterprise code; The second generating module is used to generate a device type code and a device status code according to the device type classification standard and the device status table; An acquisition module is used to acquire the attribute information of the power equipment to form multi-dimensional data, generate multiple fingerprint libraries based on the multi-dimensional data according to the equipment characteristics, acquire equipment components based on different fingerprint libraries, perform hash operations based on the equipment component selection strategy, merge the hash values of each fingerprint component and perform hash operations again to obtain the characteristic hash value; The third generation module is used to generate a check code by combining the prefix code, the device type code, the state code, and the characteristic hash value; A fourth generation module is used to generate a suffix code by combining the device type code, the state code, the characteristic hash value, and the check code; The fifth generating module is used to combine the prefix code and the suffix code to generate the power equipment fingerprint code.
[0016] As a further improvement of the system of the present invention, in the first generation module, the prefix code is generated based on the country code, the industry code and the enterprise code, including: Combined with the predefined fusion coding rules, the code is divided into prefix code and suffix code, separated by a separator. The prefix is fixedly composed of a country code, an industry code, and an enterprise code. The country code represents the country or region to which the specific power equipment belongs, the industry code is the power industry, and the enterprise code identifies the specific enterprise or organization to which the power equipment belongs.
[0017] As a further improvement of the system of the present invention, in the second generation module, device type codes and device status codes are generated according to the device type classification standard and the device status table, including: device type and device status each have a corresponding sub-coding table, each device type and device status corresponds to a number, and then the device type code and status code are generated.
[0018] As a further improvement of the system of the present invention, the device component includes a device basic information component, a device operating system component, a device chip component and a device communication component; The basic device information component is obtained by combining multiple basic information of the target device, including device type, device name, device model, device version, manufacturer and serial number; The device operating system component is obtained by combining the operating system information of the target device, including the operating system type, operating system name, operating system version and operating system release information; The device chip component is obtained by combining the chip information of the target device, including the chip model and processor architecture; The device communication component is obtained by combining various communication information of the target device, including communication protocol, communication mode, port information and IP address.
[0019] As a further improvement of the system of the present invention, in the acquisition module, in the hash operation based on the device component selection strategy, the device component selection strategy includes: The first strategy, code is H1111, Hash=H1+H2+H3+H4; The second strategy, code is H1011, Hash=H1+H3+H4; The third strategy, code is H1101, Hash=H1+H2+H4; The fourth strategy, code is H1110, Hash=H1+H2+H3; The fifth strategy, code is H1001, Hash=H1+H4; The sixth strategy, code is H1010, Hash=H1+H3; The seventh strategy, code is H1100, Hash=H1+H2; The eighth strategy, code is H1000, Hash=H1; Among them, H1 represents the basic information fingerprint component, H2 represents the operating system fingerprint component, H3 represents the chip fingerprint component, and H4 represents the communication fingerprint component. The 4-digit number in the code represents H1, H2, H3, and H4 from left to right. When the number is 1, it means that the fingerprint component is enabled, and when the number is 0, the device component is not enabled. After obtaining each device component, perform hash operations on the device components to obtain hash values, merge the hash values in order, and then perform hash operations again to obtain feature hash values.
[0020] As a further improvement of the system of the present invention, in the third generation module, the verification code is generated by combining the prefix code, device type code, status code, and characteristic hash value, including: verifying the prefix code, device type, status code, and characteristic hash value.
[0021] As a further improvement of the system of the present invention, in the suffix code generation module, the suffix code is generated by combining the device type code, the state code, the characteristic hash value, and the check code, including: Generate the device type code and device status code according to the device type and device status code sub-coding table, and then generate the check code together with the prefix code and the characteristic hash value, and concatenate the device type code, device status code, characteristic hash value and check code to generate the suffix code.
[0022] As a further improvement of the system of the present invention, in the fifth generation module, the prefix code and the suffix code are combined to generate a fingerprint code of the power equipment, including: The generation module combines the prefix code and the suffix code together to form the fingerprint of the power device.
[0023] In a third aspect, the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the method for generating a fingerprint code of an electric power device is implemented when the processor executes the computer program.
[0024] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating a fingerprint code of an electric power device is implemented.
[0025] In a fifth aspect, the present invention provides a computer program product, which includes computer instructions, characterized in that the computer instructions instruct a computer to execute the method for generating a fingerprint code for electric power equipment.
[0026] The beneficial effects of the present invention compared with the prior art are as follows: The present invention combines the country, industry, enterprise code and the type, status and characteristic information of the equipment to generate a fingerprint code with extremely high uniqueness, which can accurately distinguish each power equipment. The equipment type, status and characteristic information in the fingerprint code make it possible to manage the entire life cycle of the equipment, including production, transportation, installation, operation, maintenance, scrapping and other links. The standardized coding system helps the classified management and statistical analysis of power equipment and improves management efficiency. The existence of the check code increases the reliability and security of the coding and prevents data tampering and errors during transmission or storage. With the increase of equipment types and changes in status, the coding method can be flexibly adjusted to meet the needs of future power equipment management. The power equipment fingerprint code generation method proposed in the present invention provides a highly efficient, reliable and secure identity identification method for power equipment through a scientific and reasonable coding system, which has broad application prospects and important practical significance. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments of the present invention or the drawings of related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1 This is a flow chart of the power software and hardware fingerprint encoding method in an embodiment of the present application; Figure 2 A schematic diagram showing the representation of power software and hardware fingerprint coding in an embodiment of the present application; Figure 3This is a system flow chart of power software and hardware fingerprint coding in an embodiment of the present application; Figure 4 It is a schematic diagram of the device structure in the embodiment of the present application; Figure 5 A fingerprint code generating device for electric power equipment provided by the present invention; Figure 6 A schematic diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0029] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0030] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific content of the technical solution.
[0031] The present invention provides a method for generating fingerprint codes of electric power equipment. Taking electric power equipment as an example, Figure 1 Flow chart of a fingerprint coding method for electric power equipment in an embodiment of the present invention, the method comprising: S101: Generate prefix code based on country code, industry code and enterprise code; S102: Generate a device type code and a device status code according to the device type classification standard and the device status table; S103: Acquire attribute information of power equipment to form multi-dimensional data, generate multiple fingerprint libraries based on the multi-dimensional data according to equipment characteristics, obtain equipment components based on different fingerprint libraries, perform hash operation based on equipment component selection strategy, merge hash values of fingerprint components and perform hash operation again to obtain feature hash value; S104: Generate a check code by combining the prefix code, the device type code, the status code, and the characteristic hash value; S105: Generate a suffix code by combining the device type code, the status code, the characteristic hash value, and the check code; S106: Combining the prefix code with the suffix code to generate a fingerprint code of the power equipment.
[0032] The power equipment fingerprint code generation method proposed in the present invention provides a unique and verifiable identity for the power equipment through a series of orderly and logically rigorous steps. The principle is explained as follows: Prefix code generation (corresponding to step S101): Country code: used to identify the country or region to which the device belongs, ensuring global uniqueness.
[0033] Industry code: reflects the industry to which the equipment belongs, and helps with internal management and data sharing within the industry.
[0034] Enterprise code: Identifies the specific enterprise that produces or manages the equipment, further refining the ownership of the equipment.
[0035] The prefix code composed of these three parts provides a basic identity framework for power equipment.
[0036] Equipment type and status coding (corresponding to step S102): Equipment type coding: Based on the equipment classification standard, unique codes are assigned to different types of power equipment to facilitate classification management and statistics.
[0037] Equipment status coding: According to the equipment status table, the operating status of the equipment (such as in operation, under maintenance, scrapped, etc.) is reflected in real time, which is helpful for maintenance management and troubleshooting.
[0038] Feature hash value generation (corresponding to step S103): Based on the combination of different components of the device (such as model, serial number, production date, etc.), a unique and compact hash value is generated through a hash algorithm. This hash value can uniquely represent the feature information of the device and enhance the identifiability and traceability of the device.
[0039] Verification code generation (corresponding to step S104): Combine the prefix code, device type code, status code and feature hash value to generate a verification code through a specific verification algorithm. The verification code is used to verify the integrity and accuracy of the code to prevent errors during transmission or storage.
[0040] Suffix code generation (corresponding to step S105): the device type code, state code, characteristic hash value and check code are combined into a suffix code. The suffix code contains the core information of the device and is an important part of the fingerprint code of the power equipment.
[0041] Fingerprint code generation (corresponding to step S106): The prefix code and the suffix code are combined to form a complete fingerprint code of the power equipment. This code contains both the basic identity information of the equipment (country, industry, enterprise), as well as the specific type, status and feature information of the equipment, ensuring the uniqueness and identifiability of the equipment.
[0042] Preferably, step S101 includes: combining with predefined fusion coding rules, the coding is divided into prefix code and suffix code, with " / " as a separator, the prefix is fixedly composed of a country code, an industry code, and an enterprise code, the country code represents the country or region to which the specific power equipment belongs, the industry code is the power industry, and the enterprise code identifies the specific enterprise or organization to which the power equipment belongs.
[0043] Preferably, step S102 includes: each device type and device status has a corresponding sub-coding table, each device type and device status corresponds to a number, and a device type code and a status code are generated based on this.
[0044] Preferably, step S103 includes: collecting multi-dimensional data, generating a basic information fingerprint library, an operating system fingerprint library, a chip fingerprint library and a communication fingerprint library respectively according to device characteristics, and performing hash operations based on a device component selection strategy.
[0045] Preferably, step S104 includes: verifying the prefix code, device type, status code and characteristic hash value, and the verification code algorithm includes: a parity check algorithm, a Hamming check algorithm or a cyclic redundancy check algorithm.
[0046] Figure 2 It is a schematic diagram of the representation of the fingerprint code of the power equipment in the embodiment of the present invention, which shows in detail the format of the power equipment code and its bit configuration.
[0047] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0048] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0049] like Figure 1 As shown, the power software and hardware encoding method of this embodiment may specifically include the following steps: S101, generating a prefix code based on a country code, an industry code, and an enterprise code.
[0050] The fingerprint of power equipment can be divided into two parts: prefix code and suffix code, with " / " as the separator in the middle. The prefix code is fixedly composed of country code, industry code and enterprise code. Specific examples are as follows: The country code represents the country or region to which the specific power equipment belongs. The country code can be identified by two letters or numbers. For example, the code for China is "86".
[0051] The industry code represents a specific industry and is composed of 4 letters or numbers (numbers 0-9, letters AZ). The present invention is aimed at the power industry and is the power industry code, such as "1100".
[0052] Among them, the enterprise code identifies the specific enterprise or organization to which the power equipment belongs. It consists of two letters or numbers (numbers 0-9, letters AZ). The enterprise applies for registration with the Power Fingerprint Management Center and obtains a unique enterprise code identifier according to needs, such as "11".
[0053] S102, generating a device type code and a device status code according to a device type classification standard and a device status table.
[0054] In the specific implementation of this embodiment, the suffix code is customized and consists of a device type code, a device status code, a feature hash value, and a check code.
[0055] Among them, the equipment type is 4 digits long and consists of letters and numbers (numbers 0-9, letters AZ). This part is divided into main category code and sub-code according to the application scenarios and functional classifications of power equipment, that is, primary classification + secondary classification. The tree structure is expanded, the primary classification is 1 digit, and the secondary classification is 3 digits; the main category code is the major category of equipment, such as "power industrial control terminal", and the sub-category code is the sub-category of equipment, such as "distribution terminal" and "electricity meter" under the power industrial control terminal. The specific codes are shown in the following table, such as "0006" means the 006 sub-category of the 0 main category, indicating that it is a smart terminal.
[0056] Table 1
[0057] Among them, the status bit is used to indicate the current status of the device, which helps to quickly determine whether the device is in normal working condition. It is 1 bit long and consists of letters and numbers (numbers 0-9, letters AZ). It can support the update of 36 status bits, such as 0 for deactivation, 1 for operation, 2 for fault maintenance, and 3 for testing / experimentation.
[0058] S103, collect multi-dimensional data, generate basic information fingerprint library, operating system fingerprint library, chip fingerprint library and communication fingerprint library respectively according to equipment characteristics, obtain power equipment attribute information, form multi-dimensional data, generate multiple fingerprint libraries according to equipment characteristics, obtain equipment components based on different fingerprint libraries, perform hash operation based on equipment component selection strategy, merge hash values of fingerprint components and perform hash operation again to obtain feature hash value; Equipment components include equipment basic information component, equipment operating system component, equipment chip component and equipment communication component; Step S103 mainly collects multi-dimensional data, and collects basic information fingerprint library, operating system fingerprint library, chip fingerprint library and communication fingerprint library information of power equipment through API (Application Programming Interface) calls, driver layer calls, SNMP (Simple Network Management Protocol), syslog (log management and remote log transmission protocol), etc.
[0059] These multidimensional data were measured for discrimination and stability, and some reliable and representative feature components (such as device type, device name, device model, device version, manufacturer and serial number) were selected from them.
[0060] The basic device information component is obtained by combining multiple basic information of the target device, including device type, device name, device model, device version, manufacturer and serial number. If some information is not obtained and is empty, the information is set to 0.
[0061] The device operating system component is obtained by merging the operating system information of the target device, including the operating system type, operating system name, operating system version, and operating system release information. If some information is not obtained and is empty, the information is set to 0.
[0062] The device chip component is obtained by combining the chip information of the target device, including the chip model and processor architecture. If a piece of information is not obtained and is empty, the information is set to 0. Chip models include ET872, SCM701, etc., and processor architectures include Cortex-A7, etc.
[0063] The device communication component is obtained by combining various communication information of the target device, including communication protocol, communication mode, port information and IP address. If some information is not obtained and is empty, the information is set to 0.
[0064] The communication protocols include DL / T698.45, DL / T645-2007, IEC 61850, modbus, TCP, etc.
[0065] The communication modes include RS-485 communication, RS-232 communication, Ethernet, HPLC carrier communication, Bluetooth, far infrared communication, LoRa, wireless public network or private network, and optical fiber communication. Each mode is represented by 0 / 1. If the device supports a certain communication mode, it is set to 1, and they are arranged in order. If all 9 modes are supported, the communication mode of the device is 111111111. If only Ethernet communication is supported, the communication mode of the device is 001000000.
[0066] The port information arranges the open ports in order. For example, if ports 23 and 8080 are open, the port information is "238080".
[0067] Since it is difficult for different types of devices to obtain information about each component, different device components are selected according to the fingerprint component selection strategy. The predefined strategies are as follows: The first strategy, code is H1111, Hash=H1+H2+H3+H4; The second strategy, code is H1011, Hash=H1+H3+H4; The third strategy, code is H1101, Hash=H1+H2+H4; The fourth strategy, code is H1110, Hash=H1+H2+H3; The fifth strategy, code is H1001, Hash=H1+H4; The sixth strategy, code is H1010, Hash=H1+H3; The seventh strategy, code is H1100, Hash=H1+H2; The eighth strategy, code is H1000, Hash=H1; Among them, H1 represents the basic information fingerprint component, H2 represents the operating system fingerprint component, H3 represents the chip fingerprint component, and H4 represents the communication fingerprint component. The 4-digit number in the code represents H1, H2, H3, and H4 from left to right. When the number is "1", it means that the fingerprint component is enabled, and when the number is "0", the device component is not enabled.
[0068] After obtaining each device component, perform hash operations on the device components to obtain hash values, merge the hash values in order, and then perform another hash operation to cut off the last 40 bits to obtain the characteristic hash value.
[0069] Among them, hash operation refers to converting data of arbitrary length into a string of fixed length. This string is called a hash value or hash value. By performing hash operation on these 8 attribute elements, they can be mapped into a set of unique, fixed-length feature hash values.
[0070] The most important features of hash algorithms are: (1) Determinism: the same input will always produce the same output; (2) Fixed-length output: no matter how long the input data is, the hash function will generate a hash value of fixed length; (3) Anti-collision: it is difficult to find different inputs that have the same hash value, so hash algorithms can effectively prevent data from being tampered with.
[0071] The hash algorithm used in the present invention is the national secret algorithm SM3. Of course, this algorithm is not limited.
[0072] For example, taking a switch as an example, the adopted strategy is set to 1001, and the device components are obtained based on the basic information fingerprint library and the communication fingerprint library.
[0073] The device name in the basic information fingerprint database is H3C S3100V2-26TP-SI, the device model is H3C S3100V2-26TP-SI, the device version is unknown 0, the manufacturer is 0, and the serial number is 210235A0K7C126002633. The basic information component of the switch is H3C S3100V2-26TP-SIH3C S3100V2-26TP-SI00210235A0K7C126002633. After the SM3 hash operation, the component fingerprint is e621bac65c77d3fa94de15077bddce86caa879118565da103524298d8a1b7a45.
[0074] The communication protocol in the communication fingerprint library is IPSNMP. The switch supports RS-485 communication, RS-232 communication and Ethernet communication. The communication mode is 111000000. The port information is scanned by NMAP, and it is known that ports 22, 23 and 80 are open. The device port information is 222380, and the IP address is 192.168.1.100. The communication component of the switch is IPSNMP111000000222380192.168.1.100. After SM3 hash operation, the component fingerprint is: 8591625546ce4605f8ce128dda8f780bd64ff973ba38642e44fbefa170081300.
[0075] Since the device collection strategy is 1001, the combined basic information fingerprint component and communication fingerprint component are hashed to obtain: 0ea8482884f2d599bb92af0ce6d35bd9f0c6b3320c81fd0d9d05f426895db1ff, the characteristic hash value is e6d35bd9f0c6b3320c81fd0d9d05f426895db1ff.
[0076] At the same time, taking a certain smart terminal as an example, the strategy 1111 is adopted to obtain the device component based on the basic information fingerprint library, operating system fingerprint library, chip fingerprint library and communication fingerprint library.
[0077] The device name in the basic information fingerprint database is the area intelligent fusion terminal, the device model is SCTB0201RH, the device version is unknown 0, the manufacturer is Beijing Zhixin Microelectronics Technology Co., Ltd., the serial number is SCU1202SC004202206011303, and the basic information component of the terminal is the area intelligent fusion terminal SCTB0201RH0 Beijing Zhixin Microelectronics Technology Co., Ltd. SCU1202SC004202206011303, and the component fingerprint is: ada95f4fc0ecb63075a02fb5e1143a94eb154e39d2696f221706824f26fc2d19.
[0078] The operating system fingerprint library shows the operating system type Linux, operating system name GNU / Linux, operating system version 4.14.155, and operating system release information "Welcome to Shuniu2.0 OS!". The terminal operating system component is LinuxGNU / Linux4.14.155Welcome to Shuniu2.0 OS!, and the component fingerprint is: becbef00a04634c8ab88758563e7e476266282d335db63d46353867e98725d11.
[0079] The chip model in the chip fingerprint library is 0, the processor is Cortex-A7, the terminal chip component is 0Cortex-A7, and the component fingerprint is: 9f7337addd8f321360e60e5a4d75a3d72d60c94e35f860f6cf2181262e440dce.
[0080] The communication protocol in the communication fingerprint library is DL / T698. The terminal supports RS-485 communication, RS-232 communication, Ethernet communication, and carrier communication. The communication mode is 111100000. Ports 22, 23, and 80 are open. The device port information is 222380, and the IP address is 192.168.1.101. The terminal communication component is DL / T698111100000222380192.168.1.101. After SM3 hash operation, the component fingerprint is: 521a1e6fbbf1886e4bdd8c9dd97d038341a4bc609e488461d707db9555bbcc74.
[0081] Since the device collection strategy is 1111, the basic information fingerprint component, operating system fingerprint component, chip component, and communication fingerprint component are combined for hash operation to obtain: a6f11160bddfd717db7d22085164b23a5df478acfd5c5469b333963dbcc296da, the characteristic hash value is 5164b23a5df478acfd5c5469b333963dbcc296da.
[0082] S104, generating a check code by combining the prefix code, the device type code, the status code, and the characteristic hash value.
[0083] The check digit consists of 2 characters, which combines the prefix code, device type code, status code and characteristic hash value. Through the verification of the check digit, data tampering, damage or error can be avoided, ensuring the security and integrity of the fingerprint.
[0084] During the verification process, the method can use a variety of check code algorithms, including parity check algorithm, Hamming check algorithm or cyclic redundancy check algorithm, etc. These check code algorithms can detect and correct some errors in fingerprint encoding, such as bit errors or symbol errors that may be introduced during transmission or storage.
[0085] S105, generating a suffix code by combining the device type code, the status code, the characteristic hash value, and the check code.
[0086] The suffix code that integrates device type, status bit, feature hash value and check bit is a comprehensive fingerprint data protection mechanism. It not only ensures the security and accuracy of the data, but also provides a comprehensive understanding of the device attributes and status.
[0087] S106, combining the prefix code and the suffix code to generate a fingerprint code of the power equipment.
[0088] The embodiments of the present invention can achieve: 1) Equipment identification: The power equipment is uniformly identified and coded using the equipment fingerprint coding system, so that each power equipment has a unique fingerprint code, which solves the problems of coding duplication and poor universality caused by different coding systems used in different power equipment, and improves the accuracy and safety of equipment management.
[0089] 2) Convenient management: Through device fingerprints, the information of all power equipment can be centrally and uniformly managed, and no matter which company these devices belong to or where they are located, they can be accurately tracked and managed. Equipment from different manufacturers can identify and collaborate with each other through a common fingerprint recognition mechanism, which is conducive to building an efficient and coordinated IoT system.
[0090] 3) Anti-counterfeiting: The power equipment fingerprint has strong anti-counterfeiting properties through the combination of multi-attribute feature hash values and check bits. The feature hash value part comprehensively selects the basic information fingerprint library, operating system fingerprint library, chip fingerprint library and communication fingerprint library, making it difficult for attackers to know the single attribute of the device. In addition, different devices adopt different device component selection strategies, which effectively increases the complexity of attackers' cracking. By comparing the hash data collected in real time and the device fingerprint hash, the authenticity of the device can be effectively verified and the circulation of counterfeit and shoddy products can be blocked.
[0091] The second object of the present invention is to provide a device fingerprint encoding system. Figure 3 The flowchart of the system includes: Collection module: used to collect power software and hardware attributes; Creation module: used to apply for and be assigned a unique prefix code; for example, an enterprise applies to the power fingerprint management agency and is assigned a unique prefix code; Generation module: The enterprise generates a suffix code based on the collected power software and hardware attributes. The suffix code includes the device type, status symbol, feature hash value and check code. The prefix code and suffix code are concatenated to obtain the power software and hardware device fingerprint.
[0092] Preferably, the acquisition module includes: acquiring attribute characteristics of power software and hardware, such as device model, manufacturer, communication protocol, etc., through active acquisition and passive acquisition.
[0093] Preferably, the creation module includes: A prefix code application unit is used to apply for a prefix code; for example, an application for a prefix code is submitted to an institution specifically responsible for managing power equipment fingerprints, the power fingerprint management institution, to ensure that the generated fingerprint information is associated with the identity of the enterprise or organization during the generation process of the device fingerprint, thereby realizing the identification and attribution of the device fingerprint; The power software and hardware prefix code allocation unit is used to allocate power software and hardware prefix codes according to the preset allocation rules and coding management system; for example, according to the preset allocation rules and coding management system, the power software and hardware prefix code is allocated to the enterprise generation unit, and this prefix code will be used as a part of the device fingerprint and associated with the identity of the enterprise generation unit. By reasonably allocating prefix codes, the device fingerprints of different enterprises can be clearly distinguished in the system, realizing personalized management and identification of device fingerprints; The prefix code acquisition unit is used to send the assigned prefix code to the prefix code application unit, so that the prefix code application unit obtains the corresponding prefix code and incorporates the prefix code into the fingerprint generation process of the power equipment; for example, the assigned prefix code is informed to the applying enterprise generation unit so that it can obtain the corresponding prefix code. After obtaining the prefix code, the enterprise generation unit incorporates it into the fingerprint generation process of the power equipment to ensure that the generated fingerprint is associated with the enterprise.
[0094] Optionally, the enterprise generating unit applies for a prefix code from the power fingerprint management agency: as the owner or manager of the power equipment, the enterprise generating unit applies for a prefix code to the agency specifically responsible for managing the fingerprint of power equipment, namely the power fingerprint management agency. The purpose of applying for a prefix code is to ensure that the generated fingerprint information is associated with the identity of the enterprise or organization during the device fingerprint generation process, thereby realizing the identification and attribution of the device fingerprint.
[0095] Further optionally, the power fingerprint management agency allocates power software and hardware prefix codes: after receiving the application from the enterprise generating unit, the power fingerprint management agency allocates power software and hardware prefix codes to the enterprise generating unit according to the pre-set allocation rules and coding management system. This prefix code will be part of the device fingerprint and associated with the identity of the enterprise generating unit. By reasonably allocating prefix codes, the device fingerprints of different enterprises can be clearly distinguished in the system, realizing personalized management and identification of device fingerprints.
[0096] Further optionally, the enterprise generating unit obtains the prefix code: the power fingerprint management agency informs the applying enterprise generating unit of the allocated prefix code so that it can obtain the corresponding prefix code. After obtaining the prefix code, the enterprise generating unit incorporates it into the fingerprint generation process of the power equipment to ensure that the generated fingerprint is associated with the enterprise.
[0097] Preferably, the generating module comprises: The characteristic hash value generating unit is used to generate a characteristic hash value according to the collected attribute information of the power equipment, specifically comprising: obtaining the attribute information of the power equipment to form multi-dimensional data, generating multiple fingerprint libraries according to the characteristics of the equipment based on the multi-dimensional data, obtaining equipment components based on different fingerprint libraries, performing hash operations based on the equipment component selection strategy, merging the hash values of each fingerprint component and performing hash operations again to obtain the characteristic hash value; A suffix code generating unit, used to generate a suffix code according to a characteristic hash value, a device type code, a status code, and a check code combination; The device fingerprint generating unit is used to generate a device fingerprint by combining the prefix code and the suffix code.
[0098] Optionally, a characteristic hash value is generated based on the collected attribute information of the power equipment: the generation module generates a basic information fingerprint library, an operating system fingerprint library, a chip fingerprint library, and a communication fingerprint library based on the attribute information of the power equipment obtained from the collection module, such as the equipment model, operating system, communication protocol, etc., and performs hash operations on different components based on the device component selection strategy, merges the hash values of each fingerprint component and performs hash operation again, and intercepts the last 40 bits to obtain the characteristic hash value.
[0099] Further optionally, the characteristic hash value is combined with the device type code, status code, and check code to generate a suffix code: first, the device type code and device status code are generated according to the device type and device status code sub-coding table, and then the check code is generated together with the prefix code and the characteristic hash value; finally, the device type code, device status code, characteristic hash value, and check code are concatenated to generate the suffix code.
[0100] Further optionally, the prefix code and the suffix code are combined to generate a device fingerprint: the generation module combines the prefix code (the prefix code assigned to the enterprise generation unit by the creation module) and the suffix code (composed of the device type code, status code, feature hash value and check code) to form a fingerprint of the power equipment.
[0101] The following is a detailed description of a device fingerprint encoding system of the present application, including: S301, acquisition module: obtains the attribute characteristics of power software and hardware through active and passive acquisition, such as equipment model, manufacturer, communication protocol, etc.
[0102] S302, creation module: the enterprise generation unit applies for a prefix code from the power fingerprint management agency: the enterprise generation unit, as the owner or manager of the power equipment, applies for a prefix code to the agency specifically responsible for managing the fingerprint of power equipment, namely the power fingerprint management agency. The purpose of applying for a prefix code is to ensure that the generated fingerprint information is associated with the identity of the enterprise or organization during the device fingerprint generation process, thereby realizing the identification and attribution of the device fingerprint.
[0103] The power fingerprint management agency allocates power software and hardware prefix codes: After receiving the application from the enterprise generating unit, the power fingerprint management agency allocates power software and hardware prefix codes to the enterprise generating unit according to the pre-set allocation rules and coding management system. This prefix code will be part of the device fingerprint and is associated with the identity of the enterprise generating unit. By reasonably allocating prefix codes, the device fingerprints of different enterprises can be clearly distinguished in the system, realizing personalized management and identification of device fingerprints.
[0104] The enterprise generating unit obtains the prefix code: The power fingerprint management agency will inform the enterprise generating unit that has applied for it of the assigned prefix code so that it can obtain the corresponding prefix code. After obtaining the prefix code, the enterprise generating unit will incorporate it into the fingerprint generation process of the power equipment to ensure that the generated fingerprint is associated with the enterprise.
[0105] S303, generation module: Generate characteristic hash value according to the collected attribute information of electric power equipment: The generation module generates basic information fingerprint library, operating system fingerprint library, chip fingerprint library, communication fingerprint library based on the attribute information of electric power equipment obtained from the collection module, such as equipment model, operating system, communication protocol, etc., performs hash operation on different components based on the equipment component selection strategy, merges the hash values of each fingerprint component and performs hash operation again, and intercepts the last 40 bits to obtain the characteristic hash value.
[0106] The characteristic hash value is combined with the device type code, status code, and check code to generate a suffix code: first, the device type code and device status code are generated according to the device type and device status code sub-coding table, and then the check code is generated together with the prefix code and the characteristic hash value. Finally, the device type code, device status code, characteristic hash value, and check code are spliced to generate the suffix code.
[0107] Combine the prefix code and suffix code to generate the device fingerprint: The generation module combines the prefix code (the prefix code assigned to the enterprise generation unit by the creation module) and the suffix code (composed of the device type code, status code, feature hash value and check code) to form the fingerprint of the power equipment.
[0108] Figure 4 The schematic diagram of the device structure provided by the embodiment of the present invention includes an interface, a processor, a power supply, a memory, an input and output unit, and a communication part, which are connected through a bus. The memory can store at least one application or data set, which is used to execute a series of computer instructions on the device to realize the function of device fingerprint.
[0109] Therefore, the advantages of the present invention are: 1. Feature hash value part: The feature hash value part comprehensively selects the basic information fingerprint library, operating system fingerprint library, chip fingerprint library and communication fingerprint library, and enhances the complexity and uniqueness of the fingerprint through multi-source information fusion, thereby greatly improving security, making it difficult for external attackers to fully grasp all the properties of the device even if they obtain part of the fingerprint information.
[0110] 2. Fingerprint component selection strategy: Different fingerprint component selection strategies are selected according to different device types. This flexibility allows the system to customize which attributes should be included in the fingerprint according to the specific characteristics and security requirements of the device, increasing the difficulty of deciphering.
[0111] 3. Generate device fingerprints based on the handle system: Add power industry equipment to the industrial Internet identification system, and "connect multiple roots in parallel and interconnect" between the 10 root nodes around the world, support various forms of international and domestic data sharing and exchange, and build an international data sharing and exchange service system.
[0112] like Figure 5 As shown, the third object of the present invention is to provide a power equipment fingerprint code generation system, comprising: The first generating module 100 is used to generate a prefix code based on a country code, an industry code and an enterprise code; The second generating module 200 is used to generate a device type code and a device status code according to the device type classification standard and the device status table; The acquisition module 300 is used to acquire the attribute information of the power equipment to form multi-dimensional data, generate multiple fingerprint libraries according to the equipment characteristics, acquire equipment components based on different fingerprint libraries, perform hash operation based on the equipment component selection strategy, merge the hash values of each fingerprint component and perform hash operation again to obtain the characteristic hash value; The third generation module 400 is used to generate a check code by combining the prefix code, the device type code, the state code, and the characteristic hash value; The fourth generation module 500 is used to generate a suffix code by combining the device type code, the state code, the characteristic hash value, and the check code; The fifth generating module 600 is used to combine the prefix code and the suffix code to generate a fingerprint code of the power equipment.
[0113] The system is based on the above-mentioned method for generating fingerprint codes of electric power equipment.
[0114] like Figure 6As shown, the fourth purpose of the embodiment of the present invention is to provide an electronic device, including a memory 701, a processor 702, and a computer program stored in the memory 701 and executable on the processor, wherein the processor implements the power equipment fingerprint code generation method when executing the computer program. It also includes a communication interface 703 and a bus 704.
[0115] A fifth objective of an embodiment of the present invention is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating a fingerprint code of an electric power device is implemented.
[0116] A sixth objective of an embodiment of the present invention is to provide a computer program product, which includes computer instructions, and is characterized in that the computer instructions instruct a computer to execute the method for generating a fingerprint code of an electric power device.
[0117] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0119] The present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, readable storage media, optical storage, etc.) containing computer-usable program codes.
[0120] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0121] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for generating a fingerprint code of an electric power device, characterized in that: include: Generate prefix code based on country code, industry code and enterprise code; Generate device type code and device status code according to device type classification standard and device status table; Acquire the attribute information of the power equipment to form multi-dimensional data, generate multiple fingerprint libraries based on the multi-dimensional data according to the equipment characteristics, obtain equipment components based on different fingerprint libraries, perform hash operations based on the equipment component selection strategy, merge the hash values of each fingerprint component and perform hash operations again to obtain the characteristic hash value; Generate a checksum by combining the prefix code, device type code, status code, and feature hash value; Generate a suffix code by combining the device type code, status code, feature hash value, and check code; The prefix code and the suffix code are combined to generate a fingerprint code of the electric power equipment.
2. A method for generating a fingerprint code of an electric power device according to claim 1, characterized in that: The generation of prefix codes based on country codes, industry codes and enterprise codes includes: Combined with the predefined fusion coding rules, the code is divided into prefix code and suffix code, separated by a separator. The prefix is fixedly composed of a country code, an industry code, and an enterprise code. The country code represents the country or region to which the specific power equipment belongs, the industry code is the power industry, and the enterprise code identifies the specific enterprise or organization to which the power equipment belongs.
3. A method for generating a fingerprint code of an electric power device according to claim 1, characterized in that: The device type code and device status code are generated according to the device type classification standard and the device status table, including: the device type and device status have corresponding sub-code tables, each device type and device status corresponds to a number, and then the device type code and status code are generated.
4. A method for generating a fingerprint code of an electric power device according to claim 1, characterized in that: The device component includes a device basic information component, a device operating system component, a device chip component and a device communication component; The basic device information component is obtained by combining multiple basic information of the target device, including device type, device name, device model, device version, manufacturer and serial number; The device operating system component is obtained by combining the operating system information of the target device, including the operating system type, operating system name, operating system version and operating system release information; The device chip component is obtained by combining the chip information of the target device, including the chip model and processor architecture; The device communication component is obtained by combining various communication information of the target device, including communication protocol, communication mode, port information and IP address.
5. The method for generating a fingerprint code of an electric power device according to claim 1, characterized in that: In the hash operation based on the device component selection strategy, the device component selection strategy includes: The first strategy, code is H1111, Hash=H1+H2+H3+H4; The second strategy, code is H1011, Hash=H1+H3+H4; The third strategy, code is H1101, Hash=H1+H2+H4; The fourth strategy, code is H1110, Hash=H1+H2+H3; The fifth strategy, code is H1001, Hash=H1+H4; The sixth strategy, code is H1010, Hash=H1+H3; The seventh strategy, code is H1100, Hash=H1+H2; The eighth strategy, code is H1000, Hash=H1; Among them, H1 represents the basic information fingerprint component, H2 represents the operating system fingerprint component, H3 represents the chip fingerprint component, and H4 represents the communication fingerprint component. The 4-digit number in the code represents H1, H2, H3, and H4 from left to right. When the number is 1, it means that the fingerprint component is enabled, and when the number is 0, the device component is not enabled. After obtaining each device component, perform hash operations on the device components to obtain hash values, merge the hash values in order, and then perform hash operations again to obtain feature hash values.
6. A method for generating a fingerprint code of an electric power device according to claim 1, characterized in that: The combining of the prefix code, the device type code, the status code, and the characteristic hash value to generate the verification code includes: verifying the prefix code, the device type, the status code, and the characteristic hash value.
7. A method for generating a fingerprint code of an electric power device according to claim 1, characterized in that: The generating of the suffix code by combining the device type code, the state code, the characteristic hash value, and the check code includes: Generate the device type code and device status code according to the device type and device status code sub-coding table, and then generate the check code together with the prefix code and the characteristic hash value, and concatenate the device type code, device status code, characteristic hash value and check code to generate the suffix code.
8. A method for generating a fingerprint code of an electric power device according to claim 1, characterized in that: The step of combining the prefix code with the suffix code to generate a fingerprint code of the electric power equipment includes: The generation module combines the prefix code and the suffix code together to form the fingerprint of the power device.
9. A power equipment fingerprint code generation system, characterized in that: include: A first generation module is used to generate a prefix code based on a country code, an industry code and an enterprise code; The second generating module is used to generate a device type code and a device status code according to the device type classification standard and the device status table; An acquisition module is used to acquire the attribute information of the power equipment to form multi-dimensional data, generate multiple fingerprint libraries based on the multi-dimensional data according to the equipment characteristics, acquire equipment components based on different fingerprint libraries, perform hash operations based on the equipment component selection strategy, merge the hash values of each fingerprint component and perform hash operations again to obtain the characteristic hash value; The third generation module is used to generate a check code by combining the prefix code, the device type code, the state code, and the characteristic hash value; A fourth generation module is used to generate a suffix code by combining the device type code, the state code, the characteristic hash value, and the check code; The fifth generating module is used to combine the prefix code and the suffix code to generate the power equipment fingerprint code.
10. A power equipment fingerprint code generation system according to claim 9, characterized in that: In the first generation module, the prefix code is generated based on the country code, the industry code and the enterprise code, including: Combined with the predefined fusion coding rules, the code is divided into prefix code and suffix code, separated by a separator. The prefix is fixedly composed of a country code, an industry code, and an enterprise code. The country code represents the country or region to which the specific power equipment belongs, the industry code is the power industry, and the enterprise code identifies the specific enterprise or organization to which the power equipment belongs.
11. A power equipment fingerprint code generation system according to claim 9, characterized in that: In the second generation module, the device type code and the device status code are generated according to the device type classification standard and the device status table, including: the device type and the device status have corresponding sub-coding tables, each device type and device status corresponds to a number, and then the device type code and status code are generated.
12. A power equipment fingerprint code generation system according to claim 9, characterized in that: The device component includes a device basic information component, a device operating system component, a device chip component and a device communication component; The basic device information component is obtained by combining multiple basic information of the target device, including device type, device name, device model, device version, manufacturer and serial number; The device operating system component is obtained by combining the operating system information of the target device, including the operating system type, operating system name, operating system version and operating system release information; The device chip component is obtained by combining the chip information of the target device, including the chip model and processor architecture; The device communication component is obtained by combining various communication information of the target device, including communication protocol, communication mode, port information and IP address.
13. A power equipment fingerprint code generation system according to claim 9, characterized in that: In the acquisition module, the hash operation is performed based on the device component selection strategy, and the device component selection strategy includes: The first strategy, code is H1111, Hash=H1+H2+H3+H4; The second strategy, code is H1011, Hash=H1+H3+H4; The third strategy, code is H1101, Hash=H1+H2+H4; The fourth strategy, code is H1110, Hash=H1+H2+H3; The fifth strategy, code is H1001, Hash=H1+H4; The sixth strategy, code is H1010, Hash=H1+H3; The seventh strategy, code is H1100, Hash=H1+H2; The eighth strategy, code is H1000, Hash=H1; Among them, H1 represents the basic information fingerprint component, H2 represents the operating system fingerprint component, H3 represents the chip fingerprint component, and H4 represents the communication fingerprint component. The 4-digit number in the code represents H1, H2, H3, and H4 from left to right. When the number is 1, it means that the fingerprint component is enabled, and when the number is 0, the device component is not enabled. After obtaining each device component, perform hash operations on the device components to obtain hash values, merge the hash values in order, and then perform hash operations again to obtain feature hash values.
14. A power equipment fingerprint code generation system according to claim 9, characterized in that: In the third generation module, a verification code is generated by combining the prefix code, the device type code, the status code, and the characteristic hash value, including: verifying the prefix code, the device type, the status code, and the characteristic hash value.
15. A power equipment fingerprint code generation system according to claim 14, characterized in that: In the suffix code generation module, the suffix code is generated by combining the device type code, the state code, the characteristic hash value, and the check code, including: Generate the device type code and device status code according to the device type and device status code sub-coding table, and then generate the check code together with the prefix code and the characteristic hash value, and concatenate the device type code, device status code, characteristic hash value and check code to generate the suffix code.
16. A power equipment fingerprint code generation system according to claim 9, characterized in that: In the fifth generation module, the prefix code and the suffix code are combined to generate a fingerprint code of the power equipment, including: The generation module combines the prefix code and the suffix code together to form the fingerprint of the power device.
17. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for generating fingerprint code of electric power equipment according to any one of claims 1 to 8 when executing the computer program.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating a fingerprint code for electric power equipment according to any one of claims 1 to 8 is implemented.
19. A computer program product, comprising computer instructions, characterized in that: The computer instructions instruct the computer to execute the method for generating a fingerprint code for electric power equipment as described in any one of claims 1-8.
Citation Information
Patent Citations
Equipment fingerprint generation method and device, equipment and storage medium
CN111478986A
Equipment coding method, equipment identification platform, electronic equipment and storage medium
CN113836868A
Method, device and system for constructing data transmission protocol of energy Internet
CN114095229A
Material identification coding method and device, equipment and storage medium
CN116070663A
Virtual power plant security access method based on equipment attribute fingerprint aggregation
CN117336031A
Cited By
Power equipment identity fingerprint generation method, verification method and device
CN121396432A