WO2023151597A1 - 任务处理方法、装置、电子设备和计算机可读存储介质 - Google Patents

任务处理方法、装置、电子设备和计算机可读存储介质 Download PDF

Info

Publication number
WO2023151597A1
WO2023151597A1 PCT/CN2023/075037 CN2023075037W WO2023151597A1 WO 2023151597 A1 WO2023151597 A1 WO 2023151597A1 CN 2023075037 W CN2023075037 W CN 2023075037W WO 2023151597 A1 WO2023151597 A1 WO 2023151597A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
document
client
target
target task
Prior art date
Application number
PCT/CN2023/075037
Other languages
English (en)
French (fr)
Inventor
吴丹妮
符永宁
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023151597A1 publication Critical patent/WO2023151597A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a task processing method, device, electronic equipment and computer-readable storage medium.
  • instant messaging tools With the development of instant messaging tools, the functions of instant messaging tools are no longer limited to sending instant messages. They gradually integrate various office application products and become a collaborative work platform. For example, many collaborative work platforms integrate instant messaging applications, online documents, mailboxes, and so on. Online documents here are cloud documents.
  • tasks can be created in instant messaging applications to help users record and plan work progress.
  • the online document is an efficient carrier of collaborative work content, and users can also create tasks in the online document.
  • the same user's tasks are scattered in online documents and instant messaging applications, which is inconvenient to manage and causes a lot of inconvenience to users.
  • the disclosure provides a task processing method, device, electronic equipment and computer-readable storage medium, capable of synchronizing documents and task content data of a task center, and facilitating task management for users.
  • the present disclosure provides a task processing method, including:
  • the editing information of the target task includes: index information of the target task and editing data of the modified target task;
  • the editing information of the target task is sent to the client of the first business type, so that the client of the first business type
  • the target task is modified synchronously.
  • the present disclosure provides a task processing method, including:
  • a first data acquisition request is sent to the task server, wherein the first data acquisition request includes: the target task corresponding to the task type document block in the document index information;
  • the task server receiving a first data acquisition response sent by the task server, where the first data acquisition response includes: task content data corresponding to the index information of the target task;
  • the task content data is displayed at the position of the task type document block in the document.
  • an embodiment of the present disclosure provides a task processing device, including:
  • the receiving module is configured to receive the edit information of the target task sent by the client of the first business type, wherein the edit information of the target task includes: index information of the target task and editing data of the modified target task;
  • a determining module configured to determine, according to the index information of the target task, a client of the second service type that includes the target task;
  • a sending module configured to send editing information of the target task to the client of the second service type, so that the client of the second service type synchronously modifies the target task; when receiving the client of the second service type When the editing information of the target task is sent, the editing information of the target task is sent to the client of the first service type, so that the client of the first service type synchronously modifies the target task.
  • an embodiment of the present disclosure provides a task processing device, including:
  • a sending module configured to send a first data acquisition request to the task server in response to the document opening request of the client of the first business type, wherein the first data acquisition request includes: a task type document block in the document Index information of the corresponding target task;
  • a receiving module configured to receive a first data acquisition response sent by the task server, where the first data acquisition response includes: task content data corresponding to the index information of the target task;
  • a display module configured to display the task content data at the position of the task type document block in the document based on the task content data corresponding to the index information of the target task.
  • an embodiment of the present disclosure provides an electronic device, including: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the first aspect or the second aspect is implemented. steps in any of the methods.
  • an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any method provided in the first aspect or the second aspect are implemented.
  • an embodiment of the present disclosure provides a computer program product, which, when the computer program product is run on a computer, causes the computer to execute the steps of any one of the methods provided in the first aspect or the second aspect.
  • the editing information of the target task includes: the index information of the target task and the editing data of the modified target task;
  • the index information of the task determines the second business type client that contains the target task; sends the editing information of the target task to the second business type client, so that the second business type client synchronously modifies the target task; similarly, when receiving the second
  • the editing information of the target task is sent by the client of the second business type
  • the editing information of the target task is sent to the client of the first business type, so that the client of the first business type can modify the target task synchronously, so that the task of the client of the first business type
  • the content data can be synchronized to the client of the second business type, and the task content data of the client of the second business type can be synchronized to the client of the first business type, so that the document and the task content data of the task center can be synchronized, which is convenient for users to manage tasks.
  • FIG. 1A is a schematic diagram of a display screen provided by the present disclosure
  • FIG. 1B is a schematic diagram of another display screen provided by the present disclosure.
  • FIG. 1C is a schematic diagram of another display screen provided by the present disclosure.
  • FIG. 1D is a schematic diagram of another display screen provided by the present disclosure.
  • FIG. 1E is a schematic diagram of another display screen provided by the present disclosure.
  • FIG. 2A is a schematic diagram of another display screen provided by the present disclosure.
  • FIG. 2B is a schematic diagram of another display screen provided by the present disclosure.
  • FIG. 3 is a schematic flowchart of a task processing method provided by the present disclosure
  • FIG. 4 is a schematic flowchart of another task processing method provided by the present disclosure.
  • FIG. 5 is a schematic diagram of another display screen provided by the present disclosure.
  • FIG. 6 is a schematic flowchart of another task processing method provided by the present disclosure.
  • FIG. 7 is a schematic flowchart of another task processing method provided by the present disclosure.
  • FIG. 8 is a schematic flowchart of another task processing method provided by the present disclosure.
  • FIG. 9 is a schematic flowchart of another task processing method provided by the present disclosure.
  • FIG. 10 is a schematic flowchart of another task processing method provided by the present disclosure.
  • Fig. 11 is a schematic flowchart of another task processing method provided by the present disclosure
  • FIG. 12 is a schematic structural diagram of a task processing device provided by the present disclosure.
  • FIG. 13 is a schematic structural diagram of another task processing device provided by the present disclosure.
  • the technical solutions disclosed in the present disclosure can be applied to terminal devices, where the terminal devices may be computers, tablets, mobile phones, or other smart electronic devices.
  • the terminal device has a display screen, wherein the display screen can be a touch screen or a non-touch screen.
  • the user can realize the interactive operation with the terminal device through gestures, fingers or touch tools (such as a stylus pen).
  • an external device for example, a mouse or a keyboard, etc.
  • a mouse or a keyboard, etc. may be used to implement interactive operations with the terminal device.
  • the technical solution in the present disclosure can be applied to an instant messaging application as a collaborative work platform, and the instant messaging application includes multiple application clients, for example, including an instant messaging application client and an online document application client.
  • An online document can be created within the application program, as shown in FIG. 1A and FIG. 1B .
  • the instant messaging application jumps from the instant messaging application client to the online document application client, and the online document display interface of the online document application client is shown in FIG. 1C .
  • the specific content of the currently opened online document can be edited, for example, as shown in Figure 1C, the user can edit the name of the current online document in the title editing area, and can edit the current online document in the text editing area Content.
  • the smallest display unit of an online document is a document block, that is to say, each online document is composed of multiple document blocks, and each document block corresponds to a type, and an online document can include multiple types of document blocks , for example, the type of the document block may be a text type, a task type, an audio type, a video type, a form type, a file type, and the like.
  • the user can select the type of each document block in the online document.
  • the type of the current document block can be selected as the task type, as shown in Figure 1D, after the task type is selected, the editing interface of the task type document block is displayed, as shown in Figure 1E, you can edit the task type document block Add task content data such as task name, task executor, task deadline, task followers, and task reminders to the interface.
  • the corresponding task can be synchronously created in the task panel of the instant messaging application client.
  • the task name to the editing interface of the task type document block as year-end workload statistics
  • the task executor is user A
  • the deadline for adding the task is December 2021 At 18:00 on March 31
  • the task executor is user A
  • the deadline for adding tasks is December 31, 2021 day at 18:00, as shown in Figure 2.
  • FIG. 1 , FIG. 2 and FIG. 6 in the present disclosure are only illustrations of the display interface of the instant messaging application program, and do not limit the position and proportion of each display frame in the display interface of the instant messaging application program to the entire interface.
  • the target task by receiving the editing information of the target task sent by the client of the first service type, the target task
  • the editing information of the target task includes: the index information of the target task and the editing data of the modified target task; according to the index information of the target task, determine the second business type client that contains the target task; send the editing information of the target task to the second business type client , so that the client of the second business type modifies the target task synchronously; similarly, when receiving the editing information of the target task sent by the client of the second business type, it sends the editing information of the target task to the client of the first business type, so that the second A business type client synchronously modifies the target task, so that the task content data of the first business type client can be synchronized to the second business type client, and the task content data of the second business type client can be synchronized to the first business type client terminal, so that the task content data of the document and task center can be synchronized, which is convenient for users to manage tasks.
  • FIG. 3 is a schematic flowchart of a task processing method provided by the present disclosure, as shown in FIG. 3 , including:
  • S101 Receive editing information of a target task sent by a client of a first service type.
  • the editing information of the target task includes: index information of the target task and editing data of the modified target task.
  • the client of the first business type may be an online document application client in an instant messaging application, and can enter the display interface of the online document application client by triggering the online document application client control, as shown in FIG. 1A, the online document
  • the display interface of the application client can display multiple online documents. Users can select one of multiple online documents to trigger based on their own needs, so as to generate an opening request for the online document.
  • document 1 can be selected in the display interface of the online document application client as shown in FIG. 1 for the open request.
  • the user can modify the editing data of the target task for the target task in document 1.
  • the editing data of the modified target task in document 1 may be: the executor of the target task is user A, and the deadline of the target task is 18:00 on December 31, 2021.
  • the client of the second service type may be an instant messaging application client, and after the task server receives the editing information of the target task sent by the online document application client, the index information of the target task may be obtained according to the editing information of the target task , the task server may determine, based on the index information of the target task, that the receiving end of the target task is an instant messaging application client, wherein the instant messaging application client includes the target task.
  • the task server sends the editing information of the target task to the instant messaging application client.
  • the instant messaging application client modifies the task content data of the target task in the task panel, so that the modified target in the task panel
  • the task content data of the task is the same as the task content data of the modified target task in the online documentation.
  • the editing data of modifying the target task may be: the executor of the target task is user A, and the deadline of the target task is 18:00 on December 31, 2021, as shown in Figure 2B Show. Then, in the task panel of the instant messaging application client, the task executor of the synchronization target task is user A, and the task deadline of the target task is 18:00, December 31, 2021, as shown in FIG. 2A .
  • the task server can send the editing information of the target task to the online document application client. Modify the task content data of the target task in , so that the task content data of the modified target task in the online document is the same as that of the modified target task in the task panel.
  • modifying the editing data of the target task can be: the executor of the target task is user A, and the task deadline of the target task is 18:00 on December 31, 2021, as shown in Figure 2A shown. Then, in the document 1 of the online document application client, the task executor of the synchronization target task is user A, and the task deadline of the target task is 18:00, December 31, 2021, as shown in FIG. 2B .
  • the editing information of the target task includes: index information of the target task and edited data of the modified target task; according to the index information of the target task, Determine the second business type client that contains the target task; send the editing information of the target task to the second business type client, so that the second business type client synchronously modifies the target task; similarly, when receiving the second business type client
  • send the editing information of the target task send the editing information of the target task to the first business type client, so that the first business type client can modify the target task synchronously, so that the task content data of the first business type client can be synchronized to The client of the second business type, and the task content data of the client of the second business type can be synchronized to the client of the first business type, so that the document and the task content data of the task center can be synchronized, which is convenient for users to manage tasks.
  • a document block is used as the smallest display unit of an online document, and an online document is composed of one or more document blocks.
  • the target task occupies a document block in the online document, and only the index information of the target task is stored in the document block.
  • the client of the first business type is an online document application client
  • the document in the online document application client may include one or more document blocks, wherein a document block is the smallest display unit in an online document, and a document block It may be at least one of a text-type document block, a task-type document block, a video-type document block, an audio-type document block, a table-type document block, a file-type document block, and the like.
  • each task type document block corresponds to a target task
  • each target task corresponds to an index information, which can be based on the task type document block in the online document after generating the online document open request
  • the index information of the corresponding target task generates a task content data acquisition request.
  • a task content data acquisition request is sent to the task server.
  • a task content data acquisition request can be generated based on the index information of the target tasks corresponding to the multiple task-type document blocks, that is, the task content data acquisition request includes multiple target tasks. Index information, you can also generate a task content data acquisition request for the index information of the target task corresponding to each task type document block, so that multiple task content data acquisition requests can be generated, and the task content data acquisition request and the target task index information One to one correspondence. If multiple task content data acquisition requests are generated, the online document application client may simultaneously or sequentially send the multiple task content data acquisition requests to the task server.
  • An instant messaging application as a collaborative work platform includes multiple applications, which can be understood as a collection of multiple application clients.
  • an instant messaging application includes an instant messaging application client and an online document application client. Information interaction and interaction occur between multiple applications of , and/or between instant messaging applications and other external systems.
  • instant messaging applications can provide a set of block-based frameworks that allow one or three-party applications to create and develop a flexible and interactive application fragment on the instant messaging application, and integrate it into The inside and outside of the instant messaging application, for example, in the environment of the online document application client, the instant messaging application client, third-party pages, etc., and can flow freely.
  • the block-based framework (for example, the document block in the above-mentioned embodiment) provided by the instant messaging application program is a set of standard frameworks, which can allow one or three-party applications to open up internal information and convert the internal information into a piece of data in a standard format. And provide a component to display this piece of data.
  • the combination of this piece of standard-format data and the view of this piece of standard-format data is a component, that is, a block (Block).
  • Block can be embedded and displayed in the application client in the instant messaging application or in the third-party application, and when the same block is embedded in different applications, the same component is displayed.
  • FIG. 4 is a schematic flowchart of another task processing method provided by the present disclosure, as shown in FIG. 4 , including:
  • S201 Send a first data acquisition request to a task server in response to a request for opening a document of a client of a first service type.
  • the first data acquisition request includes: index information of the target task corresponding to the task type document block in the document.
  • the client of the first service type may be an online document application client in an instant messaging application, and by triggering the online
  • the document application client control can enter the display interface of the online document application client.
  • the display interface of the online document application client can display multiple online documents. Users can select one of multiple online documents to trigger based on their own needs, so as to generate an opening request for the online document.
  • document 1 can be selected in the display interface of the online document application client as shown in FIG. 1 for the open request.
  • the online document may include multiple document blocks, and the multiple document blocks may be at least one of a text type document block, a task type document block, a video type document block, an audio type document block, a form type document block, and a file type document block, etc. kind.
  • the online document includes task-type document blocks, each task-type document block corresponds to a task, and each task corresponds to an index information, which can be based on the task-type document block in the online document after the online document opening request is generated The index information of the corresponding target task generates a task content data acquisition request.
  • a task content data acquisition request is sent to the task server.
  • a task content data acquisition request can be generated based on the index information of the target tasks corresponding to the multiple task-type document blocks, that is, the task content data acquisition request includes multiple target tasks. Index information, you can also generate a task content data acquisition request for the index information of the target task corresponding to each task type document block, so that multiple task content data acquisition requests can be generated, and the task content data acquisition request and the target task index information One to one correspondence. If multiple task content data acquisition requests are generated, the online document application client may simultaneously or sequentially send the multiple task content data acquisition requests to the task server.
  • the online document includes a task-type document block corresponding to the index information T1 of the target task 1
  • a task content data acquisition request R1 can be generated, and the task content data The acquisition request R1 is sent to the task server.
  • the online document includes two task type document blocks, and the two task type document blocks correspond to the index information T1 of the target task 1 and the T2 of the target task 2 respectively, then based on the index information T1 of the target task 1 and the index information of the target task 2 Index information T2, generate task content data acquisition request R1 and task content data acquisition request R2 respectively, and send task content data acquisition request R1 and task content data acquisition request R2 to the task server at the same time or in sequence, or based on the target task 1
  • the index information T1 and the index information T2 of the target task 2 generate a task content data acquisition request R1 ′, and send the task content data acquisition request R1 ′ to the task server.
  • the first data acquisition response includes: task content data corresponding to the index information of the target task.
  • the task server receives the task content data acquisition request sent by the online document application client, and parses the task content data acquisition request to obtain the corresponding target task index information, and searches the task content data stored in the task server based on the target task index information , to obtain the task content data corresponding to the index information of any target task. Based on the acquired task content data, a task content data acquisition response is generated. If the online document includes a task type document block, the task content data acquisition response includes the task content data corresponding to the index information of the target task; if the document includes multiple In the task type document block, the task content data acquisition response includes multiple target task index information and their corresponding task content data, and the task server can return the task content data acquisition response to the online document application client.
  • the task server receives the task content data acquisition request R1, parses the task content data acquisition request R1 to obtain the index information T1 of the target task 1, based on the task server itself From the stored task content data, the task content data M1 corresponding to the index information T1 of the target task 1 can be obtained, based on the task content data M1, a task content data acquisition response A1 is generated, and the task content data acquisition response A1 is returned to the online document application client.
  • the task server can parse the received task content data acquisition request, and obtain the index information T1 of the target task 1 and the index information T2 of the target task 2, based on the task content stored in the task server itself Data, the task content data M1 corresponding to the index information T1 of the target task 1 and the task content data M2 corresponding to the index information T2 of the target task 2 can be determined, based on the index information T1 of the target task 1 and its corresponding task content data M1, and the index information T2 of the target task 2 and its corresponding task content data M2, respectively generate task content data acquisition response A1 and task content data acquisition response A2, and obtain task content data acquisition response A1 and task content data acquisition response A2 Simultaneously or sequentially returned to the online document application client; or can be based on The index information T1 of the target task 1 and its corresponding task content data M1, and the index information T2 of the target task 2 and its corresponding task content data M2 generate a task content data acquisition response A1'
  • the online document application client parses the received task content data to obtain a response, and can obtain the task content data corresponding to the index information of the target task, and display the task content data in the online document in the task type documentation block. If the online document includes multiple task-type document blocks, the online document application client parses the received task content data to obtain a response, and can obtain the index information of multiple target tasks and their corresponding task content data, and store each task content The data is shown in the corresponding task type documentation block in the online documentation.
  • the online document application client parses the task content data to obtain the response A1, obtains the task content data M1, and displays the task content data M1 in the task in the online document type documentation block.
  • the online document application client can parse the task content data acquisition response A1 and task content data acquisition response A2, or the task content data acquisition response A1', to obtain the index information T1 of the target task 1 And its corresponding task content data M1, and the index information T2 of the target task 2 and its corresponding task content data M2, and display the task content data M1 in the task type document block corresponding to the index information T1 of the target task 1 in the online document , the task content data M2 is displayed in the task type document block corresponding to the index information T2 of the target task 2 in the online document.
  • the first data acquisition request is sent to the task server by responding to the document opening request of the first business type client, wherein the first data acquisition request includes: the target corresponding to the task type document block in the document Index information of the task; receiving the first data acquisition response sent by the task server, the first data acquisition response includes: task content data corresponding to the index information of the target task; task content data corresponding to the index information based on the target task, in the document
  • the task content data is displayed at the position of the task type document block.
  • Fig. 5 is a schematic flowchart of another task processing method provided by the present disclosure.
  • Fig. 5 is based on the embodiment shown in Fig. 4 and further includes:
  • the data update request includes: the update content corresponding to the editing operation, so that the task server updates the task content data corresponding to the index information of the target task.
  • the client of the second service type may be an instant messaging application client.
  • the display interface of the task panel may be entered.
  • the task panel includes at least one task. Users can select a task from at least one task to trigger based on their own needs, so as to enter the editing interface of the task, for example, as shown in Figure 2A, the task panel includes a task, and enter the editing interface of the task by triggering the task, As shown in Figure 6.
  • the user can edit the task content data in the task editing interface, for example, the task name, task executor, task follower, task deadline, etc. can be edited.
  • the task content data in the task panel corresponds to the index information of the target task in the task type document block in the online document.
  • the instant messaging application client can base on the edited task content data and The index information of the corresponding target task generates a data update request.
  • the instant messaging application client sends a data update request to the task server.
  • the task server can obtain the updated task content data in the task panel and the index information of the corresponding target task by parsing the data update request, and map the index information stored in the task server to the target task
  • the original task content data of is replaced with the updated task content data.
  • the user edits the task deadline of the task content data M1 in the task panel.
  • the task content data M1 corresponds to the index information T1 of the target task 1.
  • the original task deadline before editing is December 31, 2021. After the update The deadline for the task is January 5, 2022.
  • the updated task content data can be recorded as task content data M1', and the task content data M1' corresponds to the index information T1 of the target task 1.
  • the instant messaging application client generates a data update request G1 based on the task content data M1' and the index information T1 of the corresponding target task 1, and the task server receives and analyzes the data update request G1 to obtain the task content data M1' and its corresponding target
  • the index information T1 of the task 1 finds the task content data M1 corresponding to the index information T1 of the target task 1 stored in the task server itself, and updates the task content data M1 to the task content data M1'.
  • a data update request is sent to the task server, and the data update request includes: the update content corresponding to the editing operation, Make the task server update the task content data corresponding to the index information of the target task.
  • the task content data stored in the task server can be updated by editing the task content data in the task panel, so that the task content data displayed in the online document can be Synchronized with the task content data in the task panel.
  • Fig. 7 is a schematic flowchart of another task processing method provided by the present disclosure. Fig. 7 is based on the embodiment shown in Fig. 4 and further includes:
  • the data update request includes: the update content corresponding to the editing operation, so that the task server updates the task content data corresponding to the index information of the target task.
  • the display interface of the online document application client can be entered.
  • the display interface of the online document application client can display at least one online document. Users can select an online document from multiple online documents to trigger based on their own needs, so as to enter the display interface of the online document.
  • the display interface of the online document application client displays multiple online documents. Select the online document named document 1 to trigger, so as to enter the display interface of document 1, as shown in FIG. 2B .
  • the user can edit the task content data in the task type document block in the display interface of the document 1, for example, can edit the task name, task executor, task follower, task deadline and so on.
  • Each task type document block in the online document corresponds to the index information of a target task.
  • the online document application client can base on the edited task content data and its The index information of the corresponding target task generates a data update request.
  • the online document application client sends a data update request to the task server.
  • the task server receives the data update request, it can obtain the updated task content data in the task type document block and the index information of the corresponding target task by parsing the data update request, and store the index information of the target task stored in the task server The original task content data corresponding to the information is replaced with the updated task content data.
  • the user edits the task deadline of the task content data M1 of the task type document block 1 in the task type document block in the document
  • the task content data M1 corresponds to the index information T1 of the target task 1
  • the original task deadline before editing The time is December 31, 2021
  • the updated task deadline is January 5, 2022.
  • the updated task content data can be recorded as task content data M1', then the task content data M1' and the target task 1 Index information T1 corresponds.
  • the online document application client generates a data update request G1 based on the task content data M1' and the corresponding index information T1 of the target task 1, and the task server receives and analyzes the data update request G1 to obtain the task content data M1' and its corresponding target
  • the index information T1 of the task 1 finds the task content data M1 corresponding to the index information T1 of the target task 1 stored in the task server itself, and updates the task content data M1 to the task content data M1'.
  • a data update request is sent to the task server, and the data update request includes: the update corresponding to the editing operation content, so that the task server updates the task content data corresponding to the index information of the target task.
  • the task content data stored in the task server can be updated through the task type document block of the document in the online document application client, so that the task can be Task content data and documents in the panel Synchronize the task content data displayed in it.
  • Fig. 8 is a schematic flowchart of another task processing method provided by the present disclosure. Fig. 8 is based on the embodiment shown in Fig. 4 and further includes:
  • the second data acquisition request includes: index information of the target task included in the task panel.
  • the task panel includes one target task or multiple target tasks, wherein each target task corresponds to one index information, so the task panel may include index information of one or more target tasks.
  • a task content data acquisition request may be generated based on the index information of one or more target tasks included in the task panel, and in response to the task panel opening request, the instant messaging application client sends the task content data acquisition request to the task server.
  • the task panel includes multiple target tasks, and a task content data acquisition request may be generated based on the respective index information of the multiple target tasks, that is, the task content data acquisition request includes the index information of multiple target tasks, and may also be A task content data acquisition request is generated for each target task index information, so that multiple task content data acquisition requests can be generated, and the task content data acquisition requests correspond to the target task index information one by one. If multiple task content data acquisition requests are generated, the instant messaging application client may simultaneously or sequentially send multiple task content data acquisition requests to the task server.
  • the client for instant messaging can generate a task content data acquisition request R3 based on the index information T1 of the target task 1, and acquire the task content data Request R3 is sent to the task server.
  • the instant messaging application client can base on the index information T1 of target task 1 and the index information T2 of the target task 2, generate task content data acquisition request R3 and task content data acquisition request R4 respectively, and send task content data acquisition request R3 and task content data acquisition request R4 to the task server simultaneously or sequentially, or can A task content data acquisition request R3' is generated based on the index information T1 of the target task 1 and the index information T2 of the target task 2, and the task content data acquisition request R3' is sent to the task server.
  • the second data acquisition response includes: task content data corresponding to the index information of the target task.
  • the task server receives the task content data acquisition request sent by the instant messaging application client, and parses the task content data acquisition request to obtain the corresponding target task index information, and searches the task content data stored in the task server based on the target task index information , to obtain the task content data corresponding to the index information of the target task. Based on the acquired task content data, generate a task content data acquisition response. If the task panel includes a target task, the task content data acquisition response includes the task content data corresponding to the index information of the target task; if the task panel includes multiple targets For the task, the task content data acquisition response includes the task content data corresponding to the index information of multiple target tasks, and the task server may return the task content data acquisition response to the instant messaging application client.
  • the task server receives the task content data acquisition request R3, and parses the task content data acquisition request R3 to obtain the index information T1 of the target task 1, based on the task server's own storage task content data, the task content data M1 corresponding to the index information T1 of the target task 1 can be obtained, based on the task content data M1, the task content data acquisition response A3 is generated, and the task content data acquisition response A3 is returned to the instant messaging application client end.
  • the task server can analyze the received task content data acquisition request to obtain the index information T1 of the target task 1 and the index information T2 of the target task 2, based on the task content data stored by the task server itself,
  • the task content data M1 corresponding to the index information T1 of the target task 1 and the task content data M2 corresponding to the index information T2 of the target task 2 can be determined, based on the index information T1 of the target task 1 and its corresponding task content data M1, and the index information T2 of the target task 2 and its corresponding task content data M2, generate task content data acquisition response A3 and task content data acquisition response A4 respectively, and simultaneously or Return to the instant messaging application client in turn; or based on the index information T1 of the target task 1 and its corresponding task content data M1, and the index information T2 of the target task 2 and its corresponding task content data M2, A task content data acquisition response A3' is generated, and the task content data acquisition response A3' is returned to the instant messaging application client.
  • the instant messaging application client parses the received task content data to obtain a response, obtains the task content data corresponding to the index information of the target task, and displays the task content data in the task panel. If there are multiple target tasks in the task panel, the instant messaging application client parses the received task content data to obtain a response, and can obtain the index information of multiple target tasks and their corresponding task content data, and display the task content data in the corresponding area of the task panel.
  • the instant messaging application client parses the task content data acquisition response A3 to obtain the task content data M1, and displays the task content data M1 in the task panel.
  • the instant messaging application client can analyze the task content data acquisition response A3 and task content data acquisition response A4, or the task content data acquisition response A3', and obtain the index information T1 and its The corresponding task content data M1, and the index information T2 of the target task 2 and its corresponding task content data M2, and display the task content data M1 in the area corresponding to the index information T1 of the target task 1 in the task panel, and the task content data M2 Displayed in the area corresponding to the index information T2 of the target task 2 in the task panel.
  • a second data acquisition request is sent to the task server by responding to the opening request of the task panel of the second business type client, wherein the second data acquisition request includes: index information of the target task included in the task panel ; Receive the second data acquisition response sent by the task server, the second data acquisition response includes: task content data corresponding to the index information of the target task; based on the task content data corresponding to the index information of the target task, display the target task in the task panel.
  • the task content data in the task panel is stored in the task server, so that the task content data in the document and the task content data in the task panel can be synchronized with each other.
  • FIG. 9 is a schematic flowchart of another task processing method provided by the present disclosure.
  • FIG. 9 is a specific description of a possible implementation of S201 based on the embodiment shown in FIG. 4 , as follows:
  • the index information of the target task corresponding to each task type document block in the online document is stored in the online document server, and in response to the online document opening request of the online document application client, all the tasks in the online document can be obtained from the online document server The index information of the target task corresponding to the type documentation block.
  • the online document application client can also generate a task content data acquisition request based on the index information of each target task, and send the task content data acquisition request to the task server to obtain the task content displayed in each task type document block in the online document data.
  • the execution document includes a task type document block, and in response to the online document opening request, the index information T1 of the target task 1 is obtained from the online document server, and a task content data acquisition request can be generated based on the index information T1 of the target task 1 R1.
  • the online document includes a plurality of task-type document blocks, and in response to the online document opening request, the index information T1 of the target task 1 and the index information T2 of the target task 2 are obtained from the online document server, based on the index of the target task 1
  • the information T1 and the index information T2 of the target task 2 can respectively generate a task content data acquisition request R1 and a task content data acquisition request R2, or can generate a task content data acquisition request R1'.
  • FIG. 10 is a schematic flowchart of another task processing method provided by the present disclosure.
  • FIG. 10 is based on the embodiment shown in FIG. 5 and further includes:
  • the data update request includes: update data, and the data update request is used to request the document to update and render the task type document block based on the received update data.
  • the online document application client in the instant messaging application is in an open state, and an online document in the open state is displayed in the online document application client, and the online document includes at least one task-type document block, and each task The type document block corresponds to the index information of a target task. If the user is currently updating a task content data in the task panel of the instant messaging application client, and the index information of the target task corresponding to the updated task content data is consistent with any task type in all task type document blocks in the currently opened online document Corresponding to the document block, the corresponding task content data stored in the task server is updated. After updating the task content data in the task server, a data update request is generated based on the updated task content data and the index information of the corresponding target task, and the data update request is sent to the online document application client.
  • the online document application client receives the data update request sent by the task server, and parses the data update request to obtain the updated task content data and the index information of the corresponding target task. According to the index information of the target task, the updated task content The data is displayed in the corresponding task type document block in the currently opened online document, and the real-time update and synchronization of task content data in the online document is completed.
  • the user updates the task content data in the task panel of the instant messaging application client, the updated task content data is M1', the task content data before the update is M1, and the task content data M1/task content data M1' corresponds to the target task 1
  • the task server can generate a data update request G1' based on the received index information T1 of the target task 1 sent by the instant messaging application client and the corresponding task content data M1'.
  • the online document application client parses the received data update request G1', and can obtain the index information T1 of the target task 1 and its corresponding task content data M1', the task content data M1' may be displayed in the task type document block corresponding to the index information T1 of the target task 1 in the currently opened online document.
  • the data update request sent by the task server when the task type document block in the document is in the open state, the data update request sent by the task server is received, the data update request includes: update data, and the data update request is used to request the document to be updated based on the received Data update rendering task type document block, in this way, when the document is open, based on the update of the task content data in the current task panel, the updated task content data can be updated and displayed in the task type document block in real time without additional operations , so that real-time automatic synchronization of task content data in the document can be realized.
  • FIG. 11 is a schematic flowchart of another task processing method provided by the present disclosure.
  • FIG. 11 is based on the embodiment shown in FIG. 7 and further includes:
  • the data update request includes: update data, and the data update request is used to request the task panel to update and render the task type document block based on the received update data.
  • the task panel of the instant messaging application client is in an open state, and at least one target task is displayed in the task panel, and each target task corresponds to a piece of index information. If the user is currently updating the task content data in a task type document block in the online document, and the index information of the target task corresponding to the updated task content data corresponds to any target task among all the target tasks displayed in the task panel, the task The corresponding task content data stored in the server is updated. After the update of the task content data in the task server is completed, a data update request is generated based on the updated task content data and the index information of the corresponding target task, and the data update request is sent to the instant messaging application client.
  • the instant messaging application client receives the data update request sent by the task server, parses the data update request to obtain the updated task content data and the index information of the corresponding target task, according to the index information of the target task, the updated task content
  • the data is displayed in the area corresponding to the index information of the target task in the task panel, and the real-time update and synchronization of the task content data in the task panel is completed.
  • the user updates the task content data in a task type document block in the online document
  • the updated task content data is M1'
  • the task content data before the update is M1
  • the task content data M1/task content data M1' corresponds to the target
  • the task server may receive the index information T1 of the target task 1 and its corresponding task sent by the instant messaging application client
  • the content data M1' generates a data update request G1'.
  • the instant messaging application client parses the received data update request G1' to obtain the task content data M1' corresponding to the index information T1 of the target task 1, and the task content data can be M1' is displayed in the area corresponding to the index information T1 of the target task 1 in the task panel.
  • the data update request includes: update data
  • the data update request is used to request the task panel based on The received update data updates the rendering task type document block.
  • a document block is used as a minimum display unit of an online document, and an online document is composed of one or more document blocks.
  • the target task occupies a task type document block in the online document, and only the index information of the target task is stored in the task type document block.
  • FIG. 12 is a schematic structural diagram of a task processing device provided in the present disclosure. As shown in FIG. 12 , the task processing device includes:
  • the receiving module 110 is configured to receive the editing information of the target task sent by the client of the first business type, wherein the editing information of the target task includes: index information of the target task and editing data of the modified target task;
  • a determining module 120 configured to determine, according to the index information of the target task, a client of the second service type that includes the target task;
  • a sending module 130 configured to send editing information of the target task to the client of the second service type, so that the client of the second service type synchronously modifies the target task; for when receiving the second service
  • the editing information of the target task is sent by the client of the first service type
  • the editing information of the target task is sent to the client of the first service type, so that the client of the first service type synchronously modifies the target task.
  • the first service type client is an online document application client
  • the second service type client is an instant messaging application client
  • a document block is the smallest display unit of an online document, and an online document is composed of one or more document blocks.
  • the target task occupies a document block in the online document, and only the index information of the target task is stored in the document block.
  • FIG. 13 is a schematic structural diagram of another task processing device provided in the present disclosure. As shown in FIG. 13 , the task processing device includes:
  • the sending module 210 is configured to send a first data acquisition request to the task server in response to the document opening request of the first business type client, wherein the first data acquisition request includes: the task type document in the document The index information of the target task corresponding to the block.
  • the receiving module 220 is configured to receive a first data acquisition response sent by the task server, where the first data acquisition response includes: task content data corresponding to the index information of the target task.
  • the display module 230 is configured to display the task content data at the position of the task type document block in the document based on the task content data corresponding to the index information of the target task.
  • the sending module 210 is further configured to send a data update request to the task server in response to an editing operation on the task content data corresponding to the index information of the target task of the second business type client, the The data update request includes: the update content corresponding to the editing operation, so that the task server updates the task content data corresponding to the index information of the target task.
  • the sending module 210 is further configured to send a data update to the task server in response to an editing operation on the task content data corresponding to the index information of the target task in the document of the client of the first business type request, the data update request includes: the update content corresponding to the editing operation, so that the task server updates the task content corresponding to the index information of the target task data.
  • the sending module 210 is further configured to send a second data acquisition request to the task server in response to the request for opening the task panel of the second business type client, wherein the second data acquisition request includes:
  • the task panel includes index information of the target task.
  • the receiving module 220 is further configured to receive a second data acquisition response sent by the task server, where the second data acquisition response includes: task content data corresponding to the index information of the target task.
  • the display module 230 is further configured to display the task content data corresponding to the index information of the target task in the task panel based on the task content data corresponding to the index information of the target task.
  • the sending module 210 is further configured to, in response to the document opening request of the client of the first business type, obtain from the document server the index information of the target task corresponding to the task type document block in the document, and send The task server sends a first data acquisition request.
  • the receiving module 220 is further configured to receive a data update request sent by the task server when the task type document block in the document is open, and the data update request includes: update data , the data update request is used to request the document to update and render the task type document block based on the received update data.
  • the receiving module 220 is further configured to receive a data update request sent by the task server when the task panel in the client of the second business type is open, and the data update request includes: update data, the data update request is used to request the task panel to update and render the task type document block based on the received update data.
  • a document block is the smallest display unit of an online document, and an online document is composed of one or more document blocks.
  • the target task occupies a task type document block in the online document, and only the index information of the target task is stored in the task type document block.
  • the device provided by the embodiment of the present invention can execute the method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
  • the present disclosure provides an electronic device, including: a processor, configured to execute a computer program stored in a memory, and implement the steps in any one of the above method embodiments when the processor executes the computer program.
  • the present disclosure provides a computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.
  • the present disclosure provides a computer program product, which is characterized in that, when the computer program product is run on a computer, the computer is made to execute the steps of any one of the above method embodiments.
  • the present disclosure provides a task processing method, including:
  • the editing information of the target task includes: index information of the target task and editing data of the modified target task;
  • the editing information of the target task is sent to the client of the first business type, so that the client of the first business type
  • the target task is modified synchronously.
  • the first service type client is an online document application client
  • the second service type client is an instant messaging application client
  • a document block is the smallest display unit of an online document, and an online document is composed of one or more document blocks.
  • the target task occupies a document block in the online document, and only the document block stores the Index information of the target task.
  • the present disclosure provides a task processing method, including:
  • a first data acquisition request is sent to the task server, wherein the first data acquisition request includes: the target task corresponding to the task type document block in the document index information;
  • the task server receiving a first data acquisition response sent by the task server, where the first data acquisition response includes: task content data corresponding to the index information of the target task;
  • the task content data is displayed at the position of the task type document block in the document.
  • the method further includes: in response to an editing operation on the task content data corresponding to the index information of the target task of the client of the second service type, sending a data update request to the task server, the data
  • the update request includes: the update content corresponding to the editing operation, so that the task server updates the task content data corresponding to the index information of the target task.
  • the method further includes: sending a data update request to the task server in response to an editing operation on the task content data corresponding to the index information of the target task in the document of the client of the first business type , the data update request includes: the update content corresponding to the editing operation, so that the task server updates the task content data corresponding to the index information of the target task.
  • the method further includes: sending a second data acquisition request to the task server in response to a request to open the task panel of the second service type client, wherein the second data acquisition request includes: the The index information of the target task included in the task panel;
  • the task content data corresponding to the index information of the target task is displayed in the task panel.
  • the sending the first data acquisition request to the task server in response to the document opening request of the client of the first service type includes:
  • the index information of the target task corresponding to the task type document block in the document is acquired from the document server, and a first data acquisition request is sent to the task server.
  • the method further includes: when the task type document block in the document is open, receiving a data update request sent by the task server, the data update request includes: update data, The data update request is used to request the document to update and render the task type document block based on the received update data.
  • the method further includes: when the task panel in the second business type client is open, receiving a data update request sent by the task server, the data update request includes: update data , the data update request is used to request the task panel to update and render the task type document block based on the received update data.
  • a document block is the smallest display unit of an online document, and an online document consists of one or more document block groups.
  • the target task occupies a task type document block in the online document, and only the index information of the target task is stored in the task type document block.
  • the present disclosure provides a task processing device, including:
  • the receiving module is configured to receive the editing information of the target task sent by the client of the first service type, wherein the editing information of the target task includes: index information of the target task and editing data of the modified target task.
  • a determining module configured to determine, according to the index information of the target task, the client of the second service type that includes the target task.
  • a sending module configured to send editing information of the target task to the client of the second service type, so that the client of the second service type synchronously modifies the target task; for when receiving the second service type
  • send The client of the first service type sends editing information of the target task, so that the client of the first service type synchronously modifies the target task.
  • the first service type client is an online document application client
  • the second service type client is an instant messaging application client
  • a document block is the smallest display unit of an online document, and an online document is composed of one or more document blocks.
  • the target task occupies a document block in the online document, and only the index information of the target task is stored in the document block.
  • the present disclosure provides a task processing device, including:
  • a sending module configured to send a first data acquisition request to the task server in response to the document opening request of the client of the first business type, wherein the first data acquisition request includes: a task type document block in the document The index information of the corresponding target task.
  • the receiving module is configured to receive the first data acquisition response sent by the task server, where the first data acquisition response includes: task content data corresponding to the index information of the target task.
  • a display module configured to display the task content data at the position of the task type document block in the document based on the task content data corresponding to the index information of the target task.
  • the sending module is further configured to send a data update request to the task server in response to an editing operation on the task content data corresponding to the index information of the target task of the client of the second service type, the data The update request includes: the update content corresponding to the editing operation, so that the task server updates the task content data corresponding to the index information of the target task.
  • the sending module is further configured to send a data update request to the task server in response to an editing operation on the task content data corresponding to the index information of the target task in the document of the first business type client , the data update request includes: the update content corresponding to the editing operation, so that the task server updates the task content data corresponding to the index information of the target task.
  • the sending module is further configured to send a second data acquisition request to the task server in response to the request for opening the task panel of the second business type client, wherein the second data acquisition request includes: the The index information of the target task included in the task panel.
  • the receiving module is further configured to receive a second data acquisition response sent by the task server, where the second data acquisition response includes: task content data corresponding to the index information of the target task.
  • the display module is further configured to display the task content data corresponding to the index information of the target task in the task panel based on the task content data corresponding to the index information of the target task.
  • the sending module is further configured to, in response to the document opening request of the client of the first business type, obtain from the document server the index information of the target task corresponding to the document block of the task type in the document, and send the document to the task
  • the server sends a first data acquisition request.
  • the receiving module is further configured to receive a data update request sent by the task server when the task type document block in the document is in an open state, and the data update request includes: update data,
  • the data update request is used to request the document to update and render the task type document block based on the received update data.
  • the receiving module is further configured to receive a data update request sent by the task server when the task panel in the client of the second service type is open, and the data update request includes: update data , the data update request is used to request the task panel to update and render the task type document block based on the received update data.
  • a document block is the smallest display unit of an online document, and an online document is composed of one or more document blocks.
  • the target task occupies a task type document block in the online document, and only the index information of the target task is stored in the task type document block.
  • the present disclosure provides an electronic device, including: a processor configured to perform calculations stored in a memory
  • a computer program when the computer program is executed by a processor, implements the steps of any method provided in the first aspect or the second aspect.
  • an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any method provided in the first aspect or the second aspect are implemented.
  • an embodiment of the present disclosure provides a computer program product, which, when the computer program product is run on a computer, causes the computer to execute the steps of any one of the methods provided in the first aspect or the second aspect.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开提供一种任务处理方法、装置、电子设备和计算机可读存储介质。该方法包括:接收第一业务类型客户端发送的目标任务的编辑信息,其中,目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据;根据目标任务的索引信息,确定包含目标任务的第二业务类型客户端;向第二业务类型客户端发送目标任务的编辑信息,使得第二业务类型客户端同步修改目标任务;同样地,当接收到第二业务类型客户端发送的目标任务的编辑信息时,向第一业务类型客户端发送目标任务的编辑信息,使得第一业务类型客户端同步修改目标任务。

Description

任务处理方法、装置、电子设备和计算机可读存储介质
相关申请的交叉引用
本公开要求于2022年2月9日提交的,申请名称为“任务处理方法、装置、电子设备和计算机可读存储介质”的、中国专利申请号为“202210122506.4”的优先权,该中国专利申请的全部内容通过引用结合在本公开中。
技术领域
本公开涉及计算机技术领域,尤其涉及一种任务处理方法、装置、电子设备和计算机可读存储介质。
背景技术
随着即时通信工具的发展,即时通信工具的功能不再局限于发送即时消息,其逐渐集成多种办公应用产品,成为了协同工作的平台。例如,很多协同工作平台集即时通信应用、在线文档、邮箱等为一体。这里在线文档,即为云文档。
相关技术中,在即时通信应用中可以创建任务,以帮助用户记录和规划工作进度。此外,在线文档作为一种高效的协同工作内容的载体,用户还可以在在线文档中创建任务。然而,同一个用户的任务散落在在线文档和即时通信应用,不方便管理,给用户造成了诸多不便。
技术解决方案
本公开提供了一种任务处理方法、装置、电子设备和计算机可读存储介质,能够同步文档与任务中心的任务内容数据,方便用户进行任务管理。
第一方面,本公开提供了一种任务处理方法,包括:
接收第一业务类型客户端发送的目标任务的编辑信息,其中,所述目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据;
根据所述目标任务的索引信息,确定包含所述目标任务的第二业务类型客户端;
向所述第二业务类型客户端发送所述目标任务的编辑信息,使得所述第二业务类型客户端同步修改所述目标任务;
同样地,当接收到所述第二业务类型客户端发送的目标任务的编辑信息时,向所述第一业务类型客户端发送所述目标任务的编辑信息,使得所述第一业务类型客户端同步修改所述目标任务。
第二方面,本公开提供了一种任务处理方法,包括:
响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求,其中,所述第一数据获取请求中包括:所述文档中的任务类型文档块对应的目标任务的索引信息;
接收所述任务服务器发送的第一数据获取响应,所述第一数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据;
基于所述目标任务的索引信息对应的任务内容数据,在所述文档内的所述任务类型文档块位置处显示所述任务内容数据。
第三方面,本公开实施例提供一种任务处理装置,包括:
接收模块,用于接收第一业务类型客户端发送的目标任务的编辑信息,其中,所述目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据;
确定模块,用于根据所述目标任务的索引信息,确定包含所述目标任务的第二业务类型客户端;
发送模块,用于向所述第二业务类型客户端发送所述目标任务的编辑信息,使得所述第二业务类型客户端同步修改所述目标任务;当接收到所述第二业务类型客户端发送的目标任务的编辑信息时,向所述第一业务类型客户端发送所述目标任务的编辑信息,使得所述第一业务类型客户端同步修改所述目标任务。
第四方面,本公开实施例提供一种任务处理装置,包括:
发送模块,用于响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求,其中,所述第一数据获取请求中包括:所述文档中的任务类型文档块对应的目标任务的索引信息;
接收模块,用于接收所述任务服务器发送的第一数据获取响应,所述第一数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据;
显示模块,用于基于所述目标任务的索引信息对应的任务内容数据,在所述文档内的所述任务类型文档块位置处显示所述任务内容数据。
第五方面,本公开实施例提供一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现第一方面或第二方面提供的任一方法的步骤。
第六方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现第一方面或第二方面提供的任一方法的步骤。
第七方面,本公开实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面或第二方面提供的任一方法的步骤。
本公开实施例提供的技术方案中,通过接收第一业务类型客户端发送的目标任务的编辑信息,其中,目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据;根据目标任务的索引信息,确定包含目标任务的第二业务类型客户端;向第二业务类型客户端发送目标任务的编辑信息,使得第二业务类型客户端同步修改目标任务;同样地,当接收到第二业务类型客户端发送的目标任务的编辑信息时,向第一业务类型客户端发送目标任务的编辑信息,使得第一业务类型客户端同步修改目标任务,如此,使得第一业务类型客户端的任务内容数据能够同步至第二业务类型客户端,且第二业务类型客户端的任务内容数据能够同步至第一业务类型客户端,从而能够同步文档与任务中心的任务内容数据,方便用户进行任务管理。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1A为本公开提供的一种显示画面的示意图;
图1B为本公开提供的另一种显示画面的示意图;
图1C为本公开提供的又一种显示画面的示意图;
图1D为本公开提供的又一种显示画面的示意图;
图1E为本公开提供的又一种显示画面的示意图;
图2A为本公开提供的又一种显示画面的示意图;
图2B为本公开提供的又一种显示画面的示意图;
图3为本公开提供的一种任务处理方法的流程示意图;
图4为本公开提供的另一种任务处理方法的流程示意图;
图5为本公开提供的又一种显示画面的示意图;
图6为本公开提供的又一种任务处理方法的流程示意图;
图7为本公开提供的又一种任务处理方法的流程示意图;
图8为本公开提供的又一种任务处理方法的流程示意图;
图9为本公开提供的又一种任务处理方法的流程示意图;
图10为本公开提供的又一种任务处理方法的流程示意图;
图11为本公开提供的又一种任务处理方法的流程示意图
图12为本公开提供的一种任务处理装置的结构示意图;
图13为本公开提供的另一种任务处理装置的结构示意图。
具体实施方式
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。
本公开的技术方案可应用于终端设备,其中,终端设备可以是电脑、平板、手机或者其他智能电子设备等。终端设备具有显示屏,其中,显示屏可以是触摸屏,也可以是非触摸屏,对于具有触摸屏的终端设备,用户可以通过手势、手指或者触控工具(例如,触控笔)实现与终端设备的交互操作。对于非触摸屏的终端设备,可以通过外部设备(例如,鼠标或者键盘等)实现与终端设备的交互操作。
本公开中的技术方案可以应用于作为协同工作平台的即时通信应用程序,该即时通信应用程序中包括多个应用客户端,例如,包括即时通信应用客户端和在线文档应用客户端,在即时通信应用程序内可以内新建在线文档,如图1A和图1B所示。完成新建在线文档的触发操作后即时通信应用程序从即时通信应用客户端跳转至在线文档应用客户端,在线文档应用客户端的在线文档展示界面,如图1C所示。在在文档展示界面中,可以对当前打开的在线文档的具体内容进行编辑,例如,如图1C所示,用户可以在标题编辑区编辑当前在线文档的名称,可以在正文编辑区编辑当前在线文档的内容。
如图1C所示的在线文档,其最小的展示单元为文档块,也就是说每个在线文档由多个文档块组成,每个文档块对应一个类型,在线文档可以包括多种类型的文档块,例如,文档块的类型可以是文本类型、任务类型、音频类型、视频类型、表格类型、文件类型等。基于如图1C和图1D所示的操作,用户可以选择在线文档中各个文档块的类型。示例性的,可以选择当前文档块的类型为任务类型,如图1D所示,任务类型选择完成后,展示任务类型文档块的编辑界面,如图1E所示,可以在任务类型文档块的编辑界面中添加任务名称、任务执行者、任务截止时间、任务关注者、任务提醒等任务内容数据。
在线文档应用客户端的文档中,完成任务类型文档块的任务内容数据编辑后,可在即时通信应用客户端的任务面板中同步建立相应的任务。例如,在如图1E所示的在线文档应用客户端的在线文档中,在任务类型文档块的编辑界面添加任务名称为年终工作量统计,任务执行者为用户A,添加任务截止时间为2021年12月31日18:00,则在即时通信应用客户端的任务面板中建立一个任务,且该任务的任务名称为年终工作量统计,任务执行者为用户A,添加任务截止时间为2021年12月31日18:00,如图2所示。
本公开中的图1、图2和图6中只是对即时通信应用程序的展示界面的示意,并不限定即时通信应用程序的展示界面中各显示框的位置和占整个界面的比例。
本公开的技术方案中,通过接收第一业务类型客户端发送的目标任务的编辑信息,其中,目标任务 的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据;根据目标任务的索引信息,确定包含目标任务的第二业务类型客户端;向第二业务类型客户端发送目标任务的编辑信息,使得第二业务类型客户端同步修改目标任务;同样地,当接收到第二业务类型客户端发送的目标任务的编辑信息时,向第一业务类型客户端发送目标任务的编辑信息,使得第一业务类型客户端同步修改目标任务,如此,使得第一业务类型客户端的任务内容数据能够同步至第二业务类型客户端,且第二业务类型客户端的任务内容数据能够同步至第一业务类型客户端,从而能够同步文档与任务中心的任务内容数据,方便用户进行任务管理。
下面以几个具体的实施例对本公开的技术方案做详细描述:
图3为本公开提供的一种任务处理方法的流程示意图,如图3所示,包括:
S101,接收第一业务类型客户端发送的目标任务的编辑信息。
其中,所述目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据。
示例性的,第一业务类型客户端可以是即时通信应用程序中的在线文档应用客户端,通过触发在线文档应用客户端控件可以进入在线文档应用客户端的展示界面,如图1A所示,在线文档应用客户端的展示界面可以显示多个在线文档。用户可以基于自身需求从多个在线文档中选择一个进行触发,从而生成针对该在线文档的打开请求,例如,可以在如图1A所示的在线文档应用客户端的展示界面中选择文档1,生成文档1的打开请求。
在线文档的打开后,如图2B所示,用户可以针对文档1中的目标任务,修改目标任务的编辑数据,文档1中的目标任务可以是一个也可以是多个,基于文档1中的所有目标任务各自的索引信息以及修改各目标任务的编辑数据,生成目标任务的编辑信息,在线文档应用客户端可以将生成的编辑信息发送至任务服务器。例如,如图2B所示,文档1中的修改目标任务的编辑数据可以是:目标任务的执行者为用户A,目标任务的截止时间为2021年12月31日18:00。
S102,根据所述目标任务的索引信息,确定包含所述目标任务的第二业务类型客户端。
示例性的,第二业务类型客户端可以是即时通信应用客户端,任务服务器接收到在线文档应用客户端发送的目标任务的编辑信息后,根据目标任务的编辑信息可以获取到目标任务的索引信息,任务服务器可以基于目标任务的索引信息,确定目标任务的接收端为即时通信应用客户端,其中,即时通信应用客户端中包括目标任务。
S103,向所述第二业务类型客户端发送所述目标任务的编辑信息,使得所述第二业务类型客户端同步修改所述目标任务。
任务服务器将目标任务的编辑信息发送至即时通信应用客户端,即时通信应用客户端接收到目标任务的编辑信息后,在任务面板中修改目标任务的任务内容数据,使得任务面板中修改后的目标任务的任务内容数据与在线文档中修改后的目标任务的任务内容数据相同。
例如,用户在线文档应用客户端的文档1中,修改目标任务的编辑数据可以是:目标任务的执行者为用户A,目标任务的截止时间为2021年12月31日18:00,如图2B所示。则在即时通信应用客户端的任务面板中,同步目标任务的任务执行者为用户A,目标任务的任务截止时间为2021年12月31日18:00,如图2A所示。
S104,当接收到所述第二业务类型客户端发送的目标任务的编辑信息时,向所述第一业务类型客户端发送所述目标任务的编辑信息,使得所述第一业务类型客户端同步修改所述目标任务。
若即时通信应用客户端向任务服务器发送目标任务的编辑信息,任务服务器可以将目标任务的编辑信息发送至在线文档应用客户端,在线文档应用客户端接收到目标任务的编辑信息后,在在线文档中修改目标任务的任务内容数据,使得在线文档中修改后的目标任务的任务内容数据与任务面板中修改后的目标任务的任务内容数据相同。
例如,在即时通信应用客户端的任务面板中,修改目标任务的编辑数据可以是:目标任务的执行者为用户A,目标任务的任务截止时间为2021年12月31日18:00,如图2A所示。则在在线文档应用客户端的文档1中,同步目标任务的任务执行者为用户A,目标任务的任务截止时间为2021年12月31日18:00,如图2B所示。
本实施例中,通过接收第一业务类型客户端发送的目标任务的编辑信息,其中,目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据;根据目标任务的索引信息,确定包含目标任务的第二业务类型客户端;向第二业务类型客户端发送目标任务的编辑信息,使得第二业务类型客户端同步修改目标任务;同样地,当接收到第二业务类型客户端发送的目标任务的编辑信息时,向第一业务类型客户端发送目标任务的编辑信息,使得第一业务类型客户端同步修改目标任务,如此,使得第一业务类型客户端的任务内容数据能够同步至第二业务类型客户端,且第二业务类型客户端的任务内容数据能够同步至第一业务类型客户端,从而能够同步文档与任务中心的任务内容数据,方便用户进行任务管理。
在一些实施例中,在上述实施例的基础上,第一业务类型客户端中,以文档块为在线文档的最小展示单位,一个在线文档由一个或者多个文档块组成。目标任务占用在线文档中的一个文档块,且文档块中只存储目标任务的索引信息。
示例性的,第一业务类型客户端为在线文档应用客户端,在线文档应用客户端中的文档可以包括一个或多个文档块,其中,文档块为中在线文档中最小的展示单元,文档块可以是文本类型文档块、任务类型文档块、视频类型文档块、音频类型文档块、表格类型文档块和文件类型文档块等中的至少一种。若在线文档中包括任务类型文档块,每个任务类型文档块对应一个目标任务,每个目标任务对应有一个索引信息,可以在生成在线文档的打开请求后,基于在线文档中的任务类型文档块对应的目标任务的索引信息,生成任务内容数据获取请求。响应于在线文档应用客户端的在线文档的打开请求,将任务内容数据获取请求发送至任务服务器。若在线文档中包括多个任务类型文档块,可以基于多个任务类型文档块各自对应的目标任务的索引信息,生成一个任务内容数据获取请求,即任务内容数据获取请求中包括多个目标任务的索引信息,还可以针对每个任务类型文档块对应的目标任务的索引信息生成一个任务内容数据获取请求,如此可以生成多个任务内容数据获取请求,且任务内容数据获取请求与目标任务的索引信息一一对应。若生成多个任务内容数据获取请求,在线文档应用客户端可以将多个任务内容数据获取请求同时或者依次发送至任务服务器。
作为协同工作平台的即时通信应用程序中包括多个应用,可以理解为多个应用客户端的集合,例如,即时通信应用程序中包括即时通信应用客户端和在线文档应用客户端,即时通信应用程序内的多个应用之间,和/或即时通信应用程序与其他外部系统之间产生信息交互和互动。为了使得不同应用的信息流转流通,即时通信应用程序可以提供一套基于块的框架,能让一方、三方应用在即时通信应用程序上创建并开发一段灵活展现、可交互的应用片段,并集成到即时通信应用程序的内外,例如,在线文档应用客户端、即时通信应用客户端、第三方页面等环境中,且可以自由流转。即时通信应用程序提供的基于块(例如,上述实施例中的文档块)的框架是一套标准框架,可以让一方、三方应用将内部信息开放出来,将内部信息转换为一段格式标准的数据,并提供一个组件去展示这段数据,这段格式标准的数据与这段格式标准的数据的视图组合在一起即为组件,也就是块(Block)。在即时通信应用程序内的应用客户端或第三方应用中可以嵌入、展示这些块,而不同应用嵌入同一个块时,展示的是同一个组件。
图4为本公开提供的另一种任务处理方法的流程示意图,如图4所示,包括:
S201,响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求。
其中,所述第一数据获取请求中包括:所述文档中的任务类型文档块对应的目标任务的索引信息。
示例性的,第一业务类型客户端可以是即时通信应用程序中的在线文档应用客户端,通过触发在线 文档应用客户端控件可以进入在线文档应用客户端的展示界面,如图1A所示,在线文档应用客户端的展示界面可以显示多个在线文档。用户可以基于自身需求从多个在线文档中选择一个进行触发,从而生成针对该在线文档的打开请求,例如,可以在如图1A所示的在线文档应用客户端的展示界面中选择文档1,生成文档1的打开请求。
在线文档中可能包括多个文档块,多个文档块可以是文本类型文档块、任务类型文档块、视频类型文档块、音频类型文档块、表格类型文档块和文件类型文档块等中的至少一种。示例性的,在线文档中包括任务类型文档块,每个任务类型文档块对应一个任务,每个任务对应有一个索引信息,可以在生成在线文档的打开请求后,基于在线文档中任务类型文档块对应的目标任务的索引信息,生成任务内容数据获取请求。响应于在线文档应用客户端的在线文档的打开请求,将任务内容数据获取请求发送至任务服务器。若在线文档中包括多个任务类型文档块,可以基于多个任务类型文档块各自对应的目标任务的索引信息,生成一个任务内容数据获取请求,即任务内容数据获取请求中包括多个目标任务的索引信息,还可以针对每个任务类型文档块对应的目标任务的索引信息生成一个任务内容数据获取请求,如此可以生成多个任务内容数据获取请求,且任务内容数据获取请求与目标任务的索引信息一一对应。若生成多个任务内容数据获取请求,在线文档应用客户端可以将多个任务内容数据获取请求同时或者依次发送至任务服务器。
例如,若在线文档中包括一个任务类型文档块,该任务类型文档块对应目标任务1的索引信息T1,则基于目标任务1的索引信息T1可以生成任务内容数据获取请求R1,并将任务内容数据获取请求R1发送至任务服务器。若在线文档中包括两个任务类型文档块,且两个任务类型文档块分别对应目标任务1的索引信息T1和目标任务2的T2,则可以基于目标任务1的索引信息T1和目标任务2的索引信息T2,分别生成任务内容数据获取请求R1和任务内容数据获取请求R2,并将任务内容数据获取请求R1和任务内容数据获取请求R2同时或依次发送至任务服务器,或者可以基于目标任务1的索引信息T1和目标任务2的索引信息T2生成任务内容数据获取请求R1’,并将任务内容数据获取请求R1’发送至任务服务器。
S202,接收所述任务服务器发送的第一数据获取响应。
所述第一数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据。
任务服务器接收在线文档应用客户端发送的任务内容数据获取请求,并且解析该任务内容数据获取请求,可以得到相应的目标任务的索引信息,基于目标任务的索引信息查找任务服务器内部存储的任务内容数据,获取与任目标任务的索引信息对应的任务内容数据。基于获取到的任务内容数据,生成任务内容数据获取响应,若在线文档中包括一个任务类型文档块,任务内容数据获取响应中包括目标任务的索引信息对应的任务内容数据;若文档中包括多个任务类型文档块,任务内容数据获取响应中包括多个目标任务的索引信息及其各自对应的任务内容数据,任务服务器可以将任务内容数据获取响应返回至在线文档应用客户端。
例如,基于上述实施例,若在线文档中包括一个任务类型文档块,任务服务器接收到任务内容数据获取请求R1,解析任务内容数据获取请求R1可以得到目标任务1的索引信息T1,基于任务服务器自身存储的任务内容数据,可以获得与目标任务1的索引信息T1对应的任务内容数据M1,基于任务内容数据M1,生成任务内容数据获取响应A1,并将任务内容数据获取响应A1返回给在线文档应用客户端。若在线文档中包括两个任务类型文档块,任务服务器可以解析接收到的任务内容数据获取请求,得到目标任务1的索引信息T1和目标任务2的索引信息T2,基于任务服务器自身存储的任务内容数据,可以确定与目标任务1的索引信息T1对应的任务内容数据M1以及与目标任务2的索引信息T2对应的任务内容数据M2,可以基于目标任务1的索引信息T1及其对应的任务内容数据M1,和目标任务2的索引信息T2及其对应的任务内容数据M2,分别生成任务内容数据获取响应A1和任务内容数据获取响应A2,并将任务内容数据获取响应A1和任务内容数据获取响应A2同时或依次返回给在线文档应用客户端;或者可以基于 目标任务1的索引信息T1及其对应的任务内容数据M1,和目标任务2的索引信息T2及其对应的任务内容数据M2,生成任务内容数据获取响应A1’,并将任务内容数据获取响应A1’返回给在线文档应用客户端。
S203,基于所述目标任务的索引信息对应的任务内容数据,在所述文档内的所述任务类型文档块位置处显示所述任务内容数据。
若在线文档中包括一个任务类型文档块,在线文档应用客户端解析接收到的任务内容数据获取响应,可以得到目标任务的索引信息对应的任务内容数据,并将任务内容数据显示于在线文档内的任务类型文档块中。若在线文档中包括多个任务类型文档块,在线文档应用客户端解析接收到的任务内容数据获取响应,可以得到多个目标任务的索引信息及其各自对应的任务内容数据,并将各任务内容数据显示于在线文档内对应的任务类型文档块中。
例如,基于上述实施例,若在线文档中包括一个任务类型文档块,在线文档应用客户端解析任务内容数据获取响应A1,得到任务内容数据M1,并将任务内容数据M1显示于在线文档内的任务类型文档块中。若在线文档中包括两个任务类型文档块,在线文档应用客户端可以解析任务内容数据获取响应A1和任务内容数据获取响应A2,或者任务内容数据获取响应A1’,得到目标任务1的索引信息T1及其对应的任务内容数据M1,和目标任务2的索引信息T2及其对应的任务内容数据M2,并将任务内容数据M1显示于在线文档内目标任务1的索引信息T1对应的任务类型文档块中,任务内容数据M2显示于在线文档内目标任务2的索引信息T2对应的任务类型文档块中。
本实施例中,通过响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求,其中,第一数据获取请求中包括:文档中的任务类型文档块对应的目标任务的索引信息;接收任务服务器发送的第一数据获取响应,第一数据获取响应中包括:目标任务的索引信息对应的任务内容数据;基于目标任务的索引信息对应的任务内容数据,在文档内的任务类型文档块位置处显示任务内容数据,如此,文档中的任务内容数据存储于任务服务器中,无需验证用户针对文档的权限即可获取到任务内容数据,从而能够同步文档中的任务内容数据。
图5为本公开提供的又一种任务处理方法的流程示意图,图5为图4所示实施例的基础上,还包括:
S204,响应于对第二业务类型客户端的所述目标任务的索引信息对应的任务内容数据的编辑操作,向所述任务服务器发送数据更新请求。
所述数据更新请求中包括:所述编辑操作对应的更新内容,以使所述任务服务器更新所述目标任务的索引信息对应的任务内容数据。
示例性的,第二业务类型客户端可以是即时通信应用客户端,通过触发即时通信应用客户端的任务面板控件可以进入任务面板的展示界面,如图2A所示,任务面板中包括至少一个任务。用户可以基于自身需求从至少一个任务中选择一个任务进行触发,从而进入该任务的编辑界面,例如,如图2A所示,任务面板中包括一个任务,通过触发该任务进入该任务的编辑界面,如图6所示。用户可以在任务的编辑界面中对任务内容数据进行编辑,例如,可以编辑任务的任务名称、任务执行者、任务关注者、任务截止时间等。
任务面板中的任务内容数据与在线文档内的任务类型文档块的目标任务的索引信息对应,用户在任务面板中编辑完成任务内容数据后,即时通信应用客户端可以基于编辑后的任务内容数据及其对应的目标任务的索引信息,生成数据更新请求。响应于对任务面板中的任务内容数据的编辑操作,即时通信应用客户端将数据更新请求发送至任务服务器。任务服务器接收数据更新请求后,通过解析数据更新请求,可以得到任务面板中更新后的任务内容数据及其对应的目标任务的索引信息,并将任务服务器中存储的与该目标任务的索引信息对应的原任务内容数据替换为更新后的任务内容数据。
例如,用户在任务面板中对任务内容数据M1的任务截止时间进行编辑,任务内容数据M1与目标任务1的索引信息T1对应,编辑前的原任务截止时间为2021年12月31日,更新后的任务截止时间为2022年1月5日,可以将更新后的任务内容数据记为任务内容数据M1’,则任务内容数据M1’与目标任务1的索引信息T1对应。即时通信应用客户端基于任务内容数据M1’及其对应的目标任务1的索引信息T1,生成数据更新请求G1,任务服务器接收并解析数据更新请求G1,得到任务内容数据M1’及其对应的目标任务1的索引信息T1,找到任务服务器自身存储的与目标任务1的索引信息T1对应的任务内容数据M1,并将任务内容数据M1更新为任务内容数据M1’。
本实施例中,通过响应于对第二业务类型客户端的目标任务的索引信息对应的任务内容数据的编辑操作,向任务服务器发送数据更新请求,数据更新请求中包括:编辑操作对应的更新内容,以使任务服务器更新目标任务的索引信息对应的任务内容数据,如此,可以通过编辑任务面板中的任务内容数据来更新任务服务器内存储的任务内容数据,从而能够将在线文档内显示的任务内容数据与任务面板中的任务内容数据同步。
图7为本公开提供的又一种任务处理方法的流程示意图,图7为图4所示实施例的基础上,还包括:
S205,响应于对所述第一业务类型客户端的文档中所述目标任务的索引信息对应的任务内容数据的编辑操作,向所述任务服务器发送数据更新请求。
所述数据更新请求中包括:所述编辑操作对应的更新内容,以使所述任务服务器更新所述目标任务的索引信息对应的任务内容数据。
通过即时通信应用程序中的在线文档应用客户端控件,可以进入在线文档应用客户端的展示界面,如图1A所示,在线文档应用客户端的展示界面可以显示至少一个在线文档。用户可以基于自身需求从多个在线文档中选择一个在线文档进行触发,从而进入该在线文档的显示界面,例如,如图1A所示,在线文档应用客户端的展示界面显示有多个在线文档,可以选择名称为文档1的在线文档进行触发,从而进入文档1的显示界面,如图2B所示。用户可以在文档1的显示界面中对任务类型文档块内的任务内容数据进行编辑,例如,可以编辑任务名称、任务执行者、任务关注者、任务截止时间等。
在线文档内的每个任务类型文档块对应一个目标任务的索引信息,用户在文档内的任务类型文档块中编辑完成任务内容数据后,在线文档应用客户端可以基于编辑后的任务内容数据及其对应的目标任务的索引信息,生成数据更新请求。响应于对任务类型文档块中的任务内容数据的编辑操作,在线文档应用客户端将数据更新请求发送至任务服务器。任务服务器接收数据更新请求后,通过解析数据更新请求,可以得到任务类型文档块中更新后的任务内容数据及其对应的目标任务的索引信息,并将任务服务器中存储的与该目标任务的索引信息对应的原任务内容数据替换为更新后的任务内容数据。
例如,用户在文档内的任务类型文档块中对任务类型文档块1的任务内容数据M1的任务截止时间进行编辑,任务内容数据M1与目标任务1的索引信息T1对应,编辑前的原任务截止时间为2021年12月31日,更新后的任务截止时间为2022年1月5日,可以将更新后的任务内容数据记为任务内容数据M1’,则任务内容数据M1’与目标任务1的索引信息T1对应。在线文档应用客户端基于任务内容数据M1’及其对应的目标任务1的索引信息T1,生成数据更新请求G1,任务服务器接收并解析数据更新请求G1,得到任务内容数据M1’及其对应的目标任务1的索引信息T1,找到任务服务器自身存储的与目标任务1的索引信息T1对应的任务内容数据M1,并将任务内容数据M1更新为任务内容数据M1’。
本实施例中,通过响应于对第一业务类型客户端的文档中目标任务的索引信息对应的任务内容数据的编辑操作,向任务服务器发送数据更新请求,数据更新请求中包括:编辑操作对应的更新内容,以使任务服务器更新目标任务的索引信息对应的任务内容数据,如此,可以通过在线文档应用客户端中的文档的任务类型文档块来更新任务服务器内存储的任务内容数据,从而能够将任务面板中的任务内容数据与文档 内显示的任务内容数据同步。
图8为本公开提供的又一种任务处理方法的流程示意图,图8为图4所示实施例的基础上,还包括:
S2061,响应于对第二业务类型客户端的任务面板的打开请求,向任务服务器发送第二数据获取请求。
其中,所述第二数据获取请求中包括:所述任务面板包括的目标任务的索引信息。
任务面板中包括一个目标任务或多个目标任务,其中,每个目标任务对应有一个索引信息,如此,任务面板可以包括一个或多个目标任务的索引信息。可以基于任务面板中包括的一个或多个目标任务的索引信息,生成任务内容数据获取请求,响应于任务面板的打开请求,即时通信应用客户端将任务内容数据获取请求发送至任务服务器。示例性的,任务面板中包括多个目标任务,可以基于多个目标任务各自的索引信息,生成一个任务内容数据获取请求,即任务内容数据获取请求中包括多个目标任务的索引信息,还可以针对每个目标任务的索引信息生成一个任务内容数据获取请求,如此可以生成多个任务内容数据获取请求,且任务内容数据获取请求与目标任务的索引信息一一对应。若生成多个任务内容数据获取请求,即时通信应用客户端可以将多个任务内容数据获取请求同时或者依次发送至任务服务器。
例如,若任务面板中包括一个目标任务1,目标任务1的索引信息为T1,即时通信用于客户端基于目标任务1的索引信息T1可以生成任务内容数据获取请求R3,并将任务内容数据获取请求R3发送至任务服务器。若任务面板中包括两个目标任务,且两个目标任务的索引信息分别为目标任务1的索引信息T1和目标任务2的索引信息T2,即时通信应用客户端可以基于目标任务1的索引信息T1和目标任务2的索引信息T2,分别生成任务内容数据获取请求R3和任务内容数据获取请求R4,并将任务内容数据获取请求R3和任务内容数据获取请求R4同时或依次发送至任务服务器,或者可以基于目标任务1的索引信息T1和目标任务2的索引信息T2生成任务内容数据获取请求R3’,并将任务内容数据获取请求R3’发送至任务服务器。
S2062,接收所述任务服务器发送的第二数据获取响应。
所述第二数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据。
任务服务器接收即时通信应用客户端发送的任务内容数据获取请求,并且解析该任务内容数据获取请求,可以得到相应的目标任务的索引信息,基于目标任务的索引信息查找任务服务器内部存储的任务内容数据,获取与目标任务的索引信息对应的任务内容数据。基于获取到的任务内容数据,生成任务内容数据获取响应,若任务面板中包括一个目标任务,任务内容数据获取响应中包括目标任务的索引信息对应的任务内容数据;若任务面板中包括多个目标任务,任务内容数据获取响应中包括多个目标任务的索引信息各自对应的任务内容数据,任务服务器可以将任务内容数据获取响应返回至即时通信应用客户端。
例如,基于上述实施例,若任务面板中包括一个目标任务,任务服务器接收到任务内容数据获取请求R3,解析任务内容数据获取请求R3可以得到的目标任务1的索引信息T1,基于任务服务器自身存储的任务内容数据,可以获得与目标任务1的索引信息T1对应的任务内容数据M1,基于任务内容数据M1,生成任务内容数据获取响应A3,并将任务内容数据获取响应A3返回给即时通信应用客户端。若任务面板中包括多个目标任务,任务服务器可以解析接收到的任务内容数据获取请求,得到目标任务1的索引信息T1和目标任务2的索引信息T2,基于任务服务器自身存储的任务内容数据,可以确定与目标任务1的索引信息T1对应的任务内容数据M1以及与目标任务2的索引信息T2对应的任务内容数据M2,可以基于目标任务1的索引信息T1及其对应的任务内容数据M1,和目标任务2的索引信息T2及其对应的任务内容数据M2,分别生成任务内容数据获取响应A3和任务内容数据获取响应A4,并将任务内容数据获取响应A3和任务内容数据获取响应A4同时或依次返回给即时通信应用客户端;或者可以基于目标任务1的索引信息T1及其对应的任务内容数据M1,和目标任务2的索引信息T2及其对应的任务内容数据M2, 生成任务内容数据获取响应A3’,并将任务内容数据获取响应A3’返回给即时通信应用客户端。
S2063,基于所述目标任务的索引信息对应的任务内容数据,在所述任务面板内显示所述目标任务的索引信息对应的任务内容数据。
若任务面板中包括一个目标任务,即时通信应用客户端解析接收到的任务内容数据获取响应,可以得到目标任务的索引信息对应的任务内容数据,并将任务内容数据显示于任务面板中。若任务面板中包括多个目标任务,即时通信应用客户端解析接收到的任务内容数据获取响应,可以得到多个目标任务的索引信息及其各自对应的任务内容数据,并将各任务内容数据显示于任务面板内对应的区域。
例如,基于上述实施例,若任务面板中包括一个目标任务,即时通信应用客户端解析任务内容数据获取响应A3,得到任务内容数据M1,并将任务内容数据M1显示于任务面板中。若任务面板中包括两个目标任务,即时通信应用客户端可以解析任务内容数据获取响应A3和任务内容数据获取响应A4,或者任务内容数据获取响应A3’,得到目标任务1的索引信息T1及其对应的任务内容数据M1,和目标任务2的索引信息T2及其对应的任务内容数据M2,并将任务内容数据M1显示于任务面板内目标任务1的索引信息T1对应的区域,任务内容数据M2显示于任务面板内目标任务2的索引信息T2对应的区域。
本实施例中,通过响应于对第二业务类型客户端的任务面板的打开请求,向任务服务器发送第二数据获取请求,其中,第二数据获取请求中包括:任务面板包括的目标任务的索引信息;接收任务服务器发送的第二数据获取响应,第二数据获取响应中包括:目标任务的索引信息对应的任务内容数据;基于目标任务的索引信息对应的任务内容数据,在任务面板内显示目标任务的索引信息对应的任务内容数据,如此,任务面板内的任务内容数据存储于任务服务器中,从而能够实现文档中的任务内容数据与任务面板中的任务内容数据之间互相同步。
图9为本公开提供的又一种任务处理方法的流程示意图,图9为图4所示实施例的基础上,执行S201时的一种可能的实现方式的具体描述,如下:
S201’,响应于对第一业务类型客户端的文档的打开请求,从文档服务器获取所述文档中的任务类型文档块对应的目标任务的索引信息,并向任务服务器发送第一数据获取请求。
在线文档内的各任务类型文档块对应的目标任务的索引信息均存储于在线文档服务器中,响应于在线文档应用客户端的在线文档的打开请求,可以从在线文档服务器中获取该在线文档中所有任务类型文档块对应的目标任务的索引信息。在线文档应用客户端还可以基于各目标任务的索引信息,生成任务内容数据获取请求,并将任务内容数据获取请求发送至任务服务器,以获取在线文档内的各任务类型文档块中显示的任务内容数据。
示例性的,执行文档中包括一个任务类型文档块,响应于在线文档的打开请求,从在线文档服务器获取目标任务1的索引信息T1,基于目标任务1的索引信息T1可以生成任务内容数据获取请求R1。示例性的,在线文档中包括多个任务类型文档块,响应于在线文档的打开请求,从在线文档服务器获取目标任务1的索引信息T1和目标任务2的索引信息T2,基于目标任务1的索引信息T1和目标任务2的索引信息T2,可以分别生成任务内容数据获取请求R1和任务内容数据获取请求R2,或可以生成任务内容数据获取请求R1’。
图10为本公开提供的又一种任务处理方法的流程示意图,图10为图5所示实施例的基础上,还包括:
S207,在所述文档中的任务类型文档块处于打开的状态下,接收所述任务服务器发送的数据更新请求。
所述数据更新请求中包括:更新数据,所述数据更新请求用于请求所述文档基于接收到的更新数据更新渲染所述任务类型文档块。
示例性的,即时通信应用程序中的在线文档应用客户端处于打开状态,且在线文档应用客户端中显示有一个处于打开状态的在线文档,在线文档中包括至少一个任务类型文档块,每个任务类型文档块对应一个目标任务的索引信息。若用户当前正在即时通信应用客户端的任务面板中更新一个任务内容数据,且更新的任务内容数据对应的目标任务的索引信息与当前打开的在线文档中的所有任务类型文档块中的任一个任务类型文档块对应,任务服务器中存储的相应的任务内容数据进行更新。任务服务器中的任务内容数据更新完成后,基于更新后的任务内容数据以及对应的目标任务的索引信息,生成数据更新请求,并将数据更新请求发送至在线文档应用客户端。
在线文档应用客户端接收到任务服务器发送的数据更新请求,解析数据更新请求可以得到更新后的任务内容数据及其对应的目标任务的索引信息,根据目标任务的索引信息,将更新后的任务内容数据显示于当前打开的在线文档内对应的任务类型文档块中,完成在线文档中任务内容数据的实时更新同步。
例如,用户在即时通信应用客户端的任务面板中更新任务内容数据,更新后的任务内容数据为M1’,更新前的任务内容数据为M1,任务内容数据M1/任务内容数据M1’对应目标任务1的索引信息T1,任务服务器可以基于接收到的即时通信应用客户端发送的目标任务1的索引信息T1及其对应的任务内容数据M1’,生成数据更新请求G1’。若打开的在线文档中存在一个与任务标记T1对应的任务类型文档块,在线文档应用客户端解析接收到的数据更新请求G1’,可以得到目标任务1的索引信息T1及其对应的任务内容数据M1’,可以将任务内容数据M1’显示于当前打开的在线文档中与目标任务1的索引信息T1对应的任务类型文档块内。
本实施例中,通过在文档中的任务类型文档块处于打开的状态下,接收任务服务器发送的数据更新请求,数据更新请求中包括:更新数据,数据更新请求用于请求文档基于接收到的更新数据更新渲染任务类型文档块,如此,可以在文档打开的状态下,基于当前任务面板中任务内容数据的更新,在任务类型文档块中实时更新显示更新后的任务内容数据,无需进行额外的操作,从而能够实现文档中的任务内容数据的实时自动同步。
图11为本公开提供的又一种任务处理方法的流程示意图,图11为图7所示实施例的基础上,还包括:
S208,在第二业务类型客户端中的任务面板处于打开的状态下,接收所述任务服务器发送的数据更新请求。
所述数据更新请求中包括:更新数据,所述数据更新请求用于请求所述任务面板基于接收到的更新数据更新渲染所述任务类型文档块。
示例性的,即时通信应用客户端的任务面板处于打开状态,且任务面板中显示至少一个目标任务,每个目标任务对应有一个索引信息。若用户当前正在在线文档内的一个任务类型文档块中更新任务内容数据,且更新的任务内容数据对应的目标任务的索引信息与任务面板中显示的所有目标任务中的任意一个目标任务对应,任务服务器中存储的相应的任务内容数据进行更新。任务服务器中的任务内容数据更新完成后,基于更新后的任务内容数据以及对应的目标任务的索引信息,生成数据更新请求,并将数据更新请求发送至即时通信应用客户端。
即时通信应用客户端接收到任务服务器发送的数据更新请求,解析数据更新请求可以得到更新后的任务内容数据及其对应的目标任务的索引信息,根据目标任务的索引信息,将更新后的任务内容数据显示于任务面板中与目标任务的索引信息对应的区域,完成任务面板中任务内容数据的实时更新同步。
例如,用户在在线文档内的一个任务类型文档块中更新任务内容数据,更新后的任务内容数据为M1’,更新前的任务内容数据为M1,任务内容数据M1/任务内容数据M1’对应目标任务1的索引信息T1,任务服务器可以基于接收到的即时通信应用客户端发送的目标任务1的索引信息T1及其对应的任务 内容数据M1’,生成数据更新请求G1’。若任务面板中包括目标任务1的索引信息T1,即时通信应用客户端解析接收到的数据更新请求G1’,可以得到目标任务1的索引信息T1对应的任务内容数据M1’,可以将任务内容数据M1’显示于任务面板中与目标任务1的索引信息T1对应的区域。
本实施例中,通过在第二业务类型客户端中的任务面板处于打开的状态下,接收任务服务器发送的数据更新请求,数据更新请求中包括:更新数据,数据更新请求用于请求任务面板基于接收到的更新数据更新渲染任务类型文档块,如此,可以在打开任务面板的状态下,基于当前文档内的任务内容数据的更新,实时更新显示更新后的任务内容数据,无需进行额外的操作,从而能够实现任务面板中的任务内容数据的实时自动同步。
在一些实施例中,基于上述实施例,所述第一业务类型客户端中,以文档块为在线文档的最小展示单位,一个在线文档由一个或者多个文档块组成。所述目标任务占用在线文档中的一个任务类型文档块,且所述任务类型文档块中只存储所述目标任务的索引信息。
本公开实施例还提供一种任务处理装置,图12为本公开提供的一种任务处理装置的结构示意图,如图12所示,任务处理装置包括:
接收模块110,用于接收第一业务类型客户端发送的目标任务的编辑信息,其中,所述目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据;
确定模块120,用于根据所述目标任务的索引信息,确定包含所述目标任务的第二业务类型客户端;
发送模块130,用于向所述第二业务类型客户端发送所述目标任务的编辑信息,使得所述第二业务类型客户端同步修改所述目标任务;用于当接收到所述第二业务类型客户端发送的目标任务的编辑信息时,向所述第一业务类型客户端发送所述目标任务的编辑信息,使得所述第一业务类型客户端同步修改所述目标任务。
在一些实施例中,所述第一业务类型客户端为在线文档应用客户端,所述第二业务类型客户端为即时通信应用客户端。
在一些实施例中,所述第一业务类型客户端中,以文档块为在线文档的最小展示单位,一个在线文档由一个或者多个文档块组成。所述目标任务占用在线文档中的一个文档块,且所述文档块中只存储所述目标任务的索引信息。
本公开实施例还提供一种任务处理装置,图13为本公开提供的另一种任务处理装置的结构示意图,如图13所示,任务处理装置包括:
发送模块210,用于响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求,其中,所述第一数据获取请求中包括:所述文档中的任务类型文档块对应的目标任务的索引信息。
接收模块220,用于接收所述任务服务器发送的第一数据获取响应,所述第一数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据。
显示模块230,用于基于所述目标任务的索引信息对应的任务内容数据,在所述文档内的所述任务类型文档块位置处显示所述任务内容数据。
在一些实施例中,发送模块210,还用于响应于对第二业务类型客户端的所述目标任务的索引信息对应的任务内容数据的编辑操作,向所述任务服务器发送数据更新请求,所述数据更新请求中包括:所述编辑操作对应的更新内容,以使所述任务服务器更新所述目标任务的索引信息对应的任务内容数据。
在一些实施例中,发送模块210,还用于响应于对所述第一业务类型客户端的文档中所述目标任务的索引信息对应的任务内容数据的编辑操作,向所述任务服务器发送数据更新请求,所述数据更新请求中包括:所述编辑操作对应的更新内容,以使所述任务服务器更新所述目标任务的索引信息对应的任务内容 数据。
在一些实施例中,发送模块210,还用于响应于对第二业务类型客户端的任务面板的打开请求,向任务服务器发送第二数据获取请求,其中,所述第二数据获取请求中包括:所述任务面板包括的目标任务的索引信息。
接收模块220,还用于接收所述任务服务器发送的第二数据获取响应,所述第二数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据。
显示模块230,还用于基于所述目标任务的索引信息对应的任务内容数据,在所述任务面板内显示所述目标任务的索引信息对应的任务内容数据。
在一些实施例中,发送模块210,进一步用于响应于对第一业务类型客户端的文档的打开请求,从文档服务器获取所述文档中的任务类型文档块对应的目标任务的索引信息,并向任务服务器发送第一数据获取请求。
在一些实施例中,接收模块220,还用于在所述文档中的任务类型文档块处于打开的状态下,接收所述任务服务器发送的数据更新请求,所述数据更新请求中包括:更新数据,所述数据更新请求用于请求所述文档基于接收到的更新数据更新渲染所述任务类型文档块。
在一些实施例中,接收模块220,还用于在第二业务类型客户端中的任务面板处于打开的状态下,接收所述任务服务器发送的数据更新请求,所述数据更新请求中包括:更新数据,所述数据更新请求用于请求所述任务面板基于接收到的更新数据更新渲染所述任务类型文档块。
在一些实施例中,所述第一业务类型客户端中,以文档块为在线文档的最小展示单位,一个在线文档由一个或者多个文档块组成。所述目标任务占用在线文档中的一个任务类型文档块,且所述任务类型文档块中只存储所述目标任务的索引信息。
本发明实施例所提供的装置可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。
本公开提供了一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述处理器执行所述计算机程序时实现上述任一方法实施例的步骤。
本公开提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现上述任一方法实施例的步骤。
本公开提供了一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述任一方法实施例的步骤。
第一方面,本公开提供了一种任务处理方法,包括:
接收第一业务类型客户端发送的目标任务的编辑信息,其中,所述目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据;
根据所述目标任务的索引信息,确定包含所述目标任务的第二业务类型客户端;
向所述第二业务类型客户端发送所述目标任务的编辑信息,使得所述第二业务类型客户端同步修改所述目标任务;
同样地,当接收到所述第二业务类型客户端发送的目标任务的编辑信息时,向所述第一业务类型客户端发送所述目标任务的编辑信息,使得所述第一业务类型客户端同步修改所述目标任务。
在一些实施例中,所述第一业务类型客户端为在线文档应用客户端,所述第二业务类型客户端为即时通信应用客户端。
在一些实施例中,所述第一业务类型客户端中,以文档块为在线文档的最小展示单位,一个在线文档由一个或者多个文档块组成。所述目标任务占用在线文档中的一个文档块,且所述文档块中只存储所述 目标任务的索引信息。
第二方面,本公开提供了一种任务处理方法,包括:
响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求,其中,所述第一数据获取请求中包括:所述文档中的任务类型文档块对应的目标任务的索引信息;
接收所述任务服务器发送的第一数据获取响应,所述第一数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据;
基于所述目标任务的索引信息对应的任务内容数据,在所述文档内的所述任务类型文档块位置处显示所述任务内容数据。
在一些实施例中,所述方法还包括:响应于对第二业务类型客户端的所述目标任务的索引信息对应的任务内容数据的编辑操作,向所述任务服务器发送数据更新请求,所述数据更新请求中包括:所述编辑操作对应的更新内容,以使所述任务服务器更新所述目标任务的索引信息对应的任务内容数据。
在一些实施例中,所述方法还包括:响应于对所述第一业务类型客户端的文档中所述目标任务的索引信息对应的任务内容数据的编辑操作,向所述任务服务器发送数据更新请求,所述数据更新请求中包括:所述编辑操作对应的更新内容,以使所述任务服务器更新所述目标任务的索引信息对应的任务内容数据。
在一些实施例中,所述方法还包括:响应于对第二业务类型客户端的任务面板的打开请求,向任务服务器发送第二数据获取请求,其中,所述第二数据获取请求中包括:所述任务面板包括的目标任务的索引信息;
接收所述任务服务器发送的第二数据获取响应,所述第二数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据;
基于所述目标任务的索引信息对应的任务内容数据,在所述任务面板内显示所述目标任务的索引信息对应的任务内容数据。
在一些实施例中,所述响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求,包括:
响应于对第一业务类型客户端的文档的打开请求,从文档服务器获取所述文档中的任务类型文档块对应的目标任务的索引信息,并向任务服务器发送第一数据获取请求。
在一些实施例中,所述方法还包括:在所述文档中的任务类型文档块处于打开的状态下,接收所述任务服务器发送的数据更新请求,所述数据更新请求中包括:更新数据,所述数据更新请求用于请求所述文档基于接收到的更新数据更新渲染所述任务类型文档块。
在一些实施例中,所述方法还包括:在第二业务类型客户端中的任务面板处于打开的状态下,接收所述任务服务器发送的数据更新请求,所述数据更新请求中包括:更新数据,所述数据更新请求用于请求所述任务面板基于接收到的更新数据更新渲染所述任务类型文档块。
在一些实施例中,所述第一业务类型客户端中,以文档块为在线文档的最小展示单位,一个在线文档由一个或者多个文档块组。所述目标任务占用在线文档中的一个任务类型文档块,且所述任务类型文档块中只存储所述目标任务的索引信息。
第三方面,本公开提供了一种任务处理装置,包括:
接收模块,用于接收第一业务类型客户端发送的目标任务的编辑信息,其中,所述目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据。
确定模块,用于根据所述目标任务的索引信息,确定包含所述目标任务的第二业务类型客户端。
发送模块,用于向所述第二业务类型客户端发送所述目标任务的编辑信息,使得所述第二业务类型客户端同步修改所述目标任务;用于当接收到所述第二业务类型客户端发送的目标任务的编辑信息时,向 所述第一业务类型客户端发送所述目标任务的编辑信息,使得所述第一业务类型客户端同步修改所述目标任务。
在一些实施例中,所述第一业务类型客户端为在线文档应用客户端,所述第二业务类型客户端为即时通信应用客户端。
在一些实施例中,所述第一业务类型客户端中,以文档块为在线文档的最小展示单位,一个在线文档由一个或者多个文档块组成。所述目标任务占用在线文档中的一个文档块,且所述文档块中只存储所述目标任务的索引信息。
第四方面,本公开提供了一种任务处理装置,包括:
发送模块,用于响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求,其中,所述第一数据获取请求中包括:所述文档中的任务类型文档块对应的目标任务的索引信息。
接收模块,用于接收所述任务服务器发送的第一数据获取响应,所述第一数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据。
显示模块,用于基于所述目标任务的索引信息对应的任务内容数据,在所述文档内的所述任务类型文档块位置处显示所述任务内容数据。
在一些实施例中,发送模块,还用于响应于对第二业务类型客户端的所述目标任务的索引信息对应的任务内容数据的编辑操作,向所述任务服务器发送数据更新请求,所述数据更新请求中包括:所述编辑操作对应的更新内容,以使所述任务服务器更新所述目标任务的索引信息对应的任务内容数据。
在一些实施例中,发送模块,还用于响应于对所述第一业务类型客户端的文档中所述目标任务的索引信息对应的任务内容数据的编辑操作,向所述任务服务器发送数据更新请求,所述数据更新请求中包括:所述编辑操作对应的更新内容,以使所述任务服务器更新所述目标任务的索引信息对应的任务内容数据。
在一些实施例中,发送模块,还用于响应于对第二业务类型客户端的任务面板的打开请求,向任务服务器发送第二数据获取请求,其中,所述第二数据获取请求中包括:所述任务面板包括的目标任务的索引信息。
接收模块,还用于接收所述任务服务器发送的第二数据获取响应,所述第二数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据。
显示模块,还用于基于所述目标任务的索引信息对应的任务内容数据,在所述任务面板内显示所述目标任务的索引信息对应的任务内容数据。
在一些实施例中,发送模块,进一步用于响应于对第一业务类型客户端的文档的打开请求,从文档服务器获取所述文档中的任务类型文档块对应的目标任务的索引信息,并向任务服务器发送第一数据获取请求。
在一些实施例中,接收模块,还用于在所述文档中的任务类型文档块处于打开的状态下,接收所述任务服务器发送的数据更新请求,所述数据更新请求中包括:更新数据,所述数据更新请求用于请求所述文档基于接收到的更新数据更新渲染所述任务类型文档块。
在一些实施例中,接收模块,还用于在第二业务类型客户端中的任务面板处于打开的状态下,接收所述任务服务器发送的数据更新请求,所述数据更新请求中包括:更新数据,所述数据更新请求用于请求所述任务面板基于接收到的更新数据更新渲染所述任务类型文档块。
在一些实施例中,所述第一业务类型客户端中,以文档块为在线文档的最小展示单位,一个在线文档由一个或者多个文档块组成。所述目标任务占用在线文档中的一个任务类型文档块,且所述任务类型文档块中只存储所述目标任务的索引信息。
第五方面,本公开提供了一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算 机程序,所述计算机程序被处理器执行时实现第一方面或第二方面提供的任一方法的步骤。
第六方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现第一方面或第二方面提供的任一方法的步骤。
第七方面,本公开实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面或第二方面提供的任一方法的步骤。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (16)

  1. 一种任务处理方法,包括:
    接收第一业务类型客户端发送的目标任务的编辑信息,其中,所述目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据;
    根据所述目标任务的索引信息,确定包含所述目标任务的第二业务类型客户端;
    向所述第二业务类型客户端发送所述目标任务的编辑信息,使得所述第二业务类型客户端同步修改所述目标任务;
    同样地,当接收到所述第二业务类型客户端发送的目标任务的编辑信息时,向所述第一业务类型客户端发送所述目标任务的编辑信息,使得所述第一业务类型客户端同步修改所述目标任务。
  2. 根据权利要求1所述的方法,其中,
    所述第一业务类型客户端为在线文档应用客户端,所述第二业务类型客户端为即时通信应用客户端。
  3. 根据权利要求2所述的方法,其中,
    所述第一业务类型客户端中,以文档块为在线文档的最小展示单位,一个在线文档由一个或者多个文档块组成;
    所述目标任务占用在线文档中的一个文档块,且所述文档块中只存储所述目标任务的索引信息。
  4. 一种任务处理方法,包括:
    响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求,其中,所述第一数据获取请求中包括:所述文档中的任务类型文档块对应的目标任务的索引信息;
    接收所述任务服务器发送的第一数据获取响应,所述第一数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据;
    基于所述目标任务的索引信息对应的任务内容数据,在所述文档内的所述任务类型文档块位置处显示所述任务内容数据。
  5. 根据权利要求4所述的方法,还包括:
    响应于对第二业务类型客户端的所述目标任务的索引信息对应的任务内容数据的编辑操作,向所述任务服务器发送数据更新请求,所述数据更新请求中包括:所述编辑操作对应的更新内容,以使所述任务服务器更新所述目标任务的索引信息对应的任务内容数据。
  6. 根据权利要求4所述的方法,还包括:
    响应于对所述第一业务类型客户端的文档中所述目标任务的索引信息对应的任务内容数据的编辑操作,向所述任务服务器发送数据更新请求,所述数据更新请求中包括:所述编辑操作对应的更新内容,以使所述任务服务器更新所述目标任务的索引信息对应的任务内容数据。
  7. 根据权利要求4-6任一项所述的方法,还包括:
    响应于对第二业务类型客户端的任务面板的打开请求,向任务服务器发送第二数据获取请求,其中,所述第二数据获取请求中包括:所述任务面板包括的目标任务的索引信息;
    接收所述任务服务器发送的第二数据获取响应,所述第二数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据;
    基于所述目标任务的索引信息对应的任务内容数据,在所述任务面板内显示所述目标任务的索引信息对应的任务内容数据。
  8. 根据权利要求4所述的方法,其中,所述响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求,包括:
    响应于对第一业务类型客户端的文档的打开请求,从文档服务器获取所述文档中的任务类型文档块 对应的目标任务的索引信息,并向任务服务器发送第一数据获取请求。
  9. 根据权利要求5所述的方法,还包括:
    在所述文档中的任务类型文档块处于打开的状态下,接收所述任务服务器发送的数据更新请求,所述数据更新请求中包括:更新数据,所述数据更新请求用于请求所述文档基于接收到的更新数据更新渲染所述任务类型文档块。
  10. 根据权利要求6所述的方法,还包括:
    在第二业务类型客户端中的任务面板处于打开的状态下,接收所述任务服务器发送的数据更新请求,所述数据更新请求中包括:更新数据,所述数据更新请求用于请求所述任务面板基于接收到的更新数据更新渲染所述任务类型文档块。
  11. 根据权利要求4所述的方法,其中,所述第一业务类型客户端中,以文档块为在线文档的最小展示单位,一个在线文档由一个或者多个文档块组成;
    所述目标任务占用在线文档中的一个任务类型文档块,且所述任务类型文档块中只存储所述目标任务的索引信息。
  12. 一种任务处理装置,包括:
    接收模块,用于接收第一业务类型客户端发送的目标任务的编辑信息,其中,所述目标任务的编辑信息包括:目标任务的索引信息和修改目标任务的编辑数据;
    确定模块,用于根据所述目标任务的索引信息,确定包含所述目标任务的第二业务类型客户端;
    发送模块,用于向所述第二业务类型客户端发送所述目标任务的编辑信息,使得所述第二业务类型客户端同步修改所述目标任务;用于当接收到所述第二业务类型客户端发送的目标任务的编辑信息时,向所述第一业务类型客户端发送所述目标任务的编辑信息,使得所述第一业务类型客户端同步修改所述目标任务。
  13. 一种任务处理装置,包括:
    发送模块,用于响应于对第一业务类型客户端的文档的打开请求,向任务服务器发送第一数据获取请求,其中,所述第一数据获取请求中包括:所述文档中的任务类型文档块对应的目标任务的索引信息;
    接收模块,用于接收所述任务服务器发送的第一数据获取响应,所述第一数据获取响应中包括:所述目标任务的索引信息对应的任务内容数据;
    显示模块,用于基于所述目标任务的索引信息对应的任务内容数据,在所述文档内的所述任务类型文档块位置处显示所述任务内容数据。
  14. 一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现权利要求1-3任一项所述的方法的步骤,或权利要求4-11任一项所述的方法的步骤。
  15. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-3任一项所述的方法的步骤,或权利要求4-11任一项所述的方法的步骤。
  16. 一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-3任一项所述的方法的步骤,或权利要求4-11任一项所述的方法的步骤。
PCT/CN2023/075037 2022-02-09 2023-02-08 任务处理方法、装置、电子设备和计算机可读存储介质 WO2023151597A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210122506.4A CN114500570B (zh) 2022-02-09 2022-02-09 任务处理方法、装置、电子设备和计算机可读存储介质
CN202210122506.4 2022-02-09

Publications (1)

Publication Number Publication Date
WO2023151597A1 true WO2023151597A1 (zh) 2023-08-17

Family

ID=81477618

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/075037 WO2023151597A1 (zh) 2022-02-09 2023-02-08 任务处理方法、装置、电子设备和计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN114500570B (zh)
WO (1) WO2023151597A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500570B (zh) * 2022-02-09 2024-02-13 北京字跳网络技术有限公司 任务处理方法、装置、电子设备和计算机可读存储介质
CN114493541A (zh) * 2022-02-09 2022-05-13 北京字跳网络技术有限公司 任务创建方法、装置、电子设备、存储介质和程序产品
CN115510832B (zh) * 2022-10-31 2024-06-04 北京字跳网络技术有限公司 信息同步处理方法、系统、装置、电子设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190121865A1 (en) * 2017-10-20 2019-04-25 Bank Of America Corporation System for synchronous document captures into an asynchronous archive and document-level archiving reconciliation
CN110765744A (zh) * 2019-10-22 2020-02-07 苏州思必驰信息科技有限公司 多人协同文档编辑方法及系统
CN111327589A (zh) * 2020-01-19 2020-06-23 腾讯科技(深圳)有限公司 资源共享方法、装置、计算机可读存储介质和计算机设备
CN111553132A (zh) * 2020-04-21 2020-08-18 广州视源电子科技股份有限公司 数据协同处理的方法、装置和系统
CN114500570A (zh) * 2022-02-09 2022-05-13 北京字跳网络技术有限公司 任务处理方法、装置、电子设备和计算机可读存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110019279B (zh) * 2019-04-11 2020-12-04 北京字节跳动网络技术有限公司 在线文档的协同更新方法、装置、设备及存储介质
CN112667585B (zh) * 2019-11-19 2022-06-07 腾讯科技(深圳)有限公司 在线文档的同步管理方法、装置及设备
CN113595859A (zh) * 2020-04-30 2021-11-02 北京字节跳动网络技术有限公司 一种信息交互方法、装置、服务器、系统及存储介质
CN111767702A (zh) * 2020-08-14 2020-10-13 腾讯科技(深圳)有限公司 在线文档的显示控制方法、装置、电子设备和存储介质
CN112765108B (zh) * 2020-11-19 2024-05-07 统信软件技术有限公司 一种文档加载方法、计算设备及可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190121865A1 (en) * 2017-10-20 2019-04-25 Bank Of America Corporation System for synchronous document captures into an asynchronous archive and document-level archiving reconciliation
CN110765744A (zh) * 2019-10-22 2020-02-07 苏州思必驰信息科技有限公司 多人协同文档编辑方法及系统
CN111327589A (zh) * 2020-01-19 2020-06-23 腾讯科技(深圳)有限公司 资源共享方法、装置、计算机可读存储介质和计算机设备
CN111553132A (zh) * 2020-04-21 2020-08-18 广州视源电子科技股份有限公司 数据协同处理的方法、装置和系统
CN114500570A (zh) * 2022-02-09 2022-05-13 北京字跳网络技术有限公司 任务处理方法、装置、电子设备和计算机可读存储介质

Also Published As

Publication number Publication date
CN114500570A (zh) 2022-05-13
CN114500570B (zh) 2024-02-13

Similar Documents

Publication Publication Date Title
WO2023151597A1 (zh) 任务处理方法、装置、电子设备和计算机可读存储介质
US10089056B2 (en) Device, method, and graphical user interface for collaborative editing in documents
JP6694545B1 (ja) ユーザインタフェース拡張器
TWI598750B (zh) 利用特徵的多重編輯器或多數版本之合作之方法及用於紀錄相關指令的電腦可讀儲存媒介
US10129264B2 (en) Method and apparatus for implementing document sharing between user groups
CN105144153B (zh) 用于内容组织的方法和系统
US10176156B2 (en) System and method for providing linked note-taking
CN111695070B (zh) 一种在线内容显示控制方法、装置、电子设备和存储介质
EP3008713A1 (en) Incorporating external dynamic content into a whiteboard
CN103733197A (zh) 本地和远程媒体项的管理
TW201508639A (zh) 透過捕捉服務捕捉網站內容
CN109145272B (zh) 文本渲染和布局方法、装置、设备和存储介质
US20160283447A1 (en) Providing interactive preview of content within communication
CN103051652A (zh) 一种移动终端云计算发布平台
CN108958731B (zh) 一种应用程序界面生成方法、装置、设备和存储介质
CN113407284A (zh) 导航界面的生成方法、装置、存储介质及电子设备
CN115812300A (zh) 独立于设备、应用、用户和时间共享内容和工具的方法
US20220113847A1 (en) Online collaborative document processing method and device
WO2024083018A1 (zh) 信息处理方法、装置和电子设备
CN116954438A (zh) 一种基于文件底板的门户白板装置
Shurtz Application Sharing from Mobile Devices with a Collaborative Shared Display
WO2022228433A1 (zh) 信息处理方法、装置以及电子设备
KR102468164B1 (ko) 계층화된 콘텐츠 선택
US9965484B1 (en) Template-driven data extraction and insertion
CN115061601B (zh) 电子文档的处理方法、装置、终端和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23752377

Country of ref document: EP

Kind code of ref document: A1