CN109522366A - A kind of data processing method based on block chain, device and computer readable storage medium - Google Patents
A kind of data processing method based on block chain, device and computer readable storage medium Download PDFInfo
- Publication number
- CN109522366A CN109522366A CN201811342146.9A CN201811342146A CN109522366A CN 109522366 A CN109522366 A CN 109522366A CN 201811342146 A CN201811342146 A CN 201811342146A CN 109522366 A CN109522366 A CN 109522366A
- Authority
- CN
- China
- Prior art keywords
- block chain
- data processing
- chain node
- data
- capacity
- 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
Classifications
-
- 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/1097—Protocols 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]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention proposes a kind of data processing method based on block chain, device and computer readable storage mediums, the block chain of the data processing method based on block chain is when receiving data processing request, first calculate the size of the data volume in data processing request, whether the capacity for then detecting corresponding block chain node again can be handled the data volume of the data processing request, if can be with, the corresponding data of data processing instructions are then transmitted to the block chain node, improve data processing reliability.
Description
Technical field
The present invention relates to block chain technical field more particularly to a kind of data processing method based on block chain, device and
Computer readable storage medium.
Background technique
Block chain technology (Blockchain Technology, BT) is a kind of distributed storage technology of decentralization, because
To have many advantages, such as that decentralization, process of exchange are transparent, information can not distort, traceable, and it is widely used in every field.
Each node maintains common recognition mechanism in block chain in block chain operational process, thus under block chain common recognition mechanism, each node
Between efficient synthetic operation.
Currently, Data processing causes block chain node that can not handle each data in time since data volume is big.
In view of the foregoing, it is necessary to propose that one kind can determine whether to handle the data according to the capacity of block chain node
Method.
Summary of the invention
The main purpose of the present invention is to provide a kind of data processing methods based on block chain, device and computer-readable
Storage medium, it is intended to propose a kind of method that can determine whether to handle the data according to the capacity of block chain node.
To achieve the above object, a kind of data processing method based on block chain provided by the invention, the method includes
Following steps:
Step S10, when receiving data processing instructions, with obtaining the corresponding block chain node of the data processing instructions
Location;
Step S20, examines whether the block chain node address can be used;
Step S30 detects the block chain node data processing capacity when the block chain node address can be used;
Step S40 will when the block chain node capacity meets the corresponding data processing needs of current data process instruction
The corresponding data of the data processing instructions are transmitted to the block chain node.
Preferably, after the step S30 further include:
Step S31, when the block chain node capacity is unsatisfactory for the corresponding data processing needs of current data process instruction,
Find the corresponding spare blocks chain node address of the data processing instructions.
Preferably, the data processing instructions include the corresponding block chain node of data processing and with the block chain node
Matched password.
In addition, to achieve the above object, the invention also provides a kind of data processing equipment based on block chain, the dresses
It sets and includes:
Module is obtained, for when receiving data processing instructions, obtaining the corresponding block chain link of the data processing instructions
Dot address;
Detection module, for examining whether the block chain node address can be used;
Capacity check module, for detecting block chain node data processing and holding when the block chain node address can be used
Amount;
Transmission module, for meeting the corresponding data processing needs of current data process instruction in the block chain node capacity
When, the corresponding data of the data processing instructions are transmitted to the block chain node.
In addition, to achieve the above object, the invention also provides a kind of computer readable storage mediums, which is characterized in that
The data processor based on block chain is stored on the computer readable storage medium, at the data based on block chain
The step of reason program realizes method as described above when being executed by processor.
The present invention is based on the block chains of the data processing method of block chain when receiving data processing request, first calculates number
According to the size of the data volume in processing request, whether the capacity for then detecting corresponding block chain node again can be to the data
The data volume of processing request is handled, if it is then the corresponding data of data processing instructions are transmitted to the block chain link
Point.
Detailed description of the invention
Attached drawing is as a part of the invention, and for providing further understanding of the invention, of the invention is schematic
Examples and descriptions thereof are used to explain the present invention, but does not constitute an undue limitation on the present invention.Obviously, the accompanying drawings in the following description
Only some embodiments to those skilled in the art without creative efforts, can be with
Other accompanying drawings can also be obtained according to these attached drawings.In the accompanying drawings:
Fig. 1 is that the present invention is based on the flow diagrams of one embodiment of data processing method of block chain.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
The technical issues of with reference to the accompanying drawing and specific embodiment is solved to the embodiment of the present invention, used technical side
Case and the technical effect of realization carry out clear, complete description.Obviously, described embodiment is only one of the application
Divide embodiment, is not whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not paying creation
Property labour under the premise of, all other equivalent or obvious variant embodiment obtained all falls within protection scope of the present invention
It is interior.The embodiment of the present invention can be embodied according to the multitude of different ways being defined and covered by claim.
It should be noted that in the following description, understanding for convenience, giving many details.But it is very bright
Aobvious, realization of the invention can be without these details.
It should be noted that in the absence of clear limitations or conflicts, each embodiment in the present invention and its
In technical characteristic can be combined with each other and form technical solution.
In the embodiment of the present invention, referring to Fig.1, described method includes following steps:
Step S10, when receiving data processing instructions, with obtaining the corresponding block chain node of the data processing instructions
Location;
Step S20, examines whether the block chain node address can be used;
Step S30 detects the block chain node data processing capacity when the block chain node address can be used;
Step S40 will when the block chain node capacity meets the corresponding data processing needs of current data process instruction
The corresponding data of the data processing instructions are transmitted to the block chain node.
The block chain of the embodiment of the present invention first calculates the data in data processing request when receiving data processing request
The size of amount, then detect again corresponding block chain node capacity whether can data volume to the data processing request into
Row processing, if it is then the corresponding data of data processing instructions are transmitted to the block chain node.
In addition, the invention also provides a kind of data processing equipment based on block chain, described device includes:
Module is obtained, for when receiving data processing instructions, obtaining the corresponding block chain link of the data processing instructions
Dot address;
Detection module, for examining whether the block chain node address can be used;
Capacity check module, for detecting block chain node data processing and holding when the block chain node address can be used
Amount;
Transmission module, for meeting the corresponding data processing needs of current data process instruction in the block chain node capacity
When, the corresponding data of the data processing instructions are transmitted to the block chain node.
In addition, being deposited on the computer readable storage medium the invention also provides a kind of computer readable storage medium
The data processor based on block chain is contained, is realized such as when the data processor based on block chain is executed by processor
Above the step of method.
Each step of the invention can be realized with general computing device, for example, they can concentrate on it is single
On computing device, such as: personal computer, server computer, handheld device or portable device, laptop device or more
Processor device can also be distributed over a network of multiple computing devices, they can be to be different from sequence herein
Shown or described step is executed, perhaps they are fabricated to each integrated circuit modules or will be more in them
A module or step are fabricated to single integrated circuit module to realize.Therefore, the present invention is not limited to any specific hardware and soft
Part or its combination.
Programmable logic device can be used to realize in method provided by the invention, and it is soft also to may be embodied as computer program
Part or program module (it include routines performing specific tasks or implementing specific abstract data types, programs, objects, component or
Data structure etc.), such as embodiment according to the present invention can be a kind of computer program product, run the computer program
Product executes computer for demonstrated method.The computer program product includes computer readable storage medium, should
It include computer program logic or code section on medium, for realizing the method.The computer readable storage medium can
To be the built-in medium being mounted in a computer or the removable medium (example that can be disassembled from basic computer
Such as: using the storage equipment of hot plug technology).The built-in medium includes but is not limited to rewritable nonvolatile memory,
Such as: RAM, ROM, flash memory and hard disk.The removable medium includes but is not limited to: and optical storage media (such as: CD-
ROM and DVD), magnetic-optical storage medium (such as: MO), magnetic storage medium (such as: tape or mobile hard disk), can with built-in
Rewrite the media (such as: storage card) of nonvolatile memory and the media (such as: ROM box) with built-in ROM.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (6)
1. a kind of data processing method based on block chain, which is characterized in that described method includes following steps:
Step S10 obtains the corresponding block chain node address of the data processing instructions when receiving data processing instructions;
Step S20, examines whether the block chain node address can be used;
Step S30 detects the block chain node data processing capacity when the block chain node address can be used;
Step S40, when the block chain node capacity meets the corresponding data processing needs of current data process instruction, by the number
The block chain node is transmitted to according to the corresponding data of process instruction.
2. the data processing method according to claim 1 based on block chain, which is characterized in that after the step S30
Further include:
Step S31 is found when the block chain node capacity is unsatisfactory for the corresponding data processing needs of current data process instruction
The corresponding spare blocks chain node address of the data processing instructions.
3. the data processing method according to claim 1 based on block chain, which is characterized in that before the step S30
Further include:
Step S31, the size of the corresponding data volume of amount detection process instruction.
4. the data processing method according to claim 1 based on block chain, which is characterized in that the data processing instructions
Including the corresponding block chain node of data processing and with the matched password of block chain node.
5. a kind of data processing equipment based on block chain, which is characterized in that described device includes:
Module is obtained, for when receiving data processing instructions, obtaining the corresponding block chain node of the data processing instructions
Location;
Detection module, for examining whether the block chain node address can be used;
Capacity check module, for detecting the block chain node data processing capacity when the block chain node address can be used;
Transmission module, for when the block chain node capacity meets the corresponding data processing needs of current data process instruction,
The corresponding data of the data processing instructions are transmitted to the block chain node.
6. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium based on area
The data processor of block chain realizes such as claim 1- when the data processor based on block chain is executed by processor
The step of 4 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811342146.9A CN109522366A (en) | 2018-11-12 | 2018-11-12 | A kind of data processing method based on block chain, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811342146.9A CN109522366A (en) | 2018-11-12 | 2018-11-12 | A kind of data processing method based on block chain, device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109522366A true CN109522366A (en) | 2019-03-26 |
Family
ID=65776401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811342146.9A Withdrawn CN109522366A (en) | 2018-11-12 | 2018-11-12 | A kind of data processing method based on block chain, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109522366A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020244242A1 (en) * | 2019-06-03 | 2020-12-10 | 创新先进技术有限公司 | Method and device for storing blockchain data |
-
2018
- 2018-11-12 CN CN201811342146.9A patent/CN109522366A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020244242A1 (en) * | 2019-06-03 | 2020-12-10 | 创新先进技术有限公司 | Method and device for storing blockchain data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11409517B2 (en) | Intelligent prefetching for OS components | |
CN109918205A (en) | A kind of edge device dispatching method, system, device and computer storage medium | |
CN109214674B (en) | Customer service system management method, customer service system and electronic equipment | |
US20200050448A1 (en) | Method and Apparatus for Open Source Analytics for Information Handling Systems | |
CN108171189A (en) | Video coding method, video coding device and electronic equipment | |
CN104317574B (en) | Method and device for identifying application program type | |
CN104903865B (en) | Virtual machine VM images are applied to the method and system of computer system | |
CN109447553A (en) | A kind of checking method of inventory, system and terminal device | |
CN109963167A (en) | Audio/video processing method, server, device and storage medium | |
CN109522366A (en) | A kind of data processing method based on block chain, device and computer readable storage medium | |
CN104239111B (en) | Application program upgrading method and device and terminal | |
US10949632B2 (en) | Cable plugging guidance facility for a network | |
CN109918376A (en) | Tables of data processing method, device and electronic equipment | |
CN104636250A (en) | Cloud automatic test system and method | |
CN103457944A (en) | Method and device for pushing information and server | |
CN106126320A (en) | Method, device and the terminal that a kind of terminal capabilities optimizes | |
US20150130834A1 (en) | Interactive augmented reality for memory dimm installation | |
CN109426598A (en) | A kind of hard disk state indicator lamp control method and device | |
CN108460058A (en) | Data processing method and system | |
CN105335156B (en) | A kind of method and system of java object serialization | |
CN109697166A (en) | A kind of test data preparation method and relevant apparatus | |
CN109101641A (en) | Form processing method, device, system and medium | |
CN108345791B (en) | Processor security detection method, system and detection device | |
CN103984779A (en) | Data updating method and device | |
US20220122038A1 (en) | Process Version Control for Business Process Management |
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 |
Application publication date: 20190326 |
|
WW01 | Invention patent application withdrawn after publication |