CN110648534A - Traffic data chaining method and device of Internet of things based on block chain - Google Patents

Traffic data chaining method and device of Internet of things based on block chain Download PDF

Info

Publication number
CN110648534A
CN110648534A CN201910905747.4A CN201910905747A CN110648534A CN 110648534 A CN110648534 A CN 110648534A CN 201910905747 A CN201910905747 A CN 201910905747A CN 110648534 A CN110648534 A CN 110648534A
Authority
CN
China
Prior art keywords
traffic
data
traffic data
block chain
block
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
CN201910905747.4A
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.)
Beijing Ai Morui Strategic Technology Co Ltd
Original Assignee
Beijing Ai Morui Strategic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ai Morui Strategic Technology Co Ltd filed Critical Beijing Ai Morui Strategic Technology Co Ltd
Priority to CN201910905747.4A priority Critical patent/CN110648534A/en
Publication of CN110648534A publication Critical patent/CN110648534A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications
    • G08G1/0141Measuring and analyzing of parameters relative to traffic conditions for specific applications for traffic information dissemination
    • 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
    • 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
    • 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/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The invention discloses a traffic data chaining method and equipment of an Internet of things based on a block chain, which belong to the technical field of combination of the Internet of things and the block chain, and specifically comprise the following steps: the block chain link point receives traffic data sent by the traffic server, the traffic data is collected by a traffic camera and sent to the traffic server through the Internet of things, and the traffic data comprises: weather conditions, traffic light signals, number of road vehicles and speed of movement of road vehicles; and carrying out identity verification on the traffic server by the block link point, and if the identity verification passes, carrying out cochain on the traffic data by the block link point after the common identification. According to the invention, the traffic data is sent to the block chain nodes based on the Internet of things, and the chain is linked by the block chain nodes, so that the combination of the Internet of things and the block chain technology is realized, the traffic data of the Internet of things is linked, the user can conveniently inquire the traffic data, and the user experience is improved.

Description

Traffic data chaining method and device of Internet of things based on block chain
Technical Field
The invention relates to the technical crossing field of the Internet of things and block chain information, in particular to a traffic data uplink method and equipment of the Internet of things based on a block chain.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in a blockchain system. The blockchain is the underlying technology of bitcoin, like a database ledger, which records all transaction records. The system is characterized in that a plurality of nodes are arranged at different parts of the world, and each node maintains a set of same databases. The data is maliciously tampered and difficult to tamper, and the data loss is extremely rare, so that a platform which is fair and transparent and solves the trust crisis is realized.
In the era of the development of the internet of things along with the information technology such as the internet and the like, a sensor, a user, an object and the like are connected together in a new mode, and the information, remote monitoring and management and intelligent network are realized. The current traffic camera is comprehensively installed on a road and used for monitoring the traffic condition of the road, and further, the traffic accident can be restored, the violation of regulations can be inquired, and whether the road is congested or not can be judged according to the data monitored by the camera.
Since the blockchain is a development direction of future technologies, how to combine the blockchain technology with the internet of things and how to link traffic data after combining the blockchain technology with the internet of things further improve user experience, which becomes a challenge of the future technologies.
The above techniques are merely for reference and are not necessarily to be construed as prior art.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to solve the technical problems of how to combine the block chain technology with the Internet of things and how to link the traffic data of the Internet of things.
In order to achieve the above object, in a first aspect, the present invention provides a traffic data uplink method for a block chain based internet of things, including the following steps:
the block chain link point receives traffic data sent by the traffic server, the traffic data is collected by a traffic camera and sent to the traffic server through the Internet of things, and the traffic data comprises: weather conditions, traffic light signals, number of road vehicles and speed of movement of road vehicles;
and carrying out identity verification on the traffic server by the block link point, and if the identity verification passes, carrying out cochain on the traffic data by the block link point after the common identification.
Specifically, the identity verification is to verify the traffic data sent by the traffic server through a public key of the traffic server; the traffic data is data signed with a traffic server private key.
Optionally, the traffic cameras are installed on both sides of the road. The conditions of vehicle traffic and the like on the road are shot through the traffic camera, and the shot information is used as traffic data and sent to the traffic server through the Internet of things. And then the traffic server sends the traffic data to the block chain nodes.
Furthermore, each traffic camera can directly send the detected traffic data to the block chain node through the Internet of things. It can be understood that the connection mode of each traffic camera and the blockchain node is more stable than the connection mode of the traffic server and the blockchain node. Therefore, a mode of transmitting traffic data to the blockchain node through the traffic server may be a preferable scheme.
Specifically, the block link point carries out link up after the traffic data is subjected to the common identification of the practical Byzantine fault-tolerant algorithm PBFT.
It should be noted that the blockchain is a distributed ledger, and may be a private chain, a public chain, or a federation chain.
Specifically, when the block link node receives the traffic data, a transaction including a hash of the traffic data and transaction information thereof can be constructed, and the constructed transaction is broadcasted to the block link network, so that each node stores the transaction in its own block link based on a consensus mechanism, thereby realizing multi-party evidence storage of the traffic data. When the transaction only includes the hash of the traffic data, since the hash of the traffic data is already issued to the blockchain, if the traffic data is tampered, the hash of the tampered traffic data is inconsistent with the hash issued in the blockchain, and therefore, issuing the traffic data to the blockchain is equivalent to storing the traffic data in multiple parties. It should also be noted that when the transaction only includes a hash of the traffic data, the blockchain credit platform typically stores the traffic data in a data repository (non-blockchain), such as RAM, separately.
It should be noted that the transaction described in this specification refers to a piece of data that is created by a user through a client of the blockchain and needs to be finally published to a distributed database of the blockchain. That is, there are narrow and broad categories of transactions in the blockchain. A narrowly defined transaction refers to a transfer of value issued by a user to a blockchain; for example, in a conventional bitcoin blockchain network, the transaction may be a transfer initiated by the user in the blockchain. The broad transaction refers to a piece of business data with business intention, which is issued to the blockchain by a user; for example, an operator may build a federation chain based on actual business requirements, and rely on the federation chain to deploy some other types of online businesses unrelated to value transfer, such as data uplink business, house renting business, vehicle scheduling business, insurance claim settlement business, and the like, in such federation chain, a transaction may be a business message or business request with business intent issued by a user in the federation chain.
Specifically, the block link points receive the traffic data, and can judge whether the road is congested according to the number of road vehicles and the moving speed of the road vehicles in the traffic data. For example: and if the number of the vehicles in the road exceeds a preset vehicle threshold value, or the moving speed of the vehicles exceeding the preset proportion in the road is less than a preset vehicle speed threshold value, judging that the road is congested.
In one possible embodiment, the block link point sends the query result of whether the road is congested to the user based on the determination result of the traffic data according to the query request of the user.
In one possible embodiment, the block link point directly pushes the traffic information of whether the road is congested to the user based on the judgment result of the traffic data.
In one possible embodiment, the block link point uplink the traffic data, which includes the following steps:
if the data volume of the traffic data is larger than the storage threshold value of one block, dividing the traffic data into a plurality of fragment data smaller than the storage threshold value by a block link point;
the block chain node stores a plurality of fragment data into a plurality of blocks of the block chain node respectively.
In one possible embodiment, the block link point uplink the traffic data, which includes the following steps:
if the data volume of the traffic data is larger than the storage threshold value of one block, dividing the traffic data into a plurality of fragment data smaller than the storage threshold value by a block link point;
the block link point stores a first piece of fragment data in the plurality of pieces of fragment data to a current block link point;
and the block chain nodes randomly select other block chain nodes except the current block chain link point in a mode of verifying a random function VRF, and the other block chain link points store the data except the first piece of fragment data in the plurality of pieces of fragment data.
Alternatively, if the traffic server determines that the data size of the traffic data to be sent is too large and is greater than the set data capacity threshold, the hash value of the traffic data may be calculated and sent to the blockchain node for uplink. When a user inquires the traffic data, whether the traffic data stored on the traffic server is real or not can be verified through inquiring the hash value on the link point of the block and the corresponding relation between the hash value and the original traffic data, whether the traffic data is tampered or not is judged, and storage and authenticity supervision of the traffic data based on the traffic server and the block chain are achieved.
In one possible embodiment, the traffic data is structured data, and each attribute of the traffic data is linked, and the attribute of the traffic data includes: geographic location and time.
In one possible embodiment, the method further comprises the steps of:
the block chain node receives digital currency mortised by a traffic server, and allocates corresponding resources for the traffic server, wherein the resources are used for uplink of traffic data sent by the traffic server; the resources include: network resources, CPU resources, and memory resources.
Specifically, in the above scheme, the uplink mode of the traffic data is to obtain the block chain resource used for uplink of the traffic data by mortgage of a certain digital currency, and pay the uplink fee of the traffic data at the block chain node.
It is understood that the allocated blockchain resource may be a CPU, a network resource NET or a RAM. The traffic data is sent to the blockchain node in a mortgage manner, each time the uplink does not send uplink fee independently, but the blockchain resources are consumed, and the mortgage is needed to obtain the blockchain resources so as to pay the uplink fee of the traffic data at the blockchain node.
Optionally, in the above scheme, the uplink mode of the traffic data may be replaced by: the traffic server sends traffic data to the block chain nodes in a transfer mode so that the block chain nodes can execute a cochain process, wherein transfer information sent by the traffic server comprises: from address, to address, traffic data, commission fees. Specifically, the from address is an address of a traffic server, the to address is an address of a blockchain node, and the commission charge is a charge of resources occupied by uplink of the paid traffic data.
Wherein the commission may be digital currency.
It can be understood that after the block link node passes the authentication of the traffic server, the resource fee check is also needed before the uplink of the traffic data. The resource fee means: the resource size and resource fee check of the received traffic data uplink refers to judging whether the resource purchased by the traffic server is larger than the resource fee, if so, the resource fee check is passed, otherwise, the check is not passed.
In a second aspect, the present invention provides a traffic data uplink device of an internet of things based on a block chain, including:
the traffic data receiving unit is used for receiving traffic data sent by the traffic server, the traffic data is collected by a traffic camera and is sent to the traffic server through the Internet of things, and the traffic data comprises: weather conditions, traffic light signals, number of road vehicles and speed of movement of road vehicles;
and the traffic data uplink unit is used for carrying out identity verification on the traffic server, and if the identity verification passes, the block link point carries out uplink after the traffic data is identified together.
In one possible embodiment, if the data amount of the traffic data is greater than a storage threshold of one block, the traffic data uplink unit divides the traffic data into a plurality of pieces of data smaller than the storage threshold; and respectively storing the plurality of fragment data into a plurality of blocks of the block chain node.
In one possible embodiment, if the data amount of the traffic data is greater than a storage threshold of one block, the traffic data uplink unit divides the traffic data into a plurality of pieces of data smaller than the storage threshold; storing a first piece of fragment data in the plurality of piece of fragment data to a current block link point; and randomly selecting other block chain nodes except the current block chain node point in a mode of verifying a random function VRF, and storing data except the first piece of fragment data in the plurality of pieces of fragment data by the other block chain nodes.
In one possible embodiment, the traffic data is structured data, and each attribute of the traffic data is linked, and the attribute of the traffic data includes: geographic location and time.
In one possible embodiment, the apparatus further comprises: the resource allocation unit is used for receiving digital currency mortised by a traffic server and allocating corresponding resources for the traffic server, wherein the resources are used for uplink of traffic data sent by the traffic server; the resources include: network resources, CPU resources, and memory resources.
In a third aspect, the present invention provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the method for uplink of traffic data of a blockchain-based internet of things provided in the first aspect.
Generally, compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:
the invention provides a traffic data chaining method and equipment of an Internet of things based on a block chain.
The invention provides a traffic data uplink method and equipment of an Internet of things based on a block chain.
The invention provides a traffic data chaining method and equipment of an Internet of things based on a block chain, which can judge traffic road conditions through the block chain link points, and can realize the query of the block chain to the traffic conditions according to the query of a user or the result of whether the road is congested or not autonomously pushed to the user.
The invention provides a traffic data chaining method and equipment of the Internet of things based on a block chain, which realize the fragmented storage of traffic data occupying larger resources by utilizing the distributed storage characteristics of the block chain nodes. When the fragmented storage of the traffic data is realized in a plurality of blocks of one block chain node, the fragmented storage of the same block chain node is realized. When the fragmented storage of the traffic data is realized at different block link nodes, all the fragmented data can be stored at the same time, and the chaining speed of the traffic data is accelerated.
The invention provides a traffic data chaining method and equipment of an Internet of things based on a block chain.
The invention provides a traffic data cochain method and equipment of an Internet of things based on a block chain, which are based on structured traffic data consensus cochain, realize structured storage of traffic data, facilitate updating and management of block chain data and have great advantages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.
In addition, any one of the embodiments in the present specification is not required to achieve all of the effects described above.
Drawings
Fig. 1 is a flowchart of a traffic data uplink method of the internet of things based on a block chain according to the present invention;
fig. 2 is an architecture diagram of traffic data uplink equipment of the internet of things based on the blockchain provided by the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Fig. 1 is a flowchart of a traffic data uplink method of the internet of things based on a block chain according to the present invention; as shown in fig. 1, the method comprises the following steps:
s101, receiving traffic data sent by a traffic server through block chain nodes, wherein the traffic data is collected by a traffic camera and sent to the traffic server through the Internet of things, and the traffic data comprises: weather conditions, traffic light signals, number of road vehicles and speed of movement of road vehicles;
s102, the block link point carries out identity verification on the traffic server, and if the identity verification passes, the block link point carries out cochain after the traffic data are identified.
Specifically, the identity verification is to verify the traffic data sent by the traffic server through a public key of the traffic server; the traffic data is data signed with a traffic server private key.
Optionally, the traffic cameras are installed on both sides of the road. The conditions of vehicle traffic and the like on the road are shot through the traffic camera, and the shot information is used as traffic data and sent to the traffic server through the Internet of things. And then the traffic server sends the traffic data to the block chain nodes.
Furthermore, each traffic camera can directly send the detected traffic data to the block chain node through the Internet of things. It can be understood that the connection mode of each traffic camera and the blockchain node is more stable than the connection mode of the traffic server and the blockchain node. Therefore, a mode of transmitting traffic data to the blockchain node through the traffic server may be a preferable scheme.
Specifically, the block link point carries out link up after the traffic data is subjected to the common identification of the practical Byzantine fault-tolerant algorithm PBFT.
It should be noted that the blockchain is a distributed ledger, and may be a private chain, a public chain, or a federation chain.
Specifically, when the block link node receives the traffic data, a transaction including a hash of the traffic data and transaction information thereof can be constructed, and the constructed transaction is broadcasted to the block link network, so that each node stores the transaction in its own block link based on a consensus mechanism, thereby realizing multi-party evidence storage of the traffic data. When the transaction only includes the hash of the traffic data, since the hash of the traffic data is already issued to the blockchain, if the traffic data is tampered, the hash of the tampered traffic data is inconsistent with the hash issued in the blockchain, and therefore, issuing the traffic data to the blockchain is equivalent to storing the traffic data in multiple parties. It should also be noted that when the transaction only includes a hash of the traffic data, the blockchain credit platform typically stores the traffic data in a data repository (non-blockchain), such as RAM, separately.
It should be noted that the transaction described in this specification refers to a piece of data that is created by a user through a client of the blockchain and needs to be finally published to a distributed database of the blockchain. That is, there are narrow and broad categories of transactions in the blockchain. A narrowly defined transaction refers to a transfer of value issued by a user to a blockchain; for example, in a conventional bitcoin blockchain network, the transaction may be a transfer initiated by the user in the blockchain. The broad transaction refers to a piece of business data with business intention, which is issued to the blockchain by a user; for example, an operator may build a federation chain based on actual business requirements, and rely on the federation chain to deploy some other types of online businesses unrelated to value transfer, such as data uplink business, house renting business, vehicle scheduling business, insurance claim settlement business, and the like, in such federation chain, a transaction may be a business message or business request with business intent issued by a user in the federation chain.
Specifically, the block link points receive the traffic data, and can judge whether the road is congested according to the number of road vehicles and the moving speed of the road vehicles in the traffic data. For example: and if the number of the vehicles in the road exceeds a preset vehicle threshold value, or the moving speed of the vehicles exceeding the preset proportion in the road is less than a preset vehicle speed threshold value, judging that the road is congested.
In one possible embodiment, the block link point sends the query result of whether the road is congested to the user based on the determination result of the traffic data according to the query request of the user.
In one possible embodiment, the block link point directly pushes the traffic information of whether the road is congested to the user based on the judgment result of the traffic data.
In one possible embodiment, the block link point uplink the traffic data, which includes the following steps:
if the data volume of the traffic data is larger than the storage threshold value of one block, dividing the traffic data into a plurality of fragment data smaller than the storage threshold value by a block link point;
the block chain node stores a plurality of fragment data into a plurality of blocks of the block chain node respectively.
In one possible embodiment, the block link point uplink the traffic data, which includes the following steps:
if the data volume of the traffic data is larger than the storage threshold value of one block, dividing the traffic data into a plurality of fragment data smaller than the storage threshold value by a block link point;
the block link point stores a first piece of fragment data in the plurality of pieces of fragment data to a current block link point;
and the block chain nodes randomly select other block chain nodes except the current block chain link point in a mode of verifying a random function VRF, and the other block chain link points store the data except the first piece of fragment data in the plurality of pieces of fragment data.
Alternatively, if the traffic server determines that the data size of the traffic data to be sent is too large and is greater than the set data capacity threshold, the hash value of the traffic data may be calculated and sent to the blockchain node for uplink. When a user inquires the traffic data, whether the traffic data stored on the traffic server is real or not can be verified through inquiring the hash value on the link point of the block and the corresponding relation between the hash value and the original traffic data, whether the traffic data is tampered or not is judged, and storage and authenticity supervision of the traffic data based on the traffic server and the block chain are achieved.
In one possible embodiment, the traffic data is structured data, and each attribute of the traffic data is linked, and the attribute of the traffic data includes: geographic location and time.
In one possible embodiment, the method further comprises the steps of:
the block chain node receives digital currency mortised by a traffic server, and allocates corresponding resources for the traffic server, wherein the resources are used for uplink of traffic data sent by the traffic server; the resources include: network resources, CPU resources, and memory resources.
Specifically, in the above scheme, the uplink mode of the traffic data is to obtain the block chain resource used for uplink of the traffic data by mortgage of a certain digital currency, and pay the uplink fee of the traffic data at the block chain node.
It is understood that the allocated blockchain resource may be a CPU, a network resource NET or a RAM. The traffic data is sent to the blockchain node in a mortgage manner, each time the uplink does not send uplink fee independently, but the blockchain resources are consumed, and the mortgage is needed to obtain the blockchain resources so as to pay the uplink fee of the traffic data at the blockchain node.
Optionally, in the above scheme, the uplink mode of the traffic data may be replaced by: the traffic server sends traffic data to the block chain nodes in a transfer mode so that the block chain nodes can execute a cochain process, wherein transfer information sent by the traffic server comprises: from address, to address, traffic data, commission fees. Specifically, the from address is an address of a traffic server, the to address is an address of a blockchain node, and the commission charge is a charge of resources occupied by uplink of the paid traffic data.
Wherein the commission may be digital currency.
It can be understood that after the block link node passes the authentication of the traffic server, the resource fee check is also needed before the uplink of the traffic data. The resource fee means: the resource size and resource fee check of the received traffic data uplink refers to judging whether the resource purchased by the traffic server is larger than the resource fee, if so, the resource fee check is passed, otherwise, the check is not passed.
Fig. 2 is an architecture diagram of a traffic data uplink device of an internet of things based on a block chain, as shown in fig. 2, the device includes: a traffic data receiving unit 210, a traffic data uplink unit 220, and a resource allocation unit 230.
The traffic data receiving unit 210 is configured to receive traffic data sent by a traffic server, where the traffic data is collected by a traffic camera and sent to the traffic server through the internet of things, and the traffic data includes: weather conditions, traffic light signals, number of road vehicles and speed of movement of road vehicles;
a traffic data uplink unit 220, configured to perform identity verification on the traffic server, and if the identity verification passes, the block link point performs uplink after performing consensus on the traffic data.
In one possible embodiment, if the data amount of the traffic data is greater than the storage threshold of one block, the traffic data uplink unit 220 divides the traffic data into a plurality of pieces of data smaller than the storage threshold; and respectively storing the plurality of fragment data into a plurality of blocks of the block chain node.
In one possible embodiment, if the data amount of the traffic data is greater than the storage threshold of one block, the traffic data uplink unit 220 divides the traffic data into a plurality of pieces of data smaller than the storage threshold; storing a first piece of fragment data in the plurality of piece of fragment data to a current block link point; and randomly selecting other block chain nodes except the current block chain node point in a mode of verifying a random function VRF, and storing data except the first piece of fragment data in the plurality of pieces of fragment data by the other block chain nodes.
A resource allocation unit 230, configured to receive digital currency mortared by a traffic server, and allocate, to the traffic server, a corresponding resource, where the resource is used for uplink of traffic data sent by the traffic server; the resources include: network resources, CPU resources, and memory resources.
The processing procedure related to each unit in fig. 2 can refer to the specific method embodiment shown in fig. 1, and is not described herein again.
Those of skill would further appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by a program, and the program may be stored in a computer-readable storage medium, which is a non-transitory (non-transitory) medium, such as a random access memory, a read only memory, a flash memory, a hard disk, a solid state disk, a magnetic tape (magnetic tape), a floppy disk (floppy disk), an optical disk (optical disk) and any combination thereof.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (10)

1. A traffic data chaining method of the Internet of things based on a block chain is characterized by comprising the following steps:
the block chain link point receives traffic data sent by the traffic server, the traffic data is collected by a traffic camera and sent to the traffic server through the Internet of things, and the traffic data comprises: weather conditions, traffic light signals, number of road vehicles and speed of movement of road vehicles;
and carrying out identity verification on the traffic server by the block link point, and if the identity verification passes, carrying out cochain on the traffic data by the block link point after the common identification.
2. The method of claim 1, wherein the block link point uplinks the traffic data, comprising:
if the data volume of the traffic data is larger than the storage threshold value of one block, dividing the traffic data into a plurality of fragment data smaller than the storage threshold value by a block link point;
the block chain node stores a plurality of fragment data into a plurality of blocks of the block chain node respectively.
3. The method of claim 1, wherein the block link point uplinks the traffic data, comprising:
if the data volume of the traffic data is larger than the storage threshold value of one block, dividing the traffic data into a plurality of fragment data smaller than the storage threshold value by a block link point;
the block link point stores a first piece of fragment data in the plurality of pieces of fragment data to a current block link point;
and the block chain nodes randomly select other block chain nodes except the current block chain link point in a mode of verifying a random function VRF, and the other block chain link points store the data except the first piece of fragment data in the plurality of pieces of fragment data.
4. The method of claim 1, wherein the traffic data is structured data, wherein each attribute of the traffic data is linked, and wherein the attributes of the traffic data comprise: geographic location and time.
5. The method of claim 1, further comprising the steps of:
the block chain node receives digital currency mortised by a traffic server, and allocates corresponding resources for the traffic server, wherein the resources are used for uplink of traffic data sent by the traffic server; the resources include: network resources, CPU resources, and memory resources.
6. The utility model provides a traffic data cochain equipment of thing networking based on block chain which characterized in that includes:
the traffic data receiving unit is used for receiving traffic data sent by the traffic server, the traffic data is collected by a traffic camera and is sent to the traffic server through the Internet of things, and the traffic data comprises: weather conditions, traffic light signals, number of road vehicles and speed of movement of road vehicles;
and the traffic data uplink unit is used for carrying out identity verification on the traffic server, and if the identity verification passes, the block link point carries out uplink after the traffic data is identified together.
7. The apparatus of claim 6, wherein if the data amount of the traffic data is greater than a storage threshold of one block, the uplink traffic data unit divides the traffic data into a plurality of pieces of data smaller than the storage threshold; and respectively storing the plurality of fragment data into a plurality of blocks of the block chain node.
8. The apparatus of claim 6, wherein if the data amount of the traffic data is greater than a storage threshold of one block, the uplink traffic data unit divides the traffic data into a plurality of pieces of data smaller than the storage threshold; storing a first piece of fragment data in the plurality of piece of fragment data to a current block link point; and randomly selecting other block chain nodes except the current block chain node point in a mode of verifying a random function VRF, and storing data except the first piece of fragment data in the plurality of pieces of fragment data by the other block chain nodes.
9. The apparatus of claim 6, further comprising:
the resource allocation unit is used for receiving digital currency mortised by a traffic server and allocating corresponding resources for the traffic server, wherein the resources are used for uplink of traffic data sent by the traffic server; the resources include: network resources, CPU resources, and memory resources.
10. A computer-readable storage medium, having a computer program stored thereon, which, when being executed by a processor, implements the method for uplink of traffic data of a blockchain-based internet of things according to any one of claims 1 to 5.
CN201910905747.4A 2019-09-24 2019-09-24 Traffic data chaining method and device of Internet of things based on block chain Pending CN110648534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910905747.4A CN110648534A (en) 2019-09-24 2019-09-24 Traffic data chaining method and device of Internet of things based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910905747.4A CN110648534A (en) 2019-09-24 2019-09-24 Traffic data chaining method and device of Internet of things based on block chain

Publications (1)

Publication Number Publication Date
CN110648534A true CN110648534A (en) 2020-01-03

Family

ID=68992528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910905747.4A Pending CN110648534A (en) 2019-09-24 2019-09-24 Traffic data chaining method and device of Internet of things based on block chain

Country Status (1)

Country Link
CN (1) CN110648534A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414425A (en) * 2020-03-25 2020-07-14 武汉纵横智慧城市股份有限公司 Traffic signal updating method, equipment, storage medium and device based on block chain
CN111599167A (en) * 2020-03-20 2020-08-28 郑素娟 Real-time index measuring platform applying block chain data storage
CN113132950A (en) * 2021-06-21 2021-07-16 智己汽车科技有限公司 Method and device for processing driving data based on block chain
CN113223299A (en) * 2021-04-23 2021-08-06 迈锐数据(北京)有限公司 Geomagnetic detection equipment and geomagnetic detection system capable of constructing traffic structured database
CN114205088A (en) * 2021-11-01 2022-03-18 黄传明 Intelligent traffic facility management method and system based on double block chains

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111599167A (en) * 2020-03-20 2020-08-28 郑素娟 Real-time index measuring platform applying block chain data storage
CN111414425A (en) * 2020-03-25 2020-07-14 武汉纵横智慧城市股份有限公司 Traffic signal updating method, equipment, storage medium and device based on block chain
CN111414425B (en) * 2020-03-25 2023-03-14 武汉纵横智慧城市股份有限公司 Traffic signal updating method, equipment, storage medium and device based on block chain
CN113223299A (en) * 2021-04-23 2021-08-06 迈锐数据(北京)有限公司 Geomagnetic detection equipment and geomagnetic detection system capable of constructing traffic structured database
CN113132950A (en) * 2021-06-21 2021-07-16 智己汽车科技有限公司 Method and device for processing driving data based on block chain
CN113132950B (en) * 2021-06-21 2022-02-15 智己汽车科技有限公司 Method and device for processing driving data based on block chain
CN114205088A (en) * 2021-11-01 2022-03-18 黄传明 Intelligent traffic facility management method and system based on double block chains

Similar Documents

Publication Publication Date Title
CN110648534A (en) Traffic data chaining method and device of Internet of things based on block chain
US20200286162A1 (en) Method and server for managing shared vehicles
CN110554616B (en) Intelligent home data chaining method and system of Internet of things on block chain
CN110660466A (en) Personal health data chaining method and system of Internet of things by combining block chains
CN109544982B (en) Parking information sharing method and system
CN110620777A (en) Smoke monitoring data uplink method and system of Internet of things on block chain
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
CN111222841B (en) Block chain-based data distribution method and equipment and storage medium thereof
CN111292174A (en) Tax payment information processing method and device and computer readable storage medium
CN105991596A (en) Access control method and system
Zhou et al. A decentralized car-sharing control scheme based on smart contract in internet-of-vehicles
CN110599144B (en) Network access method and device for blockchain nodes
CN110633326A (en) Method and system for uplink of weather data of Internet of things on block chain
CN110874738A (en) Method and device for collecting and processing traffic violation information of intelligent traffic control and intelligent traffic control
CN110910099A (en) Method for realizing labor contract and related equipment
CN110619023A (en) Water source detection data chaining method and device of Internet of things by combining block chains
CN116055052A (en) Block chain-based data processing method, device, equipment and readable storage medium
Huang et al. BCoV: A covergence of blockchain and IoV
CN110677403A (en) Sound detection data chaining method and device of Internet of things applying block chains
CN110647769A (en) Indoor air detection data chaining method and equipment of Internet of things by combining block chains
CN110674219A (en) Block chain based ambient air detection data chaining method and equipment for Internet of things
US20230276482A1 (en) Resource selection for 5g nr v2x communications
CN110245763A (en) A kind of network based on data-link about vehicle method, apparatus and data-link node
CN113992705A (en) Vehicle networking system construction method, device, equipment and medium based on block chain
Rao et al. An Innovative Methodology for Network Latency Detection Based on IoT Centered Blockchain Transactions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200103

WD01 Invention patent application deemed withdrawn after publication