One kind conveying traceability system and retrospect based on block chain digitlization command control information
Method
Technical field
The present invention relates to command and control technologies, more particularly to a kind of conveyed based on block chain digitlization command control information to chase after
System of tracing back and retroactive method.
Background technology
With the fast development of Internet information technique, digitized command control information interaction technique gradually enters into commander
The control technology field visual field.It refers to the life with control command existing for spreadsheet format to digitize command control information interaction
Enable information that must undergo from command terminal to controlled end the interaction for sending, and being parsed from controlled end, verifying, execute and fed back to command terminal
Process, the interactive process are widely present in the industries such as military deployment, industrial production, equipment management.
Block chain technology is a kind of decentralization, only since its inner open node can carry out electronic data and deposit
Storage, coding, verification, the technology transmitted.Under command and control technology visual angle, block chain technology can be regarded as by all distributed network sections
The digitlization command control information electronic data Internet topology of point composition, any network node can be with command terminals or controlled
The identity at end is conveyed command control information is digitized in network topology, and based on the increasing income property of block chain technology itself, no
In the block chain of disconnected extension in addition to the command control information data of nodes encoding are encrypted, other data are to whole network height
Transparent, any network node can realize effective inspection to digitizing command control information by open electronic data interface
Rope and retrospect.
Currently, when being conveyed from command terminal to controlled end to command control information in the industry, to ensure the authenticity of command information,
Most common method is constraint command terminal and the network address of controlled end, and by command control information field with the shape of communications protocol
Formula is pre-defined and externally maintains secrecy.However, because there is the wind for being ravesdropping and causing data contamination and anonymous attack in network itself
Possibility of divulging a secret also is deposited in the management of danger, communication protocol, and processing therefore leads to the problem of and is usually associated with command control information network
Paralysis, command control information data be scattered and lost and network node between communication and coordination rehabilitation cost very big consumption.
The introducing of block chain technology can ensure to digitize the height that command control information is conveyed and traced by digital signature
Confidence level, and there is no the published digitlization command and control reception and registration based on block chain and trace-back technique solution at present.It is right
In digitlization command control information interaction, the significant problem currently faced is, since command control information is conveyed and is traced
Application scenarios are more complex in consolidated network topology, and (such as single node is conveyed, multinode is conveyed, centralization traces, distributed retrospect
Deng), how will digitize command control information and realize that accurate, efficient, safety is conveyed and traced under the definition of block chain network
It will be the problem to be solved at present.
Invention content
According to the above technical problem, the present invention provides a kind of based on block chain digitlization command control information reception and registration retrospect system
System and retroactive method solve and digitize command control information reception and registration and retrospect difficult problem under complex application context.
The digitlization command control information based on block chain conveys traceability system by command terminal network node, controlled end
The distributed p 2 p of the decentralization of network node composition, deploys network node at any network node network interface
Facility;The system provides command and control based on network node function and authority definition function, for command terminal network node
Information conveys scene defined function, and providing command control information for controlled end network node traces scene defined function, accordingly
Network node data encapsulation function is provided.In the case where command control information traces scene, to meeting the network section of retrospect context restrictions
Point has data and provides function.
Its specific retroactive method is:
Command terminal network node is according to the command terminal mark and network address, controlled end for digitizing command control information first
Mark and network address, command and control command information data generate command control information metadata;
It is then based on the corresponding information transmit-receive network node facility of the command control information metadata to send, determines the commander
The reception and registration scene for controlling information metadata is being determined for compliance with the case where optional network specific digit command control information conveys scene requirement
Under, which carries out coding encapsulation with scene information, network time stamp is conveyed, and is sent to not into network
With in controlled end network node;
And then controlled end network node is according to the corresponding reception and registration scene information of the command control information metadata encapsulated, net
Network timestamp parsing digitlization command control information data, and by controlled end mark and network address, command terminal mark and network
Address, command and control instruction execution feedback information data generate command control information feedback data, command control information feedback
Data carry out coding encapsulation with retrospect scene information, network time stamp, are sent into network, and calculated according to block chain digital signature
Method forms the command control information feedback data block chain encapsulated along network time stamp information;
Finally, all network nodes can according to the corresponding retrospect scene information of the command control information feedback data encapsulated,
Network time stamp traces digitlization command control information interaction scenario.
The network node is hardware device or software program;The network node can carry out function to all network nodes
With the definition of permission, to realize to the coding of command control information metadata and command control information feedback data;Network section
Point can trace scene according to the digitlization command control information of definition and be parsed to digitlization command and control interaction scenario.
The command terminal network node can convey scene to determine command and control by the digitlization command control information of definition
Whether information metadata meets scene requirement, and scene information is encapsulated into the metadata, and controlled end network node can be by fixed
Scene information is encapsulated into command control information feedback data by the digitlization command control information retrospect scene of justice.
Beneficial effects of the present invention are:The present invention is a kind of digitlization command control information reception and registration retrospect based on block chain
Method solves and digitizes command control information reception and registration and retrospect difficult problem under complex application context.The present invention utilizes block
The decentralization faith mechanism of chain technology is encoded and is fed back to digitlization command control information, in digitlization command and control letter
It ceases in data transfer, by the information command terminal of net definitions and the judgement of controlled end, determining digitlization command and control
The reception and registration of information and retrospect pattern, to realize the interaction of digitlization command control information.The digitlization command and control of the present invention
Information reception and registration and retroactive method and facility can realize that digitlization command and control instruct accurate, efficient, secure interactive function, solve
The digitlization command control information as caused by complex application context in consolidated network topology of having determined, which is conveyed, and retrospect is difficult asks
Topic.
Description of the drawings
Fig. 1 is a kind of residing net of digitlization command control information interaction based on block chain provided in an embodiment of the present invention
Network data flow diagram;
Fig. 2 is a kind of digitlization command control information Internet signal based on block chain provided in an embodiment of the present invention
Figure;
Fig. 3 is that a kind of digitlization command control information based on block chain provided in an embodiment of the present invention conveys retroactive method
Flow chart;
Fig. 4 is a kind of digitlization command control information interworking network node based on block chain provided in an embodiment of the present invention
Functional block diagram.
Fig. 5 is that digitlization command control information provided in an embodiment of the present invention conveys retrospect typical scene single-point to convey concentration
Formula traces schematic diagram;
Fig. 6 is that digitlization command control information provided in an embodiment of the present invention conveys retrospect typical scene multiple spot to convey concentration
Formula traces schematic diagram;
Fig. 7 is that digitlization command control information provided in an embodiment of the present invention conveys retrospect typical scene single-point to convey distribution
Formula traces schematic diagram;
Fig. 8 is that digitlization command control information provided in an embodiment of the present invention conveys retrospect typical scene multiple spot to convey distribution
Formula traces schematic diagram;
Specific implementation mode
According to the figure, invention is further explained for root:
Embodiment 1
The present invention provides one kind and conveying traceability system and retroactive method based on block chain digitlization command control information, this is
The distributed p 2 p for the decentralization that system is made of command terminal network node, controlled end network node, any network node
Network node facility is deployed at network interface;The system by network node function and authority definition function based on, for
Command terminal network node provides command control information and conveys scene defined function, and command and control are provided for controlled end network node
Information tracing scene defined function provides network node data encapsulation function accordingly.It is right in the case where command control information traces scene
The network node for meeting retrospect context restrictions has data offer function.Its specific retroactive method is:
Command terminal network node is according to the command terminal mark and network address, controlled end for digitizing command control information first
Mark and network address, command and control command information data generate command control information metadata;
It is then based on the corresponding information transmit-receive network node facility of the command control information metadata to send, determines the commander
The reception and registration scene for controlling information metadata is being determined for compliance with the case where optional network specific digit command control information conveys scene requirement
Under, which carries out coding encapsulation with scene information, network time stamp is conveyed, and is sent to not into network
With in controlled end network node;
And then controlled end network node is according to the corresponding reception and registration scene information of the command control information metadata encapsulated, net
Network timestamp parsing digitlization command control information data, and by controlled end mark and network address, command terminal mark and network
Address, command and control instruction execution feedback information data generate command control information feedback data, command control information feedback
Data carry out coding encapsulation with retrospect scene information, network time stamp, are sent into network, and calculated according to block chain digital signature
Method forms the command control information feedback data block chain encapsulated along network time stamp information;
Finally, all network nodes can according to the corresponding retrospect scene information of the command control information feedback data encapsulated,
Network time stamp traces digitlization command control information interaction scenario.
The network node is hardware device or software program;The network node can carry out function to all network nodes
With the definition of permission, to realize to the coding of command control information metadata and command control information feedback data;Network section
Point can trace scene according to the digitlization command control information of definition and be parsed to digitlization command and control interaction scenario.
Attached drawing 2 shows the digitlization command control information Internet topology provided by the invention based on block chain
Meaning, the system are by any number of command terminal network nodes, point of the decentralization of any number of controlled end network node compositions
Cloth peer-to-peer network deploys network node at any network node network interface.
Attached drawing 4 carries out the digitlization command control information interworking network node function provided by the invention based on block chain
Description.The facility provides commander's control based on network node function and authority definition function, for command terminal network node
Information processed conveys scene defined function, and providing command control information for controlled end network node traces scene defined function, according to
This provides network node data encapsulation function.In the case where command control information traces scene, to meeting the network of retrospect context restrictions
Node has data and provides function.
Below in conjunction with the accompanying drawings 1, attached drawing 3 chases after the digitlization command control information reception and registration provided by the invention based on block chain
The method of tracing back is described in detail.
Step 301, command terminal network node 101 in the command control information Internet is digitized to initiate to controlled end network
The command and control of node 105 instruct, which includes instruction transmitting side marking and network address such as { id:101,
addr:10.0.0.101 }, including instruction reciever mark and network address such as { id:105,addr:10.0.0.105 }, including
Command and control command information such as { cmd:Hold-on }, command terminal network node 101 integrates above- mentioned information and generates command control information
Metadata 102 such as { fr:[{id:101,addr:10.0.0.101}],to:[{id:105,addr:10.0.0.105}],cmd:
hold-on}。
Step 302, the digitlization command control information interworking network node 103 of command terminal network node 101 is according in it
The defined network node function in portion conveys scene (4 function of attached drawing with permission (4 function 401 of attached drawing) and command control information
402) determine whether command control information metadata 102 meets node functional authority and command control information conveys scene about
Beam.Such as meet constraint, which conveys command control information to scene information such as { s-scene:Single-cmd } and
Network time stamp such as { timestamp:201612120003258638 } it is packaged with command control information metadata 203 (attached
Fig. 4 functions 404), and the command control information metadata 104 encapsulated is sent to the entire Internet.
Step 303, controlled end network node 105 can receive commander by digitizing the command control information Internet
The command control information metadata 104 encapsulated that end 101 network node 103 of network node is sent to the whole network, completes digitlization
Command control information conveys business.
Step 304, controlled end network node 105 parses the command control information metadata 104 encapsulated, obtains commander's control
Command information { cmd processed:Hold-on } and the instruction is executed, implementing result such as { res are obtained after execution:Success }, by it with
Feed back transmitting side marking and network address such as { id:105,addr:10.0.0.105, feedback reciever mark and network address such as
{id:101,addr:10.0.0.101 above- mentioned information } is integrated by controlled end network node 105 and generates command control information feedback coefficient
According to 106 such as { fr:[{id:105,addr:10.0.0.105}],to:[{id:101,addr:10.0.0.101}],res:
success}。
Step 305, in 107 1 innings of chesses of digitlization command control information interworking network node of controlled end network node 105
The network node function that portion defines and permission (4 function 401 of attached drawing), and controlled in information metadata 104 by encapsulated command
Command control information convey scene to judge that defined command control information traces scene (function 403 in attached drawing 4) such as { r-
scene:Multi-recv }, by it and network time stamp such as { timestamp:2016121200033089745 }, command and control
Information feedback data 106 is packaged (4 function 404 of attached drawing), and by the command control information feedback data 109 encapsulated to whole
A network is sent.Block chain network, can be by the command control information feedback data 109 encapsulated by it by Digital Signature Algorithm
Network time stabs and forms data block chain with data 108 earlier, and retains digital signature interface to following data 110.
Step 306, the digitlization command control information interworking network node 111 of any network node 112 can be from having sealed
The data block chain that the command control information feedback data 109 of dress is formed with its data 108 earlier and following data 110
In data initiate command control information retrospect scene judgement, such as meet command control information retrospect context restrictions, network node
110 will provide network node 112 data (4 function 405 of attached drawing), to assist it to digitizing command control information interactive process
It is traced.
Fig. 5-Fig. 8 to digitlization command control information provided by the invention based on block chain convey retrospect typical scene into
Example is gone, including single-point conveys centralization retrospect scene 501, multiple spot to convey centralization retrospect 502, single-point that distribution is conveyed to chase after
Scene of tracing back 503, multiple spot convey distributed retrospect scene 504.It illustrates, solution provided by the invention is not limited in attached
Typical scene in Fig. 5.
The above is only a preferred embodiment of the present invention, it is noted that for the common skill of the art
For art personnel, without departing from the principle of the present invention, several improvement can also be made, these improvement also should be regarded as this hair
Bright protection domain.