CN112016898A - Block chain-based collaborative office method, device and system - Google Patents
Block chain-based collaborative office method, device and system Download PDFInfo
- Publication number
- CN112016898A CN112016898A CN202010901453.7A CN202010901453A CN112016898A CN 112016898 A CN112016898 A CN 112016898A CN 202010901453 A CN202010901453 A CN 202010901453A CN 112016898 A CN112016898 A CN 112016898A
- Authority
- CN
- China
- Prior art keywords
- service information
- service
- data
- data format
- block chain
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
-
- 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/25—Integrating or interfacing systems involving database management systems
- G06F16/258—Data format conversion from or to a database
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a block chain-based collaborative office method, a device and a system, wherein the method comprises the following steps: acquiring first service information, wherein the first service information comprises service data and a first data format, and the first data format is used for indicating a data format adopted by the service data in the first service information; converting the first service information into second service information according to a preset intelligent contract; the second service information comprises service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information; and writing the second service information into the block chain. The embodiment of the invention can solve the problem that the overall planning of co-construction and sharing of office data resources among all business departments in the related technology cannot be realized through the distributed characteristic of the block chain, thereby achieving the effects of ensuring that all business departments can timely and accurately realize the sharing of business data and further realizing cooperative office.
Description
Technical Field
The invention relates to the field of block chains, in particular to a block chain-based cooperative office method, a block chain-based cooperative office device and a block chain-based cooperative office system.
Background
With the continuous improvement of the office informatization level of enterprises, business departments at all levels in the enterprises can generate, collect and store a large amount of office data in the office process. However, in the traditional office mode, business departments at different levels operate relatively independently. Due to data barriers caused by factors such as differentiation of information levels among business departments, it is difficult to form organic combination of office data among the departments. Therefore, under the traditional office mode, the problems that the acquisition and the updating of information are not timely and accurate easily occur in the working processes of office data generation, transmission, processing, storage and the like, and further business contradiction is caused.
Currently, in the related art, an Enterprise Resource Planning (ERP) system is usually relied on for performing office coordination processing. However, the ERP system can only provide a solution for the core service, and cannot meet the requirements of the enterprise overall information service, and particularly, for a multi-organization architecture mode existing in the enterprise, the ERP system can only control the flow point of the core service, and actually, each service department uses more independent account sets, and cannot realize the co-construction and sharing of the comprehensive office data resources.
Aiming at the problem that the overall planning of co-construction and sharing of office data resources among all business departments cannot be realized in the related technology, an effective solution is not provided in the related technology.
Disclosure of Invention
The embodiment of the invention provides a block chain-based collaborative office method, a block chain-based collaborative office device and a block chain-based collaborative office system, which are used for at least solving the problem that the overall planning of the co-construction and sharing of office data resources among all business departments in the related technology cannot be realized.
According to an embodiment of the present invention, there is provided a block chain-based collaborative office method applied to a first block chain node, including:
acquiring first service information, wherein the first service information comprises service data and a first data format, and the first data format is used for indicating a data format adopted by the service data in the first service information;
converting the first service information into second service information according to a preset intelligent contract; the second service information comprises the service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information;
and writing the second service information into a block chain.
According to another embodiment of the present invention, there is also provided a block chain-based cooperative office apparatus, which is provided at a first block chain node, and includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first service information, the first service information comprises service data and a first data format, and the first data format is used for indicating a data format adopted by the service data in the first service information;
the conversion module is used for converting the first service information into second service information according to a preset intelligent contract; the second service information comprises the service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information;
and the writing module is used for writing the second service information into the block chain.
According to another embodiment of the present invention, there is also provided a collaborative office system based on a blockchain, the system including a blockchain formed by a plurality of blockchain link points, the plurality of blockchain nodes including a first blockchain node; wherein the first block link point is configured to:
acquiring first service information, wherein the first service information comprises service data and a first data format, and the first data format is used for indicating a data format adopted by the service data in the first service information;
converting the first service information into second service information according to a preset intelligent contract; the second service information comprises the service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information;
and writing the second service information into the block chain.
According to another embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above-described method embodiments when executed.
According to another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the embodiment of the invention, under the condition that the business data is generated in the office process, the first business information corresponding to the business data can be acquired by the block chain link points, the first business information is converted into the second business information according to the preset intelligent contract, and the second business information is further written into the block chain, so that the sharing of the business data is realized; the first service information comprises service data and a first data format, and the first data format is used for indicating a data format adopted by the service data in the first service information; the second service information includes service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information.
Therefore, in the embodiment of the invention, each business department can distribute the business data to the blockchain according to the preset standard of the intelligent contract through the blockchain node. Therefore, the embodiment of the invention can solve the problem that the overall planning of the co-construction and sharing of office data resources among all business departments in the related technology cannot be realized through the distributed characteristic of the block chain, so that all block chain nodes in the block chain can participate in the storage and verification of the business data uploaded by the business departments, and further all the block chain nodes can jointly maintain a common account book, thereby achieving the effect of ensuring that all the business departments can timely and accurately realize the sharing of the business data and further realizing the cooperative office.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a system architecture diagram of a block chain-based collaborative office method according to an embodiment of the present invention;
fig. 2 is a flowchart of a block chain-based collaborative office method according to an embodiment of the present invention;
fig. 3 is a schematic application diagram of a block chain-based collaborative office method according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating a structure of a block chain-based collaborative office method according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
To further illustrate the block chain based collaborative office method, apparatus, and system in the embodiments of the present invention, the following describes an application scenario of the block chain based collaborative office method, apparatus, and system in the embodiments of the present invention:
the block chain is a chain data structure formed by connecting and combining data blocks according to a time sequence, and the data blocks are guaranteed to be not falsifiable and not forged in a cryptographic mode. Each chunk in the chain of chunks is linked to the immediately preceding chunk in the chain of chunks by including a cryptographic hash of the preceding chunk. Each tile also includes a timestamp, a cryptographic hash of the tile, and one or more transactions. Transactions that have been verified by nodes of the blockchain network are hashed and form a Merkle tree. In a Merkle tree, data at leaf nodes is hashed and, for each branch of the Merkle tree, all hash values of the branch are concatenated at the root of the branch. The above process is performed for the Merkle tree up to the root node of the entire Merkle tree. The root node of the Merkle tree stores a hash value representing all the data in the Merkle tree. When a hash value claims to be a transaction stored in the Merkle tree, a quick verification can be performed by determining whether the hash value is consistent with the structure of the Merkle tree.
A blockchain network is a network of computing nodes used to manage, update and maintain one or more blockchain structures. In an embodiment of the present invention, the blockchain network may include a public blockchain network, a private blockchain network, or a federation blockchain network.
In a public blockchain network, the consensus process is controlled by nodes of the consensus network. For example, there may be thousands of entity co-processes in a public blockchain network, each entity operating at least one node in the public blockchain network. Thus, a public blockchain network may be considered a public network of participating entities. In some examples, most entities (nodes) must sign each chunk in sequence and add the signed chunk to the blockchain of the blockchain network. An example of a public blockchain network may include a particular peer-to-peer payment network.
Public blockchain networks support public transactions. Public transactions are shared among all nodes within a public blockchain network and are stored in a global blockchain. A global blockchain refers to a blockchain that is replicated across all nodes. To achieve consensus, a consensus protocol is implemented within a public blockchain network. Examples of consensus protocols include, but are not limited to: proof Of Work (Proof Of Work, POW), Proof Of rights (Proof Of stamp, POS), and Proof Of Authority (Proof Of Authority, POA).
A private blockchain network is provided for a particular entity. The read-write authority of each node in the private blockchain network is strictly controlled. Thus, private blockchain networks, also commonly referred to as licensed networks, limit the level of network participation and the participation of an object in the network. In private blockchain networks, various types of access control mechanisms may be used.
A federation blockchain network is private between participating entities. In a federated blockchain network, the consensus process is controlled by an authorizing node. For example, a federation consisting of several entities may operate a federated blockchain network, with each entity operating at least one node in the federated blockchain network. Thus, a federated blockchain network can be considered a private network of participating entities. In some examples, each participating entity must sign each chunk in order and add the chunk to the chain of chunks. In an example, each tile may be signed by a subset of participating entities and added to the chain of tiles.
In the embodiment of the present invention, the implementation of the embodiment of the present invention may be described in detail with reference to a federation blockchain network, and in an example, the method, the apparatus, and the system for block chain-based collaborative office in the embodiment of the present invention may be implemented by a federation blockchain network based on a fabric architecture. It should be noted that the embodiments of the present invention may also be implemented in any suitable blockchain network.
Fig. 1 is a system architecture diagram of a block chain-based collaborative office method according to an embodiment of the present invention, and as shown in fig. 1, a block chain network 102 may be a block chain network of a public chain, a private chain, or a federation chain. Blockchain network 102 may have deployed therein computing device 104, computing device 106, computing device 108, computing device 110, computing device 112, and network 114. In an example, the Network 114 can include a Local Area Network (LAN), Wide Area Network (WAN), the internet, or a combination thereof, and can be connected to websites, user devices (e.g., computing devices), and backend systems, and the computing devices 104, 106, 108, 110, 112 can access the Network 114 via wired and/or wireless communications.
The computing devices 104, 106, 108, 110, 112 described above form blockchain nodes in the blockchain network 102, and the computing devices 104, 106, 108, 110, 112 may run any suitable computing system that enables them to function as blockchain nodes in the blockchain network 102. In an example, the computing device may include, but is not limited to, a server, a desktop computer, a laptop computer, a tablet computing device, and a smartphone. In the embodiment of the present invention, the computing device 104, the computing device 106, the computing device 108, the computing device 110, and the computing device 112 may correspond to different business departments or business individuals, in an example, the computing device 104, the computing device 106, the computing device 108, the computing device 110, and the computing device 112 may respectively correspond to office computing devices adopted by the business department 01, the business department 02, the business department 03, the business department 04, and the business department 05, and office systems such as an electronic official document system, a supervision system, an attendance recording system, a conference management system, an affair management system, and a financial management system may be operated in the computing devices, so that any computing device operating a preset office system may constitute a block chain node in the embodiment of the present invention.
The computing devices 104, 106, 108, 110, and 112 respectively store the blockchain ledger books corresponding to the blockchain network 102, so that the computing devices 104, 106, 108, 110, and 112 can jointly maintain a common ledger book.
The following description is made of a block chain-based collaborative office method, apparatus, and system in an embodiment of the present invention:
example 1
An embodiment of the present invention provides a block chain based collaborative office method, which is applied to a first block chain node, and fig. 2 is a flowchart of a block chain based collaborative office method according to an embodiment of the present invention, and as shown in fig. 2, the block chain based collaborative office method includes:
s102, the first block link point acquires first service information, wherein the first service information comprises service data and a first data format, and the first data format is used for indicating a data format adopted by the service data in the first service information.
It should be noted that, in the embodiment of the present invention, the first block link point may be any one of a plurality of block chain nodes, and in an example, in the block chain network shown in fig. 1, the first block link point may be any one of the computing devices 104, 106, 108, 110, and 112. In an optional embodiment, in step S102, before the obtaining of the first service information by the first block link point, the method further includes:
encrypting the service data through a pre-configured public key to generate first service information; or, the business data is digitally signed by a pre-configured private key to generate the first business information.
It should be noted that, in the embodiment of the present invention, a pair of public and private keys for encryption and decryption may be granted to each business department or business personnel, and thus, each block chain node is correspondingly configured with a pair of public and private keys. When the business department or business personnel uploads the business data, the public key or the private key can be used for encrypting the business data to be uploaded. In one example, a public key corresponding to the business department can be called, and field-level encryption is performed on data through the public key; in another example, a private key corresponding to the business department may be retrieved, and the business data is digitally signed by the private key. In the above optional embodiment, the encryption processing performed on the service data may ensure the validity of the service data publishing main body, so as to re-form the transaction of the block chain and submit the transaction to the public ledger, thereby making the service data recorded on the chain safe and reliable.
It should be noted that, in an example, the above encryption or digital signature manner may be implemented based on the secret SM2 asymmetric encryption algorithm, or implemented by another encryption algorithm, which is not limited by the embodiment of the present invention.
S104, the first block chain node converts the first service information into second service information according to a preset intelligent contract; the second service information includes service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information.
In an optional embodiment, the intelligent contract at least comprises a standard data format; in the step S104, converting the first service information into the second service information according to the preset intelligent contract, including:
converting the first data format according to the standard data format to obtain a second data format, and generating second service information at least according to the service data and the second data format;
the standard data format is used for indicating a preset data standard among a plurality of service nodes.
In an optional embodiment, the intelligent contract at least comprises a standard business format; in the step S104, converting the first service information into the second service information according to a preset intelligent contract, further includes:
and converting the service data according to the standard service format, and generating second service information according to the converted service data and the second data format.
The standard service format is used for indicating a service standard preset by a plurality of service nodes.
It should be noted that, in the optional embodiment, the data standard and the service standard may be solidified through the standard data format and the standard service format in the intelligent contract, so that different service data uploaded by the same service department or service data between different service departments may be subjected to the unification processing according to the data standard and the service standard. Therefore, communication channels which can mutually trust and mutually identify can be established among different business departments, so that business linkage among the departments is realized, transparent rules are executed, business processes are simplified, office informatization construction mode optimization is promoted, data use and business calling of each department are accelerated while data of each department are integrated, and efficient operation of group office is realized.
And S106, writing the second service information into the block chain by the first block chain node.
It should be noted that, the first block link point writes the second service information into the block chain, that is, the second service information is written into the public ledger, so that each block link point in the block chain maintains the second service information together.
In an optional embodiment, after the step S106 writes the second service information into the block chain, the method further includes:
obtaining an authorization record of the second service information, and writing the authorization record into the block chain; wherein the authorization record is used to indicate a record of authorization to access the second service information.
Therefore, when another blockchain node in the blockchain network requests to access the second service information in the blockchain, whether the second blockchain node authorizes to access the second service information or not can be confirmed according to the authorization record. The foregoing is illustrated by an alternative embodiment
Acquiring an access request; the access request is used for indicating a second block chain link point to request access to second service information in the block chain;
inquiring an authorization record of the second service information according to the intelligent contract;
and in the case that the second block link point meets the authorization record, allowing the second block link point to access the second service information.
Through the technical scheme described in the above optional embodiment, access authorization to related service information can be recorded through the blockchain. It should be noted that the second block link node matches the authorization record, i.e., the authorization record includes the second block link node, and in an example, the second block link node matches the unauthorized record, i.e., the second block link node is not included in the authorization record. The second block link point may be any one of the plurality of block link nodes other than the first block link point.
Through the cooperative office method based on the block chain in the embodiment of the invention, each business department can issue the business data to the block chain through the block chain link point according to the preset standard of the intelligent contract. Therefore, the embodiment of the invention can solve the problem that the overall planning of the co-construction and sharing of office data resources among all business departments in the related technology cannot be realized through the distributed characteristic of the block chain, so that all block chain nodes in the block chain can participate in the storage and verification of the business data uploaded by the business departments, and further all the block chain nodes can jointly maintain a common account book, thereby achieving the effect of ensuring that all the business departments can timely and accurately realize the sharing of the business data and further realizing the cooperative office.
Meanwhile, the embodiment of the invention can further ensure the traceability of the transaction through the characteristic of public and private key encryption, and ensure that the service data cannot be repudiated and destroyed, thereby ensuring that the privacy of a service department or a service individual is not leaked. In addition, in the implementation process of the block chain-based collaborative office method in the embodiment of the invention, each business department does not need to completely overturn the existing workflow and data storage mode, and only needs to share part of necessary business data, so that collaborative office among different departments can be implemented through the block chain.
On the basis, the block chain-based cooperative office method in the embodiment of the invention reconstructs a data sharing mechanism and a business process reconstruction among business departments. For the cooperation of cross-department cooperative business processes and mechanisms in a way of satisfying formal exchange in the related technology or meeting self blocking business index assessment and pyramid of each department, the cooperative office realized in the embodiment of the invention can be realized based on the all-round and common management of each business department. Moreover, for the related business data such as business data, financial data, enterprise data, internet data and the like which are difficult to balance between data security and openness in the existing collaborative mode, the original data fence can be opened under the collaborative office realized based on the block chain in the embodiment of the invention, so that the ordered management, service and sharing are realized, further, the credible data of cross authentication can be formed among all business departments, and the precondition is provided for the subsequent business innovation while the existing business process is ensured.
To further illustrate the block chain based cooperative working method in the embodiment of the present invention, the block chain based cooperative working method in the embodiment of the present invention is described below by an exemplary embodiment:
fig. 3 is an application schematic diagram of the block chain-based collaborative office method according to the embodiment of the present invention, and as shown in fig. 3, for a certain service application, it needs to sequentially perform collaborative processing by the service department 01, the service department 02, the service department 03, and the service department 04 to implement management, approval, and the like of the service application.
The business department 01, the business department 02, the business department 03 and the business department 04 are respectively and correspondingly provided with an intelligent contract A, an intelligent contract B, an intelligent contract C and an intelligent contract D. The same standard data format and standard service format can be adopted among the intelligent contracts A, B, C and D.
According to a preset business process, a business department 01, a business department 02, a business department 03 and a business department 04 sequentially process business applications, taking the business department 01 as an example, the business department 01 generates business data 01 applied to the business, an intelligent contract A processes the business data 01 according to a preset standard data format and a standard business format, and writes the processed business data 01 into a block chain; therefore, the business data 01 is recorded in the public ledger, and further business data sharing of other business departments is realized, and the business department 02, the business department 03 and the business department 04 can access the business data 01 according to preset authorization records.
Similarly, the business department 02 generates business data 02 applied for the business, the intelligent contract B processes the business data 02 according to a preset standard data format and a standard business format, and writes the processed business data 02 into the block chain; therefore, the business data 02 are recorded in the public ledger, and further business data sharing of other business departments is realized, and the business department 01, the business department 03 and the business department 04 can access the business data 02 according to preset authorization records. The business department 03 generates business data 03 applied for the business, the intelligent contract C processes the business data 03 according to a preset standard data format and a standard business format, and writes the processed business data 03 into the block chain; therefore, the business data 03 is recorded in the public ledger, and further business data sharing of other business departments is realized, and the business department 01, the business department 02 and the business department 04 can access the business data 03 according to preset authorization records. The business department 04 generates business data 04 applied for the business, the intelligent contract D processes the business data 04 according to a preset standard data format and a standard business format, and writes the processed business data 04 into the block chain; therefore, the business data 04 is recorded in the public ledger, and further business data sharing of other business departments is realized, and the business department 01, the business department 02 and the business department 03 can access the business data 04 according to preset authorization records.
Based on the above implementation manner, in the business application process, the business department 01, the business department 02, the business department 03, and the business department 04 may write corresponding business data into the blockchain for business application, so that the business department 01, the business department 02, the business department 03, and the business department 04 maintain a public ledger in which the business data is recorded, and further, business data sharing and collaborative office between different business departments can be effectively performed.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
The embodiment of the present invention provides a block chain-based collaborative office device, which is disposed at a first block chain node, and is used for implementing the foregoing embodiment and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram (i) of a structure of a block chain-based collaborative office apparatus according to an embodiment of the present invention, where as shown in fig. 4, the block chain-based collaborative office apparatus includes:
an obtaining module 202, configured to obtain first service information, where the first service information includes service data and a first data format, and the first data format is used to indicate a data format used by the service data in the first service information;
the conversion module 204 is configured to convert the first service information into second service information according to a preset intelligent contract; the second service information comprises service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information;
a writing module 206, configured to write the second service information into the block chain.
It should be further noted that other optional embodiments and technical effects of the collaborative office apparatus based on a block chain in the embodiment of the present invention correspond to the collaborative office method based on a block chain described in embodiment 1, and therefore, no further description is provided herein.
In an optional embodiment, before the obtaining the first service information, the method further includes:
encrypting the service data through a pre-configured public key to generate first service information; or, the business data is digitally signed by a pre-configured private key to generate the first business information.
In an optional embodiment, the intelligent contract at least includes a standard data format, and converts the first service information into the second service information according to a preset intelligent contract, including:
converting the first data format according to the standard data format to obtain a second data format, and generating second service information at least according to the service data and the second data format;
the standard data format is used for indicating a preset data standard among a plurality of service nodes.
In an optional embodiment, the intelligent contract at least comprises a standard business format; converting the first service information into second service information according to a preset intelligent contract, and further comprising:
and converting the service data according to the standard service format, and generating second service information according to the converted service data and the second data format.
The standard service format is used for indicating a service standard preset by a plurality of service nodes.
In an optional embodiment, after writing the second service information into the block chain, the method further includes:
obtaining an authorization record of the second service information, and writing the authorization record into the block chain; wherein the authorization record is used to indicate a record of authorization to access the second service information.
In an optional embodiment, the method further includes:
acquiring an access request; the access request is used for indicating a second block chain link point to request access to second service information in the block chain;
inquiring an authorization record of the second service information according to the intelligent contract;
and in the case that the second block link point meets the authorization record, allowing the second block link point to access the second service information.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
The embodiment of the invention provides a collaborative office system based on a block chain, wherein the system architecture of the collaborative office system is shown in figure 1, the system comprises the block chain formed by a plurality of block chain nodes, and the plurality of block chain nodes comprise a first block chain node; wherein the first block link point is configured to:
acquiring first service information, wherein the first service information comprises service data and a first data format, and the first data format is used for indicating a data format adopted by the service data in the first service information;
converting the first service information into second service information according to a preset intelligent contract; the second service information comprises service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information;
and writing the second service information into the block chain.
It should be further noted that other optional embodiments and technical effects of the collaborative office system based on a block chain in the embodiment of the present invention correspond to the collaborative office method based on a block chain described in embodiment 1, and therefore, no further description is provided herein.
In an optional embodiment, before the obtaining the first service information, the method further includes:
encrypting the service data through a pre-configured public key to generate first service information; or, the business data is digitally signed by a pre-configured private key to generate the first business information.
In an optional embodiment, the intelligent contract at least includes a standard data format, and converts the first service information into the second service information according to a preset intelligent contract, including:
converting the first data format according to the standard data format to obtain a second data format, and generating second service information at least according to the service data and the second data format;
the standard data format is used for indicating a preset data standard among a plurality of service nodes.
In an optional embodiment, the intelligent contract at least comprises a standard business format; converting the first service information into second service information according to a preset intelligent contract, and further comprising:
and converting the service data according to the standard service format, and generating second service information according to the converted service data and the second data format.
The standard service format is used for indicating a service standard preset by a plurality of service nodes.
In an optional embodiment, after writing the second service information into the block chain, the method further includes:
obtaining an authorization record of the second service information, and writing the authorization record into the block chain; wherein the authorization record is used to indicate a record of authorization to access the second service information.
In an optional embodiment, the method further includes:
acquiring an access request; the access request is used for indicating a second block chain link point to request access to second service information in the block chain;
inquiring an authorization record of the second service information according to the intelligent contract;
and in the case that the second block link point meets the authorization record, allowing the second block link point to access the second service information.
Example 4
Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the computer-readable storage medium may be configured to store a computer program for executing the computer program in the above-described embodiment.
Optionally, in this embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Example 5
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in this embodiment, the processor may be configured to execute the steps in the above embodiments through a computer program.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A cooperative office method based on a block chain is applied to a first block chain node, and the method comprises the following steps:
acquiring first service information, wherein the first service information comprises service data and a first data format, and the first data format is used for indicating a data format adopted by the service data in the first service information;
converting the first service information into second service information according to a preset intelligent contract; the second service information comprises the service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information;
and writing the second service information into a block chain.
2. The method of claim 1, wherein before the obtaining the first service information, further comprising:
encrypting the service data through a pre-configured public key to generate the first service information; or, the service data is digitally signed by a pre-configured private key to generate the first service information.
3. The method according to claim 1, wherein the intelligent contract at least comprises a standard data format, and the converting the first service information into the second service information according to the preset intelligent contract comprises:
converting the first data format according to the standard data format to obtain a second data format, and generating second service information at least according to the service data and the second data format;
the standard data format is used for indicating a preset data standard among a plurality of service nodes.
4. The method of claim 3, wherein the intelligent contract includes at least a standard business format; the converting the first service information into second service information according to a preset intelligent contract further comprises:
converting the service data according to the standard service format, and generating second service information according to the converted service data and the second data format;
the standard service format is used for indicating a service standard preset by a plurality of service nodes.
5. The method according to any of claims 1 to 4, wherein after writing the second service information to the blockchain, further comprising:
obtaining an authorization record of the second service information, and writing the authorization record into the block chain; wherein the authorization record is used to indicate a record of authorized access to the second service information.
6. The method of claim 5, further comprising:
acquiring an access request; wherein the access request is used for indicating a second block link node to request access to the second service information in the block chain;
inquiring the authorization record of the second service information according to the intelligent contract;
and allowing the second block link point to access the second service information under the condition that the second block link point conforms to the authorization record.
7. A blockchain-based collaborative office device, disposed at a first blockchain node, the device comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first service information, the first service information comprises service data and a first data format, and the first data format is used for indicating a data format adopted by the service data in the first service information;
the conversion module is used for converting the first service information into second service information according to a preset intelligent contract; the second service information comprises the service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information;
and the writing module is used for writing the second service information into the block chain.
8. The cooperative office system based on the block chain is characterized by comprising the block chain formed by a plurality of block chain link points, wherein a first block chain node is included in a plurality of block chain nodes; wherein the first block link point is configured to:
acquiring first service information, wherein the first service information comprises service data and a first data format, and the first data format is used for indicating a data format adopted by the service data in the first service information;
converting the first service information into second service information according to a preset intelligent contract; the second service information comprises the service data and a second data format, and the second data format is used for indicating a data format adopted by the service data in the second service information;
and writing the second service information into the block chain.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010901453.7A CN112016898A (en) | 2020-08-31 | 2020-08-31 | Block chain-based collaborative office method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010901453.7A CN112016898A (en) | 2020-08-31 | 2020-08-31 | Block chain-based collaborative office method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112016898A true CN112016898A (en) | 2020-12-01 |
Family
ID=73516486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010901453.7A Pending CN112016898A (en) | 2020-08-31 | 2020-08-31 | Block chain-based collaborative office method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112016898A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112596936A (en) * | 2020-12-04 | 2021-04-02 | 光大科技有限公司 | Method and device for determining system fault reason, storage medium and electronic device |
CN114386946A (en) * | 2022-01-13 | 2022-04-22 | 支付宝(杭州)信息技术有限公司 | Data acquisition method and system based on blockchain network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990408A (en) * | 2019-12-02 | 2020-04-10 | 中国银行股份有限公司 | Block chain-based business information cooperation method, business system and alliance chain |
CN111309711A (en) * | 2020-03-13 | 2020-06-19 | 财付通支付科技有限公司 | Cross-blockchain data migration method, device, device and storage medium |
CN111416808A (en) * | 2020-03-13 | 2020-07-14 | 财付通支付科技有限公司 | Cross-block-chain data mutual storage method, device, equipment and storage medium |
-
2020
- 2020-08-31 CN CN202010901453.7A patent/CN112016898A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990408A (en) * | 2019-12-02 | 2020-04-10 | 中国银行股份有限公司 | Block chain-based business information cooperation method, business system and alliance chain |
CN111309711A (en) * | 2020-03-13 | 2020-06-19 | 财付通支付科技有限公司 | Cross-blockchain data migration method, device, device and storage medium |
CN111416808A (en) * | 2020-03-13 | 2020-07-14 | 财付通支付科技有限公司 | Cross-block-chain data mutual storage method, device, equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112596936A (en) * | 2020-12-04 | 2021-04-02 | 光大科技有限公司 | Method and device for determining system fault reason, storage medium and electronic device |
CN114386946A (en) * | 2022-01-13 | 2022-04-22 | 支付宝(杭州)信息技术有限公司 | Data acquisition method and system based on blockchain network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI720727B (en) | Computer-implemented method for managing sensitive data elements that are stored in a blockchain network, apparatus and system for managing sensitive data elements stored in a blockchain network | |
TWI764037B (en) | Interaction method and system across blockchain, computer equipment and storage medium | |
CN109314636B (en) | Cryptographic method and system for secure extraction of data from blockchains | |
CN109040271B (en) | Network equipment integrity protection method under distributed environment | |
EP3560143B1 (en) | Data isolation in a blockchain network | |
Brodersen et al. | Blockchain: securing a new health interoperability experience | |
WO2020147568A1 (en) | Block chain-based evidence storage method and device | |
CN106209947B (en) | A data processing method and system for a decentralized autonomous organization | |
CN110032545A (en) | File memory method, system and electronic equipment based on block chain | |
CN108804928A (en) | The secure and trusted block chain and management method of data in a kind of traceability system | |
US20210103873A1 (en) | Blockchain-based sleeve grouting quality tracing method and system, and collection terminal | |
CN111324881B (en) | Data security sharing system and method fusing Kerberos authentication server and block chain | |
CN115296838B (en) | Block chain-based data sharing method, system and storage medium | |
CN111400749A (en) | Government affair financial data sharing platform based on block chain and implementation method thereof | |
CN102170440A (en) | Method suitable for safely migrating data between storage clouds | |
CN114579943A (en) | Employee digital identity management system and method based on block chain | |
CN109951490A (en) | Webpage integrity assurance, system and electronic equipment based on block chain | |
US20210273780A1 (en) | Encrypted blockchain voting system | |
CN111091486B (en) | Block chain-based unified method for distributed government architecture | |
Ardina et al. | Design of a blockchain-based employee attendance system | |
CN112149077B (en) | Supply chain billing method, system and computer equipment based on block chain technology | |
CN112016898A (en) | Block chain-based collaborative office method, device and system | |
Wang et al. | Blockchain for public safety: A survey of techniques and applications | |
CN116644479A (en) | A tamper-proof electronic contract signing method based on blockchain technology | |
Reddy et al. | Framework for privacy preserving credential issuance and verification system using soulbound token |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201201 |