CN110825815A - Cloud note system information processing method, equipment and medium based on block chain - Google Patents
Cloud note system information processing method, equipment and medium based on block chain Download PDFInfo
- Publication number
- CN110825815A CN110825815A CN201911192430.7A CN201911192430A CN110825815A CN 110825815 A CN110825815 A CN 110825815A CN 201911192430 A CN201911192430 A CN 201911192430A CN 110825815 A CN110825815 A CN 110825815A
- Authority
- CN
- China
- Prior art keywords
- file information
- note system
- block chain
- cloud note
- 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
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 41
- 238000003672 processing method Methods 0.000 title claims abstract description 31
- 230000004044 response Effects 0.000 claims abstract description 16
- 238000000034 method Methods 0.000 claims description 24
- 230000007246 mechanism Effects 0.000 claims description 13
- 238000004422 calculation algorithm Methods 0.000 claims description 8
- 238000012795 verification Methods 0.000 claims description 7
- 239000000126 substance Substances 0.000 claims 1
- 238000004891 communication Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Medical Informatics (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a block chain-based cloud note system information processing method, device and medium. The cloud note system information processing method comprises the following steps: constructing a cloud note system based on the block chain; respectively setting individual users and enterprise users as nodes of a block chain, and respectively deploying intelligent contracts at the nodes; acquiring file information uploaded by individual users or enterprise users; associating and storing the file information and the intelligent contract in a cloud note system; and in response to the acquisition of a reading request for representing reading of the file information, determining whether to receive the reading request according to each node. The information of the block chain has the characteristics of information transparence, non-falsification and the like, so that the file information is prevented from being maliciously modified; secondly, if other users want to access the file information, other nodes are also needed to determine whether to receive the reading request, so that file information leakage is avoided.
Description
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a method, a device, and a medium for processing cloud note system information based on a block chain.
Background
With the development of the technology level, more and more users like to take notes by using electronic documents, compared with the traditional paper notes, the electronic notes are convenient to store, carry and inquire, have extremely high convenience and occupy small space.
However, due to the development of internet technology, private notes are easy to leak, data loss often occurs, and once electronic notes are lost or leaked, great property loss is possibly brought to users.
Disclosure of Invention
An embodiment of the present specification provides a method, a device, and a medium for processing cloud note system information based on a block chain, which are used to solve the following technical problems in the prior art: the problem that electronic notes of users are easy to leak in the prior art is solved.
The embodiment of the specification adopts the following technical scheme:
according to a first aspect, the embodiment provides a block chain-based cloud note system information processing method, which includes: constructing a cloud note system based on the block chain; respectively setting individual users and enterprise users as nodes of a block chain, and respectively deploying intelligent contracts at the nodes; acquiring file information uploaded by individual users or enterprise users; associating and storing the file information and the intelligent contract in a cloud note system; and in response to the acquisition of a reading request for representing reading of the file information, determining whether to receive the reading request according to each node.
In a preferred implementation manner, in response to acquiring a read request for reading the file information, determining whether to receive the read request according to each node includes: responding to the obtained reading request for reading the file information, and sending the reading request to each node of the block chain; determining whether verification passing information which is sent by each node of the block chain through a consensus mechanism and is matched with the reading request is received; in response to receiving the authentication pass information, determining to receive the read request.
In a preferred implementation, the method further comprises: in response to determining to receive the read request, selecting a node from the cloud note system that executes the smart contract; and executing the intelligent contract at the selected node according to the reading request to obtain reading result information.
In a preferred implementation, the method further comprises: and responding to the reading result information, and sending the reading result information to the user side matched with the reading request.
In a preferred implementation, the method further comprises: and in response to the obtained editing request for representing the file information editing, determining whether to receive the editing request according to each node.
In a preferred implementation, the method further comprises: and encrypting the uplink file information by using an asymmetric encryption algorithm.
In a preferred implementation, the method further comprises: and distributing and storing the file information in each node of the cloud note system.
In a preferred implementation, the method further comprises: backing up the file information to each node of the cloud note system; calling the backed-up document information from the block chain in response to the acquired fault information which is sent by any node and represents that the file information called by the node is damaged; and sending the backup file information to the user side matched with the reading request.
According to a second aspect, the present embodiment provides a block chain-based cloud note system information processing apparatus, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for processing the information of the cloud note system based on the block chain according to the first aspect or any implementation manner of the first aspect.
According to a third aspect, the present embodiment provides a non-volatile computer storage medium for block chain based cloud note system information processing, which stores computer executable instructions that, when executed, may implement the block chain based cloud note system information 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: the method comprises the steps of constructing a cloud note system based on a block chain, then taking individual users and enterprise users as nodes of the block chain, deploying intelligent contracts at all the nodes, then associating and storing uploaded file information and the intelligent contracts in the cloud note system, and if a reading request is obtained, determining whether to receive the reading request according to all the nodes. Therefore, the file information is firstly linked and stored, and the block chain information has the characteristics of information transparence, non-falsification and the like, so that the file information is prevented from being maliciously modified; secondly, if other users want to access the file information, other nodes are also needed to determine whether to receive the reading request, so that file information leakage is avoided.
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 an exemplary system architecture diagram to which an embodiment of a block chain based cloud note system information processing method of the present application is applied;
FIG. 2 is a flow diagram of one embodiment of a block chain based cloud note system information processing method according to the present application;
FIG. 3 is a flow diagram of one implementation of a block chain based cloud note system information processing method according to the application;
FIG. 4 is a flow diagram of another embodiment of a block chain based cloud note system information processing method according to the present application;
FIG. 5 is a schematic block chain-based cloud note taking system information processing device 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 an embodiment of a block chain based cloud note system information 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 file information and feed back the information processing result 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 block chain based cloud note system information processing method provided by the embodiment of the present disclosure is generally executed by a server, and accordingly, the block chain based cloud note system information processing apparatus is generally disposed in the 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 block chain based cloud note system information processing method according to the present application is illustrated. The cloud note system information processing method based on the block chain is applied to a server. As shown in fig. 2, the cloud note system information processing method based on the block chain includes the following steps:
In this embodiment, an execution subject (such as the server 105 shown in fig. 1) executing the block chain-based cloud note system information processing method may construct a cloud note system based on the block chain.
The blockchain is used as a decentralized distributed storage technology and has the characteristics of credibility, difficulty in tampering, safety and confidentiality and the like. The block chain system is composed of a data layer, a network layer, a consensus layer, an excitation layer, a contract layer and an application layer. The data layer encapsulates a bottom layer data block, basic data such as related data encryption and time stamp and a basic algorithm; the network layer comprises a distributed networking mechanism, a data transmission mechanism, a data verification mechanism and the like; the consensus layer mainly encapsulates various consensus algorithms of the network nodes; the incentive layer integrates economic factors into a block chain technology system, and mainly comprises an economic incentive issuing mechanism, an economic incentive distributing mechanism and the like; the contract layer mainly encapsulates various scripts, algorithms and intelligent contracts and is the basis of the programmable characteristic of the block chain; the application layer encapsulates various application scenarios and cases of the blockchain.
In this embodiment, the execution subject may build a cloud note system based on a block chain. The cloud note taking system can be an internet platform based on a block chain.
In this embodiment, the execution subject may set the individual user and the enterprise user as nodes of the blockchain, and deploy the intelligent contract at each node.
Specifically, each node of the blockchain has the characteristic of distributed accounting. The execution subject may set the individual user and the enterprise user as nodes of the block chain, that is, as nodes of the entire cloud note system. And, deploying the intelligent contracts at the respective nodes.
Data generated by each node on the block chain can be synchronized to other nodes, the distributed accounting method has the characteristic of distributed accounting, data tampering of a single node cannot actually take effect, meanwhile, the data of each node is guaranteed to be real and credible, and related data can be traced through related ways, so that the credibility and the accuracy of the data are protected.
And step 203, acquiring file information uploaded by the individual user or the enterprise user.
In this embodiment, the execution subject may obtain file information uploaded by an individual user or an enterprise user. Specifically, the execution subject may obtain locally stored file information uploaded by the individual user or the enterprise user, or may obtain file information uploaded by the individual user or the enterprise user through communication connection with a third-party device. The third-party device may be, for example, the terminal device 101 in fig. 1, which is not limited in this embodiment.
The file information may include document information, compressed file information, and the like, and the embodiment is not limited thereto.
And step 204, associating the file information with the intelligent contract and storing the file information and the intelligent contract in the cloud note system.
In this embodiment, the execution subject may associate the file information and the smart contract and store the file information and the smart contract in the cloud note system.
The intelligent contract of the block chain is public, and the intelligent contract is deployed at each node, so that each node can execute the obtained operation instructions through the intelligent contract. Because the intelligent contract can only be changed in an upgrading mode, all the nodes need to be synchronously deployed. Once deployed, the intelligent contracts can be executed only through programs without interference of human factors, and reliability of data is enhanced. And associating the file information with the intelligent contract and storing the file information and the intelligent contract in the cloud note system, so that the safety of the file information can be enhanced.
In this embodiment, if a read request for representing to read the file information is obtained, the execution main body may determine whether to receive the read request according to each node.
Specifically, if other users need to read the file information, a reading request can be sent through the client or directly at the cloud note system. After the execution main body acquires the read request, the execution main body does not directly receive the read request, but needs to determine the read request through each node, and more specifically needs to determine the read request according to information fed back by each node, so that file information on the cloud note system is prevented from being modified randomly.
In some optional implementations of this embodiment, as shown in fig. 3, the execution subject may determine to receive the read request by:
steps 301 to 304 are the same as or similar to steps 201 to 204, respectively, and the execution main body may be executed by using a similar method in steps 201 to 204, which is not described herein again.
Step 305, in response to obtaining a read request for reading the file information, sending the read request to each node of the blockchain.
In this implementation manner, if a read request representing to read the file information is obtained, the execution main body may send the read request to each node of the block chain first. After each node receives the read request, the read request can be processed accordingly.
Step 306, determining whether verification passing information which is sent by each node of the block chain through a consensus mechanism and is matched with the reading request is received.
In this implementation, after receiving the read request, each node of the blockchain may authenticate the read request, and then if all the nodes agree through the agreement mechanism and it is determined that the read request can be received, the node may send authentication passing information matching the read request to the execution main body.
The consensus mechanism here may be, for example, a preset consensus mechanism, and if more than half of the nodes pass the read request, the nodes in the block chain are considered to agree, and the read request passes through, but of course, other forms of consensus mechanisms may be used, and the embodiment is not limited thereto.
In step 307, in response to receiving the verification pass information, it is determined to receive the read request.
In this implementation, if the verification pass information is received, it indicates that the nodes of the block chain have agreed to receive the read request. The execution body may determine to receive the read request, thereby performing subsequent information processing.
Therefore, after each node sends the verification passing request, the execution main body determines to receive the reading request, so that the safety of the reading request can be ensured, and the file information is prevented from being leaked.
As an example, in an optional implementation manner, if receiving the read request, the execution main body may select a node for executing the intelligent contract from the cloud note system, and execute the intelligent contract at the selected node according to the read request, so as to obtain read result information. Specifically, since the file information is stored in association with the intelligent contract, if the file information is to be read, the node needs to run the intelligent contract that inputs the read request, and the result obtained after the operation is the read result information. Here, the executing entity may randomly select a node for executing the intelligent contract, or may select a node closer to a communication distance of a user end that sends the read request to execute the intelligent contract, so as to obtain the read result information, which is not limited in this embodiment.
In some optional implementation manners of this embodiment, if the read result is obtained, the execution main body may further send the read result information to the user side matched with the read request. Thus, the user can obtain the reading result information.
According to the cloud note system information processing method based on the block chain, the cloud note system is constructed based on the block chain, then the individual users and the enterprise users are used as nodes of the block chain, intelligent contracts are deployed at the nodes, then the uploaded file information and the intelligent contracts are stored in the cloud note system in a correlation mode, and if a reading request is obtained, whether the reading request is received or not is determined according to the nodes. Therefore, the file information is firstly linked and stored, and the block chain information has the characteristics of information transparence, non-falsification and the like, so that the file information is prevented from being maliciously modified; secondly, if other users want to access the file information, other nodes are also needed to determine whether to receive the reading request, so that file information leakage is avoided.
With further reference to FIG. 4, a flow 400 of another embodiment of a block chain based cloud note system information processing method is shown. The process 400 of the block chain-based cloud note system information processing method is applied to a server, and includes the following steps:
And step 403, acquiring file information uploaded by the individual user or the enterprise user.
And step 404, associating the file information with the intelligent contract and storing the file information and the intelligent contract in the cloud note system.
In this embodiment, step 401, step 402, step 403, step 404, and step 405 may be performed in a manner similar to that of step 201, step 202, step 203, step 204, and step 205 in the foregoing embodiment, and the above description about step 201, step 202, step 203, step 204, and step 205 also applies to step 401, step 402, step 403, step 404, and step 405, and is not repeated here.
In this embodiment, an executing agent (e.g., the server 105 shown in fig. 1) executing the block chain-based cloud note system information processing method may back up the file information to each node of the cloud note system.
Specifically, in order to avoid unexpected situations such as loss or damage of the file information, the execution main body may back up the file information at each node when storing the file information.
In this embodiment, if failure information sent by any node and indicating that file information called by the node is damaged is acquired, the execution main body may call the backed-up file information from the blockchain.
Specifically, when the user side sends the read request, if the file information acquired by the user side is damaged when the execution main body sends the file information to the user side, the user side may send a failure information to the execution main body, or the execution main body may determine that the file information is damaged when the execution main body sends the file information to the user side to generate a failure information, and at this time, the execution main body may call the backed-up file information from the block chain. When calling, the execution main body can call the backed-up file information from any node.
Specifically, if the backed-up file information is acquired, the execution main body may send the backed-up file information to the user side matched with the read request. Therefore, the user side can still obtain the backup file information from the node backup of the block chain under the condition that the original file information is damaged, and the loss caused by the damage of the original file is avoided.
In some optional implementation manners of this embodiment, if an editing request representing to edit the file information is obtained, whether to receive the editing request is determined according to each node. Specifically, the execution agent may send the edit request to each node of the block chain first. After each node receives the editing request, the editing request can be processed correspondingly. For example, after each node of the blockchain receives the read request, the edit request may be verified, and then if all the nodes agree through the agreement mechanism and it is determined that the edit request can be received, verification passing information matching the edit request is sent to the execution subject. The execution body described above can thus determine to receive the edit request based on the authentication pass information matching the edit request.
In some optional implementations of this embodiment, the executing entity may encrypt the uplink file information by using an asymmetric encryption algorithm. Asymmetric encryption algorithms require two keys: a public key and a private key. The public key and the private key are a pair, and if data is encrypted with the public key, only the corresponding private key can be used for decryption. Because two different keys are used for encryption and decryption, the asymmetric encryption algorithm can protect file information on a block chain and prevent the file information from being stolen.
In some optional implementation manners of this embodiment, the executing entity may distribute and store the file information in each node of the cloud note system. The file information is stored in a distributed mode, so that on one hand, space resources of all nodes are saved, on the other hand, all nodes can be mutually restricted and assist in managing the file information, and the file information is protected from being lost accidentally.
According to the cloud note system information processing method based on the block chain, file information can be backed up to each node, then if the file information is damaged, the backed-up file information can be called from the block chain, and then the backed-up file information is sent to the user side, so that loss caused by damage of the file information can be avoided.
Referring now to fig. 5, and referring now to fig. 5, a block chain based cloud note taking system information processing device (e.g., server in 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: constructing a cloud note system based on the block chain; respectively setting individual users and enterprise users as nodes of a block chain, and respectively deploying intelligent contracts at the nodes; acquiring file information uploaded by individual users or enterprise users; associating and storing the file information and the intelligent contract in a cloud note system; and responding to the read request for acquiring the representation read file information, and determining whether to receive the read request according to each node.
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 cloud note system information processing method based on a block chain is characterized by comprising the following steps:
constructing a cloud note system based on the block chain;
respectively setting individual users and enterprise users as nodes of a block chain, and respectively deploying intelligent contracts at the nodes;
acquiring file information uploaded by the individual user or the enterprise user;
associating the file information with the intelligent contract and storing the file information and the intelligent contract in the cloud note system;
and responding to the obtained reading request for representing reading the file information, and determining whether to receive the reading request according to each node.
2. The cloud note system information processing method according to claim 1, wherein the determining, according to the nodes, whether to receive a read request representing reading of the file information in response to obtaining of the read request includes:
responding to the obtained reading request for representing reading of the file information, and sending the reading request to each node of the block chain;
determining whether verification passing information which is sent by each node of the block chain through a consensus mechanism and is matched with the reading request is received;
determining to receive the read request in response to receiving the authentication pass information.
3. The cloud note system information processing method of claim 2, wherein the method further comprises:
in response to determining to receive the read request, selecting a node from the cloud note-taking system that executes the smart contract;
and executing the intelligent contract at the selected node according to the reading request to obtain reading result information.
4. The cloud note system information processing method of claim 3, wherein the method further comprises:
and responding to the obtained reading result information, and sending the reading result information to the user side matched with the reading request.
5. The cloud note system information processing method of claim 1, wherein the method further comprises:
and responding to the obtained editing request for representing and editing the file information, and determining whether to receive the editing request according to each node.
6. The cloud note system information processing method of claim 1, wherein the method further comprises:
and encrypting the file information of the uplink by using an asymmetric encryption algorithm.
7. The cloud note system information processing method of claim 1, wherein the method further comprises:
and distributing and storing the file information in each node of the cloud note system.
8. The cloud note system information processing method of claim 1, wherein the method further comprises:
backing up the file information to each node of the cloud note system;
calling the backed-up file information from the block chain in response to the acquired fault information which is sent by any node and represents that the file information called by the node is damaged;
and sending the backed-up file information to the user side matched with the reading request.
9. A cloud note system information processing device based on a block chain is characterized by 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 block chain based cloud note system information processing method of any one of claims 1-8.
10. A non-volatile computer storage medium storing computer-executable instructions for block-chain based cloud note system information processing, wherein the computer-executable instructions, when executed, implement the block-chain based cloud note system information processing method of any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911192430.7A CN110825815A (en) | 2019-11-28 | 2019-11-28 | Cloud note system information processing method, equipment and medium based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911192430.7A CN110825815A (en) | 2019-11-28 | 2019-11-28 | Cloud note system information processing method, equipment and medium based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110825815A true CN110825815A (en) | 2020-02-21 |
Family
ID=69542963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911192430.7A Pending CN110825815A (en) | 2019-11-28 | 2019-11-28 | Cloud note system information processing method, equipment and medium based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110825815A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475582A (en) * | 2020-05-07 | 2020-07-31 | 广州欧科信息技术股份有限公司 | Terminal device and cultural relic information processing method for accessing block chain |
CN116450745A (en) * | 2023-04-26 | 2023-07-18 | 深圳市英唐数码科技有限公司 | Multi-device-based note file operation method, system and readable storage medium |
-
2019
- 2019-11-28 CN CN201911192430.7A patent/CN110825815A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475582A (en) * | 2020-05-07 | 2020-07-31 | 广州欧科信息技术股份有限公司 | Terminal device and cultural relic information processing method for accessing block chain |
CN111475582B (en) * | 2020-05-07 | 2023-05-09 | 广州欧科信息技术股份有限公司 | Terminal equipment and cultural relic information processing method for accessing blockchain |
CN116450745A (en) * | 2023-04-26 | 2023-07-18 | 深圳市英唐数码科技有限公司 | Multi-device-based note file operation method, system and readable storage medium |
CN116450745B (en) * | 2023-04-26 | 2024-02-02 | 深圳市英唐数码科技有限公司 | Multi-device-based note file operation method, system and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110417750B (en) | Block chain technology-based file reading and storing method, terminal device and storage medium | |
US8245037B1 (en) | Encryption key management | |
Ghani et al. | Issues and challenges in cloud storage architecture: a survey | |
CN109660534B (en) | Multi-merchant-based security authentication method and device, electronic equipment and storage medium | |
CN110445840B (en) | File storage and reading method based on block chain technology | |
CN110611657A (en) | File stream processing method, device and system based on block chain | |
CN109831464A (en) | Method and apparatus for ciphertext data | |
US8848922B1 (en) | Distributed encryption key management | |
WO2021088659A1 (en) | Electronic signature loading method and device | |
CN112765642A (en) | Data processing method, data processing apparatus, electronic device, and medium | |
CN110825815A (en) | Cloud note system information processing method, equipment and medium based on block chain | |
CN112231755A (en) | Data authorization method, device and system based on block chain | |
CN111669434A (en) | Method, system, device and equipment for establishing communication group | |
CN111161072A (en) | Block chain-based random number generation method, equipment and storage medium | |
CN111010283B (en) | Method and apparatus for generating information | |
CN111181920A (en) | Encryption and decryption method and device | |
CN114499893B (en) | Bidding file encryption and evidence storage method and system based on block chain | |
CN112528239A (en) | Method and device for automatically authorizing software | |
Aciobanitei et al. | A Cryptography API: Next Generation Key Storage Provider for Cryptography in the Cloud | |
EP3975015B9 (en) | Applet package sending method and device and computer readable medium | |
CN110492998B (en) | Method for encrypting and decrypting data | |
CN113497787B (en) | File transmission method, equipment and system | |
Ghani et al. | Cloud storage architecture: research challenges and opportunities | |
CN111163156A (en) | Data processing method, device and storage medium based on block chain | |
CN113761566A (en) | Data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200814 Address after: Room 1-2301, Building 7, North District, Shandong Design and Creative Industry Park, No. 868 Tangye West Road, Licheng District, Jinan City, Shandong Province, 250102 Applicant after: SHANDONG INSPUR QUALINK 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. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |