CN112003926A - Block chain-based Internet of things equipment encoding method and system and storage medium - Google Patents

Block chain-based Internet of things equipment encoding method and system and storage medium Download PDF

Info

Publication number
CN112003926A
CN112003926A CN202010846154.8A CN202010846154A CN112003926A CN 112003926 A CN112003926 A CN 112003926A CN 202010846154 A CN202010846154 A CN 202010846154A CN 112003926 A CN112003926 A CN 112003926A
Authority
CN
China
Prior art keywords
internet
things
server
block chain
identification number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010846154.8A
Other languages
Chinese (zh)
Inventor
唐毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Heshu Software Co ltd
Original Assignee
Shanghai Heshu Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Heshu Software Co ltd filed Critical Shanghai Heshu Software Co ltd
Priority to CN202010846154.8A priority Critical patent/CN112003926A/en
Publication of CN112003926A publication Critical patent/CN112003926A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a block chain-based Internet of things equipment encoding method, a block chain-based Internet of things equipment encoding system and a storage medium, wherein the block chain-based Internet of things equipment encoding method comprises the following steps: each Internet of things device sends a registration request to a registration server; the registration server distributes an identification number to the Internet of things equipment according to a preset rule and forwards the identification number to the analysis server; the analysis server transmits a registration request to a proper addressing server and stores the identification number and the addressing server number; the addressing server searches for a data server corresponding to the Internet of things equipment and records the mapping relation between the data server and the identification number; and the addressing server feeds back registration success information to the Internet of things equipment and stores the mapping relation between the data server and the identification number into the block chain network. The method and the device aim to solve the problems that in the prior art, the safety of the mass data of the Internet of things is low and the privacy of the user is revealed.

Description

Block chain-based Internet of things equipment encoding method and system and storage medium
Technical Field
The invention relates to the technical field of Internet of things, in particular to a block chain-based Internet of things equipment encoding method and system and a storage medium.
Background
In recent years, research on identification related technologies of the internet of things is actively promoted by related standardization organizations at home and abroad. However, so far, each standard organization has not formed a unified international standard, and various device codes are isolated from each other, are not linked, and some device codes are even repeatedly crossed, so that a unified internet of things identification system must be established to realize interconnection and intercommunication of information and effective cooperation of a system.
In view of the importance of the internet of things identification service on the development of the internet of things industry, the public service platform for managing the internet of things identification is developed in China, and the platform is compatible with various heterogeneous identifications, provides analysis service and discovery service, and realizes addressing access of all internet of things related application information resources, thereby realizing the acquisition of resource information in the internet of things. However, the privacy and safety problems are not considered, and how to ensure that the safety of the mass data of the internet of things and the privacy of the user are not revealed is an important problem which must be solved in the application development of the internet of things.
Disclosure of Invention
The embodiment of the application provides a block chain-based Internet of things device coding method, a block chain-based Internet of things device coding system and a storage medium, and aims to solve the problems that in the prior art, the safety of mass data of the Internet of things is low and the privacy of a user is revealed.
The embodiment of the application provides an Internet of things equipment coding method based on a block chain, wherein the Internet of things comprises an identification module and a block chain network, the identification module is arranged on a control layer of the Internet of things and comprises a registration server, an analysis server and an addressing server; the block chain-based Internet of things equipment coding method comprises the following steps:
each Internet of things device sends a registration request to the registration server;
the registration server distributes an identification number to the Internet of things equipment according to a preset rule and forwards the identification number to an analysis server;
the analysis server forwards the registration request to a proper addressing server, and stores the identification number and the addressing server number;
the addressing server searches for a data server corresponding to the Internet of things equipment and records the mapping relation between the data server and the identification number;
and the addressing server feeds back registration success information to the Internet of things equipment and stores the mapping relation between the data server and the identification number into the block chain network.
In some embodiments, the identification number comprises a block chain number and a device number.
In some embodiments, the identification number includes a blockchain number, a feature number, and a device number.
In some embodiments, the block chain number includes a block number and a position number, the block number is used to indicate a block number of the block chain network where the identification number is located, and the position number is used to indicate a position of the identification number in the block where the identification number is located.
In some embodiments, the device number includes a standard code for indicating a type of the internet of things coding standard and a device code for indicating a device number under the internet of things coding standard corresponding to the standard code.
In some embodiments, the feature number is a serial number or a character string with a unique value.
In some embodiments, the step of storing the mapping relationship between the data server and the identification number into the blockchain network includes:
the block chain network receives a verification result of the mapping relation between the data server and the identification number by other Internet of things equipment;
the block chain network calculates the verification result by adopting a consensus algorithm to obtain a consensus result;
if the consensus result is that consensus is achieved, the verification is passed, the mapping relation between the data server and the identification number is recorded into a block chain network, and a corresponding consensus event is broadcasted.
In some embodiments, the registration success information includes the addressing server number and the identification number.
The application also provides an internet of things equipment encoding system, which comprises a processor, a memory and an internet of things equipment encoding program stored on the memory and capable of running on the processor, wherein the internet of things equipment encoding program is executed by the processor to realize the steps of the block chain-based internet of things equipment encoding method.
The present application also proposes a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps in the method for coding a device of internet of things based on a blockchain as described.
The identification number of the Internet of things equipment is obtained through allocation of the registration server, the appropriate addressing server is found through the analysis server to forward the registration request, the mapping relation between the data server and the identification number is recorded through the addressing server, and the mapping relation between the data server and the identification number is stored in the block chain network. And finally, through a consensus algorithm, an intelligent contract and an encryption signature algorithm technology of the block chain network, a trusted person or entity can obtain information or operation authority of the trusted Internet of things equipment, and through the block chain technology, an identification number matched with the Internet of things equipment is stored in the block chain network and cannot be faked or modified maliciously, so that privacy and safety protection of the Internet of things equipment are enhanced.
Drawings
Fig. 1 is a hardware framework diagram of an embodiment of an internet of things device encoding system of the present application;
fig. 2 is a schematic hierarchical structure diagram of an embodiment of the internet of things of the present application;
fig. 3 is a flowchart of an embodiment of an internet of things device encoding method based on a block chain according to the present application.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In view of the importance of the internet of things identification service on the development of the internet of things industry, the public service platform for managing the internet of things identification is developed in China, and the platform is compatible with various heterogeneous identifications, provides analysis service and discovery service, and realizes addressing access of all internet of things related application information resources, thereby realizing the acquisition of resource information in the internet of things. However, the privacy and safety problems are not considered, and how to ensure that the safety of the mass data of the internet of things and the privacy of the user are not revealed is an important problem which must be solved in the application development of the internet of things.
Therefore, the problems that the safety of mass data of the internet of things is low and the privacy of users is revealed in the prior art need to be solved. In view of this, the present application provides a method, a system, and a storage medium for coding an internet of things device based on a block chain.
Referring to fig. 1, an embodiment of the present application provides an internet of things device coding system, which includes: a processor 101, a memory 102, and a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components.
The processor 101 may be a Central Processing Unit (CPU), which may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, the memory 102, which is a computer storage medium, may include an internet of things device code program therein; and the processor 101 may be configured to call the internet of things device coding program stored in the memory 102, and perform the following operations:
in an embodiment, the processor 101 may be configured to call the internet of things device coding program stored in the memory 102 and perform the following operations:
each Internet of things device sends a registration request to the registration server;
the registration server distributes an identification number to the Internet of things equipment according to a preset rule and forwards the identification number to an analysis server;
the analysis server forwards the registration request to a proper addressing server, and stores the identification number and the addressing server number;
the addressing server searches for a data server corresponding to the Internet of things equipment and records the mapping relation between the data server and the identification number;
and the addressing server feeds back registration success information to the Internet of things equipment and stores the mapping relation between the data server and the identification number into the block chain network.
In an embodiment, the processor 101 may be configured to call the internet of things device coding program stored in the memory 102 and perform the following operations:
the identification number includes a block chain number and a device number.
In an embodiment, the processor 101 may be configured to call the internet of things device coding program stored in the memory 102 and perform the following operations:
the identification number includes a block chain number, a feature number, and a device number.
In an embodiment, the processor 101 may be configured to call the internet of things device coding program stored in the memory 102 and perform the following operations:
the block chain number comprises a block number and a position number, the block number is used for representing the block number of the block chain network where the identification number is located, and the position number is used for representing the position of the identification number in the block where the identification number is located.
In an embodiment, the processor 101 may be configured to call the internet of things device coding program stored in the memory 102 and perform the following operations:
the equipment number comprises a standard code and an equipment code, the standard code is used for representing the type of the Internet of things coding standard, and the equipment code is used for representing the equipment number corresponding to the standard code under the Internet of things coding standard.
In an embodiment, the processor 101 may be configured to call the internet of things device coding program stored in the memory 102 and perform the following operations:
the characteristic number adopts a serial number or a character string with a unique value.
In an embodiment, the processor 101 may be configured to call the internet of things device coding program stored in the memory 102 and perform the following operations:
the step of storing the mapping relationship between the data server and the identification number in the blockchain network includes:
the block chain network receives a verification result of the mapping relation between the data server and the identification number by other Internet of things equipment;
the block chain network calculates the verification result by adopting a consensus algorithm to obtain a consensus result;
if the consensus result is that consensus is achieved, the verification is passed, the mapping relation between the data server and the identification number is recorded into a block chain network, and a corresponding consensus event is broadcasted.
In an embodiment, the processor 101 may be configured to call the internet of things device coding program stored in the memory 102 and perform the following operations:
the registration success information includes the addressing server number and the identification number.
The internet of things equipment coding system of the embodiment obtains the identification number of the internet of things equipment through allocation of the registration server, finds a proper addressing server through the analysis server to forward the registration request, records the mapping relation between the data server and the identification number through the addressing server, and stores the mapping relation between the data server and the identification number into the blockchain network. And finally, through a consensus algorithm, an intelligent contract and an encryption signature algorithm technology of the block chain network, a trusted person or entity can obtain information or operation authority of the trusted Internet of things equipment, and through the block chain technology, an identification number matched with the Internet of things equipment is stored in the block chain network and cannot be faked or modified maliciously, so that privacy and safety protection of the Internet of things equipment are enhanced.
Embodiments of the method for coding the internet of things device based on the block chain are described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a hierarchical structure of the internet of things in the embodiment. The Internet of things comprises an equipment layer, an access layer, a control layer, a content layer and an application layer.
The device layer comprises all devices of the internet of things, namely real physical devices and virtual digital devices. Each device of the device layer has a globally unique identification code, a plurality of single devices can be combined into a device group, and the device group also has a globally unique identification code. These devices can be found by identification coding. The main functions of the equipment layer are data acquisition and action execution, and common equipment comprises sensors suitable for fire scenes, such as smoke sensors, temperature sensors and the like; the sensor is suitable for weight sensors, bar code sensors and the like in the field of logistics. The intelligent curtain suitable for the field of intelligent home equipment, the intelligent desk lamp, the intelligent projector, the intelligent floor sweeping robot and the like.
The access layer provides a plurality of connection modes, and realizes interconnection among equipment, equipment and people, people and the like. The connection mode comprises various modes such as 2G, 3G, 4G, 5G, W-Fi, Bluetooth, NB-loT, Ethernet, various industrial buses and the like.
The application layer is an intelligent service provided by the Internet of things for various industries, for example, for the industry, product traceability can be provided to prevent counterfeiting and shoddy: for the medical appliance industry, instrument data tracing can be provided to prevent privacy disclosure.
Wherein the control layer is provided with an identification module and a block chain network. The control layer is responsible for providing trusted content to trusted internet of things devices. The identification module comprises a registration server, an analysis server and an addressing server. The blockchain network comprises a plurality of blockchain nodes, a current consensus algorithm, an intelligent contract, a cryptographic signature algorithm, a database and the like of each blockchain node.
The registration server provides a registration function for the device, all device manufacturers must register in the registration server, and the registration server must authenticate the identity of the manufacturers. After the registration is successful, the manufacturer becomes the owner of the identification of the Internet of things, can autonomously identify the equipment produced by the manufacturer, and automatically ensures the uniqueness of the identification. A large number of data servers exist in the content layer, one discovery server corresponds to one group of data servers, and the discovery server is addressed to a specific data server through the equipment identifier. The data server is used for storing data information of the equipment and operation control information of the equipment, and the information can be searched and used through the identification number. The data server may be located at the manufacturer or at the location of the user of the device. The content in the data server must be tamper-proof and the objects accessing the data server must have a legitimate identity and corresponding rights.
Referring to fig. 3, the method for coding the internet of things device based on the block chain includes the following steps:
s110, each Internet of things device sends a registration request to the registration server;
the internet of things equipment can be intelligent household equipment. It can be understood that the internet of things device can also be an intelligent device in other fields, for example, when the internet of things device is applied to the field of fire rescue, the internet of things device can also be various sensors suitable for fire scenes, such as a smoke sensor, a temperature sensor and the like. When being applied to the commodity circulation field, thing networking device can also be weight sensor, bar code inductor etc..
In this embodiment, each internet of things device may send a registration request to the registration server through a wireless communication manner such as 2G, 3G, 4G, 5G, bluetooth, or WI-FI.
S120, the registration server distributes an identification number to the Internet of things equipment according to a preset rule and forwards the identification number to an analysis server;
specifically, in this embodiment, two sets of preset rules are set for allocating identification numbers to the internet of things devices. In the first set of rules, the identification number includes a block chain number and a device number; more further, the blockchain number comprises 2 parts: [ Block number ] [ position number ]. The block number is determined by the block chain network and is used for indicating the block number of the block chain network where the identification number is located. The position number is used for representing the position of the identification number in the block. A serial number (given by the blockchain network) representing the block in which the identification code was registered on the blockchain network. The position number indicates the position (number from 0) within the block where the identification is encoded, i.e. which entry within the block. The device domain and the blockchain domain are separated by a "-" symbol. The manufacturer that obtains the blockchain domain code through the registration mode is called an internet of things identity owner.
The device number includes a standard code and a device code, and the device domain also includes 2 parts: [ Standard code ] # [ device code ]. The standard code is used for representing the type of the coding standard of the Internet of things, consists of various existing heterogeneous codes, does not adopt equipment with the existing coding standard, is treated according to the BCNS coding standard, and is uniformly distributed by the BCNS platform. The equipment code is used for representing the equipment number under the Internet of things coding standard corresponding to the standard code. The device code corresponds to an identification code of a certain device under a certain coding standard, and is uniformly coded by the coding standard mechanism to ensure uniqueness. For example, the identification code is: 123456.333-EPC-96 i #09.0134254.103423.2315472a2, it indicates that the 333 th entry of the id code in block 123456 is an id of a certain internet of things device using the EPC-96 i code standard.
Through the identification numbering mode, unique 'identifications' of the internet of things equipment with various heterogeneous internet of things coding standards can be stored in the block chain network.
In another set of identification rules, the identification number includes a block chain number, a feature number, and a device number. The difference between the identification rule and the previous expression rule is that the other set of identification rule also comprises a feature number, and the feature number adopts a serial number or a character string with a unique value. By additionally arranging the feature numbers, the distinguishing degree of the identification numbers is strengthened, and the uniqueness of the identification numbers is further improved.
S130, the analysis server forwards the registration request to a proper addressing server, and stores the identification number and the number of the addressing server.
Specifically, the analysis server selects an addressing server with abundant memory to forward the registration request according to the memory condition of the addressing server, and stores the identification number and the number of the addressing server. By numbering the identification number and the addressing server, subsequent query of the Internet of things equipment is facilitated.
S140, the addressing server searches for a data server corresponding to the Internet of things equipment and records the mapping relation between the data server and the identification number;
each physical network device has a data server matched with the physical network device, the data server stores data information of the Internet of things device and operation control information of the Internet of things device, and the information can be searched and used through a device identifier. And storing the mapping relation between the data server and the identification number, finding the unique data server matched with the physical network equipment through the identification number, and acquiring the data information of the physical network equipment and the operation control information of the Internet of things equipment from the data server.
S150, the addressing server feeds back registration success information to the Internet of things equipment, and the mapping relation between the data server and the identification number is stored in the block chain network.
Specifically, the registration success information includes the addressing server number and the identification number. By writing the identification number into the blockchain network and writing the digital abstract of the equipment data information into the blockchain network, entities accessing the equipment identification and the equipment data information must pass through a corresponding authentication mechanism of the blockchain network. The transactions between people, people and things and equipment can be restricted and flexibly customized through intelligent contracts in the blockchain nodes.
Further, the step of storing the mapping relationship between the data server and the identification number in the blockchain network includes:
s151, receiving a verification result of the mapping relation between the data server and the identification number by other Internet of things equipment through a block chain network;
specifically, after acquiring the mapping relationship record between the data server and the identification number, the other internet of things devices acquire all historical mapping relationships corresponding to the identification number according to the blockchain network, integrate the historical mapping relationships according to the timestamps of the historical mapping relationships, verify the validity of the mapping relationship between the data server and the identification number according to the integrated historical mapping relationships, and generate a verification result.
And judging the validity of the mapping relation between the data server and the identification number by other Internet of things equipment according to each timestamp and each state in the integrated historical mapping relation. Typically, the validity of the mapping relationship in the present application means whether the mapping relationship is the latest, and only all historical mapping relationships need to be checked when determining whether a mapping relationship is valid, and it is determined that the current mapping relationship is the latest record, that is, it is valid, according to the timestamps and states of all historical mapping relationships.
S152, the block chain network calculates the verification result by adopting a consensus algorithm to obtain a consensus result;
and S153, if the consensus result is that consensus is achieved, the verification is passed, the mapping relation between the data server and the identification number is recorded into the block chain network, and a corresponding consensus event is broadcasted.
The block chain network receives a verification result of the mapping relation (hereinafter referred to as mapping relation) between the data server and the identification number from other internet of things equipment, and calculates the verification result by adopting a consensus algorithm to obtain a consensus result. If the consensus result is that consensus is achieved, the verification is passed, the mapping relation is stored in a block chain, and a corresponding consensus event is broadcasted: if the consensus result is that the consensus can not be achieved, the verification is not passed, and the mapping relation is abandoned. When the data processing nodes of the block chain detect that a certain number of nodes pass the verification that the mapping relation passes the verification of the consensus algorithm, all other mapping relations can synchronously package the mapping relation into the block, so that most nodes carry out PBFT consensus verification on the mapping relation, the consistency of the mapping relation stored by all block chain nodes of the whole network is guaranteed, and all internet of things equipment synchronizes the mapping relation to all block chain nodes of the block chain network in real time or at regular time.
In this embodiment, the identification number of the internet of things device is obtained through allocation of the registration server, a suitable addressing server is found by the analysis server to forward the registration request, the mapping relationship between the data server and the identification number is recorded by the addressing server, and the mapping relationship between the data server and the identification number is stored in the blockchain network. And finally, through a consensus algorithm, an intelligent contract and an encryption signature algorithm technology of the block chain network, a trusted person or entity can obtain information or operation authority of the trusted Internet of things equipment, and through the block chain technology, an identification number matched with the Internet of things equipment is stored in the block chain network and cannot be faked or modified maliciously, so that privacy and safety protection of the Internet of things equipment are enhanced.
The present application also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps in the method for coding a device of internet of things based on a blockchain.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. An Internet of things equipment coding method based on a block chain is disclosed, wherein the Internet of things comprises an identification module and a block chain network which are arranged at a control layer of the Internet of things, and the identification module comprises a registration server, an analysis server and an addressing server; the block chain-based Internet of things equipment coding method comprises the following steps:
each Internet of things device sends a registration request to the registration server;
the registration server distributes an identification number to the Internet of things equipment according to a preset rule and forwards the identification number to an analysis server;
the analysis server forwards the registration request to a proper addressing server, and stores the identification number and the addressing server number;
the addressing server searches for a data server corresponding to the Internet of things equipment and records the mapping relation between the data server and the identification number;
and the addressing server feeds back registration success information to the Internet of things equipment and stores the mapping relation between the data server and the identification number into the block chain network.
2. The method for coding device of internet of things based on block chains according to claim 1, wherein the identification number comprises a block chain number and a device number.
3. The method of claim 1, wherein the identification number comprises a blockchain number, a feature number, and a device number.
4. The method for coding block chain-based Internet of things equipment according to claim 2 or 3,
the block chain number comprises a block number and a position number, the block number is used for representing the block number of the block chain network where the identification number is located, and the position number is used for representing the position of the identification number in the block where the identification number is located.
5. The method for coding block chain-based Internet of things equipment according to claim 2 or 3,
the equipment number comprises a standard code and an equipment code, the standard code is used for representing the type of the Internet of things coding standard, and the equipment code is used for representing the equipment number corresponding to the standard code under the Internet of things coding standard.
6. The Internet of things equipment encoding method based on the block chain as claimed in claim 3, wherein the feature number adopts a serial number or a character string with a unique value.
7. The blockchain-based internet of things device encoding method according to claim 1, wherein the step of storing the mapping relationship between the data server and the identification number in a blockchain network comprises:
the block chain network receives a verification result of the mapping relation between the data server and the identification number by other Internet of things equipment;
the block chain network calculates the verification result by adopting a consensus algorithm to obtain a consensus result;
if the consensus result is that consensus is achieved, the verification is passed, the mapping relation between the data server and the identification number is recorded into a block chain network, and a corresponding consensus event is broadcasted.
8. The method according to claim 1, wherein the registration success information includes the addressing server number and the identification number.
9. An internet of things device encoding system, comprising a processor, a memory, and an internet of things device encoding program stored on the memory and executable on the processor, wherein the internet of things device encoding program, when executed by the processor, implements the steps of the block chain based internet of things device encoding method according to any one of claims 1 to 8.
10. A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps in the method for device encoding of a blockchain-based internet of things of any one of claims 1 to 8.
CN202010846154.8A 2020-08-20 2020-08-20 Block chain-based Internet of things equipment encoding method and system and storage medium Pending CN112003926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010846154.8A CN112003926A (en) 2020-08-20 2020-08-20 Block chain-based Internet of things equipment encoding method and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010846154.8A CN112003926A (en) 2020-08-20 2020-08-20 Block chain-based Internet of things equipment encoding method and system and storage medium

Publications (1)

Publication Number Publication Date
CN112003926A true CN112003926A (en) 2020-11-27

Family

ID=73474097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010846154.8A Pending CN112003926A (en) 2020-08-20 2020-08-20 Block chain-based Internet of things equipment encoding method and system and storage medium

Country Status (1)

Country Link
CN (1) CN112003926A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115051971A (en) * 2022-06-29 2022-09-13 中国信息通信研究院 Energy consumption monitoring method and device based on active identification technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109327457A (en) * 2018-11-09 2019-02-12 广州大学 A kind of internet of things equipment identity identifying method and system based on block chain
CN110035097A (en) * 2018-01-12 2019-07-19 广州中国科学院计算机网络信息中心 Block chain identifies the isomery identification analytic method and system combined with Internet of Things
US20190373472A1 (en) * 2018-03-14 2019-12-05 Clyde Clinton Smith Method and System for IoT Code and Configuration using Smart Contracts
WO2020138525A1 (en) * 2018-12-26 2020-07-02 서강대학교 산학협력단 Method for distributed authentication of device in internet-of-things blockchain environment, and system for distributed authentication of device using same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110035097A (en) * 2018-01-12 2019-07-19 广州中国科学院计算机网络信息中心 Block chain identifies the isomery identification analytic method and system combined with Internet of Things
US20190373472A1 (en) * 2018-03-14 2019-12-05 Clyde Clinton Smith Method and System for IoT Code and Configuration using Smart Contracts
CN109327457A (en) * 2018-11-09 2019-02-12 广州大学 A kind of internet of things equipment identity identifying method and system based on block chain
WO2020138525A1 (en) * 2018-12-26 2020-07-02 서강대학교 산학협력단 Method for distributed authentication of device in internet-of-things blockchain environment, and system for distributed authentication of device using same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈美娟等: "基于区块链的物联网设备标识研究", 《物联网学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115051971A (en) * 2022-06-29 2022-09-13 中国信息通信研究院 Energy consumption monitoring method and device based on active identification technology
CN115051971B (en) * 2022-06-29 2024-05-14 中国信息通信研究院 Active identification technology-based energy consumption monitoring method and device

Similar Documents

Publication Publication Date Title
Weber Internet of things: Privacy issues revisited
US10325428B1 (en) Access control using device location tracking and blockchains
CN110797099B (en) Medical data sharing method and system based on block chain
JP6574168B2 (en) Terminal identification method, and method, system, and apparatus for registering machine identification code
WO2019138128A1 (en) Method and system for providing secure access to artifacts in a cloud computing environment
US20120110329A1 (en) Techniques for mobile device authentication
WO2017032980A1 (en) Data access and ownership management
CN109639723A (en) A kind of micro services access method and server based on ERP system
CN109005142B (en) Website security detection method, device, system, computer equipment and storage medium
CN105721426B (en) Access authorization methods, server, target terminal equipment and the system of terminal device
WO2008157213A3 (en) Methods, systems, and computer program products for identifying a serving home subscriber server (hss) in a communications network
TW201525755A (en) Method for verifying legitimacy, middle server and computer-readable storage medium
CN109063423B (en) Application software authorization method and system
CN109446830A (en) Data center environment information processing method and device based on block chain
CN110995664B (en) Block chain-based Internet of things heterogeneous identifier analysis system and method
CN104283881B (en) Method for the Certificate Authority and safe handling of Internet of Things sensing equipment
JP7072574B2 (en) Systems and methods for user authorization
CN108173839B (en) Authority management method and system
Rupasinghe et al. Blockchain based dynamic patient consent: A privacy-preserving data acquisition architecture for clinical data analytics
CN110599180A (en) Block chain-based vaccine circulation management method and device
WO2019041627A1 (en) Method, apparatus, and server for detecting address of video stream, and computer readable medium
CN111460400A (en) Data processing method and device and computer readable storage medium
CN111131144B (en) IoT (Internet of things) equipment management method, device, server and storage medium
CN107306247B (en) Resource access control method and device
CN106997440A (en) A kind of role access control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination