CN108683655A - A kind of safe storage system of the block chain from chain data - Google Patents
A kind of safe storage system of the block chain from chain data Download PDFInfo
- Publication number
- CN108683655A CN108683655A CN201810434071.0A CN201810434071A CN108683655A CN 108683655 A CN108683655 A CN 108683655A CN 201810434071 A CN201810434071 A CN 201810434071A CN 108683655 A CN108683655 A CN 108683655A
- Authority
- CN
- China
- Prior art keywords
- node
- chain
- module
- data
- video data
- 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.)
- Withdrawn
Links
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 230000005540 biological transmission Effects 0.000 claims abstract description 27
- 238000012423 maintenance Methods 0.000 claims abstract description 12
- 238000012545 processing Methods 0.000 claims abstract description 3
- 238000011156 evaluation Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 claims description 3
- 238000004220 aggregation Methods 0.000 claims description 2
- 230000002776 aggregation Effects 0.000 claims description 2
- 238000012790 confirmation Methods 0.000 claims description 2
- 241000238876 Acari Species 0.000 claims 1
- 238000007689 inspection Methods 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000004364 calculation method Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000021715 photosynthesis, light harvesting Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2347—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4408—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of safe storage system of the block chain from chain data, including encrypting module, data categorization module, maintenance of information module, route search module, data transmission blocks, memory module, data backup module and block chain main chain, the encrypting module is for input to be encrypted from chain video data;The data categorization module from chain video data to encrypted for carrying out classification processing;Described information maintenance module is for safeguarding the hop-information from chain video data;The route search module is scanned for for carrying out from chain video data transmission path;The data transmission blocks be used for the route search block search to path in select optimal path carry out from chain video data send.One aspect of the present invention reduces loss of data risk problem by block chain technology, on the other hand improves speed and quality from chain video data transmission.
Description
Technical field
The present invention relates to field of data storage, and in particular to a kind of safe storage system of the block chain from chain data.
Background technology
Multiple nodes that block chain technology in the prior art needs P2P network connections are safeguarded and just can guarantee data jointly
Safety, the operations such as record, the storage of data in block chain can carry out after needing multiple nodes to confirm jointly, thus will
One is led to the problem of, being exactly network delay may cause data asynchronous.Bandwidth, message transmission rate in real network, net
Can all there be certain delay in association etc., and a key problem of block chain technology is exactly multiterminal data backup, manufacture redundancy, with drop
Low loss of data risk, when so big data payload enters in network, delay undoubtedly can also increase therewith.
Invention content
In view of the above-mentioned problems, the present invention is intended to provide a kind of safe storage system of the block chain from chain data.
The purpose of the present invention is realized using following technical scheme:
A kind of safe storage system of the block chain from chain data, including encrypting module, data categorization module, maintenance of information mould
Block, route search module, data transmission blocks, memory module, data backup module and block chain main chain, the encrypting module are used
In input is encrypted from chain video data;The data categorization module is used to carry out from chain video data to encrypted
Classification is handled;Described information maintenance module is for safeguarding the hop-information from chain video data;The route search mould
Block is scanned for for carrying out from chain video data transmission path;The data transmission blocks are used for the route search module
Optimal path is selected sent from chain video data in the path searched.
Beneficial effects of the present invention are:One aspect of the present invention reduces loss of data risk problem by block chain technology,
On the other hand the speed and quality from chain video data transmission are improved, ensures that multiterminal data synchronize as far as possible.
Description of the drawings
Using attached drawing, the invention will be further described, but the embodiment in attached drawing does not constitute any limit to the present invention
System, for those of ordinary skill in the art, without creative efforts, can also obtain according to the following drawings
Other attached drawings.
Fig. 1 is the frame construction drawing of the present invention.
Reference numeral:
Encrypting module 101, data categorization module 102, maintenance of information module 103, route search module 104, data are sent
Module 105, memory module 106, data backup module 107 and block chain main chain 108.
Specific implementation mode
In conjunction with following application scenarios, the invention will be further described.
Referring to Fig. 1, including encrypting module 101, data categorization module 102, maintenance of information module 103, route search module
104, data transmission blocks 105, memory module 106, data backup module 107 and block chain main chain 108, the encrypting module
101 for input to be encrypted from chain video data;The data categorization module 102 is used for encrypted from chain video
Data carry out classification processing;Described information maintenance module 103 is for safeguarding the hop-information from chain video data;It is described
Route search module 104 is scanned for for carrying out from chain video data transmission path;The data send 105 pieces of mould for pair
Optimal path is selected sent from chain video data in the path that the route search module 104 searches.
Preferably, the memory module is reliably deposited what the data transmission blocks were sent from chain video data
Storage, includes at least hard-disc storage and cloud disk stores.
Preferably, the set tactful by the memory module of block chain main chain is written according to system in the data backup module
From chain video data be written block chain main chain.
On the one hand the above embodiment of the present invention reduces loss of data risk problem by block chain technology, on the other hand
The speed and quality from chain video data transmission are improved, ensures that multiterminal data synchronize as far as possible.
Preferably, the data categorization module flows into video using MPEG-4 modes from chain video data to encrypted
Row coding, obtained by multiple frames form from chain video data, these frames are divided into three classes, and are I frames, P frames and B frames respectively, and
The preferential transmitting for ensuring I frames and P frames.
Preferably, described information maintenance module carries out a hop-information maintenance, and each node is periodically sent to neighbor node
State message reports the status information of oneself, including node ID, dump energy, position etc., and is longer by the cycle set
Time, after other nodes receive state message, first the information of neighbor nodes table of oneself (information of neighbor nodes table include neighbour
Node ID, coordinate, dump energy, state and information update time) in search, if finding the node, just update the node
The node is just put into table by status information and arrival time if do not found;In addition, each node is also periodically to the neighbour of oneself
Informational table of nodes checked, if certain information is more than not update yet after the long period, illustrate to node death or
Person is excessively busy, is all disabled to this node, should delete it from table.
The above embodiment of the present invention will be divided into I frames, P frames and B frames from chain video data and transmit respectively first, ensure not
While reduction from chain video quality, the transmission energy consumption from chain video data is reduced, and then extend the service life of present system;
And a hop-information is safeguarded, validity when advantageous Mr. Yu's node is transmitted to neighbor node from chain video data, subtract significantly
Few transmission rollback phenomenon.
Preferably, the route search module searches for the road as much as possible from source node to aggregation node in a network
Diameter, including:
(1) source node finds an available neighbor node from critical point information table, and sends out one to it and seek packet,
This is sought in packet comprising necessary informations such as source node, destination nodes;
(2) intermediate node finds available neighbor node using Greedy strategy, if it is found, packet then is sought to its forwarding,
If can not find, upper hop point sends out obstruction information, seeks path again by upper hop point, repeats this step, until supporting
Up to destination node;
Route searching all selects optimal neighbor node to turn using greedy forwarding strategy mechanism, i.e., each hop node
It sends out from chain video data, a certain node p carries out the evaluation of its neighbor node q by following self-defined judgement schematics:
Wherein, XpqIndicate that evaluations of estimate of the node p to node q, R (q, k) indicate node q to the distance of destination node k, Rmax
(p) maximum value of distance k in all neighbor nodes of node p, R are indicatedmin(p) distance k in all neighbor nodes of node p
Minimum value, g0(q) primary power of node q, g are indicated1(q) current remaining of node q is indicated;
μ indicates energy coefficient, gmax(p) maximum value of dump energy in all neighbor nodes of node p, g are indicatedmin(p)
Indicate the minimum value of dump energy in all neighbor nodes of node p;
(3) destination node receives seek packet after, return to " confirmation " information along original route, and by all nodes of process
Labeled as " occupancy " state, until arriving at source node.
The above embodiment of the present invention selects transmission node with fallback mechanism using Greedy strategy, ensures from chain
Effective, the quick transmission of video data, is conducive to that good balance can be reached between service delay and node lifetime, and retracts
The introducing of mechanism is then to avoid cavity and blind area in transmission from chain video data, has well solved previous section
The problem of point deployment unevenness is brought.
Preferably, it the data transmission blocks and is not fixed and sends certain class data using a certain item or several paths,
But selected according to the situation in path, detailed process is as follows:
(1) QoS (service quality) evaluation of estimate in all paths is calculated, and is ranked up according to this value, it will be all
Path is divided into three classes, wherein the evaluation of estimate highest of the first kind, and the transmission for I frames uses, and the second class is taken second place, and is used for P frames, third
Class is minimum, is used for B frames;
(2) it is sent from reading frame category information in the header of chain video data packet from pending, and from corresponding path classification
Choose the best path of evaluation of estimate;
(3) path chosen will be sent to from chain video data packet, and update the path from chain video data packet quantitative value;
The calculation formula of wherein QoS evaluations of estimate is as follows:
Wherein, YaIndicate node to the QoS evaluations of estimate of path a, JaIndicate the hop count of path a, ∑ JaIndicate that source node is all
The sum of the hop count in path, V indicate the quantity from chain video data packet sent on a of path, ∑ VaIndicate that source node has been sent out
That send is total from chain video data packet;
μ indicates that coefficient of energy dissipation, calculation formula are as follows:
The above embodiment of the present invention, a upper module select preferably from chain video data transmission path after, according to need
What is sent finally determines actual transmission paths from chain video data, according to route jumping figure, the quantity from chain video data packet
Carry out Synthesize estimation so that each preferred transmission path load can be balanced, and then extends the life cycle of network.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than the present invention is protected
The limitation of range is protected, although being explained in detail to the present invention with reference to preferred embodiment, those skilled in the art answer
Work as understanding, technical scheme of the present invention can be modified or replaced equivalently, without departing from the reality of technical solution of the present invention
Matter and range.
Claims (6)
1. a kind of safe storage system of the block chain from chain data, characterized in that including encrypting module, data categorization module, letter
Maintenance module, route search module, data transmission blocks, memory module, data backup module and block chain main chain are ceased, it is described to add
Close module is for input to be encrypted from chain video data;The data categorization module is used for encrypted from chain video
Data carry out classification processing;Described information maintenance module is for safeguarding the hop-information from chain video data;The road
It is scanned for from chain video data transmission path by retrieval module for carrying out;The data transmission blocks are used for the routing
Retrieval block search to path in select optimal path carry out from chain video data send.
2. a kind of safe storage system of the block chain from chain data according to claim 1, characterized in that the storage mould
Block carries out reliable memory by what the data transmission blocks were sent from chain video data, includes at least hard-disc storage and cloud disk
Storage.
3. a kind of safe storage system of the block chain from chain data according to claim 1, characterized in that the data are standby
Block chain is written from chain video data in the memory module by the set strategy that block chain main chain is written according to system for part module
Main chain.
4. a kind of safe storage system of the block chain from chain data according to claim 1, characterized in that the data point
Generic module encodes video flowing using MPEG-4 modes from chain video data to encrypted, has obtained being made of multiple frames
From chain video data, these frames are divided into three classes, and are I frames, P frames and B frames respectively, and preferentially ensure the reliable biography of I frames and P frames
It is defeated.
5. a kind of safe storage system of the block chain from chain data according to claim 4, characterized in that described information is tieed up
It protects module and carries out a hop-information maintenance, each node periodically sends state message to neighbor node, reports the state letter of oneself
Breath, including node ID, dump energy, position etc., and be longer time by the cycle set, other nodes receive state report
Wen Hou, in the information of neighbor nodes table of oneself, (information of neighbor nodes table includes neighbors ID, coordinate, dump energy, state first
With the information update time) in search, if finding the node, status information and the arrival time of the node are just updated, if not
It finds, just the node is put into table;In addition, each node also periodically checks the neighborhood information table of oneself, if certain
Information is more than not update yet after the long period, then illustrates dead or excessively busy to node, is all not to this node
It is available, it should be deleted from table.
6. a kind of safe storage system of the block chain from chain data according to claim 5, characterized in that the routing inspection
Rope module searches for the path as much as possible from source node to aggregation node in a network, including:
(1) source node finds an available neighbor node from critical point information table, and sends out one to it and seek packet, the spy
It seeks in packet comprising necessary informations such as source node, destination nodes;
(2) intermediate node finds available neighbor node using Greedy strategy, if it is found, packet then is sought to its forwarding, if
It can not find, then upper hop point sends out obstruction information, seeks path again by upper hop point, repeats this step, until arriving at mesh
Node;
Route searching using greedy forwarding strategy mechanism, i.e., each hop node all select optimal neighbor node forward from
Chain video data, a certain node p carry out the evaluation of its neighbor node q by following self-defined judgement schematics:
Wherein, XpqIndicate that evaluations of estimate of the node p to node q, R (q, k) indicate node q to the distance of destination node k, Rmax(p) table
Show the maximum value of distance k in all neighbor nodes of node p, Rmin(p) in all neighbor nodes of node p distance k minimum
Value, g0(q) primary power of node q, g are indicated1(q) current remaining of node q is indicated;
μ indicates energy coefficient, gmax(p) maximum value of dump energy in all neighbor nodes of node p, g are indicatedmin(p) it indicates
The minimum value of dump energy in all neighbor nodes of node p;
(3) destination node receives seek packet after, return to " confirmation " information along original route, and by all vertex ticks of process
For " occupancy " state, until arriving at source node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810434071.0A CN108683655A (en) | 2018-05-08 | 2018-05-08 | A kind of safe storage system of the block chain from chain data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810434071.0A CN108683655A (en) | 2018-05-08 | 2018-05-08 | A kind of safe storage system of the block chain from chain data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108683655A true CN108683655A (en) | 2018-10-19 |
Family
ID=63805170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810434071.0A Withdrawn CN108683655A (en) | 2018-05-08 | 2018-05-08 | A kind of safe storage system of the block chain from chain data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108683655A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109729170A (en) * | 2019-01-09 | 2019-05-07 | 武汉巨正环保科技有限公司 | A kind of cloud computing data backup of new algorithm and restoring method |
CN109951389A (en) * | 2019-03-06 | 2019-06-28 | 篱笆墙网络科技有限公司 | Storage method of the block chain from chain data, device, equipment and storage medium |
CN111711567A (en) * | 2020-06-12 | 2020-09-25 | 杭州溪塔科技有限公司 | Block chain-based network message transmission method and device and electronic equipment |
CN112054878A (en) * | 2020-08-18 | 2020-12-08 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | Method, device and equipment for data transmission based on block chain and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409940A (en) * | 2008-08-26 | 2009-04-15 | 中国人民解放军海军工程大学 | Route selection method for wireless sensor network facing to target tracking application |
CN107135661A (en) * | 2016-12-26 | 2017-09-05 | 深圳前海达闼云端智能科技有限公司 | Data processing method, device, system and information collecting device |
CN107480559A (en) * | 2017-08-25 | 2017-12-15 | 北京中星仝创科技有限公司 | Safe storage system and method for a kind of block chain from chain data |
WO2018004888A1 (en) * | 2016-06-30 | 2018-01-04 | Intel Corporation | Wireless display streaming of protected content |
CN107948603A (en) * | 2017-12-07 | 2018-04-20 | 北海市天硌打印耗材有限公司 | A kind of production monitoring video sharing method |
-
2018
- 2018-05-08 CN CN201810434071.0A patent/CN108683655A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409940A (en) * | 2008-08-26 | 2009-04-15 | 中国人民解放军海军工程大学 | Route selection method for wireless sensor network facing to target tracking application |
WO2018004888A1 (en) * | 2016-06-30 | 2018-01-04 | Intel Corporation | Wireless display streaming of protected content |
CN107135661A (en) * | 2016-12-26 | 2017-09-05 | 深圳前海达闼云端智能科技有限公司 | Data processing method, device, system and information collecting device |
CN107480559A (en) * | 2017-08-25 | 2017-12-15 | 北京中星仝创科技有限公司 | Safe storage system and method for a kind of block chain from chain data |
CN107948603A (en) * | 2017-12-07 | 2018-04-20 | 北海市天硌打印耗材有限公司 | A kind of production monitoring video sharing method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109729170A (en) * | 2019-01-09 | 2019-05-07 | 武汉巨正环保科技有限公司 | A kind of cloud computing data backup of new algorithm and restoring method |
CN109951389A (en) * | 2019-03-06 | 2019-06-28 | 篱笆墙网络科技有限公司 | Storage method of the block chain from chain data, device, equipment and storage medium |
CN111711567A (en) * | 2020-06-12 | 2020-09-25 | 杭州溪塔科技有限公司 | Block chain-based network message transmission method and device and electronic equipment |
CN112054878A (en) * | 2020-08-18 | 2020-12-08 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | Method, device and equipment for data transmission based on block chain and storage medium |
CN112054878B (en) * | 2020-08-18 | 2023-10-13 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | Block chain-based data transmission method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108683655A (en) | A kind of safe storage system of the block chain from chain data | |
CA2444363C (en) | Layered network node, network incorporating the same, node, and layered network | |
CN101888331B (en) | Method and apparatus for providing fast reroute of a unicast packet | |
CN102714629B (en) | Communication system, forward node, route managing server and communication means | |
CN100391191C (en) | Routing switch for dynamically reroutng traffic due to detection of faulty link | |
CN101656630B (en) | A kind of service protecting method and system | |
CN108806035A (en) | A kind of access control system based on block chain | |
JP2014511091A (en) | Condensed core energy efficient architecture for WANIP backbone | |
JP5561006B2 (en) | Data transfer device, data receiving device, data transfer method, and data transfer program | |
CN101888332A (en) | Be used to provide the method for quick rerouting and transmit data cell | |
JPS6268343A (en) | Routing control system in packet exchange network | |
CN108737396A (en) | A kind of system for realizing that clinical data is shared, saved from damage by block chain | |
CN104080112A (en) | Method for improving service reliability of wireless self-organizing network | |
CN101888307B (en) | The method and apparatus of port selection is realized for this locality | |
US6775229B1 (en) | Method and system for providing a protection path for connection-oriented signals in a telecommunications network | |
CN109347983A (en) | Multipath retransmission method in a kind of name data network based on network code | |
JPH02276344A (en) | Call control method for packet switching network and network controller having call control function | |
WO2021244247A1 (en) | Data message forwarding method, network node, system, and storage medium | |
CN101674217B (en) | Method for realizing permanent ring network protection in MESH network | |
CN105704021B (en) | A kind of heavy route method based on elastic label | |
JP2010177916A (en) | Node device, ring network and band control method of protection path | |
CN102082734B (en) | Service message transmission method and equipment | |
CN105871737B (en) | A kind of communication flows control device for being communicated between redundant network | |
CN103457854B (en) | A kind of message forwarding method and equipment | |
US8000250B1 (en) | Method for routing optical signals with diversity requirements |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181019 |