IP Library Granted Patent US 12,632,284
Granted Patent B2
US 12,632,284 · App. 18/017,329 · Granted May 19, 2026

Task management between electronic devices with different operating systems

Inventors: Kang Chen (Hangzhou, CN); Xiangyu Niu (Shenzhen, CN); Huifeng Hu (Hangzhou, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F9/466G06F9/4881G06F9/4893G06F9/542G06F11/3051G06F11/3433H04W52/0225G06F11/302G06F2201/865H04W52/0264Y02D30/70
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,632,284
App. No.
18/017,329
Granted
May 19, 2026
Kind
B2
Abstract

The method includes: the second electronic device may send, in response to a first user operation, a first background task request to a first distributed system of the first electronic device by using a second distributed system. The first electronic device detects, by using the first distributed system, whether a task execution condition of a first background task is met. When the task execution condition is met, the first electronic device sends a first notification to the second distributed system of the second electronic device by using the first distributed system. In response to the received first notification, the second electronic device notifies, by using the second distributed system, a first application to execute the first background task.

Claims (70)

1 . A task processing method comprising:

receiving, by a second electronic device, a first user operation by using a first application, the second electronic device establishing a communication connection to a first electronic device, the first application being installed in the second electronic device, a first operating system being installed in the first electronic device, and a second operating system being installed in the second electronic device;

in response to the first user operation, sending, by the second electronic device, a first background task request to the first operating system of the first electronic device by using the second operating system, wherein the first background task request carries a task execution condition of a first background task, and the first background task request is used by the first electronic device to detect, by using the first operating system, whether the task execution condition of the first background task is met;

receiving, by the second electronic device, a first notification by using the second operating system, wherein the first notification comprises information notifying the first application to execute the first background task; and

in response to the received first notification, notifying, by the second electronic device by using the second operating system, the first application to execute the first background task, wherein the first application executes the first background task,

wherein the first electronic device monitors at least one status parameter of the second electronic device to determine whether the task execution condition is met,

wherein the first application is a contact application installed in the second electronic device, and the first background task is a background task of synchronizing one or more contacts of the first application,

wherein the execution condition of the first background task comprises remaining power of the second electronic device being greater than 30%, and the second electronic device accesses a communication network through Wireless Fidelity (Wi-Fi).

2 . The method according to claim 1 , wherein

after the notifying, by the second electronic device by using the second operating system, the first application to execute the first background task, the method further comprises:

displaying, by the second electronic device, a first prompt on the first application, wherein the first prompt indicates that the first application has performed contact synchronization.

3 . The method according to claim 1 , wherein the method further comprises:

synchronizing, by the second electronic device, data from distributed data management of the second electronic device to the first electronic device by using the second operating system, wherein

the data in the distributed data management is a reference factor used by the first electronic device to determine whether the task execution condition of the first background task is met.

4 . The method according to claim 3 , wherein the data in the distributed data management comprises at least one of the following: a frequency of using the first application on the second electronic device, or a historical statistics duration of executing the first background task; and

the data in the distributed data management is also a reference factor used by the first electronic device to determine a priority of the first background task, wherein the priority is used by the first electronic device to determine a sequence of executing a plurality of background tasks by the second electronic device.

5 . A task processing method comprising:

receiving, by a first electronic device, a first background task request from a second operating system of a second electronic device by using a first operating system, the first electronic device establishing a communication connection to the second electronic device, the first operating system being installed in the first electronic device, the second operating system being installed in the second electronic device, a first application being installed in the second electronic device, wherein the first background task request carries a task execution condition of a first background task, and the first background task is a background task of the first application;

detecting, by the first electronic device by using the first operating system, whether the task execution condition of the first background task is met, wherein detecting comprises monitoring at least one status parameter of the second electronic device to determine whether the task execution condition is met; and

when it is detected that the task execution condition of the first background task is met, sending, by the first electronic device, a first notification to the second operating system of the second electronic device by using the first operating system, wherein the first notification comprises information notifying the first application to execute the first background task, wherein the first application executes the first background task, wherein when it is detected that the task execution condition of the first background task is met, the method further comprises:

obtaining, by the first electronic device, processor usage and memory usage of the second electronic device by using the first operating system; and

the sending, by the first electronic device, a first notification to the second operating system of the second electronic device by using the first operating system comprises:

when the processor usage is less than a first specified threshold and the memory usage is less than a second specified threshold, sending, by the first electronic device, the first notification to the second operating system of the second electronic device by using the first operating system.

6 . The method according to claim 5 , wherein a second application is installed in the first electronic device, and the method further comprises:

receiving, by the first electronic device, a second user operation by using the second application;

in response to the second user operation, detecting, by the first electronic device by using the first operating system, whether a task execution condition of a second background task is met, wherein the second background task is a background task of the second application; and

when it is detected that the task execution condition of the second background task is met, notifying, by the first electronic device by using the first operating system, the second application to execute the second background task.

7 . The method according to claim 6 , wherein the second application is a contact application installed in the first electronic device, and the second background task is a background task of synchronizing one or more contacts of the second application; and

after the notifying, by the first electronic device by using the first operating system, the second application to execute the second background task, the method further comprises:

displaying, by the first electronic device, a second prompt on the second application, wherein the second prompt is used to indicate that the second application has performed contact synchronization.

8 . The method according to claim 5 , wherein the first operating system comprises distributed data management; and the detecting, by the first electronic device by using the first operating system, whether the task execution condition of the first background task is met comprises:

obtaining, by the first electronic device, a status parameter of the second electronic device from the distributed data management; and

determining, by the first electronic device based on the status parameter of the second electronic device, whether the task execution condition of a second background task is met, wherein the second background task is a background task of a second application installed in the first electronic device.

9 . The method according to claim 5 , wherein the first electronic device stores priorities of a plurality of background tasks of the second electronic device, and the plurality of background tasks comprise the first background task; and

when it is detected that the task execution condition of the first background task is met, the method further comprises:

obtaining, by the first electronic device, a priority of the first background task by using the first operating system; and

the sending, by the first electronic device, a first notification to the second operating system of the second electronic device by using the first operating system comprises:

sending, by the first electronic device, the first notification to the second operating system of the second electronic device based on the priority of the first background task by using the first operating system.

10 . The method according to claim 9 , wherein the first operating system further comprises distributed data management; and the method further comprises:

receiving, by the first electronic device, data from the second operating system of the second electronic device by using the first operating system, and storing the data in the distributed data management, wherein

the data in the distributed data management comprises at least one of the following: a frequency of using the first application on the second electronic device, or a historical statistics duration of executing the first background task; and

the priority of the first background task is determined by using the data in the distributed data management.

11 . A first electronic device, wherein the first electronic device comprises one or more processors and a memory, a second application is installed in the first electronic device, and a first operating system is installed in the first electronic device;

the memory is configured to store programs, the programs comprise instructions, and the memory is further configured to store the first operating system; and

when the instructions are executed by the first electronic device, the first electronic device is enabled to perform the operations:

receiving a first background task request from a second operating system of a second electronic device by using the first operating system, wherein the first background task request carries a task execution condition of a first background task, and the first background task is a background task of a first application installed in the second electronic device;

detecting by using the first operating system, whether the task execution condition of the first background task is met, wherein the detecting comprises monitoring at least one status parameter of the second electronic device to determine whether the task execution condition is met;

when it is detected that the task execution condition of the first background task is met, sending a first notification to the second operating system of the second electronic device by using the first operating system, wherein the first notification comprises information notifying the first application to execute the first background task, wherein the first application executes the first background task;

obtaining processor usage and memory usage of the second electronic device by using the first operating system; and

the sending a first notification to the second operating system of the second electronic device by using the first operating system comprises:

when the processor usage is less than a first specified threshold and the memory usage is less than a second specified threshold, sending the first notification to the second operating system of the second electronic device by using the first operating system.

12 . The first electronic device according to claim 11 , wherein the second application is installed in the first electronic device; and the operations further comprise:

receiving a second user operation by using the second application;

in response to the second user operation, detecting by using the first operating system, whether a task execution condition of a second background task is met, wherein the second background task is a background task of the second application; and

when it is detected that the task execution condition of the second background task is met, notifying by using the first operating system, the second application to execute the second background task.

13 . The first electronic device according to claim 12 , wherein the second application is a contact application installed in the first electronic device, and the second background task is a background task of synchronizing one or more contacts of the second application; and

after the notifying by using the first operating system, the second application to execute the second background task, the operations further comprise:

displaying a second prompt on the second application, wherein the second prompt is used to indicate that the second application has performed contact synchronization.

14 . The first electronic device according to claim 11 , wherein the first operating system comprises distributed data management; and the detecting, by the first electronic device by using the first operating system, whether the task execution condition of the first background task is met comprises:

obtaining a status parameter of the second electronic device from the distributed data management; and

determining based on the status parameter of the second electronic device, whether the task execution condition of a second background task is met, wherein the second background task is a background task of the second application.

15 . The first electronic device according to claim 11 , wherein the first electronic device stores priorities of a plurality of background tasks of the second electronic device, and the plurality of background tasks comprise the first background task; and

when it is detected that the task execution condition of the first background task is met, the operations further comprise:

obtaining a priority of the first background task by using the first operating system; and

the sending a first notification to the second operating system of the second electronic device by using the first operating system comprises:

sending the first notification to the second operating system of the second electronic device based on the priority of the first background task by using the first operating system.

16 . The first electronic device according to claim 15 , wherein the first operating system further comprises distributed data management; and the operations further comprise:

receiving data from the second operating system of the second electronic device by using the first operating system, and storing the data in the distributed data management, wherein

the data in the distributed data management comprises at least one of the following: a frequency of using the first application on the second electronic device, or a historical statistics duration of executing the first background task; and

the priority of the first background task is determined by using the data in the distributed data management.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 7, 2025
From: CHEN, KANG; NIU, XIANGYU; HU, HUIFENG
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 072831/0908 →
Priority Claims (1)
CN 202010724778.2 · Jul 24, 2020 · national
Continuity (1)
Related Publication 20230297414A1 · Sep 21, 2023
References Cited (20)
US 7933635B2 · Oh · 2011 [cited by examiner]
US 8977672B2 · Karandikar · 2015 [cited by examiner]
US 10257785B2 · Kim · 2019 [cited by examiner]
US 11138032B2 · Choi · 2021 [cited by examiner]
US 20150071068A1 · Gupta · 2015 [cited by examiner]
US 20150105020A1 · Aida · 2015 [cited by examiner]
US 20150347204A1 · Stanley-Marbell et al. · 2015 [cited by applicant]
US 20160353407A1 · Hsu · 2016 [cited by examiner]
US 20170048661A1 · Park · 2017 [cited by examiner]
US 20170118789A1 · Lee · 2017 [cited by examiner]
US 20180352580A1 · Wang · 2018 [cited by examiner]
US 20190033928A1 · Seo · 2019 [cited by examiner]
US 20190124195A1 · Kim · 2019 [cited by examiner]
US 20200052922A1 · Lee · 2020 [cited by examiner]
US 20200323032A1 · Kim · 2020 [cited by examiner]
US 20210311783A1 · Lee · 2021 [cited by examiner]
CN 104035683A · 2014 [cited by applicant]
CN 104503834A · 2015 [cited by applicant]
CN 104770045B · 2019 [cited by applicant]
WO 2017101332A1 · 2017 [cited by applicant]