CN108388988B - Block chain-based collaborative office method, system and computer-readable storage medium - Google Patents

Block chain-based collaborative office method, system and computer-readable storage medium Download PDF

Info

Publication number
CN108388988B
CN108388988B CN201810160325.4A CN201810160325A CN108388988B CN 108388988 B CN108388988 B CN 108388988B CN 201810160325 A CN201810160325 A CN 201810160325A CN 108388988 B CN108388988 B CN 108388988B
Authority
CN
China
Prior art keywords
sub
transaction
post node
server
post
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.)
Active
Application number
CN201810160325.4A
Other languages
Chinese (zh)
Other versions
CN108388988A (en
Inventor
万麟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhigan District Blockchain Technology Co ltd
Original Assignee
Shenzhen Zhigan District Blockchain Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhigan District Blockchain Technology Co ltd filed Critical Shenzhen Zhigan District Blockchain Technology Co ltd
Priority to CN201810160325.4A priority Critical patent/CN108388988B/en
Publication of CN108388988A publication Critical patent/CN108388988A/en
Application granted granted Critical
Publication of CN108388988B publication Critical patent/CN108388988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063112Skill-based matching of a person or a group to a task
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a block chain-based collaborative office method, which comprises the following steps: the server sets the function authority information of each post node in the block chain ecological network through an intelligent contract; when a to-be-processed transaction is received, the server acquires the post information related to the to-be-processed transaction; the server performs segmentation operation on the to-be-processed affairs based on the post information and the function authority information through an intelligent contract to obtain a plurality of sub-affairs and post node information corresponding to each sub-affair; and the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information. The invention also discloses a collaborative office system based on the block chain and a computer readable storage medium. The invention realizes the parallel office of each post node by dividing the to-be-processed affair, and improves the efficiency of the cooperative office.

Description

Block chain-based collaborative office method, system and computer-readable storage medium
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a method and a system for collaborative office based on blockchain, and a computer-readable storage medium.
Background
The coordination among departments refers to an operation process in which all elements among the departments coordinate and cooperate with each other to improve the overall efficiency. A coordination and coordination system among departments is established, so that staff of each post of the department can respectively take their duties and pay their responsibility, and work is done independently within the scope of each authority.
Although the current cooperative office scheme allows the staff of the department to clearly define the work content of the staff, the serial linear solidification work flow still exists: that is, the work of the next stage can be carried out only after the work approval of the previous stage is completed, and when a plurality of posts are required to divide work, the overall efficiency is seriously reduced by the serial linear curing work flow.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a block chain-based cooperative office method, a block chain-based cooperative office system and a computer-readable storage medium, and aims to solve the technical problem that the efficiency of cooperative office is low due to the fact that a linear curing work flow is serially connected when a plurality of posts are required to divide work in the conventional cooperative office scheme.
In order to achieve the above object, the present invention provides a block chain-based collaborative office method, which includes the following steps:
the server sets the function authority information of each post node in the block chain ecological network through an intelligent contract;
when a to-be-processed transaction is received, the server acquires the post information related to the to-be-processed transaction;
the server performs segmentation operation on the to-be-processed affairs based on the post information and the function authority information through an intelligent contract to obtain a plurality of sub-affairs and post node information corresponding to each sub-affair;
and the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information.
Further, in an embodiment, the step of the server sending each sub-transaction to the post node corresponding to the sub-transaction based on the post node information includes:
the server generates specific tasks based on the plurality of sub-transactions respectively;
and the server respectively sends each specific task to the post node corresponding to the sub-affair based on the post node information.
Further, in an embodiment, after the step of sending each sub-transaction to the post node corresponding to the sub-transaction by the server based on the post node information, the block chain-based cooperative office method further includes:
the post node creates a task pool for storing a specific task;
when a specific task is received, the post node updates the task pool based on the receiving time of the specific task;
and the post node outputs new task reminding information.
Further, in an embodiment, after the step of updating, by the post node, the task pool based on the receiving time of the specific task, the block chain-based cooperative office method further includes:
when the completed specific task exists in the task pool, the post node feeds back a processing result of the completed specific task to the server;
and the post node deletes the completed specific task in the task pool.
Further, in an embodiment, the step of the server sending each sub-transaction to the post node corresponding to the sub-transaction based on the post node information includes:
when an associated sub-transaction exists in a plurality of sub-transactions, the server acquires a first sub-transaction and a second sub-transaction corresponding to the associated sub-transaction, wherein the second sub-transaction depends on the processing result of the first sub-transaction;
and the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information, and sends a prompt message to the post node corresponding to the first sub-transaction, so that the post node corresponding to the first sub-transaction preferentially processes the first sub-transaction according to the prompt message.
Further, in an embodiment, after the step of sending each sub-transaction to the post node corresponding to the sub-transaction by the server based on the post node information, the block chain-based cooperative office method further includes:
when the processing results of all the sub-transactions are received, the server determines whether a third sub-transaction of the abnormal processing result exists currently;
and in the third sub-transaction without exception processing result, the server creates a block for storing the processing result.
Further, in an embodiment, after the step of determining, by the server, whether there is a third sub-transaction of the exception processing result currently when the processing results of all the sub-transactions are received, the block chain-based cooperative office method further includes:
when a third sub-transaction with an exception processing result exists currently, the server sends a re-processing instruction to the post node corresponding to the third sub-transaction, so that the post node corresponding to the third sub-transaction processes a specific task corresponding to the third sub-transaction again, and feeds back a first processing result;
and when the first processing result is received, the server creating block stores the first processing result and the second processing result, wherein the second processing result is the processing result except the exception processing result in the processing results of all the sub-transactions.
Further, in an embodiment, before the step of setting, by the server, the function authority information of each post node in the block chain ecological network through an intelligent contract, the block chain-based cooperative office method further includes:
and the server deploys intelligent contracts for cooperative work in the block chain ecological network.
In addition, to achieve the above object, the present invention further provides a block chain-based collaborative office system, including: the system comprises a memory, a processor and a block chain based cooperative office program stored on the memory and capable of running on the processor, wherein the block chain based cooperative office program realizes the steps of any one of the block chain based cooperative office methods when executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, where a block chain-based collaborative office program is stored, and the block chain-based collaborative office program, when executed by a processor, implements the steps of the block chain-based collaborative office method according to any one of the above.
According to the method, the server sets the function authority information of each post node in the block chain ecological network through the intelligent contract, then when a to-be-processed transaction is received, the server obtains the post information related to the to-be-processed transaction, then the server performs a dividing operation on the to-be-processed transaction through the intelligent contract based on the post information and the function authority information to obtain a plurality of sub-transactions and post node information corresponding to each sub-transaction, then the server respectively sends each sub-transaction to the post node corresponding to each sub-transaction based on the post node information, parallel office of each post node is achieved by dividing the to-be-processed transaction, and the efficiency of cooperative office is improved. The cooperative office scheme for constructing the independent ecological system by using the government chain ecology based on the block chain technology can definitely handle the steps through an intelligent contract, simplifies the handling process, enables the staff of each post of a department to respectively take the duties of the staff, breaks through the traditional serial office mode, and realizes efficient parallel office. Under the effective responsibility supervision, the office quality of each post is ensured. The method and the device well solve the problem of pain in cooperative office among departments at the present stage, and really realize high-efficiency and high-quality office.
Drawings
Fig. 1 is a schematic structural diagram of a block chain-based cooperative office system in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a block chain-based cooperative working method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a block chain-based cooperative office system in a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, dynamic video Experts compress standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, dynamic video Experts compress standard Audio Layer 4) player, a portable computer, and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a block chain-based cooperative office program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be used to call a block chain based co-office program stored in the memory 1005.
In this embodiment, the cooperative office system based on the block chain includes: a memory 1005, a processor 1001, and a co-office program based on a block chain stored in the memory 1005 and executable on the processor 1001, wherein when the processor 1001 calls the co-office program based on the block chain stored in the memory 1005, the following operations are performed:
the cooperative office method based on the block chain comprises the following steps:
the server sets the function authority information of each post node in the block chain ecological network through an intelligent contract;
when a to-be-processed transaction is received, the server acquires the post information related to the to-be-processed transaction;
the server performs segmentation operation on the to-be-processed affairs based on the post information and the function authority information through an intelligent contract to obtain a plurality of sub-affairs and post node information corresponding to each sub-affair;
and the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information.
Further, the processor 1001 may call the co-office program based on the block chain stored in the memory 1005, and also perform the following operations:
the server generates specific tasks based on the plurality of sub-transactions respectively;
and the server respectively sends each specific task to the post node corresponding to the sub-affair based on the post node information.
Further, the processor 1001 may call the co-office program based on the block chain stored in the memory 1005, and also perform the following operations:
the post node creates a task pool for storing a specific task;
when a specific task is received, the post node updates the task pool based on the receiving time of the specific task;
and the post node outputs new task reminding information.
Further, the processor 1001 may call the co-office program based on the block chain stored in the memory 1005, and also perform the following operations:
when the completed specific task exists in the task pool, the post node feeds back a processing result of the completed specific task to the server;
and the post node deletes the completed specific task in the task pool.
Further, the processor 1001 may call the co-office program based on the block chain stored in the memory 1005, and also perform the following operations:
when an associated sub-transaction exists in a plurality of sub-transactions, the server acquires a first sub-transaction and a second sub-transaction corresponding to the associated sub-transaction, wherein the second sub-transaction depends on the processing result of the first sub-transaction;
and the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information, and sends a prompt message to the post node corresponding to the first sub-transaction, so that the post node corresponding to the first sub-transaction preferentially processes the first sub-transaction according to the prompt message.
Further, the processor 1001 may call the co-office program based on the block chain stored in the memory 1005, and also perform the following operations:
when the processing results of all the sub-transactions are received, the server determines whether a third sub-transaction of the abnormal processing result exists currently;
and in the third sub-transaction without exception processing result, the server creates a block for storing the processing result.
Further, the processor 1001 may call the co-office program based on the block chain stored in the memory 1005, and also perform the following operations:
when a third sub-transaction with an exception processing result exists currently, the server sends a re-processing instruction to the post node corresponding to the third sub-transaction, so that the post node corresponding to the third sub-transaction processes a specific task corresponding to the third sub-transaction again, and feeds back a first processing result;
and when the first processing result is received, the server creating block stores the first processing result and the second processing result, wherein the second processing result is the processing result except the exception processing result in the processing results of all the sub-transactions.
Further, the processor 1001 may call the co-office program based on the block chain stored in the memory 1005, and also perform the following operations:
and the server deploys intelligent contracts for cooperative work in the block chain ecological network.
The invention also provides a block chain-based collaborative office method, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of the block chain-based collaborative office method of the invention.
In this embodiment, the block chain-based collaborative office method includes:
step S110, the server sets the function authority information of each post node in the block chain ecological network through an intelligent contract;
in this embodiment, a certain department or enterprise creates its own application system in the blockchain ecology to complete the creation of the ecological environment of its own service, and the server corresponding to the application system automatically sets different function permissions for different posts in the ecological environment through an intelligent contract, that is, the server sets function permission information of each post node in the blockchain ecological network through the intelligent contract.
Step S120, when a to-be-processed transaction is received, the server acquires the post information related to the to-be-processed transaction;
in this embodiment, after the setting of the function authority information of each post node is completed, a to-be-processed transaction may be submitted at a server or other nodes, and when the to-be-processed transaction is received, the server obtains the post information related to the to-be-processed transaction, so as to segment the to-be-processed transaction according to the post information.
Step S130, the server performs segmentation operation on the to-be-processed affairs through an intelligent contract based on the post information and the function authority information to obtain a plurality of sub-affairs and post node information corresponding to each sub-affair;
in this embodiment, when acquiring the position information related to the to-be-processed transaction, the server performs a splitting operation on the to-be-processed transaction based on the position information and the function authority information through an intelligent contract to obtain a plurality of sub-transactions and position node information corresponding to each sub-transaction, and splits the to-be-processed transaction into a plurality of sub-transactions, where each sub-transaction corresponds to a position node.
Step S140, the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information.
In this embodiment, when acquiring the sub-transactions and the post node information corresponding to each sub-transaction, the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information, and then allocates each sub-transaction to the corresponding post node, so as to implement parallel efficient office work.
Further, in an embodiment, before step S110, the method for block chain-based collaborative office further includes:
and the server deploys intelligent contracts for cooperative work in the block chain ecological network.
According to the collaborative office method based on the block chain, the server sets the function authority information of each post node in the ecological network of the block chain through the intelligent contract, then when a to-be-processed transaction is received, the server obtains the post information related to the to-be-processed transaction, then the server performs the splitting operation on the to-be-processed transaction through the intelligent contract based on the post information and the function authority information to obtain a plurality of sub-transactions and the post node information corresponding to each sub-transaction, then the server respectively sends each sub-transaction to the post node corresponding to each sub-transaction based on the post node information, and the to-be-processed transaction is split to achieve the parallel office of each post node, so that the collaborative office efficiency is improved. The cooperative office scheme for constructing the independent ecological system by using the government chain ecology based on the block chain technology can definitely handle the steps through an intelligent contract, simplifies the handling process, enables the staff of each post of a department to respectively take the duties of the staff, breaks through the traditional serial office mode, and realizes efficient parallel office. Under the effective responsibility supervision, the office quality of each post is ensured. The method and the device well solve the problem of pain in cooperative office among departments at the present stage, and really realize high-efficiency and high-quality office.
Based on the first embodiment, a second embodiment of the collaborative office method based on the block chain according to the present invention is proposed, in this embodiment, step S140 includes:
step S141, the server generates specific tasks based on the plurality of sub-transactions respectively;
and step S142, the server respectively sends each specific task to the post node corresponding to the sub-affair based on the post node information.
In this embodiment, in the embodiment, when obtaining the sub-transactions and the post node information corresponding to each sub-transaction, the server generates specific tasks based on the plurality of sub-transactions, and sends each specific task to the post node corresponding to the sub-transaction based on the post node information, so as to implement parallel office of each post node, and improve efficiency of collaborative office.
In the block chain-based collaborative office method provided by this embodiment, the server generates specific tasks based on the plurality of sub-transactions, and then the server sends each specific task to the post node corresponding to the sub-transaction based on the post node information, and the parallel office of each post node is realized by allocating the specific task to each post node, thereby further improving the efficiency of collaborative office.
Based on the second embodiment, a third embodiment of the collaborative office method based on a block chain according to the present invention is provided, in this embodiment, after step S140, the collaborative office method based on a block chain further includes:
step S150, the post node creates a task pool for storing specific tasks;
step S160, when a specific task is received, the post node updates the task pool based on the receiving time of the specific task;
and step S170, outputting new task reminding information by the post node.
In this embodiment, each post node creates a task pool for storing a specific task, and after the server sends each specific task to the post node corresponding to the sub-transaction based on the information of the post node, the post node receives the specific task, updates the task pool based on the receiving time of the specific task, and outputs new task reminding information to prompt the staff of the post node to receive the new specific task currently, so as to process the new specific task in time.
According to the block chain-based collaborative office method, the task pool used for storing the specific tasks is created through the post nodes, then when the specific tasks are received, the post nodes update the task pool based on the receiving moments of the specific tasks, and then the post nodes output new task reminding information, so that users of the post nodes can know that the new specific tasks exist at present in time, timely processing is facilitated, and the efficiency of collaborative office is further improved.
Based on the third embodiment, a fourth embodiment of the collaborative office method based on a block chain according to the present invention is provided, in this embodiment, after step S160, the collaborative office method based on a block chain further includes:
step S180, when the completed specific task exists in the task pool, the post node feeds back the processing result of the completed specific task to the server;
and step S190, deleting the completed specific task in the task pool by the post node.
In this embodiment, when a specific task in a post node is completed, the state of the specific task in the task pool of the post node is changed to a completed state, and further when the completed specific task exists in the task pool, that is, when the specific task whose state is completed exists in the task pool, the post node feeds back a processing result of the completed specific task to the server, and deletes the completed specific task in the task pool.
In the block chain-based cooperative office method provided by this embodiment, when a specific task completed exists in the task pool, the post node feeds back a processing result of the specific task completed to the server, and then the post node deletes the specific task completed in the task pool, so that the post node can feed back the processing result of the specific task to the server in time, and the efficiency of cooperative office is further improved.
A fifth embodiment of the block chain-based cooperative working method according to the present invention is proposed based on the first embodiment, and in this embodiment, the step S140 includes:
step S143, when there is an associated sub-transaction in a plurality of sub-transactions, the server obtains a first sub-transaction and a second sub-transaction corresponding to the associated sub-transaction, wherein the second sub-transaction depends on a processing result of the first sub-transaction;
in this embodiment, the second sub-transaction depends on the processing result of the first sub-transaction, that is, the second sub-transaction needs to be processed according to the processing result of the first sub-transaction, and the first sub-transaction and the second sub-transaction form an associated sub-transaction. When the associated sub-transactions exist in the plurality of sub-transactions, the server acquires a first sub-transaction and a second sub-transaction corresponding to the associated sub-transactions.
Step S144, the server sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information, and sends a prompt message to the post node corresponding to the first sub-transaction, so that the post node corresponding to the first sub-transaction preferentially processes the first sub-transaction according to the prompt message.
In this embodiment, the server sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information, and sends a prompt message to the post node corresponding to the first sub-transaction, so that the post node corresponding to the first sub-transaction preferentially processes the first sub-transaction according to the prompt message, that is, when the post node corresponding to the first sub-transaction receives the first sub-transaction and the prompt message, the post node corresponding to the first sub-transaction can preferentially process the first sub-transaction according to the prompt message, so that the second sub-transaction can be processed in time.
In the block chain-based cooperative office method provided by this embodiment, when there is an associated sub-transaction in a plurality of sub-transactions, a first sub-transaction and a second sub-transaction corresponding to the associated sub-transaction are obtained, and then the server sends each sub-transaction to a post node corresponding to the sub-transaction based on the post node information, and sends a prompt message to the post node corresponding to the first sub-transaction, so that the post node corresponding to the first sub-transaction preferentially processes the first sub-transaction, and the post node corresponding to the first sub-transaction preferentially processes the first sub-transaction according to the prompt message, so that the second sub-transaction can be processed in time, and the efficiency of cooperative office is further improved.
Based on the first embodiment, a sixth embodiment of the collaborative office method based on a block chain according to the present invention is provided, and in this embodiment, after step S140, the collaborative office method based on a block chain further includes:
step S200, when receiving the processing results of all the sub-transactions, the server determines whether a third sub-transaction of the abnormal processing result exists at present;
in this embodiment, when the processing of each sub-transaction is completed, the post node corresponding to each sub-transaction feeds back the corresponding processing result to the server through the intelligent contract, and when the processing results of all sub-transactions are received, the server determines whether a third sub-transaction of the abnormal processing result exists currently, that is, determines whether the processing results of all sub-transactions are normal.
Step S210, when there is no third sub-transaction of the exception handling result, the server creates a block to store the handling result.
In this embodiment, when there is no third sub-transaction of the exception processing result, the server creates a block to store the processing result, thereby completing the to-be-processed transaction.
According to the block chain-based cooperative office method provided by the embodiment, when the processing results of all sub-transactions are received, the server determines whether a third sub-transaction of the abnormal processing result exists currently, and then the server creates the block to store the processing result when the third sub-transaction of the abnormal processing result does not exist currently, so that the processing result of each sub-transaction is checked, the processing result of each sub-transaction is ensured to be correct, and the efficiency of cooperative office is further improved.
Based on the sixth embodiment, a seventh embodiment of the collaborative office method based on a block chain according to the present invention is provided, in this embodiment, after step S200, the collaborative office method based on a block chain further includes:
step S220, when a third sub-transaction with an exception processing result exists currently, the server sends a re-processing instruction to the post node corresponding to the third sub-transaction, so that the post node corresponding to the third sub-transaction processes the specific task corresponding to the third sub-transaction again, and feeds back the first processing result;
in this embodiment, when a third sub-transaction having an exception processing result currently exists, the server sends a reprocessing instruction to the post node corresponding to the third sub-transaction, and when the post node corresponding to the third sub-transaction receives the reprocessing instruction, the post node processes the specific task corresponding to the third sub-transaction again and feeds back the first processing result. The server can simultaneously send a re-processing instruction and a third sub-transaction to the post node corresponding to the third sub-transaction.
Step S230, when receiving the first processing result, the server creates a block to store the first processing result and the second processing result, where the second processing result is the processing result of all the sub-transactions except the exception processing result.
In this embodiment, when receiving the first processing result, the server creates a block to store the first processing result and the second processing result.
In the block chain-based cooperative office method provided by this embodiment, the server sends a re-processing instruction to the post node corresponding to the third sub-transaction through the third sub-transaction having the exception processing result currently, so that the post node corresponding to the third sub-transaction processes the specific task corresponding to the third sub-transaction again, and feeds back the first processing result, and then, when receiving the first processing result, the server creates the block to store the first processing result and the second processing result, so that the post node can re-process the third sub-transaction having the exception processing result, thereby ensuring the accuracy of the processing result of the to-be-processed transaction, and further improving the efficiency of cooperative office.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a block chain-based collaborative office program is stored on the computer-readable storage medium, and when executed by a processor, the block chain-based collaborative office program implements the following operations:
the server sets the function authority information of each post node in the block chain ecological network through an intelligent contract;
when a to-be-processed transaction is received, the server acquires the post information related to the to-be-processed transaction;
the server performs segmentation operation on the to-be-processed affairs based on the post information and the function authority information through an intelligent contract to obtain a plurality of sub-affairs and post node information corresponding to each sub-affair;
and the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information.
Further, when executed by a processor, the block chain-based collaborative office program further performs the following operations:
the server generates specific tasks based on the plurality of sub-transactions respectively;
and the server respectively sends each specific task to the post node corresponding to the sub-affair based on the post node information.
Further, when executed by a processor, the block chain-based collaborative office program further performs the following operations:
the post node creates a task pool for storing a specific task;
when a specific task is received, the post node updates the task pool based on the receiving time of the specific task;
and the post node outputs new task reminding information.
Further, when executed by a processor, the block chain-based collaborative office program further performs the following operations:
when the completed specific task exists in the task pool, the post node feeds back a processing result of the completed specific task to the server;
and the post node deletes the completed specific task in the task pool.
Further, when executed by a processor, the block chain-based collaborative office program further performs the following operations:
when an associated sub-transaction exists in a plurality of sub-transactions, the server acquires a first sub-transaction and a second sub-transaction corresponding to the associated sub-transaction, wherein the second sub-transaction depends on the processing result of the first sub-transaction;
and the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information, and sends a prompt message to the post node corresponding to the first sub-transaction, so that the post node corresponding to the first sub-transaction preferentially processes the first sub-transaction according to the prompt message.
Further, when executed by a processor, the block chain-based collaborative office program further performs the following operations:
when the processing results of all the sub-transactions are received, the server determines whether a third sub-transaction of the abnormal processing result exists currently;
and in the third sub-transaction without exception processing result, the server creates a block for storing the processing result.
Further, when executed by a processor, the block chain-based collaborative office program further performs the following operations:
when a third sub-transaction with an exception processing result exists currently, the server sends a re-processing instruction to the post node corresponding to the third sub-transaction, so that the post node corresponding to the third sub-transaction processes a specific task corresponding to the third sub-transaction again, and feeds back a first processing result;
and when the first processing result is received, the server creating block stores the first processing result and the second processing result, wherein the second processing result is the processing result except the exception processing result in the processing results of all the sub-transactions.
Further, when executed by a processor, the block chain-based collaborative office program further performs the following operations:
and the server deploys intelligent contracts for cooperative work in the block chain ecological network.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution 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) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. A block chain-based cooperative office method is characterized by comprising the following steps:
the server sets the function authority information of each post node in the block chain ecological network through an intelligent contract;
when a to-be-processed transaction is received, the server acquires the post information related to the to-be-processed transaction;
the server performs segmentation operation on the to-be-processed affairs based on the post information and the function authority information through an intelligent contract to obtain a plurality of sub-affairs and post node information corresponding to each sub-affair;
the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information;
the server generates specific tasks based on the plurality of sub-transactions respectively;
the server respectively sends each specific task to the post node corresponding to the sub-affair based on the post node information;
the post node creates a task pool for storing a specific task;
when a specific task is received, the post node updates the task pool based on the receiving time of the specific task;
the post node outputs new task reminding information;
when the processing results of all the sub-transactions are received, the server determines whether a third sub-transaction of the abnormal processing result exists currently;
when a third sub-transaction of an exception processing result does not exist currently, the server creates a block to store the processing result;
when a third sub-transaction with an exception processing result exists currently, the server sends a re-processing instruction to the post node corresponding to the third sub-transaction, so that the post node corresponding to the third sub-transaction processes a specific task corresponding to the third sub-transaction again, and feeds back a first processing result;
and when the first processing result is received, the server creating block stores the first processing result and a second processing result, wherein the second processing result is the processing result except the exception processing result in the processing results of all the sub-transactions.
2. The block chain based collaborative office method according to claim 1, wherein after the step of the post node updating the task pool based on the reception time of the specific task, the block chain based collaborative office method further comprises:
when the completed specific task exists in the task pool, the post node feeds back a processing result of the completed specific task to the server;
and the post node deletes the completed specific task in the task pool.
3. The block chain-based collaborative office method according to claim 1, wherein the step of the server sending each of the sub-transactions to the post node corresponding to the sub-transaction based on the post node information comprises:
when an associated sub-transaction exists in a plurality of sub-transactions, the server acquires a first sub-transaction and a second sub-transaction corresponding to the associated sub-transaction, wherein the second sub-transaction depends on the processing result of the first sub-transaction;
and the server respectively sends each sub-transaction to the post node corresponding to the sub-transaction based on the post node information, and sends a prompt message to the post node corresponding to the first sub-transaction, so that the post node corresponding to the first sub-transaction preferentially processes the first sub-transaction according to the prompt message.
4. The block chain based cooperative office method according to any one of claims 1 to 3, wherein before the step of setting the function authority information of each post node in the block chain ecological network by the server through an intelligent contract, the block chain based cooperative office method further comprises:
and the server deploys intelligent contracts for cooperative work in the block chain ecological network.
5. A blockchain-based collaborative office system, the blockchain-based collaborative office system comprising: a memory, a processor, and a blockchain based co-office program stored on the memory and executable on the processor, the blockchain based co-office program when executed by the processor implementing the steps of the blockchain based co-office method of any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a blockchain-based collaborative office program, which when executed by a processor implements the steps of the blockchain-based collaborative office method according to any one of claims 1 to 4.
CN201810160325.4A 2018-02-26 2018-02-26 Block chain-based collaborative office method, system and computer-readable storage medium Active CN108388988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810160325.4A CN108388988B (en) 2018-02-26 2018-02-26 Block chain-based collaborative office method, system and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810160325.4A CN108388988B (en) 2018-02-26 2018-02-26 Block chain-based collaborative office method, system and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108388988A CN108388988A (en) 2018-08-10
CN108388988B true CN108388988B (en) 2021-07-06

Family

ID=63068541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810160325.4A Active CN108388988B (en) 2018-02-26 2018-02-26 Block chain-based collaborative office method, system and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN108388988B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325366B (en) * 2018-08-22 2022-08-12 深圳前海微众银行股份有限公司 Service processing method and device based on alliance chain and computer readable storage medium
CN109284630B (en) * 2018-09-21 2020-12-08 深圳市九洲电器有限公司 File editing method, device and system and readable storage medium
CN111080222A (en) * 2018-10-22 2020-04-28 西安企业资本服务中心有限公司 Approval method and approval system
CN111899016A (en) * 2018-10-31 2020-11-06 创新先进技术有限公司 Quality data processing method and device based on block chain
CN109634913A (en) * 2018-12-14 2019-04-16 北京达佳互联信息技术有限公司 Storage method, device and the electronic equipment of document
CN109726984A (en) * 2018-12-20 2019-05-07 深圳智乾区块链科技有限公司 A kind of processing result generation method and its equipment, storage medium, electronic equipment
CN110175819B (en) * 2019-05-29 2023-03-24 贵州电网有限责任公司 Online multi-person cooperation daily affair personalized service system and operation method
CN111191100B (en) * 2019-11-08 2023-05-23 腾讯科技(深圳)有限公司 Government information processing method, government information processing device and computer readable storage medium
WO2022133827A1 (en) * 2020-12-23 2022-06-30 杭州趣链科技有限公司 Method and apparatus for processing task processing request, and blockchain node device
CN112905661A (en) * 2021-02-07 2021-06-04 杭州趣链科技有限公司 Data processing method, system, device, server and medium
CN115660610B (en) * 2022-12-27 2023-03-21 广州明动软件股份有限公司 Decentralized cooperative office system and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674019A (en) * 2004-12-29 2005-09-28 江苏省金思维信息技术有限公司 Method for atomic task of enterprise management modeling
CN101957778A (en) * 2010-09-19 2011-01-26 华为技术有限公司 Software continuous integration method, device and system
CN104503845A (en) * 2015-01-14 2015-04-08 北京邮电大学 Task distributing method and system
CN104580396A (en) * 2014-12-19 2015-04-29 华为技术有限公司 Task scheduling method, node and system
CN105005570A (en) * 2014-04-23 2015-10-28 国家电网公司 Method and apparatus for mining massive intelligent power consumption data based on cloud computing
CN105868926A (en) * 2016-04-28 2016-08-17 国网福建省电力有限公司 Management platform for achieving task decomposition and automated distribution and performance assessment of power supply station
CN105989438A (en) * 2015-02-10 2016-10-05 阿里巴巴集团控股有限公司 Task relation management method, apparatus and system thereof, and electronic equipment
CN107566379A (en) * 2017-09-12 2018-01-09 杭州趣链科技有限公司 A kind of government information resources shared system based on block chain

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674019A (en) * 2004-12-29 2005-09-28 江苏省金思维信息技术有限公司 Method for atomic task of enterprise management modeling
CN101957778A (en) * 2010-09-19 2011-01-26 华为技术有限公司 Software continuous integration method, device and system
CN105005570A (en) * 2014-04-23 2015-10-28 国家电网公司 Method and apparatus for mining massive intelligent power consumption data based on cloud computing
CN104580396A (en) * 2014-12-19 2015-04-29 华为技术有限公司 Task scheduling method, node and system
CN104503845A (en) * 2015-01-14 2015-04-08 北京邮电大学 Task distributing method and system
CN105989438A (en) * 2015-02-10 2016-10-05 阿里巴巴集团控股有限公司 Task relation management method, apparatus and system thereof, and electronic equipment
CN105868926A (en) * 2016-04-28 2016-08-17 国网福建省电力有限公司 Management platform for achieving task decomposition and automated distribution and performance assessment of power supply station
CN107566379A (en) * 2017-09-12 2018-01-09 杭州趣链科技有限公司 A kind of government information resources shared system based on block chain

Also Published As

Publication number Publication date
CN108388988A (en) 2018-08-10

Similar Documents

Publication Publication Date Title
CN108388988B (en) Block chain-based collaborative office method, system and computer-readable storage medium
CN108562024B (en) Centralized control method and system for multi-split air conditioning system and computer readable storage medium
CN112955856A (en) Electronic device displaying a list of executable applications on a split screen and method of operating the same
CN103294335A (en) Apparatus and method for creating a shortcut menu
CN109215640B (en) Speech recognition method, intelligent terminal and computer readable storage medium
US20220382788A1 (en) Electronic device and method for operating content using same
KR102205686B1 (en) Method and apparatus for ranking candiate character and method and device for inputting character
CN112364187B (en) Automobile accessory database building method, device and equipment based on big data
CN111580883B (en) Application program starting method, device, computer system and medium
US20150052145A1 (en) Electronic device and method capable of searching application
CN112396511A (en) Distributed wind control variable data processing method, device and system
CN114327846A (en) Cluster capacity expansion method and device, electronic equipment and computer readable storage medium
CN116416818A (en) Parking space reservation method, device, equipment and computer readable storage medium
CN113485742B (en) Host application version registration method and device
CN113268179B (en) Session message processing method, device, equipment and storage medium
CN115082038A (en) System integration method and device and electronic equipment
CN113835790B (en) Paging page display method and device based on Android
CN107301089B (en) APP deployment and calling method and terminal
CN110515718B (en) Batch task breakpoint continuous method, device, equipment and medium
CN114416212A (en) Mobile terminal application program data resource processing method and device
CN110377654B (en) Data request processing method and device, electronic equipment and computer-readable storage medium
CN113392091A (en) Distributed cluster data migration method and device
CN106465219B (en) Method and device for registering network
CN112860655B (en) Visual knowledge model construction method and device
CN114268653A (en) Equipment calling method, device, equipment, medium and product

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
GR01 Patent grant
GR01 Patent grant