CN110113380A - Data transmission method and system suitable for block chain combination time series database - Google Patents

Data transmission method and system suitable for block chain combination time series database Download PDF

Info

Publication number
CN110113380A
CN110113380A CN201910276711.4A CN201910276711A CN110113380A CN 110113380 A CN110113380 A CN 110113380A CN 201910276711 A CN201910276711 A CN 201910276711A CN 110113380 A CN110113380 A CN 110113380A
Authority
CN
China
Prior art keywords
node
data
block chain
reward
network node
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
CN201910276711.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.)
In A Cloud (beijing) Technology Co Ltd
Original Assignee
In A Cloud (beijing) 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 In A Cloud (beijing) Technology Co Ltd filed Critical In A Cloud (beijing) Technology Co Ltd
Priority to CN201910276711.4A priority Critical patent/CN110113380A/en
Publication of CN110113380A publication Critical patent/CN110113380A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The embodiment of the present invention discloses a kind of data transmission method and system suitable for block chain combination time series database, wherein method includes the following steps: to record node investment data of each network node when carrying out data transmission in block chain, above-mentioned node investment data are stored into block chain, data are put into for the reward of network node distribution node, so that network node rewards the Internet of Things service for exchanging other nodes and providing based on node according to node.It using the present invention, is weighed really by block chain and reward mechanism, transfers the propagation that unused node participates in Internet technology, the delay in data transmission procedure can be avoided by block chain node transmission time sequence database.

Description

Data transmission method and system suitable for block chain combination time series database
Technical field
The present invention relates to Internet technical field more particularly to a kind of data suitable for block chain combination time series database Transmission method and system.
Background technique
Time series database is that have storage empty for the advanced database of the unstructured Internet of Things sensing data storage of magnanimity Between occupy low, performance is good, inquiry it is fast the features such as.Under normal conditions, a set of time series database generally all concentrates deployment beyond the clouds, when When Internet of Things sensing data is sent to cloud, need to communicate by local networks and cloud server.Since cross-region network passes It is defeated there are bandwidth bottleneck and delay problem, lead to there is delay for warning information caused by sensing data.
In the prior art, by disposing time series database server respectively in various regions, things-internet gateway is found according to region Nearest server uploads data, and then triggers alarm, then will be in data once noting abnormalities locally carrying out data parsing It passes to and the cloud system of deployment is concentrated to save.Widespread deployment server cost hands over height, if the local data volume for needing to acquire is little, Then can be unable to make ends meet, and due to there is no automated back-up mechanism between database, once one of acquisition server node damages, Service pause to occur.
Summary of the invention
The embodiment of the present invention provides a kind of data transmission method and system suitable for block chain combination time series database, leads to It crosses block chain to weigh really and reward mechanism, transfers the propagation that unused node participates in Internet technology, block chain node can be passed through Transmission time sequence database avoids the delay in data transmission procedure.
First aspect of the embodiment of the present invention provides a kind of transmission side data suitable for block chain combination time series database Method, it may include:
It records node of each network node when carrying out data transmission in block chain and puts into data;
Node investment data are stored into block chain;
Data are put into as the reward of network node distribution node according to node, so that network node is based on node reward and exchanges it The Internet of Things service that his node provides.
Further, the above method further include:
Node is carried out to network node each in block chain really to weigh.
Further, above-mentioned node investment data deposit the data in the time series database transmitted by network node Disk space data, internal storage data and the band data put into storage and calculating process.
Further, when being that network node distribution node is rewarded according to node investment data, the above method further include:
According to preset reward mechanism, the corresponding prize scale of node investment data is determined;
It is that node puts into the corresponding node reward of Data Matching according to prize scale.
Further, above-mentioned node reward is that token is rewarded.
Second aspect of the embodiment of the present invention provides a kind of data transmission system suitable for block chain combination time series database System, it may include:
Data recordin module puts into number for recording node of each network node when carrying out data transmission in block chain According to;
Data memory module, for storing node investment data into block chain;
Distribution module is rewarded, for putting into data for the reward of network node distribution node, so that network node according to node The Internet of Things service for exchanging other nodes and providing is provided based on node.
Further, above system further include:
Node really weighs module, really weighs for carrying out node to network node each in block chain.
Further, above-mentioned node investment data deposit the data in the time series database transmitted by network node Disk space data, internal storage data and the band data put into storage and calculating process.
Further, above-mentioned reward distribution module includes:
Level de-termination unit, for determining the corresponding prize scale of node investment data according to preset reward mechanism;
Allocation unit is rewarded, for being that node puts into the corresponding node reward of Data Matching according to prize scale.
Further, above-mentioned node reward is that token is rewarded.
In embodiments of the present invention, it is weighed really by block chain and reward mechanism, transfers unused node and participate in internet skill The propagation of art is realized through block chain node transmission time sequence database, avoids the delay in data transmission procedure, while by In the automated back-up mechanism of block chain node, pause is serviced caused by avoiding because of any node damage.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of data transmission method suitable for block chain combination time series database provided in an embodiment of the present invention Flow diagram;
Fig. 2 is a kind of data transmission system suitable for block chain combination time series database provided in an embodiment of the present invention Structural schematic diagram;
Fig. 3 is the structural schematic diagram of reward distribution module provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
Data transmission method provided in an embodiment of the present invention suitable for block chain combination time series database can be applied to In the application scenarios that block chain combination distribution time series database carries out data transmission in internet of things data.
Below in conjunction with attached drawing 1, to the data provided in an embodiment of the present invention suitable for block chain combination time series database Transmission method describes in detail.
Referring to Figure 1, for the embodiment of the invention provides a kind of data biographies suitable for block chain combination time series database The flow diagram of transmission method.As shown in Figure 1, the embodiment of the present invention the method may include following steps S101- steps S103。
S101 records node of each network node when carrying out data transmission in block chain and puts into data.
It is understood that above system can be in conjunction with block chain technology, time series database is designed to can distribution portion Administration, strange land data keep Multipoint synchronous by way of P2P.Network node in block chain can be to the number in time series database According to transmission process is carried out, which can be the processing such as storage and operation to data.
It should be noted that above system can carry out node to each network node and really weigh before carrying out data transmission.
Further, above system can recorde node investment of each network node when carrying out data transmission in block chain Data, it is to be understood that the data that network node is transmitted can be the data in time series database, and above-mentioned node puts into number According to can be consumption of the network node when transmitting data, such as it can be and storage is carried out to the data transmitted and operation waited Disk space data, internal storage data and the band data put into journey.
S102 stores above-mentioned node investment data into block chain.
It stores specifically, the node of record can be put into data by above system into block chain, for example, can be by dividing Cloth account book simultaneous techniques stores above-mentioned data.
It is understood that avoiding Single Point of Faliure by distributed account book simultaneous techniques, increasing time series database High availability.
S103 puts into data according to node as the reward of network node distribution node.
It is understood that network node consumes node when carrying out the processing such as storage and operation to data, To encourage the node to continue subsequent data processing, can according to the consumption of node number give its certain reward.
In an alternative embodiment, above system can determine the corresponding prize of node investment data according to preset reward mechanism Grade is encouraged, above-mentioned preset reward mechanism can be the reward mechanism pre-set, for example, the bigger i.e. node investment of node consumption Data are more, and corresponding node reward is bigger, and corresponding prize scale is higher.
Further, above system can be that node puts into the corresponding node reward of Data Matching according to prize scale.It is excellent Choosing, above-mentioned node reward is that token is rewarded.For example, it is 5 (only for explanation that node can be put into data materialization Node investment number, do not have the unit of any reference property), corresponding prize scale is second level, and the reward of corresponding node is 15, it is 10 that node, which puts into data materialization, and corresponding prize scale is level-one, and corresponding node reward is 25.
It is understood that node reward has the function of being similar to currency in actual life, above-mentioned network node can be with The Internet of Things service for exchanging other nodes and providing is provided based on node.
It should be noted that above system allows any one computing unit (including personal home computer or server) to pacify Distributed time series data library is filled, the node of distributed time series database and block chain is become.
In embodiments of the present invention, it is weighed really by block chain and reward mechanism, transfers unused node and participate in internet skill The propagation of art is realized through block chain node transmission time sequence database, avoids the delay in data transmission procedure, while by In the automated back-up mechanism of block chain node, pause is serviced caused by avoiding because of any node damage;By transferring section extensively Point participates in data transmission, improves the alarm response speed and availability of Internet of Things sensing data while cost is reduced.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
Below in conjunction with attached drawing 2 and attached drawing 3, it is suitable for block chain combination time series database to provided in an embodiment of the present invention Data transmission system describe in detail.It should be noted that attached drawing 2 and attached data transmission system shown in Fig. 3, for holding The method of row embodiment illustrated in fig. 1 of the present invention, for ease of description, only parts related to embodiments of the present invention are shown, tool Body technique details does not disclose, please refers to present invention embodiment shown in FIG. 1.
Fig. 2 is referred to, for the embodiment of the invention provides a kind of data biographies suitable for block chain combination time series database The structural schematic diagram of defeated system.As shown in Fig. 2, the data transmission system 10 of the embodiment of the present invention may include: data record mould Block 101, data memory module 102, reward distribution module 103 and node really weigh module 104.Wherein, distribution module 103 is rewarded such as Shown in Fig. 3, including level de-termination unit 1031 and reward allocation unit 1032.
Data recordin module 101, for recording node investment of each network node when carrying out data transmission in block chain Data.
It is understood that above system 10 can be in conjunction with block chain technology, time series database is designed to can be distributed Deployment, strange land data keep Multipoint synchronous by way of P2P.Network node in block chain can be in time series database Data carry out transmission process, which can be the processing such as storage and operation to data.
It should be noted that node is really weighed module 104 and can be saved to each network node before carrying out data transmission Point is really weighed.
Further, data recordin module 101 can recorde each network node in block chain when carrying out data transmission Node puts into data, it is to be understood that the data that network node is transmitted can be the data in time series database, above-mentioned section Point investment data can be consumption of the network node when transmit data, such as can be to the data transmitted carry out storage with Disk space data, internal storage data and the band data put into during operation etc..
Data memory module 102, for storing above-mentioned node investment data into block chain.
It stores in the specific implementation, the node of record can be put into data by data memory module 102 into block chain, example Such as, above-mentioned data can be stored by distributed account book simultaneous techniques.
It is understood that avoiding Single Point of Faliure by distributed account book simultaneous techniques, increasing time series database High availability.
Distribution module 103 is rewarded, for putting into data according to node as the reward of network node distribution node.
It is understood that network node consumes node when carrying out the processing such as storage and operation to data, To encourage the node to continue subsequent data processing, reward distribution module 103 can according to the consumption of node number give it Certain reward.
In an alternative embodiment, level de-termination unit 1031 can determine that node puts into data according to preset reward mechanism Corresponding prize scale, above-mentioned preset reward mechanism can be the reward mechanism pre-set, for example, node consumption is bigger i.e. Node investment data are more, and corresponding node reward is bigger, and corresponding prize scale is higher.
Further, reward allocation unit 1032 can be that node puts into the corresponding node of Data Matching according to prize scale Reward.Preferably, above-mentioned node reward is that token is rewarded.For example, it is 5 (only that node can be put into data materialization Illustrate node investment number, do not have the unit of any reference property), corresponding prize scale is second level, corresponding node Reward is 15, and it is 10 that node, which puts into data materialization, and corresponding prize scale is level-one, and corresponding node reward is 25.
It is understood that node reward has the function of being similar to currency in actual life, above-mentioned network node can be with The Internet of Things service for exchanging other nodes and providing is provided based on node.
It should be noted that above system 10 allows any one computing unit (including personal home computer or server) Distributed time series data library is installed, the node of distributed time series database and block chain is become.
In embodiments of the present invention, it is weighed really by block chain and reward mechanism, transfers unused node and participate in internet skill The propagation of art is realized through block chain node transmission time sequence database, avoids the delay in data transmission procedure, while by In the automated back-up mechanism of block chain node, pause is serviced caused by avoiding because of any node damage;By transferring section extensively Point participates in data transmission, improves the alarm response speed and availability of Internet of Things sensing data while cost is reduced.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of data transmission method suitable for block chain combination time series database characterized by comprising
It records node of each network node when carrying out data transmission in block chain and puts into data;
Node investment data are stored into the block chain;
Data are put into for network node distribution node reward, so that the network node is based on the section according to the node Point reward exchanges the Internet of Things service that other nodes provide.
2. the method according to claim 1, wherein the method also includes:
Node is carried out to network node each in block chain really to weigh.
3. according to the method described in claim 1, it is characterized by:
The node investment data carry out storage and operation to the data in the time series database transmitted by the network node Disk space data, internal storage data and the band data put into the process.
4. the method according to claim 1, wherein being the network node putting into data according to the node When distribution node is rewarded, the method also includes:
According to preset reward mechanism, the corresponding prize scale of the node investment data is determined;
It is that the node puts into the corresponding node reward of Data Matching according to the prize scale.
5. the method according to claim 1, wherein
The node reward is that token is rewarded.
6. a kind of data transmission system suitable for block chain combination time series database characterized by comprising
Data recordin module puts into data for recording node of each network node when carrying out data transmission in block chain;
Data memory module, for storing node investment data into the block chain;
Distribution module is rewarded, for putting into data for network node distribution node reward, so that described according to the node Network node rewards the Internet of Things service for exchanging other nodes and providing based on the node.
7. system according to claim 6, which is characterized in that the system also includes:
Node really weighs module, really weighs for carrying out node to network node each in block chain.
8. system according to claim 6, it is characterised in that:
The node investment data carry out storage and operation to the data in the time series database transmitted by the network node Disk space data, internal storage data and the band data put into the process.
9. system according to claim 6, which is characterized in that the reward distribution module includes:
Level de-termination unit, for determining the corresponding prize scale of the node investment data according to preset reward mechanism;
Allocation unit is rewarded, for being that the node puts into the corresponding node reward of Data Matching according to the prize scale.
10. system according to claim 6, it is characterised in that:
The node reward is that token is rewarded.
CN201910276711.4A 2019-04-08 2019-04-08 Data transmission method and system suitable for block chain combination time series database Pending CN110113380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910276711.4A CN110113380A (en) 2019-04-08 2019-04-08 Data transmission method and system suitable for block chain combination time series database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910276711.4A CN110113380A (en) 2019-04-08 2019-04-08 Data transmission method and system suitable for block chain combination time series database

Publications (1)

Publication Number Publication Date
CN110113380A true CN110113380A (en) 2019-08-09

Family

ID=67485300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910276711.4A Pending CN110113380A (en) 2019-04-08 2019-04-08 Data transmission method and system suitable for block chain combination time series database

Country Status (1)

Country Link
CN (1) CN110113380A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170140408A1 (en) * 2015-11-16 2017-05-18 Bank Of America Corporation Transparent self-managing rewards program using blockchain and smart contracts
CN106796685A (en) * 2016-12-30 2017-05-31 深圳前海达闼云端智能科技有限公司 Block chain authority control method and device and node equipment
CN108712487A (en) * 2018-05-11 2018-10-26 北京奇虎科技有限公司 Logical card distribution method, device and equipment based on block chain
CN108898419A (en) * 2018-05-31 2018-11-27 中国联合网络通信集团有限公司 Incentive message processing method, device and block chain node
CN109325746A (en) * 2018-08-29 2019-02-12 华中科技大学 A kind of block chain motivational techniques based on storage, block chain network and storage network
CN109474499A (en) * 2018-12-29 2019-03-15 杭州趣链科技有限公司 A kind of solution of distributed block chain monitoring system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170140408A1 (en) * 2015-11-16 2017-05-18 Bank Of America Corporation Transparent self-managing rewards program using blockchain and smart contracts
CN106796685A (en) * 2016-12-30 2017-05-31 深圳前海达闼云端智能科技有限公司 Block chain authority control method and device and node equipment
CN108712487A (en) * 2018-05-11 2018-10-26 北京奇虎科技有限公司 Logical card distribution method, device and equipment based on block chain
CN108898419A (en) * 2018-05-31 2018-11-27 中国联合网络通信集团有限公司 Incentive message processing method, device and block chain node
CN109325746A (en) * 2018-08-29 2019-02-12 华中科技大学 A kind of block chain motivational techniques based on storage, block chain network and storage network
CN109474499A (en) * 2018-12-29 2019-03-15 杭州趣链科技有限公司 A kind of solution of distributed block chain monitoring system

Similar Documents

Publication Publication Date Title
US11050819B2 (en) Latency-based routing and load balancing in a network
CN108415784B (en) Cross-block-chain interaction method, device, system and electronic equipment
US10841241B2 (en) Intelligent placement within a data center
CN110413599A (en) Generating date and storage system and method
CN107925701A (en) Notified for the event of application
CN108259421A (en) The statistical method and system of a kind of user activity
WO2012108883A1 (en) Determining characteristics of participants in a social network
CN110377854A (en) User access activity information monitoring method and device, computer equipment
CN110515748A (en) A kind of method and relevant apparatus of Message Processing
CN110191168A (en) Processing method, device, computer equipment and the storage medium of online business datum
CN106528451A (en) Cloud storage framework for second level cache prefetching for small files and construction method thereof
CN113836318A (en) Dynamic knowledge graph completion method and device and electronic equipment
CN107124469A (en) A kind of clustered node communication means and system
CN107741949A (en) Integration method, device, storage medium and processor
CN106020732A (en) Node disk space determining method and system
CN110113380A (en) Data transmission method and system suitable for block chain combination time series database
CN116934061A (en) Block chain-based carbon emission management method, system, equipment and storage medium
CN107343037A (en) The data transmission method and device of a kind of distributed memory system
CN1997005A (en) System and method for management and control of the network communication data
CN107295059A (en) The statistical system and method for service propelling amount
CN109150819B (en) A kind of attack recognition method and its identifying system
CN109035020A (en) A kind of return method and device of Transaction Information
CN113472825B (en) NB-IoT terminal transaction processing method and device based on block chain
CN110266525A (en) CDN server quantity configuration method, equipment and computer readable storage medium
CN112217664B (en) Distributed parallel simulation method, device and system based on autonomy

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190809