Workflow management method, device, equipment and readable storage medium

Automatically synchronizes the working environment and status of computer equipment through the workflow synchronization system, solving the inefficiency problem of manually establishing environments and copying data in cross-device offices, improving work efficiency and enhancing synchronization flexibility.

CN115242809BActive Publication Date: 2025-02-11SHENZHEN XIAOYUDIAN DIGITAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210829892.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-14
Publication Date
2025-02-11
Estimated Expiration
2042-07-14

AI Technical Summary

Technical Problem

In cross-device office scenarios, users need to manually establish the same work environment and copy data, resulting in inefficiency.

Method used

通过工作流同步系统,获取并存储计算机设备的特征数据,包括工作运行环境信息和工作运行状态信息,并自动同步到目标设备,建立跨设备的工作运行环境和状态一致性。

Benefits of technology

It realizes automatic working environment and state synchronization across devices, improves work efficiency, reduces the user's manual operation needs, and improves the flexibility of workflow synchronization through server progress control and version management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115242809B_ABST
    Figure CN115242809B_ABST
Patent Text Reader

Abstract

The embodiment of the present application proposes a workflow management method, apparatus, device and readable storage medium, the method comprising: acquiring and storing feature data including work operation environment information and work operation status information of a first device; in response to a first work synchronization instruction, sending the device information of the first device to a server, so that the server generates a first progress identifier corresponding to the device information of the first device and used to indicate the latest progress of the feature data of the first device; upon receiving the communication parameters of the second device sent by the server based on the first progress identifier, establishing a communication connection with the second device based on the communication parameters of the second device, and sending the feature data of the first device to the second device, so that the second device synchronizes the work operation environment and work operation status of the first device to the second device. Through the embodiment of the present application, the synchronization of the work operation environment and work operation status across devices can be automatically performed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a workflow management method, a workflow management apparatus, a computer device, and a computer-readable storage medium. Background Art

[0002] With the development of information systems, most of the users' work is done through computer devices. It is a common scenario in life that users use another computer device to continue the work on the previous computer device after switching work locations. When working in a cross-device office processing scenario, users need to first establish the same working environment as the previous computer device on another computer device and copy relevant document data to another computer device to prepare before they can work on the other computer device, which will affect work efficiency. Summary of the invention

[0003] The present application provides a workflow management method, apparatus, device and readable storage medium, which can automatically synchronize the working environment and working status across devices to improve work efficiency.

[0004] In a first aspect, the present application provides a workflow management method, which is applied to a first computer device in a workflow synchronization system, wherein the workflow synchronization system includes a server and at least one computer device, wherein the first computer device is any one of the at least one computer device, and the method includes:

[0005] Acquire and store characteristic data of the first computer device, wherein the characteristic data of the first computer device includes working environment information of the first computer device and working status information of the first computer device;

[0006] In response to the first work synchronization instruction, sending the device information of the first computer device to the server, so that the server generates a first progress indicator corresponding to the device information of the first computer device, and the first progress indicator is used to indicate the latest progress of the characteristic data of the first computer device;

[0007] Upon receiving the communication parameters of the second computer device sent by the server based on the first progress indicator, a communication connection is established with the second computer device based on the communication parameters of the second computer device, and characteristic data of the first computer device is sent to the second computer device, so that the second computer device synchronizes the working environment and working status of the first computer device to the second computer device based on the characteristic data of the first computer device.

[0008] In a second aspect, the present application provides another workflow management method, which is applied to a server in a workflow synchronization system, wherein the workflow synchronization system includes the server and at least one computer device, and the method includes:

[0009] Receiving device information of a first computer device, the first computer device being any one of the at least one computer device, the device information of the first computer device including account information of the first computer device;

[0010] Generate a first progress indicator corresponding to the device information of the first computer device, the first progress indicator is used to indicate the latest progress of the characteristic data of the first computer device, the characteristic data of the first computer device includes the working environment information and the working state information of the first computer device;

[0011] When receiving a second workflow synchronization request sent by a second computer device, obtaining device information of the second computer device and account information of the computer device to be synchronized from the second workflow synchronization request;

[0012] When the account information of the computer device to be synchronized is verified based on the device information of the first computer device, and when it is determined that the latest progress of the characteristic data in the first computer device is later than the latest progress of the characteristic data of the second computer device according to the device information of the second computer device and the first progress identifier, in response to the second workflow synchronization request, the communication parameters of the second computer device are sent to the first computer device, and the communication parameters of the first computer device are sent to the second computer device, so that the first computer device establishes a communication connection with the second computer device, and synchronizes the characteristic data of the first computer device through the communication connection, so as to synchronize the working environment and working status of the first computer device to the second computer device.

[0013] In a third aspect, the present application provides a workflow management device, the device comprising:

[0014] A data acquisition module, used to acquire and store characteristic data of the first computer device, wherein the characteristic data of the first computer device includes working environment information of the first computer device and working status information of the first computer device;

[0015] a data interaction module, configured to send the device information of the first computer device to the server in response to the first work synchronization instruction, so that the server generates a first progress indicator corresponding to the device information of the first computer device, wherein the first progress indicator is used to indicate the latest progress of the characteristic data of the first computer device;

[0016] an execution module, for, upon receiving the communication parameters of the second computer device sent by the server based on the first progress indicator, establishing a communication connection with the second computer device based on the communication parameters of the second computer device, and sending the characteristic data of the first computer device to the second computer device, so that the second computer device synchronizes the working environment and working status of the first computer device to the second computer device based on the characteristic data of the first computer device.

[0017] In a fourth aspect, the present application provides another workflow management device, the device comprising:

[0018] A data interaction module, configured to receive device information of a first computer device, wherein the first computer device is any one of the at least one computer device, and the device information of the first computer device includes account information of the first computer device;

[0019] An execution module, configured to generate a first progress indicator corresponding to the device information of the first computer device, wherein the first progress indicator is used to indicate the latest progress of the characteristic data of the first computer device, wherein the characteristic data of the first computer device includes the working environment information and the working status information of the first computer device;

[0020] The data interaction module is further configured to, upon receiving a second workflow synchronization request sent by a second computer device, obtain device information of the second computer device and account information of the computer device to be synchronized from the second workflow synchronization request;

[0021] The execution module is also used to respond to the second workflow synchronization request, send the communication parameters of the second computer device to the first computer device, and send the communication parameters of the first computer device to the second computer device, when the account information of the computer device to be synchronized is verified based on the device information of the first computer device, and when it is determined that the latest progress of the characteristic data in the first computer device is later than the latest progress of the characteristic data of the second computer device according to the device information of the second computer device and the first progress identifier, so that the first computer device establishes a communication connection with the second computer device, and synchronizes the characteristic data of the first computer device through the communication connection, so as to synchronize the working environment and working status of the first computer device to the second computer device.

[0022] In a fifth aspect, the present application provides a computer device, comprising: a processor, a storage device and a communication interface, wherein the processor, the communication interface and the storage device are interconnected, wherein the storage device stores an executable program code, and the processor is used to call the executable program code to implement the workflow management method.

[0023] In a sixth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and wherein the program instructions are executed by a processor to implement the workflow management method as described above.

[0024] In a seventh aspect, the present application provides a computer program product, the computer program product comprising a computer program or computer instructions, the computer program or computer instructions being executed by a processor to implement the above-mentioned workflow management method.

[0025] The method proposed in the present application first obtains and stores feature data including the working environment information and working status information of the first computer device. Compared with synchronizing a single document data, the feature data is used to synchronize the workflow to the second computer device, so that the second computer device can synchronize the working environment and working status of the first computer device. And compared with the user manually establishing the same working environment as the first computer device on the second computer device, and then copying the document data included in the workflow to the second computer device to achieve workflow synchronization, the present application is based on the workflow synchronization system to collect feature data, obtain communication parameters and transmit feature data, and realize automatic synchronization of the working environment and working status across devices, so that users can quickly resume unfinished work on another device, thereby improving work efficiency. The present application also utilizes a server to record the progress of each computer device for a workflow, and generates a progress identifier corresponding to the device information of the computer device, to indicate the latest progress of the characteristic data of the first computer device, so that the server can perform version control on all progress versions corresponding to the workflow, so that when any computer device synchronizes the workflow through the server, the server can send the recorded computer devices and their corresponding progress identifiers, and any computer can synchronize the workflow with a computer device of a specific progress, thereby improving the flexibility of workflow synchronization. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0027] Figure 1 It is a schematic diagram of the architecture of a workflow management system provided by an exemplary embodiment of the present application;

[0028] Figure 2 It is a flowchart of a workflow management method provided by an exemplary embodiment of the present application;

[0029] Figure 3 It is a flowchart of another workflow management method provided by an exemplary embodiment of the present application;

[0030] Figure 4 It is a schematic diagram of the architecture of another workflow management system provided by an exemplary embodiment of the present application;

[0031] Figure 5 is a schematic block diagram of a workflow management device provided by an exemplary embodiment of the present application;

[0032] Figure 6 It is a schematic block diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0034] It should be noted that the descriptions of "first", "second", etc. involved in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the technical features defined as "first" or "second" may explicitly or implicitly include at least one of the features.

[0035] At present, it is difficult for users to process the same workflow on different devices. For example, if a user installs a certain software on a first computer and has processed 50% of the work, the user shuts down the computer and continues processing on a second computer. Assuming that the corresponding software is not installed on the second computer, the user first needs to install the software, and then send the unprocessed work to the second computer by copying or other means before continuing to work. The above method requires copying a large amount of data and establishing a complex work operation environment, which greatly affects the efficiency of the synchronous workflow.

[0036] This application monitors the changes of the computer's operating documents and software, forms a record of the change operation, and saves it to the application cache container, so that the workflow can be quickly restored from other computers to achieve seamless workflow synchronization. The above method can achieve synchronization of the computer working environment, allowing users to quickly start unfinished workflows at any time using authorized computers, without the need for users to actively install any software or copy data, which greatly facilitates users to continue the workflow across devices. At the same time, this application performs version control of the workflow through the server. For example, when the server receives a workflow synchronization request sent by a computer, it is necessary to determine whether the workflow progress in the computer is already the latest progress. If it is the latest progress, the computer can be informed that there is no need to synchronize the workflow; if it is not the latest progress, the workflow needs to be synchronized.

[0037] It can be understood that in the specific implementation of the present application, relevant data such as work operating environment information and work operating status information are involved. When the above embodiments of the present application are applied to specific products or technologies, the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0038] This application will be specifically described by the following examples:

[0039] See also Figure 1 , which is a schematic diagram of the architecture of a workflow management system provided by an exemplary embodiment of the present application. As shown in the figure, the workflow management system may specifically include a first terminal device 101, a second terminal device 102 and a server 103. Among them, the first terminal device 101, the second terminal device 102 and the server 103 are connected through a network, for example, through a local area network, a wide area network, a mobile Internet, etc. The operation object performs a workflow synchronization operation on the browser or client application of the first terminal device 101, and wants to synchronize the workflow on other terminal devices (such as the second terminal device 102) to the local device. The server 103 can provide various data synchronization services for the operation object in response to the operation.

[0040] The first terminal device 101 mentioned above may refer to the terminal device where the user is located and needs to perform workflow synchronization; the second terminal device 102 may refer to the target object for the user to perform workflow synchronization (that is, the second terminal device 102 synchronizes the workflow to the first terminal device 101); the server 103 may refer to the server that establishes a connection between the two terminal devices during the synchronization process. Specifically, the first terminal device 101 may send a workflow synchronization request to the server 103, requesting synchronization of data in the second terminal device 102; the server 103 performs identity authentication on the first terminal device 101 in response to the workflow synchronization request, and after the identity authentication is passed, sends the communication parameters of the second terminal device 102 to the first terminal device 101, and sends the communication parameters of the first terminal device 101 to the second terminal device 102, so that the first terminal device 101 and the second terminal device 102 establish a communication connection and complete the synchronization of the workflow.

[0041] The terminal device (the first terminal device 101 or the second terminal device 102) is also referred to as a terminal, user equipment (UE), access terminal, user unit, mobile device, user terminal, wireless communication device, user agent or user device. The terminal device may be a smart home appliance, a handheld device with wireless communication function (such as a smart phone, a tablet computer), a computing device (such as a personal computer (PC), a vehicle terminal, an intelligent voice interaction device, a wearable device or other smart device, but is not limited thereto.

[0042] Server 103 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), as well as big data and artificial intelligence platforms.

[0043] It is understandable that the system architecture diagram described in the embodiment of the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application. For example, the access method provided in the embodiment of the present application can be executed by the server 103, and can also be executed by other servers or server clusters that are different from the server 103 and can communicate with the first terminal device 101 and the second terminal device 102. It is known to those skilled in the art that Figure 1 The number of terminal devices and servers in is only illustrative. According to the business implementation needs, any number of terminal devices and servers can be configured. In addition, with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems. In subsequent embodiments, the computer device will refer to the first terminal device 101 (or the second terminal device 102), and the server will refer to the server 103, which will not be repeated in subsequent embodiments.

[0044] See also Figure 2 , Figure 2This is a flowchart of a workflow management method provided by an exemplary embodiment of the present application, and is described by taking the method as an example of the interaction between a first computer device, a server, and a second computer device in a workflow synchronization system (for example, the first computer device synchronizes the data on the first computer device to the second computer device to achieve workflow synchronization). The workflow synchronization system includes a server and at least one computer device, and the first computer device is any one of the at least one computer device. The method may include the following steps:

[0045] S201. A first computer device acquires and stores characteristic data of the first computer device; the characteristic data of the first computer device includes working environment information of the first computer device and working status information of the first computer device.

[0046] In the embodiment of the present application, the workflow synchronization system includes a server, a first computer device and a second computer device. The first computer device is an execution subject that sends synchronization data, and the second computer device is an execution subject that receives synchronization data. That is to say, in steps S201-S210 of the present application, the first computer device is used to synchronize the data stored in the local computer device to the other end (i.e., the second computer device) for explanation.

[0047] A workflow synchronization component can be deployed in each computer device (corresponding to an operating system) in the present application, and each workflow synchronization component can include a proxy client and a data cache container. The proxy client is used to collect feature data on the corresponding computer device and store the collected feature data in the data cache container; the data cache container is used to store the feature data on the corresponding computer device. The workflow synchronization component can be connected to the proxy client in the workflow synchronization system, and the server in the workflow synchronization system (also called a workflow server) establishes a connection for each computer device in the workflow synchronization system, thereby realizing data synchronization between two computer devices.

[0048] It should be noted that in steps S201-S210 of the present application and subsequent embodiments, any computer device realizes workflow synchronization with other computer devices through a server, which is realized by using the proxy client in the computer device as the execution subject (that is, the proxy client in the first computer device obtains and stores the characteristic data of the first computer device, establishes a communication connection with the second computer device through the server, and then sends the characteristic data of the first computer device to the second computer device to realize workflow synchronization), which will not be repeated in the subsequent embodiments.

[0049] In one embodiment, a proxy client on a first computer device (hereinafter referred to as a first proxy client) can obtain characteristic data of the first computer device, and the characteristic data includes work operation environment information and work operation status information. The work operation environment information may refer to the operating environment required to perform the current workflow task on the computer device, such as operating system version information, compilation environment information, and software, components or applications running when the computer device is turned on. For example, when a computer device is turned on, a document editing application and a browser are automatically opened. At this time, the document editing application and the browser are both in an initial state (for example, on the corresponding login page). Then, the initial state information corresponding to the document editing application and the browser, respectively, and the operating system version information can be used as the work operation environment information.

[0050] The work operation status information may refer to the operation data added based on the user operation behavior in the work operation environment corresponding to the work operation environment information, such as the operation status information corresponding to the running software, component or application. For example, when a computer device is turned on, the document editing application and the browser are automatically opened. At this time, the user operates the document editing application, then browses the browser, and finally opens the video playback tool. Then, the operation status information corresponding to the document editing application, the browser, and the video playback tool can be used as the work operation status information. Among them, the operation status information of a certain application may include all application operation data corresponding to the application. For example, the operation status information of the document editing application may include multiple opened documents, the editing position of the document, etc.

[0051] In one embodiment, when the computer device is first run (i.e., after the operating system is installed), the proxy client on the computer device can scan the current working operating environment information (including the environment running in the operating system) to collect and obtain the applications running in the current operating system and which applications and components are loaded. After the working operating environment information is collected, the working operating environment information is stored to facilitate the subsequent synchronization of workflow data based on the data.

[0052] In the embodiment of the present application, the data cache container is used to store the characteristic data on the corresponding computer device. The first proxy client collects the characteristic data of the first computer device and stores it uniformly in the deployed first data cache container, so as to directly synchronize the characteristic data using the data in the first data cache container in the future, avoiding the need to perform data collection operations when synchronization is required, and improving the efficiency of characteristic data synchronization. Among them, the characteristic data includes working environment information and working status information, and the first data cache container includes multiple containers, each of which stores the characteristic data separately based on the type of the characteristic data. The specific storage method will be introduced in the subsequent embodiments and will not be repeated here.

[0053] S202. In response to a first work synchronization instruction, the first computer device sends device information of the first computer device to a server, and the server receives the device information of the first computer device.

[0054] In an embodiment of the present application, after the first computer device stores the characteristic data, if a first work synchronization instruction for informing the server of version information recording the current progress of the device is obtained, the first computer device can respond to the first work synchronization instruction and send the device information of the first computer device to the server (the device information of the first computer device includes account information and device attribute information of the first computer device, wherein the account information may include a user name and password for logging into the current computer device; the device attribute information may refer to a user name and password, MAC address, and hard disk serial number pre-set for the first computer device).

[0055] In one embodiment, the first work synchronization instruction may include multiple triggering forms. In the first triggering form, the first work synchronization instruction may be actively triggered by user behavior. For example, the user may trigger the first work synchronization instruction by performing operations such as workflow saving on the client before ending the workflow task (or shutting down); in the second triggering form, the first work synchronization instruction may be automatically triggered by the computer device according to the user behavior. For example, the computer device automatically triggers the first work synchronization instruction when receiving the user's end of the current workflow task (or receiving a shutdown instruction). It should be noted that if the first computer device shuts down after sending the device information to the server to generate a progress indicator, if a subsequent computer device needs to synchronize the workflow with the first computer device after it is shut down, it needs to be done after the first computer is turned on. The server may send a power-on instruction to the first computer device, and after booting up, it may interact with the computer device that is to be synchronized with the workflow.

[0056] S203: The server generates a first progress identifier corresponding to the device information of the first computer device; the first progress identifier is used to indicate the latest progress of the characteristic data of the first computer device.

[0057] In the embodiment of the present application, after receiving the device information of the first computer device, the server generates a first progress identifier corresponding to the device information of the first computer device, and the first progress identifier is used to indicate the latest progress of the characteristic data of the first computer device. Each computer device sends device information to the server, and the server generates a progress identifier corresponding to the device information of each computer device, which can facilitate the server to understand the progress information of each computer device and facilitate the server to perform version control on multiple progress versions under the same workflow, so as to ensure that each computer device that needs to synchronize the workflow can synchronize to the latest workflow data.

[0058] Exemplarily, for the same workflow, if the server has previously recorded multiple progress identifiers, including progress identifier V1 (computer device 1, modified at 12:00 on June 1, 2022), progress identifier V2 (computer device 2, modified at 12:00 on June 3, 2022), and progress identifier V3 (computer device 3, modified at 12:00 on June 5, 2022). When the user performs the processing operation of the workflow on computer device 4, and then ends the processing of the workflow at 12:00 on June 7, 2022, computer device 4 can send the device information of the device, so that the server generates a progress identifier V4 (computer device 4, modified at 12:00 on June 7, 2022) corresponding to the device information.

[0059] S204: The second computer device sends a second workflow synchronization request to the server, and the server receives the second workflow synchronization request. The second workflow synchronization request is used to request synchronization of the work environment and work status of the computer device to be synchronized.

[0060] The second workflow synchronization request is used by the second computer device to request feature data from the first computer device, so as to synchronize the workflow data of the computer device to be synchronized to the second computer device. The server obtains the account information of the computer device to be synchronized (which may be the user name and password sent by the second computer device for logging into the first computer device) and the device information of the first computer device (that is, the real login name and password of the first computer device saved on the server) for identity authentication.

[0061] S205: The server obtains device information of the second computer device and account information of the computer device to be synchronized from the second workflow synchronization request.

[0062] In one embodiment, the device information of the second computer device includes the account information and device attribute information of the second computer device, wherein the account information may include a user name and password for logging into the current computer device; the device attribute information may refer to the user name and password, MAC address and hard disk serial number pre-set by the second computer device saved on the server. The account information of the computer device to be synchronized may refer to the user name and password sent by the second computer device to the server for logging into the first computer device.

[0063] S206: The server verifies the account information of the computer device to be synchronized, and the server verifies the device information of the second computer device.

[0064] In an embodiment of the present application, the server first performs account information verification, that is, verifies whether the account information of the computer device to be synchronized has been stored in the server; if the account information of the computer device to be synchronized exists in the server (that is, the account information of the computer device to be synchronized corresponds to the account information of the first computer device), the server then performs login information verification, that is, verifies through the user name and password in the account information of the computer device to be synchronized and the device information of the first computer device (the device information of the first computer device includes the user name and password pre-set for the first computer device); after the login information verification is passed, the server then performs version verification, that is, verifies whether the version of the computer device to be synchronized is lower than the version of the second computer device. When it is verified that the version of the computer device to be synchronized is lower than the version of the second computer device, the server continues to execute subsequent steps S207-S210.

[0065] In one embodiment, the server needs to verify whether the second computer device needs to perform workflow synchronization. For the first computer device and the second computer device, if the workflow progress of the second computer device is earlier than that of the first computer device, then the second computer device needs to synchronize the workflow of the first computer device. If the workflow progress of the second computer device is later than that of the first computer device, then the second computer device does not need to synchronize the workflow of the first computer device. The server can determine the workflow progress of the second computer device and the first computer device through the progress identifier corresponding to the device information of the first computer device, thereby determining whether the second computer device needs to synchronize workflow data from the first computer device to the second computer device.

[0066] S207: The server sends the communication parameters of the second computer device to the first computer device, and the server sends the communication parameters of the first computer device to the second computer device.

[0067] In one embodiment, the communication parameters may include an IP address and a random port number.

[0068] S208: The first computer device establishes a communication connection with the second computer device.

[0069] S209: The first computer device sends the characteristic data of the first computer device to the second computer device, and the second computer device receives the characteristic data of the first computer device.

[0070] S210: The second computer device synchronizes the working environment and working status of the first computer device to the second computer device.

[0071] In the above steps S207-S210, the server performs identity authentication based on the first progress identifier, and only after the authentication is passed will the server send the communication parameters of the second computer device to the first computer device. When the first computer device receives the communication parameters of the second computer device sent by the server, it can establish a communication connection with the second computer device through the communication parameters to synchronize the workflow data (that is, the feature data). The identity authentication method ensures that the two computer devices performing workflow synchronization are safe and reliable, thereby ensuring the security of data transmission.

[0072] In one embodiment, the work running environment information and the work running status information correspond to different types of feature data. When performing workflow synchronization, the first computer device can send data according to the actual situation of the second computer device based on the different types of feature data. Based on this, the above-mentioned sending of the feature data of the first computer device to the second computer device can be implemented according to the following steps (a1-a3).

[0073] (a1), obtaining data stored in the bottom line container of the second computer device.

[0074] (a2) If the data stored in the bottom line container of the second computer device matches the data stored in the bottom line container of the first computer device, the work operation status information stored in the baseline container of the first computer device is obtained, and the work operation status information is sent to the second computer device, so that the second computer device synchronizes the work operation status of the first computer device to the second computer device based on the work operation status information.

[0075] In the embodiment of the present application, since the bottom line container stores the work running environment information, the work running environment information refers to the running environment required to perform the current workflow task on the computer device, such as operating system version information, compilation environment information, and software, components or applications running when the computer device is turned on. If the data stored in the bottom line container of the second computer device matches the data stored in the bottom line container of the first computer device, it means that the work running environment of the second computer device is the same as the work running environment of the first computer device, and the second computer device does not need to re-establish the same work running environment as the first computer device.

[0076] At this time, the first computer device can directly send the work running status information stored in the baseline container to the second computer device. After receiving the above work running status information, the second computer device can directly synchronize to the same work running status as the first computer device, that is, the application running data of all applications on the first computer device, such as multiple documents opened by the document editing application, the editing position of the document, etc.

[0077] Through the above method, when the second computer device and the first computer device have the same operating environment, the working operation status information is directly synchronized, which improves the synchronization efficiency of the characteristic data, so that the second computer device can recover to the same workflow as the first computer device more quickly, thereby improving work efficiency.

[0078] (a3) If the data stored in the bottom line container of the second computer device does not match the data stored in the bottom line container of the first computer device, obtain the working operating environment information stored in the bottom line container of the first computer device, and send the working operating environment information to the second computer device, so that the second computer device synchronizes the working operating environment of the first computer device to the second computer device based on the working operating environment information; obtain the working operating status information stored in the baseline container of the first computer device, and send the working operating status information to the second computer device, so that the second computer device synchronizes the working operating status of the first computer device to the second computer device based on the working operating status information.

[0079] In an embodiment of the present application, if the data stored in the bottom line container of the second computer device does not match the data stored in the bottom line container of the first computer device, it means that the working operating environment of the second computer device is different from the working operating environment of the first computer device. Then, the second computer device needs to first establish the same working operating environment as the first computer device, and then synchronize the working operating status.

[0080] At this time, the first computer device can first send the working operating environment information stored in the baseline container to the second computer device. After receiving the above working operating environment information, the second computer device synchronizes to the same working operating environment as the first computer device. That is, the operating system version information, compilation environment information, and the software, components or applications running when the computer device is turned on are synchronized. The first computer device then sends the working operating status information stored in the baseline container to the second computer device. After receiving the above working operating status information, the second computer device synchronizes to the same working operating status as the first computer device, that is, the operating status corresponding to the synchronized software, components or applications.

[0081] Through the above method, when the second computer device and the first computer device do not have the same operating environment, the second computer device first establishes the same operating environment, and then synchronizes the working operating status information of the first computer device, thereby avoiding operating status synchronization anomalies caused by the operating environment, making it more likely that the second computer device can be restored to the same workflow as the first computer device, thereby improving the success rate of feature data synchronization.

[0082] In one embodiment, the workflow synchronization system can exist in the form of a work continuity component or program. The workflow synchronization system belongs to an operating system component or program and is installed or deployed by default when each computer device installs the operating system. The workflow synchronization system, which belongs to an operating system component or program, automatically stores the feature data on the local computer device in a data cache container deployed by the local computer device, without the need for the user to actively operate to store the data, thus avoiding data storage anomalies caused by human factors and ensuring the accuracy of the stored feature data. The local computer device then automatically synchronizes the stored feature data (including the work running environment and the work running status) to the opposite computer device based on the workflow synchronization system, which belongs to an operating system component or program. The opposite computer device does not need to install any software or copy data, which greatly facilitates the user to continue the workflow across devices, thereby realizing automatic synchronization of the work running environment and the work running status across devices, and improving the user's work efficiency.

[0083] In one embodiment, the first computer device may obtain and store the characteristic data of the first computer device through the following steps (b1-b4):

[0084] (b1) Acquire characteristic data of a first computer device, where the characteristic data of the first computer device includes working environment information of the first computer device and working status information of the first computer device, where the working status information includes running status information of at least one application.

[0085] The work running status information includes the running status information of at least one application. For example, for a document editing application, the running status information may include multiple opened documents, the editing position of the document, and the like.

[0086] (b2) storing the working operating environment information in the bottom line container of the first computer device, wherein the working operating environment information includes operating system information and initial state information of each application.

[0087] The present application stores the work running environment information in the bottom line container of the first computer device, so that when the workflow is synchronized, the work running environment can be synchronized to a certain computer device based on the data in the bottom line container. The operating system information may include the operating system type, the operating system version, the controls loaded by the operating system, etc. The initial state information of each application refers to the initial state of the application, such as whether it is on the login page, whether the corresponding startup program is loaded in the background, etc.

[0088] In one embodiment, the proxy client on each computer device can be injected into the software running on the operating system to monitor the application software's disk reading and writing, registry operations, network access operations, and interaction operations with other processes (injection means allowing the proxy client to enter the software's memory space in order to obtain real-time software progress). At the same time, based on the above operations, data is obtained to form a work continuity status table, the table content of which is as follows:

[0089]

[0090] The application status in the above table mainly saves the current running status of the software or process, mainly memory data, disk data, and network access data. The purpose of saving this data is to allow other computer devices that have passed identity authentication to quickly restore the working running status. Of course, the time in the above table is different because it is better to distinguish the situation in which each process is recorded. In fact, there will be multiple processes and system components running at the same time. The server can obtain the initial status information of each application from the above table and store it, and can also obtain the running status information of each application from the above table and store it.

[0091] (b3) Determine whether there is initial state information of a target application in the bottom line container of the first computer device, where the target application is any one of the at least one application.

[0092] Exemplarily, whether the initial state information of the target application exists in the bottom line container may refer to whether the bottom line container records the initial state of the application, such as whether the target application is on a login page, or whether a corresponding startup program is loaded in the background.

[0093] (b4), if not, storing the target application's running status information in the baseline container of the first computer device; if yes, storing the target application's running status information in the baseline container of the first computer device.

[0094] In the embodiment of the present application, the bottom line container is used to store data for restoring the working operating environment and the initial state of the application. If the initial state information of the target application does not exist in the bottom line container of the first computer device, it means that the data when the target application is initially running is not recorded in the first computer device. At this time, if the data in the bottom line container of the first computer device is used to synchronize data with the second computer device, the second computer device will not be able to synchronize the data of the target application in the first computer device, thereby causing the loss of application state data, which is easy to cause the user to lose part of the work progress. By storing the running state information of the target application in the bottom line container of the first computer device, and then using the data in the bottom line container for workflow synchronization, the integrity of the basic data and the running environment information is guaranteed. If the initial state information of the target application exists in the bottom line container of the first computer device, and the baseline container stores the data corresponding to the running state of the software, component or application for restoring operation, it is only necessary to store the running state information of the target application in the baseline container. The present application uses the above method to synchronize the data in the bottom line container first and then synchronize the data in the baseline container when performing workflow synchronization, thereby improving the success rate of workflow synchronization.

[0095] Exemplarily, a user operates a document editing application on a computer device and generates running status information (e.g., which documents are opened and where the documents are edited). If the initial status information of the document editing application does not exist in the bottom line container of the first computer device (e.g., whether the document editing application is open), then the running status information is stored in the bottom line container of the first computer device; if the initial status information of the document editing application exists in the bottom line container of the first computer device (e.g., the document editing application is already open), then the running status information is stored in the baseline container of the first computer device.

[0096] It should be noted that when the second computer device synchronizes the data of the baseline container of the first computer device, the document editing application will open; when the second computer device synchronizes the data of the baseline container of the first computer device, the document editing application will open multiple documents that have been opened on the first computer device and jump to the position on the page where the document was previously edited.

[0097] In one embodiment, in addition to the bottom line container and the baseline container, each computer device is also deployed with an incremental container. Among them, the bottom line container is a container that records the working operating environment information, such as the operating system version information, the compilation environment information, and the software, components or applications running when the computer device is turned on. The baseline container is a baseline standard formed by adding or reducing the content based on the working operating environment information of the bottom line container. It is a container that records the working operating status information, such as the running status information corresponding to the running software, components or applications. The incremental container is the supplementary data obtained in real time according to the working operating status at the current moment, and is used to store the supplementary data in the baseline container. When the incremental container adds the supplementary data to the baseline container, it is necessary to clear the data in the incremental container, and in this way, through the incremental container, the characteristic data in the baseline container is always matched with the current state of the computer device.

[0098] Based on this, the above incremental container can perform the following steps (c1-c2) on the computer device:

[0099] (c1) obtaining the working status of at least one application at the current moment, and using the incremental container in the first computer device to cache the working status of at least one application at the current moment.

[0100] (c2) adding the working running status of at least one application cached in the incremental container of the first computer device at the current moment to the baseline container of the first computer device, and clearing the data in the incremental container of the first computer device.

[0101] In one embodiment, the incremental container may also exist in the form of a piece of functional code, which is used to obtain the working status of each application in the computer device at the current moment in real time and add it to the baseline container to achieve the above effect. This application does not limit the form of the incremental container.

[0102] In one embodiment, each computer device can deploy a data cache container, which includes the bottom line container, baseline container and incremental container described in this application. Each computer device can uniformly manage all containers of the data cache container through a data cache management system to improve the data management efficiency in the container.

[0103] The server in this application is introduced in detail below. The server in this application (also called workflow server) is mainly responsible for the following functions: the first function is to perform user authentication and determine on which computer devices the user can synchronize workflow data; the second function is to verify routing information so that a computer device that the user has worked on can accurately transmit workflow data to the computer that needs to be synchronized; the third function is to perform version control. After each computer device finishes working, version information is established for it and saved in the version relationship data, so as to ensure that when data synchronization is performed between various computer devices, the computer device corresponding to the higher version transmits workflow data to the computer device corresponding to the lower version. At the same time, when there are multiple workflow versions, the workflow data is synchronized step by step in the order of the versions from low to high.

[0104] For the server, in the process of interacting with the first computer device and the second computer device, the following steps (d1-d4) may be included:

[0105] (d1) Receive device information of the first computer device, where the device information of the first computer device includes account information of the first computer device.

[0106] The account information may include a user name and password for logging into the current computer device (ie, the first computer device).

[0107] (d2) Generate a first progress identifier corresponding to device information of a first computer device, where the first computer device is any one of at least one computer device, and the first progress identifier is used to indicate the latest progress of characteristic data of the first computer device, where the characteristic data of the first computer device includes working environment information and working status information of the first computer device.

[0108] The first progress identifier is used to indicate the latest progress of the characteristic data of the first computer device, such as version information.

[0109] (d3) Upon receiving the second workflow synchronization request sent by the second computer device, obtaining device information of the second computer device and account information of the computer device to be synchronized from the second workflow synchronization request.

[0110] (d4) When the account information of the computer device to be synchronized is verified based on the device information of the first computer device, and when it is determined that the latest progress of the characteristic data in the first computer device is later than the latest progress of the characteristic data of the second computer device according to the device information of the second computer device and the first progress identifier, respond to the second workflow synchronization request, send the communication parameters of the second computer device to the first computer device, and send the communication parameters of the first computer device to the second computer device, so that the first computer device establishes a communication connection with the second computer device, and synchronize the characteristic data of the first computer device through the communication connection, so as to synchronize the working environment and working status of the first computer device to the second computer device.

[0111] For the specific implementation process of the above steps (d1-d4), please refer to the relevant description of steps S201-S210 in the above embodiment, which will not be repeated here.

[0112] Among them, determining that the latest progress of the characteristic data in the first computer device is later than the latest progress of the characteristic data of the second computer device based on the device information of the second computer device and the first progress identifier means that the server will determine the progress information of the second computer device and the first computer device (i.e., whose progress is the newer progress) based on the device information of the second computer device and the first progress identifier. Specifically, if the device information and progress identifier of the second computer device are not stored in the server, or the latest progress identifier of the second computer device stored in the server indicates an earlier progress than the latest progress identifier of the first computer device, it means that the characteristic data in the first computer device is newer than that of the second computer device, so the second computer device is allowed to synchronize the working environment and working status of the first computer device to the second computer device. Through the above method, it is avoided that a certain computer device is still in the latest progress. Workflow synchronization operation is still performed, which improves work efficiency, and at the same time avoids progress rollback, ensuring that the workflow data has versions corresponding to multiple different progress, which is conducive to users performing workflow synchronization for a specific version and improves the flexibility of workflow synchronization.

[0113] Based on the above embodiments, the beneficial effect of the present application is that: the method proposed in the present application first obtains and stores characteristic data including the working environment information and working status information of the first computer device, and compared with synchronizing a single document data, the characteristic data is used to synchronize the workflow to the second computer device, so that the second computer device can synchronize the working environment and working status of the first computer device. And compared with the user manually establishing the same working environment as the first computer device on the second computer device, and then copying the document data included in the workflow to the second computer device to achieve workflow synchronization, the present application is based on the workflow synchronization system to collect characteristic data, obtain communication parameters and transmit characteristic data, and realize automatic synchronization of the working environment and working status across devices, so that users can quickly resume unfinished work on another device, thereby improving work efficiency. The present application also utilizes a server to record the progress of each computer device for a workflow, and generates a progress identifier corresponding to the device information of the computer device, to indicate the latest progress of the characteristic data of the first computer device, so that the server can perform version control on all progress versions corresponding to the workflow, so that when any computer device synchronizes the workflow through the server, the server can send the recorded computer devices and their corresponding progress identifiers, and any computer can synchronize the workflow with a computer device of a specific progress, thereby improving the flexibility of workflow synchronization.

[0114] The present application also proposes that when the data in the bottom line container of the second computer device matches that of the first computer device, that is, when they have the same operating environment, the second computer device directly synchronizes the work running status information in the baseline container of the first computer device, thereby improving the synchronization efficiency of the feature data, so that the second computer device can more quickly recover to the same workflow as the first computer device, thereby improving the work efficiency. When the data in the bottom line container of the second computer device does not match that of the first computer device, that is, when they do not have the same operating environment, the second computer device first synchronizes the data of the bottom line container of the first computer device to establish the same operating environment, and then synchronizes the data of the baseline container of the first computer device to synchronize the work running status information, thereby avoiding the abnormality of the synchronization of the operating status caused by the operating environment, thereby making it more likely that the second computer device can recover to the same workflow as the first computer device, thereby improving the success rate of the synchronization of the feature data.

[0115] The present application also proposes to use a workflow synchronization system that utilizes operating system components or programs belonging to the local computer device to automatically synchronize stored feature data to the opposite computer device, without the need for the opposite computer device to install any software or copy data, which greatly facilitates users to continue the workflow across devices, thereby automatically synchronizing the working environment and working status across devices, thereby improving user work efficiency.

[0116] See also Figure 3 , Figure 3 This is a flowchart of another workflow management method provided by an exemplary embodiment of the present application, and is described by taking the method applied to the interaction between a first computer device, a server, and a third computer device in a workflow synchronization system as an example (for example, the third computer device synchronizes the data on the third computer device to the first computer device to achieve workflow synchronization). The method may include the following steps:

[0117] S301. A first computer device acquires and stores characteristic data of the first computer device; the characteristic data of the first computer device includes working environment information of the first computer device and working status information of the first computer device.

[0118] In steps S301-S307, the first computer device, as the party receiving the workflow synchronization data, synchronizes the data on other devices to the first computer device (for example, the first computer device obtains the characteristic data of the third computer device and synchronizes it to the first computer device). For the above step S301, please refer to the relevant description in step S201 of the above embodiment, which will not be repeated here.

[0119] S302. In response to the second work synchronization instruction, the first computer device sends a first workflow synchronization request to the server, where the first workflow synchronization request includes device information of the first computer device and account information of the third computer device.

[0120] In one embodiment, when the first computer device obtains a second work synchronization instruction for obtaining communication parameters of a computer device that needs to be synchronized from a server, it can send a first workflow synchronization request to the server in response to the second work synchronization instruction, thereby obtaining the latest workflow data from the computer device that needs to be synchronized.

[0121] In one embodiment, the second work synchronization instruction may include multiple triggering forms. In the first triggering form, the second work synchronization instruction may be actively triggered by user behavior. For example, the second work synchronization instruction may be triggered by the user when starting a workflow task (or turning on the computer); in the second triggering form, the second work synchronization instruction may be automatically triggered by the computer device according to the user behavior. For example, when the computer device detects that the user starts a workflow task (or receives a power-on instruction), it automatically triggers the second work synchronization instruction. It should be noted that if the computer device that the first computer device needs to synchronize with is in a shutdown state, the computer device that needs to be synchronized needs to be turned on first, and then the workflow synchronization is performed. The server can send a power-on instruction to the computer device that the first computer device needs to synchronize with, and then perform data interaction.

[0122] In one embodiment, the second work synchronization instruction may include multiple triggering forms. In the first triggering form, the first work synchronization instruction may be actively triggered by user behavior. For example, the second work synchronization instruction may be triggered by the user when starting a workflow task (or turning on the computer); in the second triggering form, the second work synchronization instruction may be automatically triggered by the computer device according to the user behavior. For example, when the computer device detects that the user starts a workflow task (or receives a power-on instruction), it automatically triggers the second work synchronization instruction. It should be noted that if the computer device that the first computer device needs to synchronize with is in a shutdown state, the computer device that needs to be synchronized needs to be turned on first, and then the workflow synchronization is performed. The server can send a power-on instruction to the computer device that the first computer device needs to synchronize with, and then perform data interaction.

[0123] S303: The server receives the first workflow synchronization request and verifies the account information of the third computer device and the device information of the first computer device.

[0124] In one embodiment, the first workflow synchronization request is a general term and may include one or more requests, and the one or more requests are used to authenticate the identity of the first computer device. The first computer device may send the first workflow synchronization request to the server in the following ways:

[0125] In the first method, the first computer device may first send the device information of the first computer device (the device information is used to determine whether the progress indicator of the current computer device is the latest version; if it is not the latest version, it is determined that the workflow needs to be synchronized) to the server, and the server then verifies whether the device needs to synchronize the workflow; when it is determined that the device needs to synchronize the workflow, the server requires the computer device to send the user name and password of the device that needs to synchronize information (i.e., the peer device), and after the user name and password are verified, the address information of the two computer devices (such as IP addresses and random port numbers) is obtained and sent to each other respectively, so that the two computer devices establish a communication connection with each other.

[0126] In the second method, the first computer device may first send the user name and password of the device whose information needs to be synchronized (i.e., the peer device), and after the user name and password are verified, send the device information of the first computer device (the device information is used to determine whether the progress identifier of the current computer device is the latest version. If it is not the latest version, it is determined that the workflow needs to be synchronized). When it is determined that the device needs to synchronize the workflow, the address information of the two computer devices (such as IP addresses and random port numbers) is obtained and sent to each other respectively, so that the two computer devices establish a communication connection with each other.

[0127] In the third method, the first computer device can send the user name and password of the device that needs to synchronize information (i.e., the peer device) to the server while sending the device information of the first computer device to the server. The server processes the above data at the same time, and after determining that the device needs to synchronize the workflow and the user name and password are verified, the address information of the two computer devices (such as IP addresses and random port numbers) is obtained and sent to each other respectively, so that the two computer devices establish a communication connection with each other.

[0128] S304: After verifying the account information of the third computer device and the device information of the first computer device, the server sends the communication parameters of the third computer device to the first computer device, and the server sends the communication parameters of the first computer device to the third computer device.

[0129] In the above steps S303-S304, the server needs to verify whether the first computer device needs to perform workflow synchronization. For the first computer device and the third computer device, if the workflow progress of the first computer device is earlier than that of the third computer device, then the first computer device needs to synchronize the workflow of the third computer device. If the workflow progress of the first computer device is later than that of the third computer device, then the first computer device does not need to synchronize the workflow of the third computer device. The server can determine the workflow progress of the first computer device and the third computer device through the progress identifier corresponding to the device information of the third computer device, thereby determining whether the first computer device needs to synchronize workflow data from the third computer device to the first computer device.

[0130] In one embodiment, the server may record the progress identifier corresponding to each computer device by establishing a hash table. See the following table:

[0131] Local Peer Progress indicator Hash value corresponding to device 1 Hash value corresponding to device 2 Version 1 Hash value corresponding to device 1 Hash value corresponding to device 3 Version 2 … … …

[0132] The hash table includes multiple groups of data, each group of data includes the hash value corresponding to the local computer device, the hash value corresponding to the opposite computer device and the progress identifier. Among them, the hash value corresponding to the local computer device is generated when the local computer device is performing workflow synchronization and after the identity verification is passed. The hash value corresponding to the opposite computer device is pre-saved to the server, and the server records the device and the corresponding progress identifier. In other words, when the local computer device has not performed workflow synchronization, the server has stored multiple progress identifiers and the hash value of the device that generated the progress (that is, the correspondence between the opposite end and the progress identifier in the table is known to the server). Among them, the version number is used to control the latest version information. Assuming that device 1 is the computer that performs a certain workflow for the first time, its version number is version 1. When it is shut down and the workflow stops, device 2 continues to work, so when device 2 is shut down or the workflow stops, its version is version 2. And so on. In addition, when synchronizing workflow data, the device with a higher version always synchronizes the device with a lower version.

[0133] After the server establishes the hash table, before starting the workflow synchronization, the server will obtain the IP addresses (public IP addresses) of the two computer devices, and the proxy clients on the two computer devices will provide a random port number for the two ends to establish a connection. For example, if there are two computers A and B that need to synchronize workflows, the server will send the obtained IP addresses and port numbers of both ends to A and B respectively. After A and B obtain each other's IP addresses and port numbers, the two parties establish a communication connection and then start workflow data synchronization.

[0134] In the process of workflow data synchronization, the computer device with a later progress is always synchronized with the computer device with an earlier progress (that is, the computer device with a higher version sends workflow data to the computer device with a lower version). For example, when the data in the baseline container of the computer device with a later progress does not match that of the computer device with an earlier progress, the computer device with a later progress sends the data in the baseline container to the computer device with an earlier progress and establishes a basic operating environment (such as installing software, downloading updates, etc.), and then sends the data in the baseline container to the computer device with an earlier progress to synchronize the entire workflow. When a computer device needs to exit the workflow synchronization operation (for example, a computer device exits the workflow synchronization system used to manage workflow synchronization between multiple computer devices), it only needs to delete the entry corresponding to a computer device in the hash table on the server to exit the synchronization service.

[0135] In this application, if the corresponding relationship between two computer devices is stored in the hash table, it means that the two computer devices have completed identity authentication, and identity authentication will no longer be required for subsequent data exchange, which simplifies the operation process. Since both ends have passed identity authentication and the relationship data has been stored in the hash table, in the subsequent synchronous transmission process, the server will send the IP addresses and port numbers of both parties respectively, and the two ends can directly exchange data.

[0136] In one embodiment, the hash value of the computer device can be generated by performing a hash calculation on the user name and password of the current computer device, the MAC address and the hard disk serial number, as the unique identifier of the computer device. Through the above method, the flexibility of the server in processing data is improved, so that the appropriate method can be selected for processing in different business environments, thereby improving adaptability.

[0137] S305: The first computer device establishes a communication connection with the third computer device.

[0138] In one embodiment, the communication parameters may include an IP address and a random port number.

[0139] S306: The third computer device sends the characteristic data of the third computer device to the first computer device, and the first computer device receives the characteristic data of the third computer device.

[0140] S307: The first computer device synchronizes the working environment and working status of the third computer device to the first computer device.

[0141] For the above steps S305-S307, please refer to the relevant descriptions in the above embodiment steps S208-S210, which will not be repeated here.

[0142] See also Figure 4 , the figure is a schematic diagram of the architecture of another workflow management system provided by an embodiment of the present application (a schematic diagram between multiple computer devices and a server). The figure includes computer device 1, computer device 2, computer device 3 and a server. In the above architecture, each computer device corresponds to a unique identifier (for example, the unique identifier of computer device 1 is the hash value corresponding to computer device 1). Among them, computer device 1, computer device 2, and computer device 3 can all perform two-way data interaction with the server (for example, a computer device obtains the port number of the computer device to be synchronized from the server for data synchronization), and computer device 1, computer device 2, and computer device 3 can also perform two-way data interaction (for example, a computer device obtains the port number of the computer device to be synchronized from the server, and then synchronizes data with the corresponding computer device).

[0143] Although they are interconnected in the figure, workflow synchronization can only be performed between any two computer devices through the server. In other words, only two computers are allowed to synchronize workflow data directly at the same time.

[0144] Based on the above embodiments, the beneficial effect of the present application is that: the present application proposes that when the first computer device wants to synchronize the working environment and working status of the third computer device, the server verifies the account information of the third computer device and the device information of the first computer device, including account information verification, that is, verifying whether the account information of the computer device to be synchronized has been stored in the server; login information verification, that is, through the user name and password in the account information of the computer device to be synchronized and the device information of the first computer device; and version verification. After the above verification is passed, a communication connection is established for both parties, so that the first computer device obtains feature data from the third computer device to synchronize the working environment and working status of the third computer device to the first computer device, ensuring the security and stability of workflow synchronization, and ensuring that in workflow synchronization, the feature data is always synchronized from the high-version computer device to the low-version computer device to achieve accurate version control. Through the above method, it is avoided that a certain computer device is still performing workflow synchronization operations when it is the latest progress, improving work efficiency, and avoiding progress rollback.

[0145] The present application also proposes that, in the feature data synchronization stage after verification, when the initial state information of the target application does not exist in the bottom line container of the first computer device, the running state information of the target application is stored in the bottom line container of the first computer device, and then the data in the bottom line container is used for workflow synchronization to ensure the integrity of the basic data and running environment information. When the initial state information of the target application exists in the bottom line container of the first computer device, the data in the bottom line container is synchronized first, and then the data in the baseline container is synchronized, thereby improving the success rate of workflow synchronization. The present application also proposes to use the incremental container to obtain the working running state at the current moment, and store it in the baseline container, so that the feature data in the baseline container always matches the current state of the computer device.

[0146] See also Figure 5 , Figure 5 : is a schematic block diagram of a workflow management device provided in an embodiment of the present application. In one embodiment, the workflow management device may specifically include:

[0147] The data acquisition module 501 is used to acquire and store characteristic data of the first computer device, wherein the characteristic data of the first computer device includes working environment information of the first computer device and working status information of the first computer device;

[0148] The data interaction module 502 is used to send the device information of the first computer device to the server in response to the first work synchronization instruction, so that the server generates a first progress indicator corresponding to the device information of the first computer device, and the first progress indicator is used to indicate the latest progress of the characteristic data of the first computer device;

[0149] The execution module 503 is used to establish a communication connection with the second computer device based on the communication parameters of the second computer device, and send the characteristic data of the first computer device to the second computer device, so that the second computer device synchronizes the working environment and working status of the first computer device to the second computer device based on the characteristic data of the first computer device.

[0150] Optionally, when the data collection module 501 is used to store the characteristic data of the first computer device, it is specifically used to:

[0151] Storing the working operating environment information in the bottom line container of the first computer device, the working operating environment information including operating system information and initial state information of each application;

[0152] The work running status information is stored in the bottom line container or the baseline container of the first computer device.

[0153] Optionally, the work running status information includes running status information of at least one application, and the data acquisition module 501, when used to store the work running status information in the bottom line container or the baseline container of the first computer device, is specifically used to:

[0154] Determine whether there is initial state information of a target application in the bottom line container of the first computer device, the target application being any one of the at least one application;

[0155] If not, storing the running status information of the target application in the bottom line container of the first computer device;

[0156] If so, the running status information of the target application is stored in the baseline container of the first computer device.

[0157] Optionally, the data acquisition module 501 is further used for:

[0158] Obtaining the working running status of the at least one application at the current moment, and using the incremental container in the first computer device to cache the working running status of the at least one application at the current moment;

[0159] The working running status of the at least one application cached in the incremental container of the first computer device at the current moment is added to the baseline container of the first computer device, and the data in the incremental container of the first computer device is cleared.

[0160] Optionally, when the execution module 503 is used to send the characteristic data of the first computer device to the second computer device, it is specifically used to:

[0161] Obtaining data stored in the bottom line container of the second computer device;

[0162] If the data stored in the bottom line container of the second computer device matches the data stored in the bottom line container of the first computer device, the work running status information stored in the baseline container of the first computer device is obtained, and the work running status information is sent to the second computer device, so that the second computer device synchronizes the work running status of the first computer device to the second computer device based on the work running status information;

[0163] If the data stored in the bottom line container of the second computer device does not match the data stored in the bottom line container of the first computer device, the working operating environment information stored in the bottom line container of the first computer device is obtained, and the working operating environment information is sent to the second computer device, so that the second computer device synchronizes the working operating environment of the first computer device to the second computer device based on the working operating environment information, obtains the working operating status information stored in the baseline container of the first computer device, and sends the working operating status information to the second computer device, so that the second computer device synchronizes the working operating status of the first computer device to the second computer device based on the working operating status information.

[0164] Optionally, the execution module 503 is further configured to:

[0165] In response to the second work synchronization instruction, sending a first workflow synchronization request to the server, wherein the first workflow synchronization request includes device information of the first computer device and account information of the third computer device;

[0166] receiving the communication parameters of the third computer device sent by the server in response to the first workflow synchronization request after the server verifies the account information of the third computer device and the device information of the first computer device;

[0167] Establishing a communication connection with the third computer device based on the communication parameters of the third computer device, and receiving characteristic data of the third computer device sent by the third computer device;

[0168] Based on the characteristic data of the third computer device, the working environment and working status of the third computer device are synchronized to the first computer device.

[0169] In one embodiment, the workflow management device may specifically include:

[0170] The data interaction module 502 is used to receive device information of a first computer device, where the first computer device is any one of the at least one computer device, and the device information of the first computer device includes account information of the first computer device;

[0171] An execution module 503 is configured to generate a first progress indicator corresponding to the device information of the first computer device, wherein the first progress indicator is used to indicate the latest progress of the characteristic data of the first computer device, wherein the characteristic data of the first computer device includes the working environment information and the working state information of the first computer device;

[0172] The data interaction module 502 is further configured to obtain device information of the second computer device and account information of the computer device to be synchronized from the second workflow synchronization request when receiving the second workflow synchronization request sent by the second computer device;

[0173] The execution module 503 is also used to verify that the account information of the computer device to be synchronized is passed based on the device information of the first computer device, and determine that the latest progress of the characteristic data in the first computer device is later than the latest progress of the characteristic data of the second computer device according to the device information of the second computer device and the first progress identifier, respond to the second workflow synchronization request, send the communication parameters of the second computer device to the first computer device, and send the communication parameters of the first computer device to the second computer device, so that the first computer device establishes a communication connection with the second computer device, and synchronize the characteristic data of the first computer device through the communication connection, so as to synchronize the working environment and working status of the first computer device to the second computer device.

[0174] It should be noted that the functions of each functional module of the workflow management device in the embodiment of the present application can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.

[0175] See also Figure 6 , Figure 6 601, storage device 602 and communication interface 603. The processor 601, storage device 602 and communication interface 603 can exchange data.

[0176] The above-mentioned storage device 602 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the storage device 602 may also include a non-volatile memory (non-volatile memory), such as a flash memory, a solid-state drive (SSD), etc.; the above-mentioned storage device 602 may also include a combination of the above-mentioned types of memory.

[0177] The processor 601 may be a central processing unit (CPU). In one embodiment, the processor 601 may also be a graphics processing unit (GPU). The processor 601 may also be a combination of a CPU and a GPU. In one embodiment, the storage device 602 is used to store program instructions, and the processor 601 may call the program instructions to perform the following operations:

[0178] Acquire and store characteristic data of the first computer device, wherein the characteristic data of the first computer device includes working environment information of the first computer device and working status information of the first computer device;

[0179] In response to the first work synchronization instruction, sending the device information of the first computer device to the server, so that the server generates a first progress indicator corresponding to the device information of the first computer device, and the first progress indicator is used to indicate the latest progress of the characteristic data of the first computer device;

[0180] Upon receiving the communication parameters of the second computer device sent by the server based on the first progress indicator, a communication connection is established with the second computer device based on the communication parameters of the second computer device, and characteristic data of the first computer device is sent to the second computer device, so that the second computer device synchronizes the working environment and working status of the first computer device to the second computer device based on the characteristic data of the first computer device.

[0181] Optionally, when the processor 601 is used to store the characteristic data of the first computer device, it is specifically used to:

[0182] Storing the working operating environment information in the bottom line container of the first computer device, the working operating environment information including operating system information and initial state information of each application;

[0183] The work running status information is stored in the bottom line container or the baseline container of the first computer device.

[0184] Optionally, the work running status information includes running status information of at least one application, and the processor 601, when used to store the work running status information in the bottom line container or the baseline container of the first computer device, is specifically used to:

[0185] Determine whether there is initial state information of a target application in the bottom line container of the first computer device, the target application being any one of the at least one application;

[0186] If not, storing the running status information of the target application in the bottom line container of the first computer device;

[0187] If so, the running status information of the target application is stored in the baseline container of the first computer device.

[0188] Optionally, the processor 601 is further configured to:

[0189] Obtaining the working running status of the at least one application at the current moment, and using the incremental container in the first computer device to cache the working running status of the at least one application at the current moment;

[0190] The working running status of the at least one application cached in the incremental container of the first computer device at the current moment is added to the baseline container of the first computer device, and the data in the incremental container of the first computer device is cleared.

[0191] Optionally, when the processor 601 is used to send the characteristic data of the first computer device to the second computer device, it is specifically used to:

[0192] Obtaining data stored in the bottom line container of the second computer device;

[0193] If the data stored in the bottom line container of the second computer device matches the data stored in the bottom line container of the first computer device, the work running status information stored in the baseline container of the first computer device is obtained, and the work running status information is sent to the second computer device, so that the second computer device synchronizes the work running status of the first computer device to the second computer device based on the work running status information;

[0194] If the data stored in the bottom line container of the second computer device does not match the data stored in the bottom line container of the first computer device, the working operating environment information stored in the bottom line container of the first computer device is obtained, and the working operating environment information is sent to the second computer device, so that the second computer device synchronizes the working operating environment of the first computer device to the second computer device based on the working operating environment information, obtains the working operating status information stored in the baseline container of the first computer device, and sends the working operating status information to the second computer device, so that the second computer device synchronizes the working operating status of the first computer device to the second computer device based on the working operating status information.

[0195] Optionally, the processor 601 is further configured to:

[0196] In response to the second work synchronization instruction, sending a first workflow synchronization request to the server, wherein the first workflow synchronization request includes device information of the first computer device and account information of the third computer device;

[0197] receiving the communication parameters of the third computer device sent by the server in response to the first workflow synchronization request after the server verifies the account information of the third computer device and the device information of the first computer device;

[0198] Establishing a communication connection with the third computer device based on the communication parameters of the third computer device, and receiving characteristic data of the third computer device sent by the third computer device;

[0199] Based on the characteristic data of the third computer device, the working environment and working status of the third computer device are synchronized to the first computer device.

[0200] In one embodiment, the processor 601 may also call the program instructions to perform the following operations:

[0201] Receiving device information of a first computer device, the first computer device being any one of the at least one computer device, the device information of the first computer device including account information of the first computer device;

[0202] Generate a first progress indicator corresponding to the device information of the first computer device, the first progress indicator is used to indicate the latest progress of the characteristic data of the first computer device, the characteristic data of the first computer device includes the working environment information and the working state information of the first computer device;

[0203] When receiving a second workflow synchronization request sent by a second computer device, obtaining device information of the second computer device and account information of the computer device to be synchronized from the second workflow synchronization request;

[0204] When the account information of the computer device to be synchronized is verified based on the device information of the first computer device, and when it is determined that the latest progress of the characteristic data in the first computer device is later than the latest progress of the characteristic data of the second computer device according to the device information of the second computer device and the first progress identifier, in response to the second workflow synchronization request, the communication parameters of the second computer device are sent to the first computer device, and the communication parameters of the first computer device are sent to the second computer device, so that the first computer device establishes a communication connection with the second computer device, and synchronizes the characteristic data of the first computer device through the communication connection, so as to synchronize the working environment and working status of the first computer device to the second computer device.

[0205] In a specific implementation, the processor 601, the storage device 602, and the communication interface 603 described in the embodiments of the present application can execute the embodiments of the present application. Figure 2 or Figure 3 The implementation method described in the relevant embodiments of the provided workflow management method can also be implemented in the embodiments of this application. Figure 5 The implementation methods described in the relevant embodiments of the provided workflow management device will not be repeated here.

[0206] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0207] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the workflow management device mentioned above, and the computer program includes program instructions. When the processor executes the above program instructions, it can execute the above Figure 2 , Figure 3The method in the corresponding embodiment, therefore, will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, the program instructions can be deployed on a computer device, or executed on multiple computer devices located in one location, or, executed on multiple computer devices distributed in multiple locations and interconnected by a communication network, and multiple computer devices distributed in multiple locations and interconnected by a communication network can constitute a blockchain system.

[0208] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device can perform the above Figure 2 , Figure 3 The method in the corresponding embodiment will therefore not be described in detail here.

[0209] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the above-mentioned program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The above-mentioned storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0210] The above disclosure is only part of the embodiments of the present application, which certainly cannot be used to limit the scope of rights of the present application. Ordinary technicians in this field can understand that all or part of the processes of implementing the above embodiments and making equivalent changes according to the claims of this application are still within the scope of the invention.

Claims

1. A workflow management method, characterized in that: A first computer device applied to a workflow synchronization system, the workflow synchronization system comprising a server and at least one computer device, the first computer device being any one of the at least one computer device, the method comprising: Acquire and store characteristic data of the first computer device, where the characteristic data of the first computer device includes working environment information of the first computer device and working status information of the first computer device; In response to the first work synchronization instruction, sending the device information of the first computer device to the server, so that the server generates a first progress identifier corresponding to the device information of the first computer device, wherein the first progress identifier is used to indicate the latest progress of the characteristic data of the first computer device; Upon receiving the communication parameters of the second computer device sent by the server based on the first progress identifier, a communication connection is established with the second computer device based on the communication parameters of the second computer device, and characteristic data of the first computer device is sent to the second computer device, so that the second computer device synchronizes the working environment and working status of the first computer device to the second computer device based on the characteristic data of the first computer device.

2. The method according to claim 1, characterized in that A bottom line container and a baseline container are deployed on each computer device; The storing of the characteristic data of the first computer device comprises: Storing the working operating environment information in the bottom line container of the first computer device, the working operating environment information including operating system information and initial state information of each application; The work running status information is stored in a bottom line container or a baseline container of the first computer device.

3. The method according to claim 2, characterized in that The work running status information includes running status information of at least one application, and storing the work running status information in a bottom line container or a baseline container of the first computer device includes: Determine whether there is initial state information of a target application in the bottom line container of the first computer device, the target application being any one of the at least one application; If not, storing the running status information of the target application in the bottom line container of the first computer device; If so, the running status information of the target application is stored in the baseline container of the first computer device.

4. The method according to claim 3, characterized in that The method further comprises: Acquire the working running state of the at least one application at the current moment, and use the incremental container in the first computer device to cache the working running state of the at least one application at the current moment; The working running state of the at least one application cached in the incremental container of the first computer device at the current moment is added to the baseline container of the first computer device, and the data in the incremental container of the first computer device is cleared.

5. The method according to claim 2, characterized in that: The sending the characteristic data of the first computer device to the second computer device includes: Acquire data stored in the bottom line container of the second computer device; If the data stored in the bottom line container of the second computer device matches the data stored in the bottom line container of the first computer device, the work running status information stored in the baseline container of the first computer device is obtained, and the work running status information is sent to the second computer device, so that the second computer device synchronizes the work running status of the first computer device to the second computer device based on the work running status information; If the data stored in the bottom line container of the second computer device does not match the data stored in the bottom line container of the first computer device, the working operating environment information stored in the bottom line container of the first computer device is obtained, and the working operating environment information is sent to the second computer device, so that the second computer device synchronizes the working operating environment of the first computer device to the second computer device based on the working operating environment information, and the working operating status information stored in the baseline container of the first computer device is obtained, and the working operating status information is sent to the second computer device, so that the second computer device synchronizes the working operating status of the first computer device to the second computer device based on the working operating status information.

6. The method according to any one of claims 1 to 4, characterized in that The method further comprises: In response to the second work synchronization instruction, sending a first workflow synchronization request to the server, wherein the first workflow synchronization request includes device information of the first computer device and account information of a third computer device; receiving, after the server verifies the account information of the third computer device and the device information of the first computer device, the communication parameters of the third computer device sent in response to the first workflow synchronization request; Establishing a communication connection with the third computer device based on the communication parameters of the third computer device, and receiving characteristic data of the third computer device sent by the third computer device; The working environment and working status of the third computer device are synchronized to the first computer device based on the characteristic data of the third computer device.

7. A workflow management method, characterized in that: A server applied to a workflow synchronization system, wherein the workflow synchronization system comprises the server and at least one computer device, and the method comprises: Receiving device information of a first computer device, where the first computer device is any one of the at least one computer device, and the device information of the first computer device includes account information of the first computer device; generating a first progress identifier corresponding to the device information of the first computer device, the first progress identifier being used to indicate the latest progress of characteristic data of the first computer device, the characteristic data of the first computer device including working environment information and working status information of the first computer device; When receiving a second workflow synchronization request sent by a second computer device, acquiring device information of the second computer device and account information of the computer device to be synchronized from the second workflow synchronization request; When the account information of the computer device to be synchronized is verified based on the device information of the first computer device, and when it is determined that the latest progress of the characteristic data in the first computer device is later than the latest progress of the characteristic data of the second computer device according to the device information of the second computer device and the first progress identifier, in response to the second workflow synchronization request, the communication parameters of the second computer device are sent to the first computer device, and the communication parameters of the first computer device are sent to the second computer device, so that the first computer device establishes a communication connection with the second computer device, and synchronizes the characteristic data of the first computer device through the communication connection, so as to synchronize the working environment and working status of the first computer device to the second computer device.

8. A workflow management device, characterized in that: The apparatus comprises a module for implementing the workflow management method according to any one of claims 1 to 6, or comprises a module for implementing the workflow management method according to claim 7.

9. A computer device, characterized in that: include: A processor, a storage device and a communication interface, wherein the processor, the communication interface and the storage device are connected to each other, wherein the storage device stores an executable program code, and the processor is used to call the executable program code to implement the workflow management method as described in any one of claims 1 to 6, or to implement the workflow management method as described in claim 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and the program instructions are executed by a processor to implement the workflow management method according to any one of claims 1 to 6, or to implement the workflow management method according to claim 7.

Citation Information

Patent Citations

  • Method, system and equipment for document co-processing

    CN104182397A

  • Switching processing method, terminal and computer-readable storage medium

    CN107911422A