Wake-up alignment method, system and related device

By unifying the wake-up time of electronic devices in the communication system, the problem of high power consumption caused by frequent wake-up of electronic devices in distributed networks is solved, achieving lower energy consumption and longer battery life.

CN114245443BActive Publication Date: 2024-09-17HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111335345.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-11
Publication Date
2024-09-17
Estimated Expiration
2041-11-11

AI Technical Summary

Technical Problem

In a distributed network, frequent wake-ups among electronic devices lead to shortened system standby time and frequent high-speed operation of the CPU, which increases the power consumption of electronic devices. How to control the wake-up of electronic devices to reduce system energy consumption has become an urgent problem to be solved.

Method used

The central node device obtains the wake-up period of the child node device, calculates the optimal wake-up period, and sends it and the reference time to the child node device, so that each device adjusts the wake-up time according to the proximity principle to ensure that it wakes up at a unified time, reducing The adjustment range of the wake-up time is to avoid affecting the original business of the device.

Benefits of technology

On the premise of ensuring the normal execution of real-time services, it is possible to reduce the number of wake-ups and working hours of electronic devices, reduce the power consumption of electronic devices, optimize the power consumption of the communication system, and extend the battery life of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114245443B
    Figure CN114245443B
Patent Text Reader

Abstract

The present application discloses a wake-up alignment method, system and related devices, and the method involves a central node device and a sub-node device. In the method, the central node device can obtain the wake-up cycle of the sub-node device, and calculate the optimal wake-up cycle according to the wake-up cycle. After that, the central node device sends the optimal wake-up cycle and the reference time to the sub-node device, and the sub-node device and the central node device determine the optimal wake-up time according to the optimal wake-up cycle and the reference time, and adjust the wake-up time, so that each electronic device in the communication system can wake up at a unified wake-up time, avoiding the frequent wake-up of the electronic device due to the inconsistent working rhythm, and shortening the battery life of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal and communication technology, and in particular to a wake-up alignment method, system and related devices. Background Art

[0002] With the development of mobile Internet, the business of applications is becoming more and more complex. Especially in the context of the Internet of Things, there are communications between multiple electronic devices. The complexity of application business has brought huge challenges to the power consumption of electronic devices.

[0003] In a distributed network, electronic devices frequently wake up due to business synchronization and data transmission and reception. Frequent wake-up of electronic devices will increase power consumption, resulting in a reduction in system standby time. This also means that the system will be frequently activated and the CPU will frequently operate at high speed, which will increase the power consumption of electronic devices. Therefore, how to control the wake-up of electronic devices to reduce system energy consumption is an urgent problem to be solved. Summary of the invention

[0004] The present application provides a wake-up alignment method, system and related devices, which can unify the working rhythm of each electronic device in a communication system, enable each electronic device to wake up at a unified wake-up time, and shorten the battery life of the electronic device.

[0005] In a first aspect, an embodiment of the present application provides a wake-up alignment method, which is applied to a first child node device, and the method includes: the first child node device sends a first cycle to a central node device, and the first cycle is the wake-up cycle of the first child node device; the first child node device receives a second cycle and a reference time, and the second cycle is determined by the central node device according to the first cycle; the first child node device adjusts the first original wake-up time of the first child node device to the first wake-up time according to the second cycle and the reference time, and the difference between the first original wake-up time and the first wake-up time is not greater than a threshold, and the first wake-up time is the sum of the reference time and, N times the second cycle, where N is an integer greater than or equal to 0.

[0006] By implementing the method of the first aspect, the sub-node device can adjust its wake-up time according to the optimal wake-up cycle sent by the central node device, that is, the second cycle, so that the sub-node device can wake up at a uniform wake-up time. In addition, the difference between the adjusted wake-up time and the original wake-up time is small, which can reduce the adjustment range of the wake-up time of the sub-node device as much as possible and reduce the impact of the adjustment of the wake-up time on the operation of the sub-node device.

[0007] In combination with the first aspect, the threshold is half of the second period.

[0008] Here, the threshold value of half of the second cycle means that the first wake-up time is the wake-up time calculated according to the principle of proximity, because the first wake-up time = reference time + second cycle * N, when the N value is different, the first wake-up time is different, and when the difference between the first wake-up time and the first original wake-up time is not greater than half of the second cycle, it means that the first wake-up time is closest to the first original wake-up time. In this way, the amplitude of the wake-up time adjustment can be minimized as much as possible to avoid affecting the original service of the device.

[0009] In combination with the first aspect, the first sub-node device adjusts the wake-up time of the first sub-node device to the first wake-up time, specifically including: the first sub-node device communicates with the second sub-node device and / or the central node device at the first wake-up time.

[0010] That is, the awakening of the sub-node device specifically refers to the sub-node device communicating with other devices when the awakening time arrives. The other devices here may refer to the central node device or other sub-node devices.

[0011] In combination with the first aspect, before the first child node device communicates with the second child node device at the first wake-up time, the method further includes: the first child node device powers on the CPU at the first wake-up time.

[0012] Before the child node device wakes up, the child node device may be in a dormant state. When the child node device needs to communicate with other devices, the child node device needs to power on the CPU to switch itself from the dormant state to the working state.

[0013] In combination with the first aspect, the awakening of the first sub-node device is heartbeat awakening or non-real-time service awakening.

[0014] Here, the wake-up may include heartbeat wake-up, non-real-time service wake-up and real-time service wake-up. However, the wake-up alignment method provided in the embodiment of the present application only changes the wake-up time of heartbeat wake-up and non-real-time service wake-up. This is because the real-time service wake-up is triggered by an immediate service. In order to ensure the timely and normal execution of the immediate service, the wake-up time of the immediate service is not changed.

[0015] In combination with the first aspect, the second period is a maximum value, a minimum value, an average value or a common multiple of the first period and the wake-up period of the central node device.

[0016] In combination with the first aspect, after the first sub-node device adjusts the wake-up time of the first sub-node device to the first wake-up time based on the second cycle and the reference time, the method also includes: the first sub-node device receives a fourth cycle, the fourth cycle is determined by the central node device based on the first cycle and the third cycle of the third sub-node device, and the third cycle is the wake-up cycle of the third sub-node device; the first sub-node device readjusts the wake-up time of the first sub-node device based on the fourth cycle.

[0017] That is, when a new child node device is added to the communication system, the optimal wake-up period previously determined in the communication system can be changed again to ensure that the changed optimal wake-up period can unify the wake-up periods of various electronic devices in the communication system after the new child node device is added. Afterwards, the child node device can readjust the wake-up time of the wake-up that has not been triggered according to the changed optimal wake-up period.

[0018] In the second aspect, an embodiment of the present application provides a wake-up alignment method, which is applied to a central node device, and the method includes: the central node device receives a first cycle of a first child node device, and the first cycle is a wake-up cycle of the first child node device; the central power-saving device determines a second cycle based on the first cycle; the central node device sends the second cycle and a reference time to the first child node device.

[0019] By implementing the method provided in the second aspect, in order to unify the wake-up time of each device in a communication system including multiple devices, a central node device can receive the wake-up cycle of one or more sub-nodes in the communication system, and then determine a unified optimal wake-up cycle based on these wake-up cycles, i.e., the second cycle, to help each device in the communication system wake up according to the unified optimal wake-up cycle, thereby reducing the wake-up times or working time of each device and reducing the power consumption of the electronic equipment.

[0020] In combination with the second aspect, the awakening of the first sub-node device is heartbeat awakening or non-real-time service awakening.

[0021] Here, the wake-up may include heartbeat wake-up, non-real-time service wake-up and real-time service wake-up. However, the wake-up alignment method provided in the embodiment of the present application only changes the wake-up time of heartbeat wake-up and non-real-time service wake-up. This is because the real-time service wake-up is triggered by an immediate service. In order to ensure the timely and normal execution of the immediate service, the wake-up time of the immediate service is not changed to ensure the normal operation of the electronic device.

[0022] In combination with the second aspect, the second period is a maximum value, a minimum value, an average value or a common multiple of the first period and the wake-up period of the central node device.

[0023] In combination with the second aspect, the method also includes: the central node device receives the third cycle of the third sub-node device, the third cycle is the wake-up cycle of the third sub-node device; the central node device determines the fourth cycle based on the third cycle and the first cycle; the central node device sends the fourth cycle to the first sub-node device and the third sub-node device.

[0024] That is to say, when a new sub-node device is added to the communication system, the central node device can obtain the wake-up cycle of the new sub-node device and re-change the optimal wake-up cycle to ensure that the changed optimal wake-up cycle can unify the wake-up cycle of each electronic device in the communication system after the new sub-node device is added.

[0025] In combination with the second aspect, before the central node device sends the second cycle and the reference time of the central node device to the first child node device, the method also includes: the central node device selects the wake-up time closest to the current time as the reference time among the wake-up times of the central node device.

[0026] That is to say, the central node device can select the wake-up time closest to its own wake-up time as the reference time and send it to each child node device, so that each child node device can use the reference time as the reference for the adjusted wake-up time to adjust the wake-up time, so that the unified wake-up time is as close as possible to the original wake-up time of the central node device.

[0027] In some embodiments, the reference time may also refer to the power-on time of the central node device, randomly generated time, preset time, etc.

[0028] In combination with the second aspect, the central node device may adjust the original wake-up time of the central node device according to the second cycle and the reference time.

[0029] That is to say, the central node device can also adjust its original wake-up time according to the unified optimal wake-up cycle, so that the central node device can also wake up at the unified wake-up time with the sub-node devices.

[0030] In a third aspect, an embodiment of the present application provides a wake-up alignment method, which is applied to a communication system including a first sub-node device and a central node device, and the method includes: the first sub-node device sends a first cycle to the central node device, and the first cycle is the wake-up cycle of the first sub-node device; the central node device receives the first cycle of the first sub-node device; the central node device determines the second cycle based on the first cycle; the central node device sends the second cycle and the reference time of the central node device to the first sub-node device; the first sub-node device adjusts the first original wake-up time of the first sub-node device to the first wake-up time based on the second cycle and the reference time, and the difference between the first original wake-up time and the first wake-up time is not greater than a threshold value, and the first wake-up time is the sum of the reference time and, N times the second cycle, where N is an integer greater than or equal to 0.

[0031] By implementing the method of the third aspect, each device in the communication system can adjust its own wake-up time according to a unified optimal wake-up cycle to ensure that each device wakes up at a unified wake-up time. Moreover, while each device adjusts its own wake-up time according to the optimal wake-up cycle, it tries to ensure that the difference between the adjusted wake-up time and the original wake-up time is small, minimizes the amplitude of the wake-up time adjustment of each device, and reduces the impact of the wake-up time adjustment on the operation of each device.

[0032] It should be noted that the communication system may include a central node device and one or more sub-node devices. The first sub-node device is a sub-node device in the communication system. The central node device and the sub-node device can adjust the wake-up time according to the optimal wake-up cycle and the reference time, and the wake-up intervals of the adjusted periodic wake-ups of each device are not necessarily equal. For example, the wake-up interval of one device is 2T, and the wake-up interval of another device is 3T, where T represents the optimal wake-up cycle.

[0033] In combination with the third aspect, the threshold is half of the second period.

[0034] Here, the threshold value of half of the second cycle means that the first wake-up time is the wake-up time calculated according to the principle of proximity, because the first wake-up time = reference time + second cycle * N, when the N value is different, the first wake-up time is different, and when the difference between the first wake-up time and the first original wake-up time is not greater than half of the second cycle, it means that the first wake-up time is closest to the first original wake-up time. In this way, the amplitude of the wake-up time adjustment can be minimized as much as possible to avoid affecting the original service of the device.

[0035] In combination with the third aspect, the first sub-node device adjusts the first original wake-up time of the first sub-node device to the first wake-up time, specifically including: the first sub-node device communicates with the second sub-node device and / or the central node device at the first wake-up time.

[0036] That is, the awakening of the sub-node device specifically refers to the sub-node device communicating with other devices when the awakening time arrives. The other devices here may refer to the central node device or other sub-node devices.

[0037] In combination with the third aspect, before the first sub-device communicates with the second sub-device at the first wake-up time, the method further includes: the first sub-device powers on the CPU at the first wake-up time.

[0038] Before the child node device wakes up, the child node device may be in a dormant state. When the child node device needs to communicate with other devices, the child node device needs to power on the CPU to switch itself from the dormant state to the working state.

[0039] In combination with the third aspect, the awakening of the first sub-node device is heartbeat awakening or non-real-time service awakening.

[0040] Here, the wake-up may include heartbeat wake-up, non-real-time service wake-up and real-time service wake-up. However, the wake-up alignment method provided in the embodiment of the present application only changes the wake-up time of heartbeat wake-up and non-real-time service wake-up. This is because the real-time service wake-up is triggered by an immediate service. In order to ensure the timely and normal execution of the immediate service, the wake-up time of the immediate service is not changed.

[0041] In combination with the third aspect, the second period is a maximum value, a minimum value, an average value or a common multiple of the first period and the wake-up period of the central node device.

[0042] In combination with the third aspect, the communication system also includes a third sub-node device; after the first sub-node device adjusts the wake-up time of the first sub-node device to the first wake-up time based on the second cycle and the reference time, the method also includes: the central node device receives the third cycle of the third sub-node device, and the third cycle is the wake-up cycle of the third sub-node device; the central node device determines the fourth cycle based on the third cycle and the first cycle; the central node device sends the fourth cycle to the first sub-node device and the third sub-node device; the first sub-node device readjusts the wake-up time of the first sub-node device according to the fourth cycle, and the third sub-node device readjusts the wake-up time of the third sub-node device according to the fourth cycle.

[0043] That is, when a new sub-node device is added to the communication system, the optimal wake-up cycle previously determined in the communication system can be changed again to ensure that the changed optimal wake-up cycle can unify the wake-up cycles of various electronic devices in the communication system after the new sub-node device is added. Each sub-node device can readjust the wake-up time of the wake-up that has not been triggered according to the changed optimal wake-up cycle to ensure that the wake-up rhythm of each device is calculated based on the original wake-up rhythm of all devices.

[0044] Before the central node device sends the second cycle and the reference time of the central node device to the first sub-node device, the method further includes: the central node device selects the wake-up time closest to the current time from the wake-up time of the central node device as the reference time.

[0045] That is to say, the central node device can select the wake-up time closest to its own wake-up time as the reference time and send it to each child node device, so that each child node device can use the reference time as the reference for the adjusted wake-up time to adjust the wake-up time, so that the unified wake-up time is as close as possible to the original wake-up time of the central node device.

[0046] In some embodiments, the reference time may also refer to the power-on time of the central node device, randomly generated time, preset time, etc.

[0047] In combination with the second aspect, the central node device may adjust the original wake-up time of the central node device according to the second cycle and the reference time.

[0048] That is to say, the central node device can also adjust its original wake-up time according to the unified optimal wake-up cycle, so that the central node device can also wake up at the unified wake-up time with the sub-node devices.

[0049] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a memory, one or more processors, and one or more programs; when the one or more processors execute the one or more programs, the electronic device implements the first aspect or any one of the embodiments of the first aspect, the second aspect or any one of the embodiments of the second aspect.

[0050] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on an electronic device, cause the electronic device to execute a method in the first aspect or any one of the implementations of the first aspect, or in the second aspect or any one of the implementations of the second aspect.

[0051] In a sixth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method in the first aspect or any one of the embodiments of the first aspect, the second aspect or any one of the embodiments of the second aspect.

[0052] Implementing the technical solution provided in the embodiments of the present application can unify the working rhythm of each electronic device in the communication system, change the trigger time for waking up each device, reduce frequent wake-ups between devices, optimize the power consumption overhead of each device in the communication system, and ensure the battery life of each device in the communication system. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A schematic diagram of the structure of a communication system 10 according to an embodiment of the present application;

[0054] Figure 2 A schematic diagram of the structure of the wake-up alignment system provided in an embodiment of the present application;

[0055] Figure 3 A wake-up timing diagram of each electronic device in the wake-up alignment system provided in an embodiment of the present application;

[0056] Figure 4 A schematic diagram of the software structure of the wake-up alignment system provided in an embodiment of the present application;

[0057] Figure 5 A wake-up timing diagram of a sub-node device and a central node device provided in an embodiment of the present application;

[0058] Figure 6 A flowchart of a wake-up alignment method provided in an embodiment of the present application;

[0059] Figure 7 A schematic diagram of power consumption waveforms of devices before and after multiple device wake-up alignment provided in an embodiment of the present application;

[0060] Figure 8 A schematic diagram of the hardware structure of the electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0062] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0063] Figure 1 A schematic diagram of the structure of a communication system 10 involved in an embodiment of the present application is shown.

[0064] like Figure 1As shown, the communication system 10 may be a communication system composed of a distributed network, and the communication system 10 includes multiple electronic devices, which may be mobile phones, watches, large screens, headphones, speakers, air purifiers, bracelets, toothbrushes, body fat scales, etc. In this communication system, communication connections may be established between the multiple electronic devices to perform data transmission and reception and service synchronization, etc. For example, Figure 1 The example shows that a mobile phone can establish a communication connection with a wristband, earphones, a body fat scale, a large screen, a speaker, an air purifier and other devices, and a wristband can establish a communication connection with a large screen, a mobile phone, earphones, a body fat scale and other devices. The communication connection can be a wired connection or a wireless connection.

[0065] Specifically, the wireless connection can be a short-distance connection such as a high-fidelity wireless communication (Wi-Fi) connection, a Bluetooth connection, an infrared connection, an NFC connection, a ZigBee connection, etc. Taking the communication process between a mobile phone and a body fat scale as an example, the body fat scale can send the data collected by the body fat scale (for example, weight, body fat percentage, muscle content, etc.) to the mobile phone through a short-distance connection, and then the mobile phone can analyze the user's physical condition based on these data. In addition, the wireless connection can also be a long-distance connection, and the long-distance connection includes but is not limited to mobile networks that support 2G, 3G, 4G, 5G and subsequent standard protocols. For example, multiple electronic devices can log in to the same user account (such as a Huawei account), and then connect to the server over a long distance.

[0066] In the communication system 10, in order to save power consumption of electronic devices, when there is no work process such as data transmission and reception and business synchronization, the electronic device often enters a dormant state, and wakes up when the electronic device needs to communicate with other electronic devices in the communication system 10. Then, in this case, since there are multiple electronic devices communicating in the communication system 10, and the working rhythms of the electronic devices are different, an electronic device may be frequently awakened, so that the central processing unit (CPU) of the electronic device frequently enters a high-speed operation state, or the electronic device is in a working state for a long time, which increases the power consumption of the electronic device and increases the power consumption of the electronic device.

[0067] It should be noted that the types of electronic devices in the communication system 10 are not limited to the above-mentioned mobile phones, watches, large screens, headphones, speakers, air purifiers, bracelets, toothbrushes, body fat scales and other ecological devices. The embodiments of the present application do not limit the types of electronic devices in the communication system 10.

[0068] In order to reduce the power consumption of electronic devices, one solution is to use an alignment wake-up mechanism.

[0069] The alignment wake-up mechanism is equivalent to setting a timer in the process, and when the time reaches the time specified by the timer, a signal to wake up the process is sent to the process. In this way, the frequent wake-up of electronic devices can be avoided by controlling the wake-up time of electronic devices, thereby reducing the power consumption of electronic devices. However, the alignment wake-up mechanism is only applicable to the wake-up of a single device, and cannot cover the wake-up caused by communication with other electronic devices in the communication system 10. In other words, the alignment wake-up mechanism cannot unify the working rhythm of each electronic device in the communication system 10.

[0070] Therefore, how to uniformly wake up each electronic device in the communication system 10 is a problem that needs to be solved urgently.

[0071] An embodiment of the present application provides a wake-up alignment method, which involves a central node device and a sub-node device. In the method, the central node device obtains the wake-up cycle of the sub-node device, and calculates the optimal wake-up cycle based on the wake-up cycle. After that, the central node device sends the optimal wake-up cycle and the reference time to the sub-node device. The sub-node device and the central node device then determine the optimal wake-up time based on the optimal wake-up cycle and the reference time, and adjust the wake-up time, so that each electronic device in the communication system wakes up at a unified wake-up time, avoiding the frequent wake-up of electronic devices due to inconsistent working rhythms, shortening the battery life of electronic devices, and reducing the energy consumption overhead of the communication system.

[0072] Both the central node device and the sub-node device are Figure 1 The electronic device in the communication system 10 shown in the figure. The number of the central node device is one, and the number of the sub-node devices is one or more. That is, the central node device can collect the wake-up cycles of one or more sub-node devices, and calculate an optimal wake-up cycle suitable for multiple sub-node devices and the central node device based on the one or more wake-up cycles.

[0073] In addition, after the electronic device in the communication system 10 obtains the optimal wake-up cycle and the reference time, the electronic device can determine the optimal wake-up time according to the optimal wake-up time and the reference time, and adjust the original wake-up time according to the principle of nearest alignment, so that the electronic device can wake up at the specified uniform time. For details about the determination of the optimal wake-up time and the adjustment of the wake-up time, please refer to the subsequent content, which will not be repeated here.

[0074] The wake-up methods of the electronic device include but are not limited to the following two:

[0075] (1) Service wake-up

[0076] Business wakeup is a wakeup triggered by a business. Business wakeup can be an active wakeup performed by an electronic device when the electronic device itself has a business that needs to be executed, or it can be a passive wakeup triggered by other electronic devices when the electronic device has a cross-device business. For example, business wakeup can be triggered by the wakeup of another electronic device when one electronic device needs to send a data synchronization message to another electronic device.

[0077] Among them, service wake-up includes: non-real-time service wake-up and real-time service wake-up. Non-real-time service wake-up is a wake-up triggered by a non-immediate service. For example, the non-immediate service may refer to updating data. That is to say, for non-real-time service wake-up, the electronic device can change the wake-up time of the non-real-time service. For example, the electronic device can delay the non-real-time service wake-up for a period of time. Real-time service wake-up is a wake-up triggered by an immediate service. For example, the immediate service may refer to a voice call service established between two devices. That is to say, for real-time service wake-up, the electronic device cannot change the wake-up time of the real-time service. The electronic device needs to wake up at the wake-up time specified by the real-time service.

[0078] (2) Heartbeat wake-up

[0079] Heartbeat wakeup is a periodic wakeup triggered by devices to maintain communication. In other words, heartbeat wakeup has a wakeup cycle, and electronic devices will perform periodic heartbeat wakeups according to the wakeup cycle.

[0080] In the embodiment of the present application, after receiving the optimal wake-up cycle, the electronic device will perform periodic heartbeat wake-up according to the optimal wake-up cycle, and change the wake-up time of the non-real-time service wake-up to: the wake-up time of the most recent heartbeat wake-up when the electronic device performs periodic heartbeat wake-up, and the wake-up time of the real-time service wake-up will not be changed. In this way, the number of times the electronic device wakes up can be minimized while ensuring the normal execution of the instant service and the non-instant service.

[0081] Figure 2 The structural diagram of the wake-up alignment system provided in an embodiment of the present application is exemplified.

[0082] like Figure 2 As shown, the wake-up alignment system may include some or all electronic devices in the communication system 10. Specifically, the wake-up alignment system includes a central node device and a sub-node device. The number of the central node device is one, and the number of the sub-node devices is one or more. Figure 2 It is shown that the sub-node devices include: sub-node device A, sub-node device B, and sub-node device C. These three electronic devices.

[0083] exist Figure 2In the wake-up alignment system shown, the central node device is used to receive the wake-up cycle of the sub-node device AC, and calculate the optimal wake-up cycle suitable for the central node device and the sub-node device AC based on the wake-up cycle of the three sub-node devices. After that, the central node device sends the optimal wake-up cycle and the reference time to the sub-node device AC. The sub-node device AC is used to send its own wake-up cycle to the central node device, and receive the optimal wake-up time and the reference time sent by the central node device. In addition, the central node device and the sub-node device AC can calculate the optimal wake-up time based on the optimal wake-up time and the reference time, and adjust the original wake-up time in their respective electronic devices. Specifically, the central node device and the sub-node device AC can adjust the wake-up time of the heartbeat wake-up and the non-real-time service wake-up according to the principle of proximity alignment, and do not adjust the original wake-up time for implementing the service wake-up.

[0084] It should be noted that the central node device can be any device in the communication system 10, and the sub-node device can be any one or more devices in the communication system 10 except the central node device. The number of sub-node devices is not limited to Figure 2 Three of the wake-up alignment systems shown. There are cross-device service wake-ups between the electronic devices in the wake-up alignment system, or there are heartbeat wake-ups that exist to maintain communication between devices. Among them, the central node device can be selected according to the performance of the device. For example, the central node device can be the device with the best performance in the wake-up alignment system, or the central node device can be selected according to the service situation of the device. For example, the central node device can be the device with the least service in the wake-up alignment system. Excluding the determined central node device, the remaining devices in the wake-up alignment system are sub-node devices. It can be understood that the embodiments of the present application do not limit the selection of the central node device.

[0085] Figure 3 The wake-up timing diagram of each electronic device in the wake-up alignment system is exemplarily shown.

[0086] Before the multiple devices wake up in alignment, that is, when each electronic device wakes up according to its own service rhythm, each electronic device may wake up frequently. Figure 3As shown, before the multiple device wake-up alignment, the central node device has four wake-ups Q1-Q4, Q1 is a real-time service wake-up, Q2 is a non-real-time service wake-up, and Q3 and Q4 are heartbeat wake-ups. The sub-node device A has three wake-ups A1-A3, A1 and A2 are heartbeat wake-ups, and A3 is a non-real-time service wake-up. The sub-node device B has four wake-ups B1-B4, B1 and B4 are heartbeat wake-ups, B2 and B3 are non-real-time service wake-ups, and the sub-node device C has three wake-ups C1-C3, C1 is a non-real-time service wake-up, C2 is a heartbeat wake-up, and C3 is a real-time service wake-up. Among them, the non-real-time service wake-up Q2 of the central node device and the non-real-time service wake-up B2 of the sub-node device B are the simultaneous wake-ups of the two devices caused by the same cross-device service, and the non-real-time service wake-up A3 of the sub-node device A and the non-real-time service wake-up B3 of the sub-node device B are the simultaneous wake-ups of the two devices caused by the same cross-device service.

[0087] It can be seen that when one electronic device wakes up, another electronic device in the communication system 10 may be awakened or in working state at the same time. For example, the non-real-time service awakening Q2 of the central node device and the non-real-time service awakening B2 of the sub-node device B are the simultaneous awakening of two devices caused by the same service. In addition, since the awakening rhythms of various electronic devices are different, the central node device or the sub-node device may be awakened frequently or in working state for a long time. For example, after the central node device is awakened by the real-time service Q1 at the first moment, it returns to the dormant state after processing the real-time service. However, at the second moment, due to the cross-device service process with the sub-node device B, the non-real-time service awakening Q2 is triggered, resulting in high power consumption of the central node device.

[0088] In order to unify the wake-up rhythm of each device in the wake-up alignment system, the central node device can send the optimal wake-up cycle and reference time to the sub-node device AC, so that the sub-node device AC can calculate the periodic optimal wake-up time and change the original wake-up time of each device in the wake-up alignment system according to the principle of nearest alignment, so that each device wakes up at the same time point.

[0089] After the multiple devices are aligned for wake-up, the central node device and the sub-node device AC perform heartbeat wake-up and non-real-time service wake-up at a unified wake-up time, while the wake-up time for real-time service wake-up is not changed. Figure 3As shown, after the multiple devices are aligned for wake-up, the central node device performs real-time service wake-up Q1 at the original time point T1, performs a wake-up at the time point 2T, which includes non-real-time service wake-up Q2 and heartbeat wake-up Q3, and performs heartbeat wake-up Q4 at the time point 3T. Sub-node device A performs heartbeat wake-up A1 at time point T, heartbeat wake-up A2 at time point 2T, and non-real-time service wake-up A3 at time point 3T. Sub-node device B performs heartbeat wake-up B1 at time point T, non-real-time service wake-up B2 at time point 2T, and a wake-up at time point 3T, which includes heartbeat wake-up B3 and non-real-time service wake-up B4. Sub-node device C performs non-real-time service wake-up C1 at time point T, heartbeat wake-up C2 at time point 3T, and real-time service wake-up at the original time point T2.

[0090] It can be seen that the central node device and the sub-node device can be awakened at the same periodic time point. For example, the central node device originally needs to trigger the non-real-time service awakening Q2 and the heartbeat awakening Q3 at two different time points. After the multiple device awakenings are aligned, the central node device can be awakened only once to complete the heartbeat awakening to maintain the connection with other devices and the non-real-time service awakening required for the communication with the non-real-time service of the sub-node device B. In this way, the awakening times or working time of the electronic device can be reduced, and the power consumption of the electronic device can be reduced.

[0091] In addition, it should be noted that after the multiple devices are aligned for wake-up, the wake-up cycles of the electronic devices after adjustment are not necessarily the same, nor are they necessarily equal to the optimal wake-up cycle after unification. Specifically, the wake-up cycle of the electronic device after adjustment can be M times the optimal wake-up cycle, where M is a positive integer. For example, assuming that the optimal wake-up cycle is 5 minutes, there are two child node devices: device A and device B. Device A can adjust the wake-up cycle of the heartbeat wake-up to 10 minutes, and device B can adjust the wake-up cycle of the heartbeat wake-up to 15 minutes.

[0092] Figure 4 The software structure diagram of the wake-up alignment system is exemplarily shown.

[0093] like Figure 4 As shown, the wake-up alignment system includes a central node device and a sub-node device. Both the central node device and the sub-node device include a unified wake-up management module and a distributed soft bus. Figure 4 Only one sub-node device and the central node device interaction process is shown. The wake-up alignment system may include multiple sub-node devices. The interaction process between other sub-node devices and the central node device is similar to Figure 4 The interaction process shown is consistent.

[0094] In the central node device, the distributed soft bus is used to receive the wake-up cycle sent by other devices, and to send the optimal wake-up cycle and reference time to other devices; the unified wake-up module is used to obtain the reference time of this device, and to calculate the optimal wake-up cycle based on the wake-up cycle of other devices and the wake-up cycle of this device, and to determine the aligned optimal wake-up time based on the optimal wake-up cycle and the reference time, so that the central node device can wake up according to the aligned optimal wake-up time.

[0095] In the child node device, the distributed soft bus is used to send a wake-up cycle to the central node device, and to receive the optimal wake-up cycle and reference time sent by the central node device; the unified wake-up module is used to determine the aligned optimal wake-up time based on the optimal wake-up cycle and the basic time, so that the child node device can wake up according to the aligned optimal wake-up time.

[0096] like Figure 4 As shown, in a specific implementation, aligning the wake-up time of the wake-up alignment system mainly involves the following six steps:

[0097] (1) The sub-node device sends a wake-up cycle to the central node device through the distributed soft bus;

[0098] The wake-up cycle is the wake-up cycle used by the child node devices before wake-up alignment, and each child node device can perform periodic heartbeat wake-up according to the wake-up cycle.

[0099] When the sub-node device includes multiple devices, the central node device can obtain the wake-up cycle of multiple devices. The multiple devices may refer to all sub-node devices except the central node device in the communication network, or the multiple devices may refer to some sub-node devices except the central node device in the communication system 10, wherein the part of the sub-node devices may be devices that currently need to communicate with other devices in the communication system 10, or devices that are in working state.

[0100] (2) The central node device sends the wake-up cycle to the unified wake-up management module through the distributed soft bus;

[0101] Specifically, the central node device may send the wake-up period of one or more sub-node devices to the unified wake-up management module in the central node device through the distributed soft bus.

[0102] (3) The central node device obtains the optimal wake-up cycle and reference time through the unified wake-up management module and sends them to the distributed soft bus;

[0103] The unified wake-up management module in the central node device can calculate an optimal wake-up cycle based on the received one or more wake-up cycles and the wake-up cycle of the central node device. The optimal wake-up cycle can be the average, common multiple, minimum value, maximum value, etc. of the wake-up cycles of the central node device and the child node devices. The embodiment of the present application does not limit the relationship between the optimal wake-up cycle and the wake-up cycle.

[0104] The reference time is used to determine the starting point of the wake-up time, so that multiple devices in the communication system 10 can be awakened at the same time. The reference time can be the power-on time of the central node device, a randomly generated time, a preset time, etc., and the embodiment of the present application does not limit the reference time.

[0105] (4) The central node device sends the optimal wake-up cycle and reference time to the sub-node device through the distributed soft bus;

[0106] Specifically, the central node device may send the optimal wake-up cycle and the reference time to one or more sub-node devices included in the communication system 10 via the distributed soft bus.

[0107] (5) The sub-node device sends the optimal wake-up cycle and the reference time to the unified wake-up management module through the distributed soft bus;

[0108] (6) The central node device and the sub-node device calculate the optimal wake-up time according to the optimal wake-up cycle and the reference time, so that each device wakes up at the optimal wake-up time.

[0109] The central node device and the sub-node device can calculate the optimal wake-up time according to the following formula:

[0110] X=N*T+DeltaFormula 1

[0111] Wherein, X is the optimal wake-up time, N={0,1,2,3...}, T is the optimal wake-up period, and Delta is the reference time.

[0112] It can be seen that when N takes different values, the calculated optimal wake-up time is different. The central node device or the sub-node device can change the original wake-up time (also called: original wake-up time) according to the principle of proximity alignment, and unify it to the optimal wake-up time that is closest to the original wake-up time.

[0113] In a specific implementation, for a wake-up, the central node device or the sub-node device can adjust the wake-up time according to the following formula:

[0114]

[0115] Among them, Y is the optimal wake-up time after the wake-up alignment, X1 and X2 represent two adjacent optimal wake-up times, Z represents the original wake-up time, and the relationship between Z and X1 and X2 can be expressed as (N1*T+Delta)=X1≤Z<((N1+1)*T+Delta)=X2, N1∈N.

[0116] It can be seen from formula 2 that when the interval between the original wake-up time Z and the best wake-up time X1 of the previous cycle point is less than or equal to the interval between the original wake-up time Z and the best wake-up time X2 of the next cycle point, the original wake-up time can be changed to the best wake-up time X1 of the previous cycle point; when the interval between the original wake-up time Z and the best wake-up time X1 of the previous cycle point is greater than the interval between the original wake-up time Z and the best wake-up time X2 of the next cycle point, the original wake-up time can be changed to the best wake-up time X2 of the next cycle point; when the original wake-up time Z is exactly in the best cycle period X1, the original wake-up time is not changed. In other words, the principle of nearest alignment can be used to determine the wake-up time after wake-up alignment.

[0117] It should be noted that when the interval between the original wake-up time Z and the optimal wake-up time X1 of the previous cycle point is equal to the interval between the original wake-up time Z and the optimal wake-up time X2 of the next cycle point, the original wake-up time can also be changed to the optimal wake-up time of the next cycle point, and the embodiment of the present application is not limited to this.

[0118] The following is a specific example to explain the principle of adjusting the wake-up time of the central node device or the sub-node device.

[0119] Figure 5 The wake-up timing diagram of the sub-node device and the central node device is exemplarily shown.

[0120] like Figure 5As shown, the central node device uses the power-on time point of the central node device (09:02) as the reference time, and sends 5 minutes as the optimal wake-up period to the child node device A. The child node device A calculates multiple optimal wake-up times (such as 09:02, 09:07, 09:12, 09:17...) based on the reference time and the optimal wake-up period, combined with the above formula 1. Since the child node device A originally has three wake-up time points A1, A2, and A3, which are 09:09, 09:12, and 09:15 respectively. Among them, 09:09 is the closest to the last best wake-up time of 09:07, and combined with formula 2, it is calculated that 2≤2.5, so the original wake-up time of A1, 09:09, is adjusted to 09:07; 09:12 is equal to the last best wake-up time of 09:12, so the wake-up time of A2 is not changed. 09:15 and the last best wake-up time are 09:12. Combining with formula 2, it is calculated that 3>2.5, so Y is 09:17. Therefore, the original wake-up time of 09:15 is adjusted to the next cycle point 09:17.

[0121] Figure 6 A schematic diagram of the process of the wake-up alignment method provided in an embodiment of the present application is shown.

[0122] like Figure 6 As shown, the method includes:

[0123] S101. The child node device sends a wake-up cycle to the central node device.

[0124] The central node device may refer to any device in the communication system 10 , and the sub-node device may refer to one or more devices in the communication system 10 excluding the central node device.

[0125] The central node device can establish a communication connection with the sub-node device, and the sub-node devices can also establish a communication connection between each other. The communication connection can be a wired connection or a wireless connection. The specific description of the communication connection can be referred to the above content, which will not be repeated here.

[0126] The wake-up cycle sent by the child node device may refer to the wake-up cycle of the child node device when the wake-up alignment is not currently performed. The child node device may perform periodic heartbeat wake-up according to the wake-up cycle.

[0127] S102. The central node device determines an optimal wake-up cycle according to the wake-up cycle.

[0128] After receiving the wake-up cycle sent by one or more child node devices, the central node device can determine the best wake-up cycle according to the one or more wake-up cycles. The best wake-up cycle can be a common multiple, average, maximum value, minimum value, etc. of the one or more wake-up cycles and the wake-up cycle of the central node device. For example, the central node device obtains that the wake-up cycles of two child node devices are 5 minutes and 8 minutes, and the wake-up cycle of the central node device is 5 minutes. The central node device can use the average of the wake-up cycles as the best wake-up cycle, and the best wake-up cycle is 6 minutes.

[0129] Exemplarily, the wake-up cycle sent by the sub-node device to the central node may also refer to the first cycle, and the optimal wake-up cycle determined by the central node device based on the first cycle may also refer to the second cycle. The sub-node device may specifically refer to the first sub-node device, and the first sub-node device may refer to one or more devices in the communication system that are aligned for wake-up with the central node device.

[0130] S103. The central node device sends the optimal wake-up cycle and the reference time to the sub-node devices.

[0131] The reference time is used to determine the starting point of the wake-up time, so that multiple devices in the communication system 10 can be awakened at the same time. The reference time can be the power-on time of the central node device, a randomly generated time, a preset time, etc., and the embodiment of the present application does not limit the reference time.

[0132] S104. The central node device and the sub-node device adjust the wake-up time according to the optimal wake-up cycle and the reference time.

[0133] Here, since the execution process of the central node device and the sub-node device is the same, the central node device and the sub-node device are collectively referred to as electronic devices below.

[0134] Specifically, the electronic device may calculate the optimal wake-up time according to the optimal wake-up cycle and the reference time, and then adjust the original wake-up time in the electronic device according to the proximity alignment principle.

[0135] Among them, the electronic device can calculate the optimal wake-up time according to formula 1, and the optimal wake-up time can include multiple periodically increasing values. The electronic device can adjust the original wake-up time according to formula 2. For example, taking the central node device as an example, assuming that the central node device originally has a heartbeat wake-up at 9:08, two optimal wake-up times are calculated based on the optimal wake-up cycle and the reference time: 9:05 and 9:10. Since 9:08 is closer to 9:10 than to 9:05, according to the principle of nearest alignment, the central node device can change the heartbeat wake-up time to 9:10.

[0136] In addition, since the wake-up methods include: non-real-time business wake-up, real-time business wake-up, and heartbeat wake-up, when the original wake-up in the electronic device is real-time business wake-up, the electronic device does not change the original wake-up time of the real-time business wake-up. When the original wake-up in the electronic device is real-time business wake-up or heartbeat wake-up, the electronic device can adjust the original wake-up time of the wake-up according to the optimal wake-up cycle and the reference time.

[0137] Specifically, in the process of the sub-node device adjusting the wake-up time according to the optimal wake-up time and the reference time, the sub-node device may adjust the original wake-up time to a first wake-up time, and the difference between the original wake-up time and the first wake-up time is not greater than a threshold, wherein the first wake-up time = reference time + optimal wake-up period * N, N ≥ 0. Exemplarily, the threshold may be half of the optimal wake-up period. In addition, the sub-node device adjusts the original wake-up time to the first wake-up time, specifically, the sub-node device powers on the CPU at the first wake-up time, enters the working state, and communicates with other devices. Exemplarily, the sub-node device may be a first sub-node device, and the other device may be a second sub-node device and / or a central node device, wherein the central node device, the first sub-node device, and the second sub-node device are all located as follows Figure 2 In the communication system 10 shown.

[0138] In addition, the sub-node device or the central node device may have multiple original wake-up times. Exemplarily, the original wake-up time of the sub-node device may include a first original wake-up time and a second original wake-up time, etc. The sub-node device may adjust the first original wake-up time to the first wake-up time and the second original wake-up time to the second wake-up time, etc., according to the optimal wake-up time and the reference time.

[0139] In some embodiments, when the central node device has determined the optimal wake-up cycle based on the wake-up cycle, when one or more sub-node devices are added to the communication system 10, the central node device can obtain the wake-up cycle of the one or more newly added sub-node devices, and redetermine the optimal wake-up cycle, and send it to all devices in the communication system 10. Exemplarily, the newly added sub-node device in the communication system 10 may be a third sub-node device, and the wake-up cycle of the third sub-node device may be a third cycle. After the central power-saving device has determined the optimal wake-up cycle, the central node device may redetermine an optimal wake-up cycle (e.g., a fourth cycle) based on the third cycle and the previously received wake-up cycle of the sub-node device (e.g., the second cycle), and send the redetermined optimal wake-up cycle to each sub-node device in the communication system 10, and each sub-node device may adjust the wake-up time according to the latest received optimal wake-up cycle.

[0140] It should be noted that when the central node device adjusts the wake-up time according to the optimal wake-up cycle and the reference time, the central node device can adjust the wake-up time after determining the optimal wake-up cycle and before sending the optimal wake-up cycle and the reference time to the sub-node device. That is, for the central node device, S104 can be executed before S103.

[0141] In general, the wake-up alignment method provided in the embodiment of the present application can change the trigger time of the wake-up, reduce the frequent wake-ups between devices caused by non-real-time services and heartbeat maintenance, optimize the power consumption overhead of the devices in the communication system 10, and ensure the battery life of each device in the communication system 10. At the same time, it can ensure the normal execution of instant services and meet the normal operation of the devices while waking up each device uniformly.

[0142] Figure 7 The power consumption waveform diagram of the device before and after the multiple device wake-up alignment is shown as an example. Figure 7 As can be seen from the waveform on the left, there are dense waveform peaks in the figure, which means that before the multiple devices are aligned, the electronic devices wake up frequently and the power consumption is large. Figure 7 As can be seen from the waveform graph on the right, there are waveform spikes that appear at intervals, such as waveform spikes that appear at intervals of 10 minutes, waveform spikes that appear at intervals of 5 minutes, or waveform spikes that appear at intervals of 2.5 minutes. That is to say, after the wake-up alignment of multiple devices, the electronic device reduces the number of wake-ups and uses a multiple of a wake-up cycle value as the wake-up interval, thereby reducing the power loss of the electronic device.

[0143] Figure 8 A schematic diagram of the hardware structure of an electronic device 100 involved in an embodiment of the present application is shown.

[0144] like Figure 8 As shown, the electronic device 100 can be a mobile phone, a bracelet, a headset, a large screen, a body fat scale, an air purifier, a smart speaker, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device and / or a smart city device. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device.

[0145] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0146] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0147] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0148] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0149] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system. In some embodiments, the processor 110 may include one or more interfaces.

[0150] The charging management module 140 is used to receive charging input from a charger. The power management module 141 is used to connect the battery 142 , the charging management module 140 and the processor 110 .

[0151] The wireless communication function of the electronic device 100 can be realized by antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.

[0152] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0153] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0154] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0155] The display screen 194 is used to display images, videos, etc. The camera 193 is used to capture static images or videos. The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The external memory interface 120 may be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100.

[0156] The electronic device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor. For example, music playback, recording, etc. The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The speaker 170A, also known as a "speaker", is used to convert audio electrical signals into sound signals. The receiver 170B, also known as a "earpiece", is used to convert audio electrical signals into sound signals. The microphone 170C, also known as a "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 170D is used to connect wired headphones.

[0157] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. The air pressure sensor 180C is used to measure the air pressure. The magnetic sensor 180D includes a Hall sensor. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The distance sensor 180F is used to measure the distance. The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. The ambient light sensor 180L is used to sense the brightness of the ambient light. The fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect the temperature. The touch sensor 180K, also known as a "touch device". The bone conduction sensor 180M can obtain a vibration signal.

[0158] The button 190 includes a power button, a volume button, etc. The button 190 may be a mechanical button. It may also be a touch button. The motor 191 may generate a vibration prompt. The indicator 192 may be an indicator light, which may be used to indicate the charging status, the change of the power, or may be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect a SIM card.

[0159] In the embodiment of the present application, when the electronic device 100 is a central node device:

[0160] The mobile communication module 150 or the wireless communication module 160 may be configured to receive a wake-up cycle of a sub-node device, and send an optimal wake-up cycle and a reference time to the sub-node device.

[0161] The processor 110 may be used to calculate an optimal wake-up cycle according to one or more wake-up cycles, calculate an optimal wake-up time according to the optimal wake-up cycle and the reference time, determine whether to adjust the wake-up time, and perform wake-up according to the adjusted or unadjusted wake-up time. For specific descriptions of the relationship between the wake-up cycle and the optimal wake-up cycle, the calculation principle of the optimal wake-up time, and the principle of adjusting the wake-up time, please refer to the aforementioned content and will not be repeated here.

[0162] The internal memory 121 is used to store relevant instructions for calculating the wake-up time and one or more wake-up cycles.

[0163] In the embodiment of the present application, when the electronic device 100 is a child node device:

[0164] The mobile communication module 150 or the wireless communication module 160 may be used to send a wake-up cycle to the central node device, and receive an optimal wake-up cycle and a reference time sent by the central node device.

[0165] The processor 110 may be used to calculate the optimal wake-up time according to the optimal wake-up cycle and the reference time, determine whether to adjust the wake-up time, and wake up according to the adjusted or unadjusted wake-up time. For the specific description of the calculation principle of the optimal wake-up time and the principle of adjusting the wake-up time, please refer to the subtraction content, which will not be repeated here.

[0166] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0167] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.

[0168] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0169] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.

Claims

1. A wake-up alignment method, characterized in that: The method is applied to a first sub-node device, and the method includes: The first sub-node device sends a first cycle to the central node device, where the first cycle is a wake-up cycle of the first sub-node device; The first sub-node device receives a second period and a reference time, where the second period is determined by the central node device according to the first period; The first sub-node device adjusts the first original wake-up time of the first sub-node device to a first wake-up time based on the second period and the reference time, the difference between the first original wake-up time and the first wake-up time is not greater than a threshold, and the first wake-up time is the sum of the reference time and N times the second period, where N is an integer greater than or equal to 0.

2. The method according to claim 1, characterized in that The threshold is half of the second period.

3. The method according to claim 1, characterized in that The first sub-node device adjusting the wake-up time of the first sub-node device to the first wake-up time specifically includes: The first sub-node device communicates with the second sub-node device and / or the central node device at the first wake-up time.

4. The method according to claim 3, characterized in that Before the first sub-node device communicates with the second sub-node device at the first wake-up time, the method further includes: The first sub-node device powers on the CPU at the first wake-up time.

5. The method according to any one of claims 1 to 4, characterized in that: The awakening of the first sub-node device is heartbeat awakening or non-real-time service awakening.

6. The method according to any one of claims 1 to 4, characterized in that: The second period is a maximum value, a minimum value, an average value or a common multiple of the first period and the wake-up period of the central node device.

7. The method according to any one of claims 1 to 4, characterized in that: After the first sub-node device adjusts the wake-up time of the first sub-node device to the first wake-up time according to the second cycle and the reference time, the method further includes: The first sub-node device receives a fourth cycle, where the fourth cycle is determined by the central node device according to the first cycle and the third cycle of the third sub-node device, where the third cycle is a wake-up cycle of the third sub-node device; The first sub-node device readjusts the wake-up time of the first sub-node device according to the fourth period.

8. A wake-up alignment method, characterized in that: The method is applied to a communication system including a first sub-node device and a central node device, and the method includes: The first sub-node device sends a first cycle to the central node device, where the first cycle is a wake-up cycle of the first sub-node device; The central node device receives the first cycle of the first sub-node device; The central node device determines a second period according to the first period; The central node device sends the second period and the reference time of the central node device to the first child node device; The first sub-node device adjusts the first original wake-up time of the first sub-node device to a first wake-up time based on the second period and the reference time, the difference between the first original wake-up time and the first wake-up time is not greater than a threshold, and the first wake-up time is the sum of the reference time and N times the second period, where N is an integer greater than or equal to 0.

9. The method according to claim 8, characterized in that The threshold is half of the second period.

10. The method according to claim 8, characterized in that The first child node device adjusting the first original wake-up time of the first child node device to the first wake-up time specifically includes: The first sub-node device communicates with the second sub-node device and / or the central node device at the first wake-up time.

11. The method according to claim 10, characterized in that Before the first sub-node device communicates with the second sub-node device at the first wake-up time, the method further includes: The first sub-node device powers on the CPU at the first wake-up time.

12. The method according to any one of claims 8 to 11, characterized in that: The awakening of the first sub-node device is heartbeat awakening or non-real-time service awakening.

13. The method according to any one of claims 8 to 11, characterized in that: The second period is a maximum value, a minimum value, an average value or a common multiple of the first period and the wake-up period of the central node device.

14. The method according to any one of claims 8 to 11, characterized in that: The communication system further includes a third sub-node device; After the first sub-node device adjusts the wake-up time of the first sub-node device to the first wake-up time according to the second cycle and the reference time, the method further includes: The central node device receives the third cycle of the third sub-node device, where the third cycle is a wake-up cycle of the third sub-node device; The central node device determines a fourth period according to the third period and the first period; The central node device sends the fourth cycle to the first sub-node device and the third sub-node device; The first sub-node device readjusts the wake-up time of the first sub-node device according to the fourth cycle, and the third sub-node device readjusts the wake-up time of the third sub-node device according to the fourth cycle.

15. The method according to any one of claims 8 to 11, characterized in that: Before the central node device sends the second period and the reference time of the central node device to the first child node device, the method further includes: The central node device selects the wake-up time closest to the current time among the wake-up times of the central node device as the reference time.

16. An electronic device, characterized in that: The electronic device comprises a memory, one or more processors, and one or more programs; when the one or more processors execute the one or more programs, the electronic device implements the method according to any one of claims 1 to 7.

17. A computer-readable storage medium comprising instructions, characterized in that: When the instruction is executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 7.

18. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 7.