WO2023001027A1 - 任务同步方法、装置、设备及可读存储介质 - Google Patents
任务同步方法、装置、设备及可读存储介质 Download PDFInfo
- Publication number
- WO2023001027A1 WO2023001027A1 PCT/CN2022/105219 CN2022105219W WO2023001027A1 WO 2023001027 A1 WO2023001027 A1 WO 2023001027A1 CN 2022105219 W CN2022105219 W CN 2022105219W WO 2023001027 A1 WO2023001027 A1 WO 2023001027A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- task
- synchronization
- synchronization task
- icon
- window
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
Definitions
- the present application belongs to the technical field of communication, and in particular relates to a task synchronization method, device, equipment and readable storage medium.
- the purpose of the embodiment of the present application is to provide a task synchronization method, device, device, system and readable storage medium, which can simplify the synchronization operation of tasks between devices, shorten the synchronization time, and improve the synchronization efficiency.
- the embodiment of the present application provides a task synchronization method, the method includes: the first device generates a first synchronization task in response to an operation on the application program icon, and the first synchronization task corresponds to an application program; the first The device sends first synchronization task data corresponding to the first synchronization task to the second device, where the first synchronization task data is used by the second device to synchronize the first synchronization task.
- the embodiment of the present application provides a task synchronization method, the method includes: the second device receives the first synchronization task data sent by the first device, and starts the synchronization task to open the window, wherein each of the first synchronization tasks The data corresponds to a first synchronization task, and each first synchronization task corresponds to an application program; the second device generates a synchronization task window in response to the operation of opening a window for the synchronization task, and determines the first synchronization task of the first device to synchronize The first synchronization task.
- the embodiment of the present application provides a task synchronization device, the device includes: a synchronization task generation module, used for the first device to generate a first synchronization task in response to an operation on the application program icon, and the first synchronization task Corresponding to an application program; the synchronization task data sending module is used for the first device to send the first synchronization task data corresponding to the first synchronization task to the second device, wherein the first synchronization task data is used for the synchronization of the second device The first synchronization task.
- a synchronization task generation module used for the first device to generate a first synchronization task in response to an operation on the application program icon, and the first synchronization task Corresponding to an application program
- the synchronization task data sending module is used for the first device to send the first synchronization task data corresponding to the first synchronization task to the second device, wherein the first synchronization task data is used for the synchronization of the second device The first synchronization task.
- the embodiment of the present application provides a task synchronization device, the device includes: a synchronization task receiving module, used for the second device to receive the first synchronization task data sent by the first device, and start the synchronization task opening window, wherein, every The first synchronization task data corresponds to a first synchronization task, and each first synchronization task corresponds to an application program; the synchronization task synchronization module is used for the second device to generate a synchronization task window in response to the operation of opening a window for the synchronization task , and determine a first synchronization task of the first device, so as to synchronize the first synchronization task.
- the embodiment of the present application provides a first device, the first device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction When executed by the processor, the steps of the task synchronization method as described in the first aspect are realized.
- the embodiment of the present application provides a second device.
- the first device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor.
- the program or instruction When executed by the processor, the steps of implementing the task synchronization method according to the second aspect are realized.
- the embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, it implements the above-mentioned steps described in the first aspect and the second aspect.
- the steps of the task synchronization method are described in the first aspect and the second aspect.
- an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect, The task synchronization method described in the second aspect.
- the task synchronization method includes: the first device generates a first synchronization task in response to an operation on the application program icon, and the second One synchronization task corresponds to one application program; the first device sends the first synchronization task data corresponding to the first synchronization task to the second device, wherein the first synchronization task data is used for the second device to synchronize the first synchronization task, by responding to the The operation of the application program icon generates the first synchronization task and sends the corresponding first synchronization task data.
- This application can simplify the synchronization operation, shorten the synchronization time, and improve the synchronization efficiency.
- FIG. 1 is a schematic diagram of an application environment provided by an embodiment of the present application
- FIG. 2 is one of the flowcharts of a task synchronization method provided in an embodiment of the present application
- Fig. 3 is the second flowchart of a task synchronization method provided by the embodiment of the present application.
- FIG. 4 is a schematic diagram of a synchronization task setting window of a first device provided in an embodiment of the present application
- FIG. 5 is one of the schematic diagrams of a synchronization task window of a first device provided in an embodiment of the present application
- Fig. 6 is a schematic diagram of triggering a suspension component in a first device to generate a first window according to an embodiment of the present application
- Fig. 7 is a schematic diagram of triggering the target area to hide the first window in the first device according to the embodiment of the present application.
- Fig. 8a is one of the schematic diagrams of operating task icons in the first window provided by the embodiment of the present application.
- Fig. 8b is the second schematic diagram of operating task icons in the first window provided by the embodiment of the present application.
- FIG. 9 is a schematic flowchart of a first device detecting a synchronization task of a second device according to an embodiment of the present application.
- FIG. 10 is a schematic diagram of a synchronization task opening window in a first device provided by an embodiment of the present application.
- FIG. 11 is a schematic diagram of a synchronization task opening window of a first device provided in an embodiment of the present application.
- Fig. 12 is a schematic diagram of triggering an application program icon to generate a second window in a first device provided by an embodiment of the present application;
- FIG. 13 is a schematic flowchart of another task synchronization method provided by the embodiment of the present application.
- FIG. 14 is a schematic diagram of a synchronization task opening window of a second device provided by an embodiment of the present application.
- Fig. 15 is a schematic diagram of a synchronization task window in a second device provided by an embodiment of the present application.
- FIG. 16 is a schematic flowchart of a second device determining a synchronization task provided by an embodiment of the present application.
- Fig. 17 is a schematic diagram of triggering the suspension component to generate the first window in the second device according to the embodiment of the present application.
- Fig. 18 is a schematic diagram of dragging a task icon from the first window in the second device according to an embodiment of the present application
- Fig. 19 is a schematic diagram of a synchronization task window of a second device provided by an embodiment of the present application.
- FIG. 20 is a schematic diagram of triggering application icons to generate a second window in a second device according to an embodiment of the present application
- Fig. 21 is a schematic structural diagram of a task synchronization device provided by an embodiment of the present application.
- Fig. 22 is a schematic structural diagram of another task synchronization device provided by the embodiment of the present application.
- Fig. 23 is one of the structural schematic diagrams of a first device provided in the embodiment of the present application.
- Fig. 24 is the second structural schematic diagram of a first device provided by the embodiment of the present application.
- Synchronization task data refers to the relevant data of the application program running on a certain device, for example: interface sliding position on a certain page, account information, video, music, rendering data, etc.
- FIG. 1 is a schematic diagram of an application environment provided by an embodiment of the present application.
- the application environment 100 includes: an electronic device 11 and a server 12 .
- the electronic device 11 communicates with the server 12 to complete the data transmission or reception of the electronic device 11 , for example: the electronic device 11 connects to the server 12 , and the electronic device 11 sends synchronization task data to the server 12 .
- the electronic device 11 includes an interface module, and the interface module includes multiple interfaces, such as: communication interface, wireless interface, wired interface, etc., correspondingly, the server 12 includes a server interface, such as: communication interface, wireless interface, For the wired interface, the electronic device 11 invokes the communication interface, connects to the server interface of the server 12 through a gateway, and realizes the communication connection between the electronic device 11 and the server 12 through a communication protocol.
- the interface module includes multiple interfaces, such as: communication interface, wireless interface, wired interface, etc.
- the server 12 includes a server interface, such as: communication interface, wireless interface,
- the electronic device 11 invokes the communication interface, connects to the server interface of the server 12 through a gateway, and realizes the communication connection between the electronic device 11 and the server 12 through a communication protocol.
- the number of electronic devices 11 can be two or more, for example: the electronic device 11 includes a first device 111 and a second device 112, it can be understood that the first device 111 and the second device 112
- the two devices 112 can be mobile communication devices, mobile personal computer devices, computer terminals, portable entertainment devices, such as video players, handheld game consoles, smart tablets, etc., which are not limited here.
- the first device 111 and the second device 112 are connected in communication, for example, through wireless local area network, bluetooth, etc., and the first device 111 and the second device 112 can transmit synchronization task data to realize Task synchronization between the first device 111 and the second device 112 .
- the electronic device 11 may also include multiple devices, for example: a first device, a second device, a third device, ..., the Nth device, and the first device may send synchronization task data to multiple devices to Realize task synchronization between multiple devices.
- the number of servers 12 is multiple, and multiple servers 12 can form a server cluster, for example: the server cluster includes: the first server, the second server, ..., the Nth server, or the server cluster can It is a cloud computing service center, which includes several servers for high-speed computing.
- the server includes but is not limited to: servers such as tower servers, rack servers, and blade servers, which are not limited here.
- the following takes the first device as a smart phone, the second device as a smart tablet, and task synchronization between the smart phone and the smart tablet as an example:
- FIG. 2 is one of the flow charts of a task synchronization method provided in an embodiment of the present application.
- the overall flow of the task synchronization method includes:
- Step S201 generating a first synchronization task
- the first device generates a first synchronization task
- the first synchronization task refers to synchronizing an application program on a certain device to another device. Therefore, each synchronization task corresponds to an application program.
- Step S202 sending the first synchronization task data
- the first device sends the first synchronization task data to the second device, wherein the first synchronization task data is data related to the application program on the first device, when the second device receives the first synchronization task data sent by the first device
- the first synchronizing task data can be used to synchronize to the task breakpoint corresponding to the application program, for example: jumping to the running interface of the application program of a certain device, loading the running data, and so on.
- Step S203 synchronizing the first synchronization task
- the second device synchronizes the first synchronization task, wherein the first synchronization task corresponds to an application program, which is equivalent to jumping the application program corresponding to the synchronization task in the second device to the application program of the first device
- the running interface and load the running data.
- FIG. 3 is the second flowchart of a task synchronization method provided by an embodiment of the present application.
- the task synchronization method is applied to the first device. Specifically, the task synchronization method is executed by one or more processors of the first device.
- the task synchronization method includes:
- Step S301 the first device generates a first synchronization task in response to an operation on the application program icon, and the first synchronization task corresponds to an application program;
- the method further includes:
- the first device receives an operation on the application program icon in a synchronization task window, the synchronization task window includes a suspension component, and the suspension component is used to generate a first synchronization task;
- the generating the first synchronization task in response to the operation on the application program icon includes:
- the first device moves the application icon to the hover component in response to a first input to the application icon
- the first device generates the first synchronization task, and adds the first synchronization task to a synchronization task list.
- the first device generates a synchronization task window in response to an operation on the synchronization task setting window, wherein the synchronization task setting window includes a display time component and a display form component;
- FIG. 4 is a schematic diagram of a synchronization task setting window of a first device provided in an embodiment of the present application
- the synchronization task setting window is generated by the user in the setting options of the electronic device, for example, in "Settings -> More Settings", an option of "synchronization tasks" is added. After the user clicks, the system pops up the synchronization task setting window to guide the user to open and set the synchronization task window.
- the synchronization task setting window includes: a synchronization task window switch component, a display time component and a display form component;
- the synchronization task window switch component includes: two options of opening the synchronization task window or not opening the synchronization task window, for providing the user with the option to open the synchronization task window, or to choose not to open the synchronization task window.
- the display time component and the display form component are displayed in the synchronization task setting window; when the user chooses not to open the synchronization task window, the display is hidden in the synchronization task setting window Time component and presentation component.
- the synchronization task window switch component defaults to the option of not opening the synchronization task window.
- the display time component is used to determine the display time of the floating component in the synchronization task window, the user can input or select the display time through the display time component, and the display time is used to limit the display time of the display form component Display method, for example: the display form component is a floating component, such as a floating ball, when the application icon is dragged to the position where the display form component is located, the display form component is highlighted; when the After the display form component has not been operated for more than the display time, it will be automatically displayed transparently; when it is detected that the user's finger clicks on the suspension component in the transparent display state, the suspension component will be lighted.
- the display form component is a floating component, such as a floating ball
- the display form component is used to determine the display form, wherein the display form includes a suspension component and a task icon, wherein the suspension component is suspended in the synchronization task window, for example: suspended in the target area of the synchronization task window;
- the above task icon is displayed on the application icon, for example: displayed on the upper right of the application icon.
- the method further includes:
- the first device receives an operation on the application program icon in a synchronization task window, the synchronization task window includes a suspension component, and the suspension component is used to generate a first synchronization task;
- the generating the first synchronization task in response to the operation on the application program icon includes:
- the first device moves the application icon to the hover component in response to a first input to the application icon
- the first device generates the first synchronization task, and adds the first synchronization task to a synchronization task list.
- the first input includes a voice command or a gesture operation, for example, a click operation, a long press operation, a slide operation, a drag operation, and other gesture operations.
- a voice command or a gesture operation for example, a click operation, a long press operation, a slide operation, a drag operation, and other gesture operations.
- FIG. 5 is one of the schematic diagrams of a synchronization task window of a first device provided in an embodiment of the present application.
- the synchronization task window of the first device includes: an application program icon and a suspension component.
- the first device When the user drags the application program icon to the position where the suspension component is located, the first device generates an application icon corresponding to the application program icon.
- the first synchronization task of the application program and add the first synchronization task corresponding to the application program to the synchronization task list.
- the user can drag multiple application program icons to the floating component in sequence, or , the user can drag multiple application program icons to the floating component at the same time, so as to add multiple first synchronization tasks corresponding to the multiple application programs to the synchronization task list.
- updating the first synchronization task to the latest first synchronization task includes: if the application program corresponding to the first synchronization task is updated, then updating the first synchronization task; if the application program corresponding to the first synchronization task is not If an update occurs, the existing first synchronization task in the synchronization task list is maintained.
- the suspension components include, but are not limited to: suspension balls, suspension frames, suspension bars and other forms.
- the application icon by setting the synchronization task window, based on the suspension component in the synchronization task window, in response to the first input to the application icon, the application icon is moved to the suspension component to generate the first synchronization task, and add the first synchronization task to the synchronization task list, the application can quickly generate the first synchronization task, which is beneficial for the second device to quickly synchronize the first synchronization task of the first device, and improves the synchronization efficiency of the local end.
- the method further includes:
- the first device generates a first window in response to the operation of the suspension component, wherein the area occupied by the first window is smaller than the area occupied by the synchronization task window;
- the first device displays in the first window a task icon corresponding to each first synchronization task in the synchronization task list, where the task icon corresponds to the application program icon, for example: the task icon corresponds to the The application icons are the same.
- the operation on the suspension component includes: gesture operation on the suspension component, such as: click operation, long press operation, slide operation, drag operation and other gesture operations, when the first device recognizes that the After the suspension component is operated, a first window is generated in response to the operation of the suspension component, wherein the area occupied by the first window is smaller than the area occupied by the synchronization task window, and the first window The area where the sync task window is located is located.
- the first window is located above, below, on the left or right of the synchronization task window, optionally, the first window is located on the right side of the synchronization task window, with side A sidebar is presented in the synchronization task window to facilitate interactive operations for users.
- FIG. 6 is a schematic diagram of triggering the suspension component in the first device to generate the first window provided by the embodiment of the present application;
- the first window is used to present the synchronization icons corresponding to all the first synchronization tasks in the synchronization task list, when an application icon is dragged to the suspension component, the first synchronization task is generated, and the The first synchronization task is added to the synchronization task list, and the task icon corresponding to the first synchronization task is added to the first window, wherein each first synchronization task corresponds to an application program.
- the task icons are arranged in the first window in order of adding time.
- the method further includes:
- the first device When displaying the first window, the first device hides the first window in response to an operation on the target area in the synchronization task window.
- the operation on the target area in the synchronization task window includes: a gesture operation on the target area, for example: a click operation, a long press operation, a slide operation and other gesture operations, when the first device recognizes that In response to the operation on the target area in the synchronization task window, hiding the first window is equivalent to exiting the first window from the synchronization task window.
- a gesture operation on the target area for example: a click operation, a long press operation, a slide operation and other gesture operations
- FIG. 7 is a schematic diagram of triggering the target area to hide the first window in the first device according to the embodiment of the present application.
- the task icon corresponding to each first synchronization task in the synchronization task list is displayed through the first window, and the task icon corresponds to the application program icon, which is conducive to visually presenting the first synchronization task to be synchronized , which is conducive to improving the user's operating experience.
- the method further includes:
- the second device has a second synchronization task, adding a task icon corresponding to the second synchronization task to the first window;
- the first device synchronizes a second synchronization task corresponding to the task icon in response to a second input to the task icon in the first window, wherein the second input of the task icon is used to move the task icon to the
- the target area in the synchronization task window corresponds to an application program
- the second synchronization task is a synchronization task used in the second device to synchronize to the first device.
- the first device adds a task icon corresponding to the second synchronization task to the first window.
- the second input includes: a voice command or a gesture operation, such as: a click operation, a long press operation, a slide operation, a drag operation, and other gesture operations.
- the first device in response to the second input to the task icon in the first window, includes:
- the first device responds to a gesture operation on the task icon in the first window, wherein the gesture operation includes a drag operation or a move operation, and the gesture operation is used to drag the task icon in the first window Move or move to the target area in the synchronization task window.
- the first device judges whether the second synchronization task corresponding to the task icon has been updated
- the first device judges whether the second synchronization task corresponding to the task icon has been updated, and the judgment of whether the task icon corresponds to Whether the second synchronization task is updated includes: judging whether the second synchronization task data corresponding to the second synchronization task is updated. It can be understood that the update of the second synchronization task data corresponding to the second synchronization task comes from the second Device updates.
- the method further includes: setting a task update flag to identify whether the second synchronization task is updated, and if the second synchronization task is updated, the task icon in the first window Add task update flag.
- the task update sign can be a preset pattern, such as blue dot, green dot, and red dot, and the task update sign is set on the left, right, top, bottom, and top right of the task icon
- the task update sign is a red dot, and is set on the upper right of the task icon.
- the second synchronization task corresponding to the task icon If the second synchronization task corresponding to the task icon is updated, analyze the second synchronization task data of the second synchronization task corresponding to the task icon, and control the application program corresponding to the second synchronization task to jump to the second synchronization task.
- the second synchronization task corresponding to the task icon when the second synchronization task corresponding to the task icon is updated, it means that the local end, that is, the first device has received the second synchronization task data sent by the opposite end, that is, the second device, and at this time, the The second synchronization task data, the second synchronization task data is the relevant data of the application program running on the second device, the second synchronization task data is used to locate the task breakpoint, and the task breakpoint is the application program
- the interrupt position of the task on the second device for example: the interrupt position of tasks such as picture editing, article editing, video playback, etc.
- the relevant data corresponding to the interrupt position is the second synchronous task data, according to the second synchronous task data , locate the task breakpoint of the application program corresponding to the second synchronization task, and control the first device to synchronize to the task breakpoint of the application program.
- FIG. 8a is one of the schematic diagrams of operating task icons in the first window provided by the embodiment of the present application.
- dragging a certain task icon from the first window to the target area of the synchronization task window means that the user does not need the synchronization task.
- the synchronization task corresponding to the task icon is deleted from the synchronization task list, and correspondingly, the task icon is deleted from the first window.
- the application can quickly implement the second synchronization task
- the second synchronization task in the device is synchronized to the first device, thereby improving the synchronization efficiency of the opposite end.
- FIG. 8b is the second schematic diagram of operating task icons in the first window provided by the embodiment of the present application.
- the synchronization task corresponding to the task icon is not updated, that is, the task icon does not carry the task update flag, delete the task icon at this time.
- the synchronization task corresponding to the task icon is to delete the synchronization task from the synchronization task list, and correspondingly, delete the task icon from the first window.
- the second device sends synchronization task data to the first device, it often means that the user of the second device needs to synchronize the application program of the first device, and at this time the first device needs to respond to the synchronization task of the second device.
- FIG. 9 is a schematic flowchart of a synchronization task for a first device to detect a second device according to an embodiment of the present application
- the process of the first device detecting the synchronization task of the second device includes:
- Step S901 the first device communicates with the second device
- the first device and the second device are connected through wireless local area network, bluetooth, etc., for example: the second device scans the first device through bluetooth, and sends a connection request to the first device, and the first device Confirm the establishment of the Bluetooth connection to complete the communication connection between the first device and the second device.
- Step S902 the first device detects whether the second device has a second synchronization task
- the first device detects whether the second synchronization task data sent by the second device is received, and if the second synchronization task data sent by the second device is received, it determines that the second device has a second synchronization task, and enters step S903: Whether the first device has the first synchronization task; if the first device has not received the second synchronization task data sent by the second device, it is determined that the second device does not have the second synchronization task, and then enters step S906: the first device sends the second synchronization task to the second device.
- the second device sends the first synchronization task data;
- Step S903 Whether the first device has a first synchronization task
- step S904 compare the synchronization of the second device and the first device The update time of the task is to determine the latest synchronization task; if the first synchronization task does not exist in the synchronization task list of the first device, enter step S907: synchronize the second synchronization task of the second device to the first device;
- Step S904 comparing the update time of the synchronization tasks of the second device and the first device, and determining the latest synchronization task;
- the comparison of the update time of the synchronization tasks of the second device and the first device includes: comparing the first synchronization task data and the second synchronization task data corresponding to the first synchronization task and the second synchronization task corresponding to the same application program respectively.
- the update time of the synchronization task data determines that the synchronization task corresponding to the synchronization task data with the latest update time is the latest synchronization task.
- Step S905 Synchronize the latest synchronization task to the first device
- the first device receives the synchronization task data corresponding to the latest synchronization task sent by the second device, that is, the first device receives the second synchronization task data sent by the second device. It can be understood that, if the latest synchronization task data is the first synchronization task data of the first device, there is no need to synchronize the latest synchronization task to the first device.
- Step S906 the first device sends synchronization task data to the second device
- the first device directly sends the synchronization task data to the second device.
- the synchronization icon is displayed in the application program icon of the second device.
- Step S907 Synchronizing the second synchronization task of the second device to the first device
- the synchronizing the second synchronization task of the second device to the first device includes: the first device receives the second synchronization task data corresponding to the second synchronization task sent by the second device, and sends the second synchronization task
- the task icon corresponding to the second synchronization task of the device is added to the first window, and the first device identifies the task icon corresponding to the latest synchronization task through the first preset symbol in the first window, and, through the second Two preset symbols identify the task icon corresponding to the second synchronization task of the second device, wherein the first preset symbol is the same as the second preset symbol, for example: the first preset symbol and the second preset symbol
- All the marks are preset patterns, such as blue dots, green dots, and red dots.
- the first preset mark and the second preset mark are set on the left, right, top or bottom of the task icon.
- the first preset mark and the second preset mark are red dots, and are set on the upper right of the task icon.
- the synchronization between the first device and the second device is facilitated, and the accuracy of the synchronization content is improved.
- Step S302 the first device sends first synchronization task data corresponding to the first synchronization task to the second device, wherein the first synchronization task data is used by the second device to synchronize the first synchronization task.
- the first device after the first device communicates with the second device, if the synchronization task list of the first device includes at least one first synchronization task, the first device sends at least one first synchronization task of the first synchronization task data to the second device, wherein each first synchronization task corresponds to one first synchronization task data, and the first synchronization task data is used by the second device to synchronize the application program corresponding to the first synchronization task.
- the transmission process of the first synchronization task data and the second synchronization task data between the first device and the second device is executed in the background, which does not affect the normal use of the first device and the second device.
- the first device and the second device are connected through wireless local area network, bluetooth, etc., for example: the second device scans the first device through bluetooth, and sends Connection request.
- both the first device and the second device are configured to be scanned, and when the first device receives the connection request sent by the second device, it obtains a consent instruction to complete the device connection.
- the first device can receive the synchronization task data of the application program sent by the second device, that is, data related to the running interface and background of the application program.
- the first device and the second device are connected through Bluetooth.
- the user can easily add and delete synchronization tasks through the synchronization task window, and after switching to a new device, the user can selectively execute other tasks in the window.
- the synchronization task on one device does not need to perform the process again, simplifies the synchronization operation, shortens the synchronization time, realizes seamless connection, and improves the user experience.
- FIG. 10 is a schematic diagram of a synchronization task opening window in a first device provided by an embodiment of the present application.
- the opening window of the synchronization task is popped up to respond to the consent operation or the cancellation operation. If the operation is consent, that is, the user clicks the agree button, the synchronization task window will be opened; if it is a cancellation operation, that is, the user clicks the cancel button, then Do not open the sync task window.
- a first synchronization task is generated in response to an operation on the application program icon, the first synchronization task corresponds to an application program, and the first synchronization task data corresponding to the first synchronization task is sent to the second device, wherein , the first synchronization task data is used for the second device to synchronize the first synchronization task, and the present application can simplify the synchronization operation, shorten the synchronization time, and improve the synchronization efficiency.
- the synchronization is performed in the form of a floating component, but in the embodiment of the present application, the synchronization is performed in the form of a synchronization icon.
- the second embodiment has the same logic, methods or steps as those in the first embodiment, for details, reference may be made to the related description in the first embodiment, which will not be repeated here.
- FIG. 4 is a schematic diagram of a synchronization task setting window of a first device provided in an embodiment of the present application.
- the synchronization icon will be added to the application icon to Indicates that the application has joined the synchronization task.
- generating the first synchronization task in response to the operation on the application icon includes:
- the first device In the synchronization task window, the first device generates a synchronization icon corresponding to each application icon in response to a gesture operation on the application icon of the application, wherein the synchronization icon is used to identify the first synchronization corresponding to the application
- the task has been added to the synchronization task list.
- the gesture operations include gesture operations such as click operations, long press operations, and slide operations.
- the gesture operations in this embodiment of the application are three click operations on the application icon within a preset time, that is, three quick clicks.
- the first device generates a first synchronization task in response to three clicks on the application icon within a preset time, and adds the first synchronization task to the synchronization task list, that is, the corresponding application icon
- the first synchronization task corresponding to the application program is added to the synchronization task list, and at the same time, a synchronization icon corresponding to each application program icon is generated, wherein the synchronization icon is used to identify that the first synchronization task corresponding to the application program has been added to the synchronization task list.
- the synchronization icon is a preset pattern, for example, a colored pattern, wherein the synchronization icon is set on the left, right, upper, lower, upper right, etc. of the application icon, Optionally, the synchronization icon is set at the upper right of the application program icon.
- FIG. 11 is a schematic diagram of a synchronization icon in a first device according to an embodiment of the present application.
- a synchronization icon is added to the upper right of the application icon to identify that the application corresponding to the application icon has joined the first synchronization task.
- the method further includes:
- the first device generates a second window in response to an operation on the application icon marked with the synchronization icon, wherein the area occupied by the second window is smaller than the area occupied by the synchronization task window;
- the synchronization task data of the synchronization task corresponding to the synchronization icon is analyzed, and the application program corresponding to the synchronization task is controlled to jump to the task breakpoint corresponding to the synchronization task data.
- the operation on the application icon marked with the synchronization icon includes gesture operation, such as: click operation, long press operation, slide operation and other gesture operations.
- gesture operation in the embodiment of the present application is a click operation , for example: after the user clicks the application icon marked with the synchronization icon, a second window is generated, wherein the area occupied by the second window is smaller than the area occupied by the synchronization task window;
- FIG. 12 is a schematic diagram of triggering application icons to generate a second window in a first device according to an embodiment of the present application
- a second window is generated, wherein the second window is a pop-up box, and prompt information is displayed in the pop-up box, for example: whether to synchronize the operation of the peer end to the local,
- the pop-up box also provides a cancellation control and an agreement control.
- the synchronization operation of the opposite end is performed locally, that is, the second synchronization task of the second device is synchronized;
- the cancellation control the non-synchronization end operation to the local, that is, do not synchronize the second synchronization task of the second device.
- the synchronization task data of the synchronization task corresponding to the synchronization icon is analyzed, and the application program corresponding to the synchronization task is controlled to jump to the task breakpoint corresponding to the synchronization task data.
- the application program corresponding to the synchronization task is controlled to jump to the task breakpoint corresponding to the synchronization task data.
- the method further includes:
- the first device In response to the cancel operation on the second window, the first device deletes the synchronization task corresponding to the synchronization icon.
- the synchronization task corresponding to the application in the second device will not be synchronized, and deleting the synchronization icon on the application icon in the synchronization task window of the first program is equivalent to deleting the application.
- the synchronization task corresponding to the synchronization icon will no longer be synchronized.
- the user clicks on the application program icon to delete the synchronization icon corresponding to the application program icon, which is equivalent to deleting the synchronization task corresponding to the application program.
- the method further includes:
- the first device generates a synchronization task window in response to an operation on the synchronization task setting window, wherein the synchronization task setting window includes a presentation time component and a presentation form component, and the presentation time component is used to determine the The display time of the suspension component, the display form component is used to determine the display form, wherein the display form includes a suspension component and a task icon.
- the synchronization task is generated by adding a synchronization icon to the application icon.
- the occupation of the synchronization task window by the floating component and the first window can be reduced, and it is also convenient Quickly synchronize synchronization tasks to the peer end to improve user experience.
- the task synchronization method in the embodiment of the present application is applied to the second device. Specifically, the task synchronization method is executed by one or more processors of the second device.
- FIG. 13 is a schematic flowchart of another task synchronization method provided by the embodiment of the present application.
- the task synchronization method includes:
- Step S1301 the second device receives the synchronization task data sent by the first device, and opens a synchronization task opening window, wherein each synchronization task data corresponds to a synchronization task, and each synchronization task corresponds to an application program;
- the first device serves as the sending end of the synchronization task data
- the second device serves as the receiving end of the synchronization task data
- the second device receives the synchronization task data sent by the first device, and opens a synchronization task opening window.
- FIG. 14 is a schematic diagram of the synchronization task opening window of the second device provided by the embodiment of the present application.
- a synchronization task opening window is generated, wherein the synchronization task opening window is a synchronization task pop-up box, and the synchronization task pop-up box includes an agree button and a cancel button, They are respectively used to provide the user with the choice of opening the synchronization task window or not opening the synchronization task window. If the user chooses to open the synchronization task window, the synchronization task data will be transmitted.
- the second device directly receives the synchronization task data sent by the first device, so that the second device can Respond quickly to sync tasks.
- Step S1302 The second device determines the synchronization task and synchronizes the application program corresponding to the synchronization task in response to the opening operation of the synchronization task opening window.
- the synchronization task window is entered, and the synchronization task is selected through the synchronization task window to synchronize the application program corresponding to the synchronization task.
- the synchronization task window may include a suspension component for performing operations related to synchronization.
- FIG. 15 is a schematic diagram of a synchronization task window in a second device according to an embodiment of the present application.
- the synchronization task window displays the suspension component, wherein, the suspension component is set with a synchronization task number mark, and the synchronization task number mark is used for A number of synchronization tasks in the synchronization task list of the second device is identified.
- FIG. 16 is a schematic flowchart of a second device determining a synchronization task according to an embodiment of the present application.
- the determination of the synchronization task includes:
- Step S1601 the second device generates a first window in response to the operation on the suspension component
- the operation on the suspension component includes: a gesture operation on the suspension component, for example: a click operation, a long press operation, a slide operation and other gesture operations, when the second device recognizes that the suspension component is After the operation, in response to the operation of the suspension component, a first window is generated, wherein the area occupied by the first window is smaller than the area occupied by the synchronization task window, and the area where the first window is located is located at The sync task window.
- the first window is located above, below, on the left or right of the synchronization task window, optionally, the first window is located on the right side of the synchronization task window, with side A sidebar is presented in the synchronization task window to facilitate interactive operations for users.
- FIG. 17 is a schematic diagram of triggering the suspension component in the second device to generate the first window provided by the embodiment of the present application;
- Step S1602 displaying in the first window a task icon corresponding to each synchronization task in the synchronization task list, wherein the task icon is the same as the application program icon;
- Step S1603 The second device determines the synchronization task corresponding to the task icon in response to the gesture operation on the task icon in the first window, wherein the gesture operation on the task icon is used to drag the task icon to the target area in the synchronization task window described above.
- the gesture operations include gesture operations such as click operations, long press operations, slide operations, and drag operations.
- gesture operations such as click operations, long press operations, slide operations, and drag operations.
- the user drags the task icon in the first window to make the second device respond to the first
- the drag operation of the task icon in the window determines the synchronization task corresponding to the task icon.
- task synchronization is performed according to the synchronization task data corresponding to the synchronization task.
- the method includes: the second device receives the synchronization task data sent by the first device, and opens a synchronization task opening window, wherein each synchronization task data corresponds to a Synchronization tasks, each synchronization task corresponds to an application program; the second device determines the synchronization task in response to the opening operation of the synchronization task opening window, and synchronizes the application program corresponding to the synchronization task.
- the present application can simplify the synchronization operation, shorten the synchronization time, and improve the synchronization efficiency.
- the above third embodiment performs synchronization in the form of a floating component, and in the embodiment of the present application, the synchronization is performed in the form of a synchronization icon. It should be noted that there are the same logic, method or steps in the fourth embodiment and the third embodiment, for details, please refer to the relevant description in the third embodiment, which will not be repeated here.
- FIG. 19 is a schematic diagram of a synchronization task window of a second device provided by an embodiment of the present application.
- a synchronization icon is added to the upper right of the application icon to identify that the application corresponding to the application icon has joined the synchronization task.
- the method further includes:
- the second device generates a second window in response to an operation on the application icon marked with the synchronization icon, wherein the area occupied by the second window is smaller than the area occupied by the synchronization task window;
- the synchronization task data of the synchronization task corresponding to the synchronization icon is analyzed, and the application program corresponding to the synchronization task is controlled to jump to the task breakpoint corresponding to the synchronization task data.
- the operation on the application icon marked with the synchronization icon includes gesture operation, such as: click operation, long press operation, slide operation and other gesture operations.
- gesture operation in the embodiment of the present application is a click operation , for example: after the user clicks the application icon marked with the synchronization icon, a second window is generated, wherein the area occupied by the second window is smaller than the area occupied by the synchronization task window;
- FIG. 20 is a schematic diagram of triggering application icons to generate a second window in a second device according to an embodiment of the present application
- a second window is generated, wherein the second window is a pop-up box, and prompt information is displayed in the pop-up box, for example: whether to synchronize the peer operation to the local.
- the pop-up box also provides a cancellation control and an agreement control.
- the synchronization operation of the opposite end is performed locally, that is, the first synchronization task of the first device is synchronized; when the user clicks the cancellation control, the non-synchronization
- the terminal operates locally, that is, the first synchronization task of the first device is not synchronized.
- the synchronization task data of the synchronization task corresponding to the synchronization icon is analyzed, and the application program corresponding to the synchronization task is controlled to jump to the task breakpoint corresponding to the synchronization task data.
- the application program corresponding to the synchronization task is controlled to jump to the task breakpoint corresponding to the synchronization task data.
- the synchronization task is generated by adding a synchronization icon to the application icon.
- the occupation of the synchronization task window by the floating component and the first window can be reduced, and it is also convenient Quickly synchronize synchronization tasks to the peer end to improve user experience.
- the task synchronization device may be a software module, and the software module includes several instructions, which are stored in a memory, and the processor can access the memory, call the instructions for execution, and complete the task synchronization method described in the above-mentioned embodiments.
- FIG. 21 is a schematic structural diagram of a task synchronization device provided by an embodiment of the present application.
- the task synchronization device 210 includes:
- a synchronization task generation module 2101 configured for the first device to generate a first synchronization task in response to an operation on the application program icon, where the first synchronization task corresponds to an application program;
- a synchronization task data sending module 2102 configured for the first device to send the first synchronization task data corresponding to the first synchronization task to the second device, wherein the first synchronization task data is used by the second device to synchronize the first Synchronize tasks.
- the synchronization task generating module 2101 is further configured for the first device to receive an operation on the application program icon in the synchronization task window, the synchronization task window includes a suspension component, and the suspension component is used to generate the first synchronization task; A device moves the application program icon to the floating component in response to a first input to the application program icon; the first device generates the first synchronization task and adds the first synchronization task to the synchronization task list.
- the synchronous task generation module 2101 is further used for the first device to generate a first window in response to the operation of the suspension component, wherein the area occupied by the first window is smaller than the area occupied by the synchronous task window;
- a device displays a task icon corresponding to each first synchronization task in the synchronization task list in the first window, where the task icon corresponds to the application program icon.
- the synchronization task generating module 2101 is further configured to add a task icon corresponding to the second synchronization task to the first window if the second device has a second synchronization task; the first device responds to the The second input of the task icon is to synchronize the second synchronization task corresponding to the task icon, wherein the second input of the task icon is used to move the task icon to the target area in the synchronization task window, and the second
- the synchronization task corresponds to an application program, and the second synchronization task is a synchronization task used in the second device to synchronize to the first device.
- the synchronization task generation module 2101 is also used for the first device to judge whether the second synchronization task corresponding to the task icon has been updated; if so, analyze the second synchronization task data of the second synchronization task corresponding to the task icon, and control the second synchronization task.
- the application program corresponding to the second synchronization task jumps to the task breakpoint corresponding to the second synchronization task data; if not, delete the task icon in the first window.
- the synchronization task generation module 2101 is further configured to detect whether the second device has a second synchronization task after the first device communicates with the second device; if the first device detects that the second device has a second synchronization task , and the first device does not have the first synchronization task, then synchronize the second synchronization task to the first device; if the first device detects that the second device has a second synchronization task, and the first device If there is a first synchronization task, compare the update time of the second synchronization task with the update time of the first synchronization task, determine the latest synchronization task, and synchronize the latest synchronization task to the first device; wherein, the first The synchronization task corresponds to the same application program as the second synchronization task.
- the task synchronization device can also be built by hardware devices.
- the task synchronization device can be built by one or more than two chips, and each chip can work in coordination with each other to complete the above-mentioned embodiments.
- the task synchronization device can also be built by various logic devices, such as a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components.
- the task synchronization device in this embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
- the device may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
- non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
- Network Attached Storage NAS
- personal computer personal computer, PC
- television television
- teller machine or self-service machine etc.
- the task synchronization device in this embodiment of the present application may be a device with an operating system.
- the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
- the task synchronization device provided by the embodiment of the present application can realize various processes realized by the method embodiments shown in FIG. 2 and FIG. 3 , and details are not repeated here to avoid repetition.
- the above-mentioned task synchronization device can execute the task synchronization method provided in Embodiment 1 or Embodiment 2 of the present application, and has corresponding functional modules and beneficial effects for executing the method.
- the task synchronization method provided in Embodiment 1 or Embodiment 2 of this application.
- the device includes: a synchronization task generation module, used for the first device to generate a first synchronization task in response to the operation on the application program icon, the first synchronization task corresponds to An application program; a synchronization task data sending module, used for the first device to send the first synchronization task data corresponding to the first synchronization task to the second device, wherein the first synchronization task data is used for the second device to synchronize the first synchronization task.
- a synchronization task generation module used for the first device to generate a first synchronization task in response to the operation on the application program icon, the first synchronization task corresponds to An application program
- a synchronization task data sending module used for the first device to send the first synchronization task data corresponding to the first synchronization task to the second device, wherein the first synchronization task data is used for the second device to synchronize the first synchronization task.
- the application can simplify the synchronization operation, shorten the synchronization time, and improve the synchronization efficiency.
- the task synchronization device may be a software module, and the software module includes several instructions, which are stored in a memory, and the processor can access the memory, call the instructions for execution, and complete the task synchronization method described in the above-mentioned embodiments.
- FIG. 22 is a schematic structural diagram of a task synchronization device provided by an embodiment of the present application.
- the task synchronization device 220 includes:
- the synchronization task receiving module 2201 is used for the second device to receive the first synchronization task data sent by the first device, and start the synchronization task opening window, wherein each of the first synchronization task data corresponds to a first synchronization task, and each first synchronization task data One synchronization task corresponds to one application program;
- the synchronization task synchronization module 2202 is configured for the second device to generate a synchronization task window in response to the operation of opening a window for the synchronization task, and determine a first synchronization task of the first device, so as to synchronize the first synchronization task.
- the task synchronization device provided in the embodiment of the present application can implement various processes implemented in the method embodiment in FIG. 13 , and details are not repeated here to avoid repetition.
- the above-mentioned task synchronization device can execute the task synchronization method provided in Embodiment 3 or Embodiment 4 of the present application, and has corresponding functional modules and beneficial effects for executing the method.
- the task synchronization method provided in Embodiment 3 or Embodiment 4 of the present application.
- the device includes: a synchronization task receiving module, used for the second device to receive the first synchronization task data sent by the first device, and start the synchronization task opening window, wherein, Each of the first synchronization task data corresponds to a first synchronization task, and each first synchronization task corresponds to an application program; the synchronization task synchronization module is used for the second device to generate a synchronization task in response to the operation of opening a window for the synchronization task window, and determine a first synchronization task of the first device, so as to synchronize the first synchronization task.
- the application can simplify the synchronization operation, shorten the synchronization time, and improve the synchronization efficiency .
- FIG. 23 is one of the structural schematic diagrams of a first device provided in the embodiment of the present application; as shown in FIG. 23, the embodiment of the present application also provides a first device 230, including processing A device 2301, a memory 2302, a program or instruction stored in the memory 2302 and operable on the processor 2301, when the program or instruction is executed by the processor 2301, each of the above-mentioned task synchronization method embodiment 1 or embodiment 2 is realized. process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
- the first device in this embodiment of the present application includes mobile electronic devices and non-mobile electronic devices.
- Figure 24 is the second structural schematic diagram of a first device provided by the embodiment of the present application.
- the first device 240 includes but not limited to: a radio frequency unit 241, a network module 242, an audio output unit 243, an input unit 244, a sensor 245, a display unit 246, a user input unit 247, an interface unit 248, a memory 249, a processor 2410, and a power supply 2411.
- the first device 240 also includes a camera.
- the first device 240 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 2410 through the power management system, so that the management of charging, discharging, and functions such as power management.
- the structure of the first device shown in FIG. 24 does not constitute a limitation to the first device.
- the first device may include more or fewer components than shown in the illustration, or combine some components, or arrange different components. This will not be repeated here.
- the terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
- the processor 2410 is configured to generate a first synchronization task in response to an operation on the application program icon, where the first synchronization task corresponds to an application program; and send the first synchronization task data corresponding to the first synchronization task to the second device, wherein , the first synchronization task data is used by the second device to synchronize the first synchronization task.
- the first device 240 in the embodiment of the present application generates the first synchronization task and sends the corresponding first synchronization task data in response to the operation on the application program icon.
- This application can simplify the synchronization operation, shorten the synchronization time, and improve the synchronization efficiency .
- the input unit 244 may include a graphics processor (Graphics Processing Unit, GPU) 2441 and a microphone 2442, and the graphics processor 2441 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
- the display unit 246 may include a display panel 2461, and the display panel 2461 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 247 includes a touch panel 2471 and other input devices 2472 .
- the touch panel 2471 is also called a touch screen.
- the touch panel 2471 may include two parts, a touch detection device and a touch controller.
- Other input devices 2472 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
- Memory 249 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
- Processor 2410 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 2410 .
- the embodiment of the present application further provides a second device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor to implement
- a second device including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor to implement
- the second device in this embodiment of the present application includes mobile electronic devices and non-mobile electronic devices.
- the processor is configured to receive the first synchronization task data sent by the first device, and start the synchronization task opening window, wherein each first synchronization task data corresponds to a first synchronization task, and each first synchronization task corresponds to an application Procedure; the second device responds to the operation of opening the window for the synchronization task, generates a synchronization task window, and determines the first synchronization task of the first device, so as to synchronize the first synchronization task.
- the second device in the embodiment of the present application determines the synchronization task by responding to the opening operation of the synchronization task opening window, and synchronizes the application program corresponding to the synchronization task.
- This application can simplify the synchronization operation, shorten the synchronization time, and improve the synchronization. efficiency.
- the embodiment of the present application also provides a readable storage medium.
- the readable storage medium stores programs or instructions.
- the program or instructions are executed by the processor, the various processes of the above-mentioned task synchronization method embodiments can be achieved, and the same In order to avoid repetition, the technical effects will not be repeated here.
- the processor is the processor in the first device or the second device described in the foregoing embodiments.
- the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
- the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above-mentioned task synchronization method embodiment
- the chip includes a processor and a communication interface
- the communication interface is coupled to the processor
- the processor is used to run programs or instructions to implement the above-mentioned task synchronization method embodiment
- chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
- the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
- the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
- the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
- a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (19)
- 一种任务同步方法,包括:第一设备响应于对应用程序图标的操作,生成第一同步任务,所述第一同步任务对应一个应用程序;第一设备发送所述第一同步任务对应的第一同步任务数据至第二设备,其中,所述第一同步任务数据用于第二设备同步所述第一同步任务。
- 根据权利要求1所述的方法,其中,在响应于对应用程序图标的操作之前,所述方法还包括:第一设备在同步任务窗口中,接收对所述应用程序图标的操作,所述同步任务窗口包括悬浮组件,所述悬浮组件用于生成第一同步任务;所述响应于对应用程序图标的操作,生成第一同步任务,包括:第一设备响应于对所述应用程序图标的第一输入,将所述应用程序图标移动到所述悬浮组件;第一设备生成所述第一同步任务,并将所述第一同步任务加入到同步任务列表中。
- 根据权利要求2所述的方法,其中,所述方法还包括:第一设备响应于对所述悬浮组件的操作,生成第一窗口,其中,所述第一窗口所占的区域小于所述同步任务窗口所占的区域;第一设备在所述第一窗口中显示所述同步任务列表中的每一第一同步任务对应的任务图标,其中,所述任务图标与所述应用程序图标对应。
- 根据权利要求3所述的方法,其中,所述方法还包括:若第二设备存在第二同步任务,将所述第二同步任务对应的任务图标加入所述第一窗口;第一设备响应于对所述第一窗口中的任务图标的第二输入,同步所述任务图标对应的第二同步任务,其中,所述任务图标的第二输入用于将任务图标移动到所述同步任务窗口中的目标区域,所述第二同步任务对应一个应用程序,所述第二同步任务为第二设备中用于同步到第一设备的同步任务。
- 根据权利要求4所述的方法,其中,在第一设备响应于对所述第一窗口中的任务图 标的第二输入之后,所述方法还包括:第一设备判断所述任务图标对应的第二同步任务是否有更新;若是,则解析该任务图标对应的第二同步任务的第二同步任务数据,控制该第二同步任务对应的应用程序跳转到所述第二同步任务数据对应的任务断点;若否,则在第一窗口中删除该任务图标。
- 根据权利要求3-5任一项所述的方法,其中,所述方法还包括:在第一设备通信连接第二设备之后,第一设备检测第二设备是否存在第二同步任务;若第一设备检测到所述第二设备存在第二同步任务,且所述第一设备不存在第一同步任务,则同步所述第二同步任务到第一设备;若第一设备检测到所述第二设备存在第二同步任务,且所述第一设备存在第一同步任务,则比对所述第二同步任务和所述第一同步任务的更新时间,确定最新的同步任务,同步所述最新的同步任务到第一设备;其中,所述第一同步任务与所述第二同步任务对应同一应用程序。
- 一种任务同步方法,包括:第二设备接收第一设备发送的第一同步任务数据,启动同步任务开启窗口,其中,每一所述第一同步任务数据对应一个第一同步任务,每一第一同步任务对应一个应用程序;第二设备响应于对同步任务开启窗口的操作,生成同步任务窗口,并确定第一设备的第一同步任务,以同步所述第一同步任务。
- 一种任务同步装置,包括:同步任务生成模块,用于第一设备响应于对应用程序图标的操作,生成第一同步任务,所述第一同步任务对应一个应用程序;同步任务数据发送模块,用于第一设备发送所述第一同步任务对应的第一同步任务数据至第二设备,其中,所述第一同步任务数据用于第二设备同步所述第一同步任务。
- 根据权利要求8所述的装置,其中,还包括:所述同步任务生成模块,还用于第一设备在响应于对应用程序图标的操作之前,在同步任务窗口中,接收对所述应用程序图标的操作,所述同步任务窗口包括悬浮组件,所述悬浮组件用于生成第一同步任务;所述同步任务生成模块具体用于:第一设备响应于对所述应用程序图标的第一输入,将所述应用程序图标移动到所述悬浮组件;第一设备生成所述第一同步任务,并将所述第一同步任务加入到同步任务列表中。
- 根据权利要求9所述的装置,其中,所述同步任务生成模块还用于:第一设备响应于对所述悬浮组件的操作,生成第一窗口,其中,所述第一窗口所占的区域小于所述同步任务窗口所占的区域;第一设备在所述第一窗口中显示所述同步任务列表中的每一第一同步任务对应的任务图标,其中,所述任务图标与所述应用程序图标对应。
- 根据权利要求10所述的装置,其中,所述同步任务生成模块还用于:若第二设备存在第二同步任务,将所述第二同步任务对应的任务图标加入所述第一窗口;第一设备响应于对所述第一窗口中的任务图标的第二输入,同步所述任务图标对应的第二同步任务,其中,所述任务图标的第二输入用于将任务图标移动到所述同步任务窗口中的目标区域,所述第二同步任务对应一个应用程序,所述第二同步任务为第二设备中用于同步到第一设备的同步任务。
- 根据权利要求11所述的装置,其中,所述同步任务生成模块还用于:在第一设备响应于对所述第一窗口中的任务图标的第二输入之后,第一设备判断所述任务图标对应的第二同步任务是否有更新;若是,则解析该任务图标对应的第二同步任务的第二同步任务数据,控制该第二同步任务对应的应用程序跳转到所述第二同步任务数据对应的任务断点;若否,则在第一窗口中删除该任务图标。
- 根据权利要求10-12任一项所述的装置,其中,所述同步任务生成模块还用于:在第一设备通信连接第二设备之后,第一设备检测第二设备是否存在第二同步任务;若第一设备检测到所述第二设备存在第二同步任务,且所述第一设备不存在第一同步任务,则同步所述第二同步任务到第一设备;若第一设备检测到所述第二设备存在第二同步任务,且所述第一设备存在第一同步任 务,则比对所述第二同步任务和所述第一同步任务的更新时间,确定最新的同步任务,同步所述最新的同步任务到第一设备;其中,所述第一同步任务与所述第二同步任务对应同一应用程序。
- 一种任务同步装置,包括:同步任务接收模块,用于第二设备接收第一设备发送的第一同步任务数据,启动同步任务开启窗口,其中,每一所述第一同步任务数据对应一个第一同步任务,每一第一同步任务对应一个应用程序;同步任务同步模块,用于第二设备响应于对同步任务开启窗口的操作,生成同步任务窗口,并确定第一设备的第一同步任务,以同步所述第一同步任务。
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述至少一个处理器执行时实现如权利要求1-6或权利要求7中任一项所述的任务同步方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7任一项所述的任务同步方法的步骤。
- 一种计算机程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-7任一项所述的任务同步方法的步骤。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7任一项所述的任务同步方法的步骤。
- 一种电子设备,用于执行如权利要求1-7任一项所述的任务同步方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110812329.8A CN113467661A (zh) | 2021-07-19 | 2021-07-19 | 任务同步方法、装置、设备及可读存储介质 |
| CN202110812329.8 | 2021-07-19 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023001027A1 true WO2023001027A1 (zh) | 2023-01-26 |
Family
ID=77881053
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/105219 Ceased WO2023001027A1 (zh) | 2021-07-19 | 2022-07-12 | 任务同步方法、装置、设备及可读存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113467661A (zh) |
| WO (1) | WO2023001027A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113467661A (zh) * | 2021-07-19 | 2021-10-01 | 维沃移动通信有限公司 | 任务同步方法、装置、设备及可读存储介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107295097A (zh) * | 2017-07-17 | 2017-10-24 | 深圳市金立通信设备有限公司 | 数据同步方法、服务器及设备 |
| WO2019062182A1 (zh) * | 2017-09-30 | 2019-04-04 | 平安科技(深圳)有限公司 | 数据同步装置、方法及计算机可读存储介质 |
| CN109597537A (zh) * | 2017-09-30 | 2019-04-09 | 腾讯科技(深圳)有限公司 | 文件同步方法、装置及设备 |
| CN109646940A (zh) * | 2018-12-19 | 2019-04-19 | 努比亚技术有限公司 | 同步应用程序的方法、终端及计算机可读存储介质 |
| CN111007995A (zh) * | 2019-11-20 | 2020-04-14 | 维沃移动通信有限公司 | 一种数据处理方法及电子设备 |
| CN113467661A (zh) * | 2021-07-19 | 2021-10-01 | 维沃移动通信有限公司 | 任务同步方法、装置、设备及可读存储介质 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111309693A (zh) * | 2020-02-07 | 2020-06-19 | 北京奇艺世纪科技有限公司 | 一种数据同步方法、装置、系统、电子设备及存储介质 |
| CN112184168B (zh) * | 2020-09-29 | 2024-06-28 | 维沃移动通信(深圳)有限公司 | 提醒任务生成方法、装置和电子设备 |
| CN112540709A (zh) * | 2020-12-21 | 2021-03-23 | 维沃移动通信有限公司 | 分屏显示方法和装置、电子设备及可读存储介质 |
| CN113110894B (zh) * | 2021-03-08 | 2024-08-23 | 联想(北京)有限公司 | 一种信息处理方法、电子设备及存储介质 |
-
2021
- 2021-07-19 CN CN202110812329.8A patent/CN113467661A/zh active Pending
-
2022
- 2022-07-12 WO PCT/CN2022/105219 patent/WO2023001027A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107295097A (zh) * | 2017-07-17 | 2017-10-24 | 深圳市金立通信设备有限公司 | 数据同步方法、服务器及设备 |
| WO2019062182A1 (zh) * | 2017-09-30 | 2019-04-04 | 平安科技(深圳)有限公司 | 数据同步装置、方法及计算机可读存储介质 |
| CN109597537A (zh) * | 2017-09-30 | 2019-04-09 | 腾讯科技(深圳)有限公司 | 文件同步方法、装置及设备 |
| CN109646940A (zh) * | 2018-12-19 | 2019-04-19 | 努比亚技术有限公司 | 同步应用程序的方法、终端及计算机可读存储介质 |
| CN111007995A (zh) * | 2019-11-20 | 2020-04-14 | 维沃移动通信有限公司 | 一种数据处理方法及电子设备 |
| CN113467661A (zh) * | 2021-07-19 | 2021-10-01 | 维沃移动通信有限公司 | 任务同步方法、装置、设备及可读存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113467661A (zh) | 2021-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111061574B (zh) | 一种对象分享方法及电子设备 | |
| EP4148547B1 (en) | Sharing method and apparatus, and electronic device | |
| CN115357178B (zh) | 一种应用于投屏场景的控制方法以及相关设备 | |
| KR20220101676A (ko) | 애플리케이션 공유 방법, 전자 장치 및 컴퓨터 판독 가능 저장매체 | |
| EP4123437A1 (en) | Screen projection display method and system, terminal device, and storage medium | |
| WO2020063091A1 (zh) | 一种图片处理方法及终端设备 | |
| CN109491738B (zh) | 一种终端设备的控制方法及终端设备 | |
| WO2016124095A1 (zh) | 生成视频的方法、装置及终端 | |
| CN109407930A (zh) | 一种应用程序处理方法及终端设备 | |
| WO2023005920A1 (zh) | 分屏方法、装置及电子设备 | |
| CN110221759A (zh) | 一种元素拖拽方法、装置、存储介质及交互智能平板 | |
| WO2021012931A1 (zh) | 图标管理方法及终端 | |
| WO2021147785A1 (zh) | 思维导图显示方法及电子设备 | |
| CN109976640A (zh) | 一种内容复制方法及终端 | |
| WO2021004426A1 (zh) | 内容选择方法及终端 | |
| KR20220154825A (ko) | 노트 생성 방법 및 전자기기 | |
| WO2019076307A1 (zh) | 存储装置、应用程序控件以及用户界面的创建方法 | |
| WO2020181956A1 (zh) | 应用标识的显示方法及终端设备 | |
| WO2025039817A1 (zh) | 页面交互方法、装置、电子设备和计算机可读存储介质 | |
| CN110908638A (zh) | 一种操作流创建方法及电子设备 | |
| CN114390724A (zh) | 连接方法、装置和电子设备 | |
| CN113296647A (zh) | 界面显示方法及装置 | |
| CN111049977B (zh) | 一种闹钟提醒方法及电子设备 | |
| WO2023001027A1 (zh) | 任务同步方法、装置、设备及可读存储介质 | |
| CN111273827A (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: 22845192 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22845192 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.07.2024) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22845192 Country of ref document: EP Kind code of ref document: A1 |