CN111163156A - Data processing method, device and storage medium based on block chain - Google Patents
Data processing method, device and storage medium based on block chain Download PDFInfo
- Publication number
- CN111163156A CN111163156A CN201911370538.0A CN201911370538A CN111163156A CN 111163156 A CN111163156 A CN 111163156A CN 201911370538 A CN201911370538 A CN 201911370538A CN 111163156 A CN111163156 A CN 111163156A
- Authority
- CN
- China
- Prior art keywords
- request
- data
- data processing
- paste
- hash value
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 40
- 230000010076 replication Effects 0.000 claims abstract description 25
- 238000000034 method Methods 0.000 claims abstract description 14
- 238000012545 processing Methods 0.000 claims description 17
- 230000006870 function Effects 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 11
- 239000000126 substance Substances 0.000 claims 1
- 238000004891 communication Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000000644 propagated effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
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/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- 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/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1441—Countermeasures against malicious traffic
-
- 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/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- 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/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Abstract
The application discloses a data processing method, equipment and a storage medium based on a block chain. The data processing method comprises the following steps: responding to a copy instruction for obtaining copy data representing a user, and sending the data to a network folder for storing the data; obtaining a hash value of the data; a replication request is sent to the intelligent contract for the blockchain based on the hash value. According to the method and the device, the data to be copied are acquired without the aid of a third-party device, and convenience in copying the data is improved.
Description
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a data processing method and apparatus based on a block chain, and a storage medium.
Background
Along with the development of science and technology, the types and the number of electronic products used by users are more and more, and in order to bring convenience to the use of the users, the interaction among different electronic products is also more important.
However, different devices often have their own local shear plates. For a user to move certain file data on the a device to the B device, the file data is generally required to be sent to the B device, or the file data is transferred from the a device to the B device through a third-party storage medium, and the file data transfer process is complex, and the file data cannot be copied and pasted from the a device to the B device quickly through a copy-paste form.
Disclosure of Invention
An embodiment of the present specification provides a data processing method, device, and medium based on a block chain, which are used to solve the following technical problems in the prior art: how to implement copy and paste data between two devices.
The embodiment of the specification adopts the following technical scheme:
according to a first aspect, an embodiment of the present invention provides a data processing method based on a block chain, which is applied to a first terminal, and includes: responding to a copy instruction for obtaining the copy data of the representation user, and sending the data to a network folder for storing the data; obtaining a hash value of the data; a replication request is sent to the intelligent contract for the blockchain based on the hash value.
In a preferred implementation, sending a replication request to an intelligent contract of a block chain based on a hash value includes: generating a replication request according to the hash value; a copy request is sent to a copy function in the intelligent contract for the blockchain.
In a preferred implementation, the replication request includes a key characterizing identity information of the user.
According to a second aspect, an embodiment of the present invention provides a data processing method based on a block chain, which is applied to a second terminal, and includes: in response to a paste instruction for acquiring the paste data of the characterization user, sending a paste request to an intelligent contract of the block chain based on the acquired key for characterizing the identity information of the user; sending a downloading request to a network folder according to a received return value of the intelligent contract of the block chain, wherein the return value comprises a hash value of the data; and receiving data corresponding to the hash value sent by the network folder.
According to a third aspect, an embodiment of the present invention provides a data processing method based on a block chain, which is applied to a server, and includes: receiving a replication request sent by a first terminal, wherein the replication request comprises a key for representing user identity information for sending the replication request; in response to receiving a paste request sent by the second terminal, determining whether to allow the paste request based on the key and the paste request; and responding to the permission of the paste request, and sending a return value to the second terminal based on the paste request and the intelligent contract, wherein the return value comprises a hash value of the data.
In a preferred implementation, the method further comprises: responding to a received downloading request sent by the second terminal, and inquiring data matched with the hash value from the network folder according to the hash value in the downloading request; and sending the data to the second terminal.
In a preferred implementation, determining whether to allow the paste request based on the key and the paste request includes: determining whether the key is the same as the key in the paste request; in response to the same, it is determined to allow the paste request.
In a preferred implementation, sending a return value to the second terminal based on the paste request and the intelligent contract, includes: inputting the key in the paste request into a paste function of the intelligent contract, and outputting a hash value of data corresponding to the key; and sending a return value to the second terminal, wherein the return value comprises the hash value.
According to a fourth aspect, an embodiment of the present invention provides a data processing apparatus based on a block chain, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of blockchain based data processing of the first aspect or any one of the first aspects.
According to a fifth aspect, an embodiment of the present invention provides a non-volatile computer storage medium for block chain based data processing, which stores computer-executable instructions that, when executed, may implement the block chain based data processing method of the first aspect or any implementation manner of the first aspect.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects: if a copy instruction for representing the user to copy data is acquired, the first terminal can send the data to a network folder for storing the data by the user, then, a hash value of the data is acquired, and then, a copy request is sent to an intelligent contract of the block chain based on the hash value, so that the data to be copied can be uploaded to the network folder, the data can become the data in the network folder, the intelligent contract of the block chain can also acquire the data through the copy request, the data to be copied does not need to be acquired by means of third-party equipment, and convenience in copying the data is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a block diagram of an exemplary system architecture to which embodiments of the blockchain-based data processing methods of the present application may be applied;
FIG. 2 is a flow diagram for one embodiment of a blockchain-based data processing method according to the present application;
FIG. 3 is a flow diagram of another embodiment of a blockchain based data processing method according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of a blockchain based data processing method according to the present application;
fig. 5 is a schematic block chain-based data processing apparatus suitable for use in implementing embodiments of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more apparent, the technical solutions of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person skilled in the art without making any inventive step based on the embodiments in the description belong to the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 shows an exemplary architecture 100 to which embodiments of the blockchain-based data processing method of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 101, 102, 103 interact with a server 105 via a network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a video application, an instant messenger, a mailbox client, a traffic information application, a reading application, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal apparatuses 101, 102, 103 are hardware, various electronic apparatuses having a display screen and supporting communication with a server may be used. When the terminal apparatuses 101, 102, and 103 are software, they may be software clients installed in the electronic apparatuses. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for browsing pages on the terminal devices 101, 102, 103. The background server can analyze and process the acquired replication request and feed back the result of the request processing to the terminal equipment.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the data processing method based on the block chain provided by the embodiment of the present disclosure is generally executed by a terminal device, and accordingly, the data processing apparatus for the block chain is generally disposed in a server.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a blockchain-based data processing method according to the present application is shown. The data processing method based on the block chain is applied to a first terminal. As shown in fig. 2, the data processing method based on the blockchain includes the following steps:
step 201, in response to acquiring a copy instruction representing that a user copies data, sending the data to a network folder for storing the data.
In this embodiment, if a copy instruction representing that a user copies data is acquired, an execution subject of the data processing method based on the blockchain (for example, the terminal device 101, the terminal device 102, or the terminal device 103 shown in fig. 1) may send the data to a network folder for storing the data.
Here, the user may input the copy instruction to the first terminal through the input device. The input device may include, for example, a keyboard, a touch screen input, and the like, which is not limited in this embodiment. After the first terminal obtains the copy instruction for representing the user to copy the data, the data can be sent to the network folder. The network folder is usually provided in a server, and can be used for storing the data.
At step 202, a hash value of the data is obtained.
In this embodiment, the execution body may further obtain a hash value of the data. Specifically, the data may be converted into a hash value by a hash algorithm.
At step 203, a replication request is sent to the intelligent contract of the blockchain based on the hash value.
In this embodiment, the execution body may generate a copy request in combination with the hash value, where the copy request may include the hash value and a request for copying the data, and then send the copy request to the intelligent contract of the block chain. In general, a blockchain may be understood as being set up on a server, i.e. a first terminal may send a replication request to an intelligent contract of the blockchain on the server.
The copy request is sent to the intelligent contract of the block chain, and the uplink information has non-tamper property and transparency, so that the copy request can be prevented from being tampered.
Specifically, the execution subject may send the copy request to a copy function in an intelligent contract of the blockchain, so that the intelligent contract processes the copy request according to the copy function.
Here, in an optional implementation manner of this embodiment, the copy request may further include a key characterizing identity information of the user. That is, the replication request may include: a hash value of the data, a key characterizing identity information of the user, and a request to copy the data.
According to the data processing method based on the block chain, if a copy instruction representing the data copied by the user is obtained, the first terminal can send the data to a network folder for storing the data by the user, then the hash value of the data is obtained, and then a copy request is sent to the intelligent contract of the block chain based on the hash value, so that the data to be copied can be uploaded to the network folder, the data can become the data in the network folder, the intelligent contract of the block chain can also obtain the data through the copy request, and the data to be copied does not need to be obtained through a third-party device.
With continued reference to fig. 3, a flow 300 of another embodiment of a blockchain-based data processing method according to the present application is shown. The data processing method based on the block chain is applied to a second terminal. As shown in fig. 3, the data processing method based on the blockchain includes the following steps:
step 301, in response to acquiring a paste instruction representing user paste data, sending a paste request to an intelligent contract of a block chain based on an acquired key representing user identity information.
In this embodiment, if a paste instruction representing the user to paste data is obtained, an execution main body (for example, terminal device 101, terminal device 102, or terminal device 103 shown in fig. 1) of the data processing method based on the blockchain may send a paste request to the smart contract of the blockchain based on the obtained key representing the user identity information.
Here, a key representing user identity information is stored in advance on the second terminal device. The user can input a paste instruction to the second terminal through a keyboard, a touch screen input and the like. After the paste instruction is obtained, the second terminal can generate a paste request by combining the paste instruction and the key representing the user identity information, and then send the paste request to the server. The intelligent contracts for blockchains are typically stored on a server.
Step 302, according to the received return value of the intelligent contract of the block chain, sending a downloading request to a network folder.
In this embodiment, the server may process the paste request after receiving the paste request, for example, may send a return value to the second terminal. The second terminal may send a download request to the network folder according to the received return value of the intelligent contract of the blockchain. A network folder herein is generally understood to be stored on the server side.
Step 303, receiving data corresponding to the hash value sent by the network folder.
In this embodiment, the execution body may receive data corresponding to the hash value sent by a network folder in the server side.
Specifically, after receiving the download request, the server may send the data corresponding to the hash value from the network folder to the second terminal according to the download request, so that the second terminal may receive the data corresponding to the hash value sent by the network folder. And the network folder stores data corresponding to the hash value.
Through the data processing method provided by the embodiment of the invention, the second terminal can send the paste request to the block chain after receiving the paste instruction, then send the download request to the network file according to the received return value of the block chain, and then receive the data corresponding to the hash value sent by the network folder, so as to paste the data.
With continued reference to fig. 4, a flow 400 of yet another embodiment of a blockchain based data processing method according to the present application is shown. The data processing method based on the block chain is applied to a server. As shown in fig. 4, the data processing method based on the blockchain includes the following steps:
step 401, receiving a replication request sent by a first terminal.
In this embodiment, the copy request includes a key characterizing the identity information of the user sending the copy request. An execution subject of the block chain-based data processing method, such as the server 105 shown in fig. 1, may receive the replication request transmitted by the first terminal.
Step 402, in response to receiving the paste request sent by the second terminal, determining whether to allow the paste request based on the key and the paste request.
In this embodiment, if receiving the paste request sent by the second terminal, the execution main body may perform analysis processing on the key and the paste request to determine whether to allow the paste request. Specifically, the executing entity may determine whether the key is the same as the key in the paste request, and if so, the executing entity may determine that the paste request and the copy request are requests issued by the same user, and may allow the paste request to pass through.
Step 403, in response to allowing the paste request to pass, sending a return value to the second terminal based on the paste request and the intelligent contract.
In this embodiment, if the paste request is allowed to pass, the execution body may process the paste request by using the smart contract, and send a processed return value to the second terminal. The return value here includes a hash value of the data.
Specifically, the execution agent may input the key in the paste request to a paste function of the smart contract, output a hash value of data corresponding to the key, and then send a return value to the second terminal. The return value here includes a hash value. That is, the server may use the key as an input value of the paste function of the smart contract, and the paste function of the smart contract may search the hash value of the data corresponding to the key according to the key and then send the hash value to the second terminal.
In an optional implementation manner of this embodiment, if a download request sent by the second terminal is received, the execution main body may query, according to the hash value in the download request, data matching the hash value from the network folder, and then send the data to the second terminal. Since the network folder stores the data and the hash value of the data, the execution body can directly query the network folder for the data according to the hash value of the data.
By the data processing method based on the block chain, the data on the first terminal can be copied to the second terminal, a third-party device is not needed, cross-device copying and pasting can be achieved, operation is convenient and fast, and great convenience is brought to users.
Referring now to fig. 5, and referring now to fig. 5, a block chain based data processing apparatus (e.g., server 105 of fig. 1) 500 suitable for use in implementing embodiments of the present disclosure is shown. The processing device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, processing device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM502, and the RAM503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 5 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program, when executed by the processing device 501, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium described in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: receiving a replication request sent by a first terminal, wherein the replication request comprises a key for representing user identity information for sending the replication request; in response to receiving a paste request sent by the second terminal, determining whether to allow the paste request based on the key and the paste request; and responding to the permission of the paste request, and sending a return value to the second terminal based on the paste request and the intelligent contract, wherein the return value comprises a hash value of the data.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.
Claims (10)
1. A data processing method based on a block chain is applied to a first terminal, and is characterized by comprising the following steps:
responding to a copy instruction for obtaining copy data representing a user, and sending the data to a network folder for storing the data;
obtaining a hash value of the data;
and sending a copy request to the intelligent contract of the block chain based on the hash value.
2. The data processing method of claim 1, wherein sending a replication request to a smart contract for a blockchain based on the hash value comprises:
generating a replication request according to the hash value;
and sending the replication request to a replication function in the intelligent contract of the block chain.
3. The data processing method of claim 1, wherein the replication request includes a key characterizing identity information of the user.
4. A data processing method based on a block chain is applied to a second terminal, and is characterized by comprising the following steps:
in response to a paste instruction for acquiring the paste data representing the user, sending a paste request to an intelligent contract of a block chain based on the acquired key representing the user identity information;
sending a downloading request to a network folder according to a received return value of the intelligent contract of the block chain, wherein the return value comprises a hash value of data;
and receiving data which is sent by the network folder and corresponds to the hash value.
5. A data processing method based on a block chain is applied to a server and is characterized by comprising the following steps:
receiving a replication request sent by a first terminal, wherein the replication request comprises a key for representing user identity information for sending the replication request;
in response to receiving a paste request sent by a second terminal, determining whether to allow the paste request based on the secret key and the paste request;
and responding to the permission of the paste request, and sending a return value to the second terminal based on the paste request and the intelligent contract, wherein the return value comprises a hash value of data.
6. The data processing method of claim 5, wherein the method further comprises:
responding to a received downloading request sent by a second terminal, and inquiring data matched with a hash value from a network folder according to the hash value in the downloading request;
and sending the data to the second terminal.
7. The data processing method of claim 5, wherein the determining whether to allow the paste request based on the key and the paste request comprises:
determining whether the key is the same as a key in the paste request;
in response to being the same, determining to allow the paste request.
8. The data processing method according to claim 5, wherein the sending a return value to the second terminal based on the paste request and the smart contract comprises:
inputting the secret key in the pasting request into a pasting function of the intelligent contract, and outputting a hash value of data corresponding to the secret key;
and sending a return value to the second terminal, wherein the return value comprises the hash value.
9. A blockchain-based data processing apparatus, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of blockchain based data processing of any one of claims 1 to 3.
10. A non-transitory computer storage medium storing computer-executable instructions for blockchain-based data processing, wherein the computer-executable instructions, when executed, implement the blockchain-based data processing method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911370538.0A CN111163156A (en) | 2019-12-26 | 2019-12-26 | Data processing method, device and storage medium based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911370538.0A CN111163156A (en) | 2019-12-26 | 2019-12-26 | Data processing method, device and storage medium based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111163156A true CN111163156A (en) | 2020-05-15 |
Family
ID=70556881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911370538.0A Pending CN111163156A (en) | 2019-12-26 | 2019-12-26 | Data processing method, device and storage medium based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111163156A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111694869A (en) * | 2020-06-16 | 2020-09-22 | 北京同邦卓益科技有限公司 | Method and device for querying data |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111585A (en) * | 2017-12-15 | 2018-06-01 | 成都链网络科技有限公司 | Distributed storage method based on block chain |
CN108540459A (en) * | 2018-03-22 | 2018-09-14 | 北京京东尚科信息技术有限公司 | Data storage method, device, system, electronic equipment and computer-readable medium |
CN109165190A (en) * | 2018-07-11 | 2019-01-08 | 南京邮电大学 | A kind of electronic data based on block chain intelligence contract deposits card method |
US20190018947A1 (en) * | 2017-07-14 | 2019-01-17 | Alibaba Group Holding Limited | Login information data processing |
CN109460668A (en) * | 2018-11-16 | 2019-03-12 | 吉林多维达科技开发有限公司 | A kind of information processing system and method based on block chain |
CN109656882A (en) * | 2017-10-10 | 2019-04-19 | 上海能链众合科技有限公司 | Data record method, extracting method and device, storage medium, terminal |
EP3522088A1 (en) * | 2018-02-05 | 2019-08-07 | Nokia Technologies Oy | Securing blockchain access through a gateway |
CN110598448A (en) * | 2019-09-19 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Operation data processing method, device and equipment based on block chain and storage medium |
-
2019
- 2019-12-26 CN CN201911370538.0A patent/CN111163156A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190018947A1 (en) * | 2017-07-14 | 2019-01-17 | Alibaba Group Holding Limited | Login information data processing |
CN109656882A (en) * | 2017-10-10 | 2019-04-19 | 上海能链众合科技有限公司 | Data record method, extracting method and device, storage medium, terminal |
CN108111585A (en) * | 2017-12-15 | 2018-06-01 | 成都链网络科技有限公司 | Distributed storage method based on block chain |
EP3522088A1 (en) * | 2018-02-05 | 2019-08-07 | Nokia Technologies Oy | Securing blockchain access through a gateway |
CN108540459A (en) * | 2018-03-22 | 2018-09-14 | 北京京东尚科信息技术有限公司 | Data storage method, device, system, electronic equipment and computer-readable medium |
CN109165190A (en) * | 2018-07-11 | 2019-01-08 | 南京邮电大学 | A kind of electronic data based on block chain intelligence contract deposits card method |
CN109460668A (en) * | 2018-11-16 | 2019-03-12 | 吉林多维达科技开发有限公司 | A kind of information processing system and method based on block chain |
CN110598448A (en) * | 2019-09-19 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Operation data processing method, device and equipment based on block chain and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111694869A (en) * | 2020-06-16 | 2020-09-22 | 北京同邦卓益科技有限公司 | Method and device for querying data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107302597B (en) | Message file pushing method and device | |
CN110535659B (en) | Method, apparatus, electronic device and computer readable medium for processing data request | |
CN110909521B (en) | Online document information synchronous processing method and device and electronic equipment | |
CN110377440B (en) | Information processing method and device | |
CN112416396B (en) | Application program updating method and system | |
CN110753020A (en) | Network request processing method and device | |
CN111158637A (en) | Block chain-based random number generation method, equipment and storage medium | |
CN110046000B (en) | Applet running method and device | |
CN111209205B (en) | Configuration method, configuration device and electronic equipment | |
CN111163156A (en) | Data processing method, device and storage medium based on block chain | |
CN110825815A (en) | Cloud note system information processing method, equipment and medium based on block chain | |
CN111756953A (en) | Video processing method, device, equipment and computer readable medium | |
CN111324470A (en) | Method and device for generating information | |
CN109981546B (en) | Method and device for acquiring remote call relation between application modules | |
CN112948138A (en) | Method and device for processing message | |
CN115022106B (en) | Group information processing method, device, equipment and medium | |
US20230418470A1 (en) | Data processing method and apparatus, and electronic device | |
CN112257039B (en) | Identity attribute adding method and device and electronic equipment | |
CN114860213A (en) | Application package generation method, device, equipment and medium | |
CN114461582A (en) | File processing method, device, equipment and storage medium | |
CN111367592B (en) | Information processing method and device | |
CN111984616A (en) | Method, device and system for updating shared file | |
CN111147238A (en) | Block chain-based Internet of things equipment request processing method and equipment and storage medium | |
CN113472785B (en) | Data processing method and device, electronic equipment and readable storage medium | |
CN111241368B (en) | Data processing method, device, medium and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200730 Address after: Floor S01, Inspur Science Park, 1036 Inspur Road, hi tech Zone, Jinan City, Shandong Province Applicant after: Inspur cloud Information Technology Co.,Ltd. Address before: Room 3110, S01 building, Langchao building, No. 1036, Langchao Road, high tech Zone, Jinan City, Shandong Province 250101 Applicant before: Shandong Aicheng Network Information Technology Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |