Document task processing
The method divides tasks between master and slave devices to improve data processing efficiency and user experience by assigning operation and display tasks to different devices, addressing the limitations of small screen sizes and inefficient task handling.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- BEIJING KINGSOFT OFFICE SOFTWARE INC
- Filing Date
- 2021-12-31
- Publication Date
- 2026-05-19
AI Technical Summary
Existing data processing methods on smart terminal devices with smaller screens result in low efficiency and poor user experience due to the inability of large-screen devices to perform operation processing and the lack of task division, leading to inconvenient simultaneous operation and display processing.
A method and apparatus that divide tasks between a master and slave devices, assigning operation-type tasks to the first device and display-type tasks to the second device, allowing efficient utilization of device resources and improving user experience.
Enhances processing efficiency and user experience by allowing different devices to handle specific tasks, such as editing and display, optimizing resource utilization.
Smart Images

Figure 0007862546000001 
Figure 0007862546000002 
Figure 0007862546000003
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and particularly to a document task processing method, apparatus, electronic device, and storage medium.
Background Art
[0002] In data processing operations, improving the accuracy and processing efficiency of data has become increasingly important. Collaborative processing by multiple devices plays an important role in improving processing efficiency.
[0003] In related technologies, in order to facilitate the viewing and editing of data, it is usually necessary to project the display interface of data on a terminal device to other large-screen devices such as a display, a television, or a tablet using a wireless or wired connection. Such a processing method does not divide the data processing task but performs corresponding task processing on the data on the terminal device. Since other large-screen devices do not have the authority to perform operation processing on the data, the efficiency of data processing is low. Also, currently, since the screens of smart terminal devices are becoming smaller and smaller, when performing operation and display processing on the same document on the same smart terminal at the same time, the operation is inconvenient, the processing efficiency is low, and the user experience is poor.
Summary of the Invention
[0004] In view of this, the present invention provides a document task processing method, apparatus, electronic device, and storage medium.
[0005] In a first aspect, the present invention provides a document task processing method, the method comprising: determining a first device from a master device and a slave device, wherein the master device is a device that starts floating for a target document, the slave device is a device that receives the target document, and the first device is a device for operating the target document; The steps include assigning an operational task to the target document to the first device and causing the first device to process the operational task to the target document, The process includes the step of assigning a display task for the target document to a second device among the master device and the slave device, and causing the second device to process the display task for the target document.
[0006] In a second aspect, the present invention further provides a document task processing device, the device is A determination module for determining a first device from among master devices and slave devices, wherein the master device is a device that initiates the flow of a target document, the slave device is a device that receives the target document, and the first device is a device for manipulating the target document, and the determination module A first assignment module that assigns an operational task for the target document to the first device and causes the first device to process the operational task for the target document, The system includes a second assignment module that assigns a display task for the target document to a second device among the master and slave devices, and causes the second device to process the display task for the target document.
[0007] In a third embodiment, the present invention further provides an electronic device comprising a processor, memory, and a bus, wherein the processor and the memory communicate with each other via the bus, the memory stores program instructions executable by the processor, and the processor is configured to perform the steps of the document task processing method described in the first embodiment when it invokes the program instructions.
[0008] In a fourth embodiment, the present invention further provides a non-temporary computer-readable storage medium storing computer instructions, the computer instructions causing the computer to perform the steps of the document task processing method described in the first embodiment.
[0009] The present invention provides a document task processing method, apparatus, electronic device, and storage medium. A first device is selected from among a master device and a slave device, operation-type tasks for a target document are assigned to the first device, and the first device is made to process the operation-type tasks for the target document. Display-type tasks for the target document are assigned to a second device from among the master and slave devices, and the second device is made to process the display-type tasks for the target document. The document task processing method according to the present invention divides tasks for a document, is easy and convenient to operate, improves the processing efficiency of the same document, and can improve the user experience. [Brief explanation of the drawing]
[0010] To more clearly explain the technical concept of the present invention, the accompanying drawings used in the description of the embodiments will be briefly described below. Clearly, the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other accompanying drawings based on these drawings without any creative effort.
[0011] [Figure 1] This is a flowchart of the document task processing method according to the present invention. [Figure 2] This is an illustrative diagram illustrating the manual initiation of flowing and determination of slave devices according to the present invention. [Figure 3] This is an illustrative diagram illustrating how to automatically start the flow process according to the present invention and determine the slave device. [Figure 4] This is a flowchart of task assignment by multiple users and multiple devices according to the present invention. [Figure 5] This is an illustrative diagram of a method for determining the first device according to the present invention. [Figure 6] This is another illustrative diagram of a method for determining the first device according to the present invention. [Figure 7] This is an illustrative diagram showing a specific application of the slide according to the present invention. [Figure 8] This is an illustrative diagram showing a specific application of the document editing method according to the present invention. [Figure 9]This is an illustrative diagram showing how multiple first devices according to the present invention perform operations on a target document. [Figure 10] This is an illustrative diagram of joint processing between the first and second devices according to the present invention. [Figure 11] This is an illustrative diagram showing a specific application of a modified slide according to the present invention. [Figure 12] This is a schematic diagram of the structure of the document task processing device according to the present invention. [Figure 13] This is a schematic diagram of the structure of the electronic device according to the present invention. [Modes for carrying out the invention]
[0012] To further clarify the object, technical proposal and advantages of the present invention, the technical proposal of the present invention will be described clearly and completely below with reference to the drawings of the present invention. Obviously, the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments obtained by those skilled in the art without creative effort based on the embodiments of the present invention are all within the scope of protection of the present invention.
[0013] To better understand the technical content of this invention, we will briefly introduce some technical terms in this field.
[0014] Master device: A device associated with a target document that initiates the flow of data to that document. The device associated with the target document can be any device capable of acquiring the target document. Acquiring the target document specifically includes acquiring the target document from a pre-stored location, acquiring the target document from a cloud server, or acquiring the target document by other means.
[0015] Slave device: A device that receives flowing data for a target document and can perform some tasks on that document sent from the master device.
[0016] Flowing: This is the operation of transferring some of the tasks on the master device related to the target document to the slave device.
[0017] The first device: A device for operating on a target document. That is, after starting floating, the device responsible for the operation-type task is the first device. The master device may be used as the first device, or the device suitable for the user's hand-held operation among the master device and the slave device may be used as the first device.
[0018] The second device: A device for displaying a target document. That is, the device responsible for the display-type task is the second device.
[0019] Operation-type task: Tasks such as editing operations (deletion, addition, line drawing, switching, processing to make target characters bold, etc.), presentation operations (clicking on the next page, clicking on a link, etc.) for operating on a target document.
[0020] Display-type task: Tasks such as displaying and playing for displaying a target document.
[0021] FIG. 1 is a flowchart of a document task processing method according to an embodiment of the present invention. As shown in FIG. 1, the document task processing method according to the present invention includes the following steps 101 to 103.
[0022] In step 101, the first device is determined from among the master device and the slave device.
[0023] In this embodiment, the target document is a document that can be processed by a plurality of devices. For example, it is a PPT presentation document during screen mirroring. The master device is a device that starts floating for the target document and in which the target document is pre-stored. The slave device is a device that receives the floating and can execute tasks for the target document after the floating is successful. The first device is a device for operating on the target document.
[0024] A task for a target document is a task related to the target document that can be executed by a master or slave device. Specifically, this may include operational and display tasks for processing the target document described herein. To make more efficient use of the resources of different devices, different tasks for the target document may be assigned to and executed by different devices. This process is also called task flow for a document.
[0025] The first device is responsible for operational tasks related to the target document. The first device can be either a master device or a slave device, so in this step, it is necessary to determine which first device will be responsible for operational tasks related to the target document.
[0026] After the first device is determined, other devices can perform display-type tasks on the target document. Display-type tasks include, for example, display tasks or playback tasks. A display task is a process that displays the data content within the target document, such as displaying a specific Word document. A playback task may be a process that executes the flow of display from one page to the next, such as playing a slide. In one example, a display-type task may further include playing videos or audio within the target document.
[0027] Note that both the master and slave devices may be smart terminal devices. For example, the master device could be a mobile phone and the slave device a tablet. The target document type may be text, slides, tables, etc.
[0028] In step 102, an operational task for the target document is assigned to the first device, and the first device is made to process the operational task for the target document.
[0029] In step 103, a display task for the target document is assigned to the second of the master and slave devices, and the second device is made to process the display task for the target document.
[0030] In one example, after master device A starts flowing data for the target document, master device A determines slave device B as the first device and master device A as the second device, based on the basic information of the two devices and pre-configured first device verification conditions. Subsequently, slave device B processes operational tasks for the target document, and master device A processes display tasks for the target document.
[0031] The document task processing method according to the present invention is easy and convenient to operate, and by assigning document tasks to different devices, it is possible to fully utilize the resources of different devices, improve the processing efficiency of target documents, and enhance the user experience.
[0032] In some embodiments, the step of determining a first device from among master devices and slave devices includes the step of determining a slave device from among devices that can communicate with the master device, and the step of determining a first device from among master devices and slave devices.
[0033] As can be seen from the definitions of master and slave devices, once the target document is determined, the master device corresponding to that document is determined. However, the slave device corresponding to the target document is undetermined and requires a determination process.
[0034] In this embodiment, a slave device is selected from among devices that can communicate with the master device. Here, the ability to communicate between devices is a prerequisite for implementing the technical proposal of the present invention. "Communication connectivity" may mean that a certain device can communicate with the master device, but the communication connection has not yet been realized. The slave device is selected from among the devices that can communicate.
[0035] Furthermore, the devices capable of communication include at least one of the following: (1) devices that are capable of communicating with the master device but have not yet established a communication connection; (2) devices that have successfully established a communication connection with the master device; (3) devices that have successfully established a communication connection with the master device but are currently disconnected; and (4) devices that need to be re-established after the communication connection with the master device has been interrupted. In this specification, communication connection means that communication is established between devices that are interconnected by signal transmission interaction. The devices capable of communication can be configured as needed and are not specifically limited here.
[0036] There may be one or more slave devices. In the embodiments of the present invention, there are two methods for determining the slave device: a method for determining the slave device by manual operation and a method for determining the slave device automatically. Each of these two determination methods will be described in the following embodiments.
[0037] After the master and slave devices have been determined, a first device can be determined. The method for determining the first device can also vary; for example, it may be determined based on the attributes of each device. For instance, the device most suitable for user handheld operation among the master and slave devices may be determined as the first device, or the device equipped with a keyboard and mouse may be determined as the first device, or the master device may be directly determined as the first device based on user instructions. Specifically, the configuration should be based on actual needs, and is not limited here.
[0038] According to the document task processing method of the present invention, a slave device is selected from among devices that can communicate with a master device, and then a first device is selected from among the slave device and the master device. After the slave device is selected, the master device may first transmit the target document to the slave device. In the embodiment of the present invention, the device that has the authority to process operations on the target document (i.e., the first device) may be either the master device or the slave device, which is easy and convenient to operate and improves the efficiency of joint processing of the same document between devices.
[0039] In some embodiments, the step of determining a slave device from among devices that can communicate with a master device includes the step of determining a slave device from among devices that can communicate with a master device based on a target input instruction.
[0040] In this embodiment, the target input instruction is instruction information that determines the slave device entered by the user. The user may select the slave device on the operation interface, or they may determine the slave device by voice or spaced finger gestures. After receiving the target input instruction, the master device determines the slave device based on information about devices that can communicate with the master device. In one example, information about devices that can communicate with the master device is displayed on the master device, and the user may further select the desired slave device based on that information. Here, the information about devices that can communicate with the master device displayed on the master device includes information such as the type of device, model number, resolution, whether or not it has a keyboard, and whether or not it is handheld. In another example, the user may directly determine the slave device by voice or spaced finger gestures.
[0041] In this embodiment, the master device selects a slave device for a target document based on the type of task for that document. For example, if a user wants to display some table contents within the target document on a slave device and requires a high-resolution slave device, the master device selects a high-resolution device from among the devices that can communicate with the master device as the slave device for the target document. Alternatively, if a user wants the slave device to have a handheld function so that they can conveniently view the target document while holding the device in their hand, the master device prioritizes selecting a handheld device from among the devices that can communicate with the master device as the slave device for the target document.
[0042] The master device acquires attribute information for each device, then analyzes and determines each device based on its attributes and the characteristics of the target document. After making adjustments corresponding to each device, the device capable of fulfilling the display request for the target document is designated as a slave device. Simultaneously, the master device must output corresponding adjustment instructions to the slave device based on its attributes and the characteristics of the target document. The specific information of the adjustment instructions can be set by the user according to their actual needs and is not specifically limited here.
[0043] As shown in Figure 2, the user initiates task flow from the master device to the slave device by manually selecting a device that can connect to the master device on the master device as a slave device.
[0044] In this embodiment, the method for determining the slave device may be manual, or the slave device may be automatically selected from among the devices that can be connected to the master device; the method is not specifically limited here.
[0045] According to the document task processing method of the present invention, based on the target input instruction, a slave device is determined from among devices that can communicate with the master device, enabling multiple devices to simultaneously have the authority to process different tasks on the same document. This improves processing efficiency for the same document and enhances the user experience.
[0046] In some embodiments, the step of determining a slave device from among devices that can communicate with a master device includes the steps of calculating the distance between the master device and the third device and determining the third device as a slave device if the distance is less than or equal to a distance threshold, or calculating the signal strength between the master device and the third device and determining the third device as a slave device if the signal strength is equal to or greater than a signal strength threshold. Here, the third device is any device that can communicate with the master device.
[0047] In the previous embodiment, a method for determining the slave device by manual operation was described. In this embodiment, a method for automatically determining the slave device is described.
[0048] In this embodiment, the automatic determination of the slave device may be based on the distance between the master device and the third device, or on the signal strength between the master device and the third device.
[0049] Specifically, when there are multiple devices capable of communicating with the master device, the slave device is determined by calculating the distance between the master device and the third device, or the signal strength between the master device and the third device. In this embodiment, assuming a distance threshold of 100 cm and the need to determine only one slave device for a target document, if the distance between third device 1 and master device A is calculated to be 50 cm, and the distance between third device 2 and master device A is calculated to be 56 cm, and both third device 1 and third device 2 satisfy the distance threshold, then the third device with the shortest distance from the master device may be selected as the slave device. That is, third device 1 may be determined as the slave device. If it is necessary to determine two slave devices, then third device 1 and third device 2 are determined as slave devices. Note that the distance threshold can be set according to the actual needs and is not specifically limited here.
[0050] As shown in Figure 3, if the distance between the third device and the master device is less than a preset distance threshold, the third device is designated as a slave device. This causes the master device to automatically flow some tasks related to the target document to the slave device. For example, the master device has the processing authority for "Operational Task 1, Operational Task 2, Display Task 1, Display Task 2" for the target document. Once the slave device is determined, the master device automatically flows "Display Task 1, Display Task 2" for the target document to the slave device, giving the slave device the processing authority for "Display Task 1, Display Task 2" for the target document.
[0051] In this embodiment, the slave device may be determined by calculating the signal strength between the third device and the master device. Signal intensity refers to the strength of the signal used by devices such as computers and mobile phones, and its unit is dBm. If the signal intensity threshold is set to 100 dBm and the signal strength between the third device 3 and the master device is calculated to be 105 dBm, then the third device 3 is determined to be the slave device for the target document.
[0052] Note that there may be multiple slave devices. As shown in Figure 4, if multiple third devices that can communicate with the master device meet the distance threshold or signal strength threshold requirements, multiple third devices may be designated as slave devices. In one example, after the master device and one of the multiple slave devices, slave device 1, have performed task flowing for the target document, slave device 1 is designated as device 1 and the master device as device 2, and an operational task is assigned to slave device 1. After the task assignment is complete, the master device selects the next slave device 2, performs task flowing, assigns the corresponding task, and so on, until task assignment is completed for all slave devices. Once task assignment is complete for all slave devices, the flowing operation is terminated.
[0053] In this embodiment, the slave device may be automatically determined based on the characteristics of the target document, and a device with the corresponding attributes may be selected as the slave device. For example, suppose the target document is a slide presentation, and there are currently two third devices closest to the master device, device 1 and device 2. Device 1 is in portrait mode, and device 2 is in landscape mode. If the target document is a PowerPoint presentation, and landscape display is necessary to achieve the best results, then device 2 in landscape mode is selected as the slave device.
[0054] Furthermore, in the process of determining the slave device, the slave device may be determined by calculating the distance between the third device and the master device, or by calculating the signal strength between the third device and the master device. The user may configure the settings according to their actual needs, and this is not specifically limited here. Determining the slave device by either of the two methods described above provides strong support for subsequent processing operations on the target document.
[0055] In some embodiments, the step of determining the first device from among the master device and the slave device includes the step of determining the master device as the first device based on pre-configured designation information.
[0056] In this embodiment, the designation information is information that designates the master device as the first device in advance. After the slave device is determined, the master device that stores the target document in advance is directly determined as the first device based on the pre-configured designation information. As shown in Figure 2, after the task flow for the target document is completed between the master device and the slave device, the master device is determined as the first device, and therefore the master device has processing authority for "operational task 1" and "operational task 2" in the target document, while the slave device is the second device and has processing authority for "display-type task 1" and "display-type task 2" in the target document.
[0057] According to the document task processing method of the present invention, a master device is directly determined as the first device based on pre-set designated information, the master device is given the authority to process operational tasks for the target document, division of labor among multiple devices is realized, the efficiency of document processing is improved, and the user experience is enhanced.
[0058] In some embodiments, the step of determining a first device from among master and slave devices includes the steps of acquiring device information for the master device and device information for the slave device, and comparing the device information for the master device and the device information for the slave device, and determining the first device based on the comparison result.
[0059] In this embodiment, after determining the master and slave devices, the slave devices report device information such as the type and resolution of each device and transmit it to the master device via message instruction. The master device performs a comparative analysis based on its own device information and the device information reported by the slave devices to determine the first device. The device information may include information such as the device's resolution, whether the device is handheld or not, and whether the device has a keyboard. For example, the device with the lower resolution may be selected as the first device from among the master and slave devices, or the handheld device may be selected as the first device from among the master and slave devices, or the device with a keyboard may be selected as the first device from among the master and slave devices. Specifically, it can be set according to the actual needs, and is not specifically limited here.
[0060] Note that the first device may be either a master device or a slave device. As shown in Figure 5, based on the comparison results, the slave device is determined to be the first device, and the master device sends a message instruction to the slave device indicating that it is the first device. After the slave device receives the message instruction indicating that it is the first device, it enters the interaction interface for operation-type tasks, where it has the processing authority for "operation-type task 1" and "operation-type task 2" for the target document. The master device also enters the interaction interface for display-type tasks and has the processing authority for "display-type task 1" and "display-type task 2" for the target document.
[0061] In this embodiment, the first device is determined based on the acquired device information of the slave device and the device information of the master device. If it is determined that the slave device is suitable for processing operational tasks for the target document based on the device information of the slave device, the processing authority for operational tasks for the target document is assigned to the slave device, and the processing authority for display tasks for the target document is assigned to the master device. If it is determined that the master device is suitable for processing operational tasks for the target document based on the device information of the master device, the processing authority for operational tasks for the target document is assigned to the master device, and the processing authority for display tasks for the target document is assigned to the slave device.
[0062] According to the document task processing method of the present invention, by comparing the acquired equipment information of the master equipment with the equipment information of the slave equipment and determining the first equipment, the target document can be processed by division of labor, improving the processing efficiency of the target document and enhancing the user experience.
[0063] In some embodiments, the step of determining the first device from among master and slave devices includes determining the device corresponding to the current number from the master or slave device based on sequence information for performing the operational task of the target document, and designating the device corresponding to the current number as the first device. The sequence information includes multiple numbers for performing the operational task.
[0064] In this embodiment, multiple users and multiple devices can sequentially perform operations on a target document. When multiple users and multiple devices sequentially perform operations on a target document, sequence information for executing the operation-type tasks of the target document is obtained. Then, based on the obtained sequence information, the device corresponding to the current number is determined from the master device or slave devices, and the device corresponding to the current number is determined as the first device. Only after being determined as the first device does the device corresponding to the current number have the processing authority to perform operation-type tasks on the target document.
[0065] As shown in Figure 4, operational tasks can flow between multiple devices. For example, in a conference scenario, master device A initiates the flow to all users participating in the presentation, determines the device corresponding to the current number as the first device according to the presentation order, and achieves the objective of sequentially assigning operational tasks. When the user who owns master device A makes a presentation, master device A has the authority to process operational tasks for the target document, and at this time, master device A is the first device, while the other slave devices have the authority to process display tasks for the target document. After the presentation by the user who owns master device A is finished, the task flow continues, slave device 1 acquires the authority to process operational tasks for the target document, and at this time, slave device 1 becomes the first device, and the user who owns slave device 1 can perform editing operations on the target document, while the other slave devices and master device A have the authority to process display tasks for the target document. When the presentation by the user who owns slave device 1 is finished, master device A continues the task flow, determines the slave device corresponding to the next number as the first device, and so on, repeating sequentially until the conference ends.
[0066] According to the document task processing method of the present invention, based on the sequence information for executing operation-type tasks of the target document, the device corresponding to the current number is determined from the master device or slave device, and the device corresponding to the current number is designated as the first device. This enables sequential operation and editing processing of the target document, can be applied to application scenarios involving multiple users and multiple devices, improves processing efficiency for the target document, and enhances the user experience.
[0067] In some embodiments, the step of assigning an operational task for a target document to a first device and causing the first device to process the operational task for the target document includes the steps of assigning the operational task to the first device and causing the first device to generate an interaction interface for the operational task, and receiving execution information for the operational task transmitted from the first device and processing the target document based on the execution information. The execution information is generated based on the operation information received by the interaction interface for the operational task.
[0068] In this embodiment, after the first device is determined, an operational task for the target document is assigned to the first device, the first device is made to generate an interaction interface for the operational task, and then the target document is processed based on the execution information of the operational task for the target document obtained. The execution information includes processing information such as addition, deletion, and modification of the target document. Note that the execution information is information generated based on the operation information received by the interaction interface of the operational task, and may be an instruction to delete the content of a paragraph or modify a character in the target document.
[0069] In this embodiment, the specific application scene of the method according to this embodiment may be a document presentation scene. As shown in Figure 6, taking slides as an example, a slave device is selected from among the devices closest to the master device, and when the master device is determined to be the first device, an operation-type task for the target document is assigned to the master device. At the same time, the master device generates an interaction interface for the operation-type task and generates corresponding execution information based on the operation information for previewing / switching to the received slide. The first device performs preview / switching processing on the slide based on the execution information. For example, if slide 1 is currently being played, and the system switches to slide 2 based on the execution information, the slave device generates an interaction interface for a display-type task and plays the corresponding slide. That is, the slave device performs the task of playing the slide. As shown in Figure 7, in a slide application scene, a slave device is selected by manual operation, and after the master device initiates a task flowing request, the master device establishes a communication connection with the selected slave device and determines the master device to be the first device. The first device, the master device, generates the interaction interface for operational tasks and has the "preview" authority. The second device, the slave device, generates the interaction interface for display tasks and has the "playback" authority. Each device performs the corresponding task processing based on the authority it possesses.
[0070] In this embodiment, the application scene of the method according to this embodiment may be a document editing scene. As shown in Figure 8, the slave device can be similarly determined manually or automatically to realize a communication connection between the master device and the slave device, and then the editing function and presentation function of the target document can be assigned to the two devices. When the master device is determined as the first device, the master device generates an interaction interface for operation-type tasks, and the slave device generates an interaction interface for display-type tasks to display the target document, so that the user can input information and perform operation editing processing on the target document.
[0071] Furthermore, after the master and slave devices determine their respective processing privileges, they need to generate corresponding interaction interfaces. For multiple devices in the flow of a task for a target document, their document display styles may differ, and corresponding interaction interfaces can be generated according to the different roles of the devices (first device and second device). For example, different devices can be abstracted into a single basic flowing role (hereinafter referred to as BASE), and the first and second devices can be extended to HOST and CLIENT, respectively, based on the basic flowing role BASE. In one embodiment, extension interfaces, instruction set interfaces, and general-purpose interfaces are defined for BASE. The HOST can dynamically add the necessary interface views in the HOST state via the interfaces defined in BASE, and in the process of acquiring initialization abstraction data, instantiate the data necessary for operation and the state data of each view, thereby generating interaction interfaces corresponding to the operational tasks of the target document.
[0072] According to the document task processing method of the present invention, an operational task is assigned to a first device, the first device is made to generate an interaction interface for the operational task, the target document is processed based on the execution information of the operational task, and processing of the target document for the operational task is realized based on the generated interaction interface for the operational task, thereby improving the efficiency of document processing by the device.
[0073] In an embodiment of the present invention, the step of receiving execution information for an operational task transmitted from a first device and processing a target document based on the execution information includes, if multiple pieces of execution information transmitted from the first device are received at the same time, determining whether the multiple pieces of execution information relate to the same element in the target document, and, if the multiple pieces of execution information relate to the same element in the target document, determining a first piece of execution information and processing the target document based on the first piece of execution information. The first piece of execution information is one of the multiple pieces of execution information related to the same element in the target document.
[0074] This embodiment applies when multiple users and multiple devices simultaneously have operational tasks on the same target document. An element is the smallest object to be processed within the target document, such as a single image on a slide or a single character in a document. In this embodiment, when multiple devices simultaneously have authority to perform operational tasks on the target document and simultaneously perform operational processing on the same element of the target document, the target document may be processed based on the determined first execution information. For example, the target document may be processed based on the occurrence time of the operation corresponding to the respective execution information on each device, or the target document may be processed according to the user's needs.
[0075] Note that "identical elements" refers to the same elements within the target document. If the objects being processed at the same time are not identical elements, they may be processed according to the requirements of other embodiments, and this will not be explained in detail here.
[0076] Furthermore, when multiple primary devices sequentially process the same elements within a target document based on execution information for an operational task, it is valid for the second primary device to process the target document after the first primary device has finished its execution.
[0077] According to the document task processing method of the present invention, when multiple execution pieces of information for an operation-type task transmitted from a first device are received at the same time, it is determined whether the multiple execution pieces of information relate to the same element in the target document. If the multiple execution pieces of information relate to the same element in the target document, the corresponding processing can be performed on the target document based on the determined first execution piece of information. This ensures the effectiveness of multiple devices when processing the same target document, improves the efficiency of target document processing, and enhances the user experience.
[0078] Based on any of the above embodiments, in this embodiment, when multiple execution pieces for an operational task relate to the same element in a target document, the step of determining a first execution piece and processing the target document based on the first execution piece includes, when multiple execution pieces for an operational task relate to the same element in a target document, determining the occurrence time of each of the multiple execution pieces for an operational task, and determining the execution piece corresponding to the first operation in the sequence of occurrence times as the first execution piece, and processing the target document based on the first execution piece.
[0079] In this embodiment, when multiple execution pieces for an operation-type task are simultaneously related to the same element in the target document, the occurrence time of the operation corresponding to each execution piece in each device is determined, and the target document is processed based on the execution piece corresponding to the operation with the earliest occurrence time. Assuming that the execution pieces for image 1 in the target document sent from device 1 and device 2 were received at the same time, both on September 10, 2021, at 8:00:00, and that the occurrence time of the operation by device 1 to add one dot to image 1 in the target document based on execution piece 1 was 7:59:58 on September 10, 2021, and that the occurrence time of the operation by device 2 to delete one character from image 1 in the target document based on execution piece 2 was 7:59:59 on September 10, 2021, then it is determined that the operation processing of device 1 is valid, and image 1 in the target document is processed based on the execution piece corresponding to the operation of device 1, i.e., one dot is added to image 1.
[0080] According to the document task processing method of the present invention, when multiple execution pieces for an operation-type task relate to the same element in the target document, the occurrence time of each operation corresponding to the multiple execution pieces is determined, the execution piece for the operation-type task corresponding to the first operation in the sequence of occurrence times is determined as the first execution piece, and the target document is processed based on the first execution piece. This ensures the effectiveness of multiple devices when processing the same target document simultaneously, improves the efficiency of target document processing, and enhances the user experience.
[0081] In some embodiments, when multiple execution pieces for an operational task relate to the same element in a target document, the step of determining a first execution piece and processing the target document based on the first execution piece further includes, when multiple execution pieces for an operational task relate to the same element in a target document, determining the occurrence time of the operation corresponding to each of the multiple execution pieces for the operational task, and sequentially storing the multiple execution pieces for the operational task in ascending order of occurrence time, and processing the target document based on the stored execution piece.
[0082] In this embodiment, if multiple execution pieces for an operation-type task are simultaneously related to the same element in the target document, the occurrence time of the operation corresponding to each execution piece in each device is determined, and the multiple execution pieces are stored in ascending order of occurrence time. The target document may be processed based on the stored execution pieces, and each stored execution piece may be sequentially determined as the first execution piece based on the ascending order of occurrence time, and the target document may be processed based on the first execution piece. If the occurrence time of execution piece 1 for operation-type task A in device 1 is 8:43, the occurrence time of execution piece 2 for operation-type task B in device 2 is 8:45, and the occurrence time of execution piece 3 for operation-type task C in device 3 is 8:48, the server sequentially stores the execution pieces obtained based on the occurrence time information (i.e., execution piece 1 for operation-type task A - execution piece 2 for operation-type task B - execution piece 3 for operation-type task C), and sequentially performs the corresponding operation processing on the target document based on the stored information.
[0083] According to the document task processing method of the present invention, when multiple execution pieces of information for an operation-type task relate to the same element in a target document, the occurrence time of the operation corresponding to each of the multiple execution pieces of information for the operation-type task is determined, the multiple execution pieces of information for the operation-type task are sequentially stored in ascending order of occurrence time, and the target document is processed based on the stored execution pieces of information. This ensures the effectiveness of multiple devices when processing the same target document simultaneously, improves the efficiency of target document processing, and enhances the user experience.
[0084] In some embodiments, when multiple execution pieces for an operational task relate to the same element in a target document, the step of determining a first execution piece and processing the target document based on the first execution piece further includes the step of processing the target document based on an instruction received when multiple execution pieces for an operational task relate to the same element in a target document.
[0085] In this embodiment, an instruction is an instruction generated by the user in response to their processing needs for the target document. If multiple execution pieces of operational task information relate to the same element in the target document simultaneously, the target document may be processed based on the received user instruction. For example, if the execution pieces for image 1 in the target document sent from device 1 and device 2 are received at the same time, and execution piece 1 of device 1's operational task is to draw a line on image 1, and execution piece 2 of device 2's operational task is to delete image 1, and the user decides to delete image 1 through judgment analysis, then after receiving the user's delete instruction, the device processes the target document based on execution piece 2.
[0086] According to the document task processing method of the present invention, when multiple execution pieces of information for an operational task relate to the same element within a target document, the target document is processed based on the received instructions. This ensures the effectiveness of multiple devices when processing the same target document simultaneously, improves the efficiency of target document processing, and enhances the user experience.
[0087] In some embodiments, the step of receiving execution information for an operational task transmitted from a first device and processing a target document based on the execution information for the operational task further includes, if multiple pieces of execution information for an operational task relate to different elements within the target document, processing the target document based on each of the multiple pieces of execution information for an operational task.
[0088] This embodiment also applies when multiple devices simultaneously have operational tasks for a target document. When multiple execution pieces of operational tasks acquired simultaneously process different elements within the target document, simultaneous processing of different elements within the target document can be achieved by maintaining the validity of the execution piece of each operational task. As shown in Figure 9, when a first device 1 and a first device 2 exist, the first device 1 can perform operational task 1, which is to place a horizontal line mark on text 1 in the target document, and the first device 2 can perform operational task 2, which is to place a check mark on text 2 in the target document, thereby simultaneously performing two pieces of execution.
[0089] For example, if the target document is a table, when a data insertion operation is performed on the target document, operation A is a data insertion operation on the cell in the first row and first column of the target document, and operation B is a data insertion operation on the cell in the first row and second column of the target document. Since the target of each operation type task is not the same element, both operation data are validly retained.
[0090] According to the document task processing method of the present invention, when multiple execution pieces for an operational task received at the same time relate to different elements within a target document, the target document is processed based on each of the multiple execution pieces for the operational task. This ensures the effectiveness of multiple devices when processing the same target document simultaneously, improves the efficiency of target document processing, and enhances the user experience.
[0091] In some embodiments, the step of assigning a display task for a target document to a second device among a master and slave device, and having the second device process the display task for the target document, includes the steps of assigning a display task for the target document to the second device, having the second device generate a display interface for the display task, and displaying the target document on the display interface.
[0092] In this embodiment, after the first device is determined, a display task for the target document is assigned to the second device, and the second device generates a display interface for the display task to display the target document. The type and style to be displayed by the second device require the first device to provide corresponding instruction information, and the target document is displayed based on the received corresponding instruction information.
[0093] Furthermore, after the master and slave devices determine their respective processing privileges, they need to generate corresponding interaction interfaces. A single basic flowing role is abstracted for multiple devices, and the first and second devices are extended to HOST and CLIENT, respectively, based on the basic flowing role BASE.
[0094] According to the document task processing method of the present invention, after a second device is determined, a display-type task for the target document is assigned to the second device, the second device generates a corresponding display interface for displaying the target document, thereby realizing display diversity for the target document and improving the user experience.
[0095] In some embodiments, the step of assigning a display task for a target document to a second device among a master and slave device, and having the second device process the display task for the target document, further includes, if the processed target document needs to be displayed by the display task, transmitting the processed target document to the second device and displaying the processed target document on the display interface of the display task of the second device, where the processed target document is obtained by processing the target document based on the execution information of an operation task.
[0096] In this embodiment, after the first device performs an operation on the target document, the processed target document needs to be displayed on the second device, and the second device displays the processed target document, updated in real time. As shown in Figure 10, using slides as an example, presentation tools commonly used in presentations, including notebooks, pens, and lasers, can be quickly accessed by the first device, and when the first device performs an operation on the target document, the second device can display the processing details and corresponding operation steps for the target document in real time.
[0097] According to the document task processing method of the present invention, after the first device performs an operation on the target document, the second device displays the processed target document. This ensures real-time data update processing, achieves synchronization between operation-type tasks and display-type tasks, and guarantees the timeliness of the data.
[0098] In some embodiments, the step of assigning a display task for a target document to a second of the master and slave devices, and having the second device process the display task for the target document, further includes the step of prohibiting the transmission of the processed target document to the second device if the processed target document does not need to be displayed by the display task.
[0099] In this embodiment, when the first device performs operations on a target document, some operations, such as changing the note information of the target document, do not need to be displayed by the second device. As shown in Figure 11, using slides as an example, the master device is the second device and the slave device is the first device. When the first device changes the note information of task 3, the second device does not need to display the change in note information in principle, and therefore is prohibited from transmitting the processed target document to the second device. When the second device, which is the master device, plays back the target document, it does not play back the note information of the target document.
[0100] According to the document task processing method of the present invention, if the first device has performed an operation on a target document and the modified portion does not need to be displayed by the second device, the transmission of the processed target document to the second device is prohibited. This ensures the accuracy of the data in the target document while avoiding the occupation of unnecessary resources and saving resources.
[0101] In some embodiments, the master device determines the slave devices by manual or automatic flow, and from the slave and master devices, determines the first and second devices using a specified method or a device information sorting method. Subsequently, it assigns operational tasks for the target document to the first device and display tasks to the second device. The first and second devices generate corresponding interaction interfaces depending on the type of task.
[0102] Using the slide as an example, a master device initiates a flow to multiple slave devices, and after successful communication, the master device maintains a list of all devices and tasks. After receiving the connection status and device information of the slave devices, the master device sorts them in descending order by default based on each device's type and resolution information, assigning operational tasks to devices with lower resolution by default, i.e., determining the device with the lowest resolution as the first device. If the master device is one of the devices with low resolution, operational tasks are preferentially assigned to the master device. The master device can also manually adjust the type of tasks assigned to each device by clicking the task panel.
[0103] The master device also needs to send a view switching message to the second device, which includes a view switching instruction and the view style to be displayed. Upon receiving the message, the second device parses the view switching message, finds the view style that needs to be loaded, hides the original view style, and displays the view style requested in the view switching message. After completing the document view switching, the second device sends current status information (including device ID, view style, and whether the switch was successful or not) to the master device. After receiving the status information from the receiving device, the master device updates the device information and document view information being maintained. If the connection of a slave device is interrupted, the master device initiates a reconnection request. If the reconnection is successful, it will be displayed normally. If the connection fails due to a timeout, the master device removes the device information from the device list.
[0104] Figure 12 is a diagram showing a document task processing device according to the present invention. As shown in Figure 12, the document task processing device is A determination module 1201 for determining a first device from among master devices and slave devices, wherein the master device is a device that initiates the flow of the target document, the slave device is a device that receives the target document, and the first device is a device for manipulating the target document, and the determination module 1201, A first assignment module 1202 assigns an operational task for the target document to the first device and causes the first device to process the operational task for the target document, The system includes a second assignment module 1203 that assigns a display task for the target document to a second device among the master and slave devices, and causes the second device to process the display task for the target document.
[0105] Based on any of the above embodiments, in this embodiment, the decision module 1201 further comprises: From among the devices that can communicate with the master device, the slave device is selected. The system is configured to determine the first device from among the master device and the slave device.
[0106] Based on any of the above embodiments, in this embodiment, the decision module 1201 further comprises: Based on the target input instruction, the system is configured to determine the slave device for the target document from among devices that can communicate with the master device.
[0107] Based on any of the above embodiments, in this embodiment, the decision module 1201 further: Calculate the distance between the master device and the third device. If the distance is below the distance threshold, the third device is determined to be a slave device, or The signal strength between the master device and the third device is calculated. The system is configured to determine a third device as a slave device if the signal strength is equal to or greater than a signal strength threshold, where the third device is one of the devices that can communicate with the master device.
[0108] Based on any of the above embodiments, in this embodiment, the decision module 1201 further: The system is configured to determine the master device as the first device based on pre-configured specified information.
[0109] Based on any of the above embodiments, in this embodiment, the decision module 1201 further comprises: The device information of the master device and the device information of the slave device are obtained. The system is configured to compare the device information of the master device with the device information of the slave device and determine the first device based on the comparison result.
[0110] Based on any of the above embodiments, in this embodiment, the decision module 1201 further comprises: Based on sequence information for executing the operational tasks of the target document, the system is configured to determine the device corresponding to the current number from among the master or slave devices, and to designate the device corresponding to the current number as the first device, wherein the sequence information includes multiple numbers for executing the operational tasks.
[0111] Based on any of the above embodiments, in this embodiment, the first assignment module 1202 further comprises: Assign the operational task to the first device, and have the first device generate an interaction interface for the operational task. The system is configured to receive execution information for the operation-type task transmitted from the first device and to process the target document based on the execution information, the execution information being generated based on the operation information received by the interaction interface for the operation-type task.
[0112] Based on any of the above embodiments, in this embodiment, the first assignment module 1202 further comprises: When multiple execution pieces of information transmitted from the first device are received at the same time, it is determined whether the multiple execution pieces of information relate to the same element in the target document. When multiple execution pieces relate to the same element within a target document, the system is configured to determine a first execution piece and process the target document based on the first execution piece, wherein the first execution piece is one of the multiple execution pieces related to the same element within the target document.
[0113] Based on any of the above embodiments, in this embodiment, the first assignment module 1202 further comprises: If multiple execution pieces of information relate to the same element within the target document, determine the occurrence time of the operation corresponding to each of the multiple execution pieces of information. The system is configured to determine the execution information corresponding to the operation with the earliest occurrence time as the first execution information, and to process the target document based on the first execution information.
[0114] Based on any of the above embodiments, in this embodiment, the first assignment module 1202 further comprises: When multiple execution pieces of information relate to the same element within the target document, the steps include determining the occurrence time of the operation corresponding to each of the multiple execution pieces of information, The system is configured to sequentially store multiple execution information items based on their occurrence time in ascending order, and to process the target document based on the stored execution information.
[0115] Based on any of the above embodiments, in this embodiment, the first assignment module 1202 further comprises: When multiple execution pieces of information relate to the same element within a target document, the system is configured to process the target document based on the received instructions.
[0116] Based on any of the above embodiments, in this embodiment, the first assignment module 1202 further comprises: If multiple execution pieces of information relate to different elements within the target document, the system is configured to process the target document based on each of the multiple execution pieces of information.
[0117] Based on any of the above embodiments, in this embodiment, the second assignment module 1203 further comprises: The system is configured to assign a display task for the target document to a second device, have the second device generate a display interface for the display task, and then display the target document on the display interface.
[0118] Based on any of the above embodiments, in this embodiment, the second assignment module 1203 further comprises: If the processed target document needs to be displayed by a display-type task, the system is configured to transmit the processed target document to a second device and display the processed target document on the display interface of the display-type task on the second device. Here, the processed target document is obtained by processing the target document based on the execution information of the operational task.
[0119] Based on any of the above embodiments, in this embodiment, the second assignment module 1203 further comprises: If the processed target document does not need to be displayed by a display-type task, it is configured to prohibit the transmission of the processed target document to a second device. Here, the processed target document is obtained by processing the target document based on the execution information of the operation-type task.
[0120] Since the apparatus described in the embodiment of the present invention has the same principle and effect as the method described in the above embodiment, a more detailed explanation is omitted here.
[0121] Figure 13 is a schematic diagram of the structure of an electronic device entity according to an embodiment of the present invention. As shown in Figure 13, the present invention provides an electronic device comprising a processor 1301, a memory 1302, and a bus 1303. Here, the processor 1301 and the memory 1302 communicate with each other via the bus 1303. The processor 1301 is configured to call program instructions in the memory 1302 and execute the methods according to the embodiments of each of the above methods. The method includes, for example, the step of determining a first device from among a master device and a slave device, wherein the master device is a device that initiates a flow for a target document and stores the target document in advance, the slave device is a device that receives the flow and can perform tasks on the target document after the flow is successful, and the first device is a device for manipulating the target document; the step of assigning an operational task for the target document to the first device and causing the first device to process the operational task for the target document; and the step of assigning a display task for the target document to a second device from among the master device and the slave device and causing the second device to process the display task for the target document.
[0122] Embodiments of the present invention provide a non-temporary computer-readable storage medium in which computer instructions are stored, and the computer instructions cause the computer to execute the methods according to each embodiment of the above method. The method includes, for example, the step of determining a first device from among a master device and a slave device, wherein the master device is a device that initiates a flow to a target document and has the target document stored in advance, the slave device is a device that receives the flow and can execute a task on the target document after the flow is successful, and the first device is a device for manipulating the target document; the step of assigning an operational task for the target document to the first device and causing the first device to process the operational task for the target document; and the step of assigning a display task for the target document to a second device from among the master device and the slave device and causing the second device to process the display task for the target document.
[0123] The present invention further provides a computer program product comprising a computer program stored on a non-temporary computer-readable storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer can perform the methods provided by each of the above methods. The method includes the steps of: determining a first device from among a master device and a slave device, wherein the master device is a device that initiates a flow to a target document and has the target document stored in advance, the slave device is a device that receives the flow and is capable of performing tasks on the target document after the flow is successful, and the first device is a device for manipulating the target document; assigning an operational task to the first device and causing the first device to process the operational task to the target document; and assigning a display task to a second device from among the master device and the slave device and causing the second device to process the display task to the target document.
[0124] As those skilled in the art will understand, all or part of the steps for implementing an embodiment of the above method may be completed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When the program is executed, it performs the steps including an embodiment of the above method. The storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0125] Furthermore, the above embodiments are merely for illustrating the technical concepts of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art can modify the technical concepts described in each of the above embodiments or make equivalent substitutions for some of the technical features therein. It should be understood that such modifications or substitutions do not cause the essence of the corresponding technical concepts to deviate from the spirit and scope of the technical concepts of each embodiment of the present invention.
Claims
1. A document task processing method, A step of determining a slave device from among devices that can communicate with a master device, wherein the master device is a device that initiates the flow of a target document, and the slave device is a device that receives the flow of the target document. A step of determining one of the master device and the slave device as the first device, wherein the first device is a device for manipulating the target document, The steps include assigning an operational task to the target document to the first device and causing the first device to process the operational task for the target document, The steps include determining the other of the master device and the slave device as the second device, The steps include assigning a display task for the target document to the second device and causing the second device to process the display task for the target document, The aforementioned operational task is a task that performs editing or presentation operations on the target document. The aforementioned display task is a task that displays or plays the target document, Here, the step of determining one of the master device and the slave device as the first device is: A step of determining the master device as the first device based on pre-configured designation information, wherein the designation information is information that pre-designates the master device as the first device, and the master device pre-stores the target document; The steps include: acquiring the equipment information of the master device and the equipment information of the slave device, comparing the equipment information of the master device and the equipment information of the slave device, and determining the first device based on the comparison result; The steps include: determining the device corresponding to the current number from the master device or the slave device based on sequence information for performing the operational task of the target document, and designating the device corresponding to the current number as the first device, wherein the sequence information includes a plurality of numbers for performing the operational task; and any one of these steps. A document task processing method characterized by the following:
2. The step of determining the slave device from among the devices that can communicate with the master device is: The step includes determining the slave device from among devices that can communicate with the master device based on the target input instruction, The document task processing method according to feature 1.
3. The step of determining the slave device from among the devices that can communicate with the master device is: The distance between the master device and the third device is calculated. If the distance is less than or equal to a distance threshold, the third device is determined to be the slave device, wherein the third device is one of the devices that can communicate with the master device. The signal strength between the master device and the third device is calculated. If the signal strength is equal to or greater than a signal strength threshold, the third device is determined to be the slave device, the third device being one of any devices that can communicate with the master device, and the steps include at least one of these steps. The document task processing method according to feature 1.
4. The step of assigning an operational task for the target document to the first device and causing the first device to process the operational task for the target document is: The steps include assigning the aforementioned operational task to the first device and causing the first device to generate an interaction interface for the operational task, The process includes receiving execution information for the operation-type task transmitted from the first device, and processing the target document based on the execution information, wherein the execution information is generated based on operation information received by the interaction interface for the operation-type task. The document task processing method according to feature 1.
5. The step of receiving execution information for the operation-type task transmitted from the first device and processing the target document based on the execution information is: When multiple execution pieces of information transmitted from the first device are received at the same time, the step of determining whether the multiple execution pieces of information relate to the same element in the target document, If the plurality of execution pieces relate to the same element in the target document, the step of determining a first execution piece and processing the target document based on the first execution piece, wherein the first execution piece is one of the plurality of execution pieces related to the same element in the target document, the step of The document task processing method according to feature 4.
6. If the multiple execution pieces relate to the same element within the target document, the steps of determining the first execution piece and processing the target document based on the first execution piece are as follows: If the multiple execution pieces relate to the same element in the target document, the step of determining the occurrence time of the operation corresponding to each of the multiple execution pieces, The steps include determining the execution information corresponding to the first operation in the sequence of occurrence times as first execution information, and processing the target document based on the first execution information, The document task processing method according to feature 5.
7. If the multiple execution pieces relate to the same element within the target document, the steps of determining the first execution piece and processing the target document based on the first execution piece are as follows: If the multiple execution pieces relate to the same element in the target document, the step of determining the occurrence time of the operation corresponding to each of the multiple execution pieces, The process includes the steps of sequentially storing the multiple execution pieces of information based on the ascending order of their occurrence times, and processing the target document based on the stored execution pieces of information. The document task processing method according to feature 5.
8. If the multiple execution pieces relate to the same element within the target document, the steps of determining the first execution piece and processing the target document based on the first execution piece are as follows: If the multiple pieces of execution information relate to the same element within the target document, the step further includes processing the target document based on the received instructions. The document task processing method according to feature 5.
9. The step of receiving execution information for the operation-type task transmitted from the first device and processing the target document based on the execution information is: If the plurality of execution pieces relate to different elements within the target document, the further step includes processing the target document based on the plurality of execution pieces. The document task processing method according to feature 5.
10. The step of assigning a display task for the target document to the second device and causing the second device to process the display task for the target document is: The steps include assigning a display task for the target document to the second device, causing the second device to generate a display interface for the display task, and displaying the target document on the display interface. The document task processing method according to feature 1.
11. The step of assigning a display task for the target document to the second device and causing the second device to process the display task for the target document is: If the processed target document needs to be displayed by a display-type task, the process includes the steps of transmitting the processed target document to the second device and displaying the processed target document on the display interface of the display-type task on the second device. Here, the processed target document is obtained by processing the target document based on the execution information of the operation-type task. The document task processing method according to feature 10.
12. The step of assigning a display task for the target document to the second device and causing the second device to process the display task for the target document is: If the processed target document does not need to be displayed by a display task, the process further includes the step of prohibiting the transmission of the processed target document to the second device. Here, the processed target document is obtained by processing the target document based on the execution information of the operation-type task. The document task processing method according to feature 10.
13. A determination module for determining a slave device from among devices that can communicate with a master device, determining one of the master device and the slave device as the first device, and determining the other of the master device and the slave device as the second device, wherein the master device is a device that initiates the flow of data to the target document, the slave device is a device that receives the flow of data to the target document, and the first device is a device for manipulating the target document, A first assignment module that assigns an operational task for the target document to the first device and causes the first device to process the operational task for the target document, Includes a second assignment module that assigns a display-type task for the target document to the second device and causes the second device to process the display-type task for the target document, The aforementioned operational task is a task that performs editing or presentation operations on the target document. The aforementioned display task is a task that displays or plays the target document, Here, the decision module further, The system is configured to determine the master device as the first device based on pre-configured designation information, wherein the designation information is information that pre-designates the master device as the first device, and the master device pre-stores the target document, or The system is configured to acquire the equipment information of the master device and the equipment information of the slave device, compare the equipment information of the master device and the equipment information of the slave device, and determine the first device based on the comparison result, or Based on sequence information for executing the operational tasks of the target document, the system determines the device corresponding to the current number from the master device or the slave device, and the device corresponding to the current number is configured to be the first device, wherein the sequence information includes a plurality of numbers for executing the operational tasks. A document task processing device characterized by the following:
14. An electronic device comprising a processor, memory, and a bus, wherein the processor and the memory communicate with each other via the bus, The memory stores program instructions that can be executed by the processor, and the processor is configured to perform the steps of the document task processing method described in any one of claims 1 to 12 when it calls a program instruction. An electronic device characterized by the following features.
15. A non-temporary computer-readable storage medium storing computer instructions, wherein the computer instructions cause a computer to perform the steps of the document task processing method described in any one of claims 1 to 12. A non-temporary computer-readable storage medium characterized by the following features.