Energy saving method and terminal device
By using the Bluetooth module to maintain power supply in the terminal device and powering off the baseband module and application processor, the problem of high power consumption in standby state is solved, which improves battery life and improves user experience.
Patent Information
- Application Number
- CN202110349561.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-10-29
- Filing Date
- 2021-03-31
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2041-03-31
AI Technical Summary
Existing terminal devices still consume high power in standby state, affecting battery life, and automatic shutdown may lead to poor user experience.
By implementing an energy-saving method in the terminal device, using the Bluetooth module to maintain power supply state with other terminal devices, the baseband module and application processor are powered off to maximize power saving.
It effectively reduces the energy consumption of terminal devices, extends battery life, and avoids user experience problems caused by automatic shutdown.
Smart Images

Figure CN114430542B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to a Chinese patent application filed with the China Patent Office on October 29, 2020, with application number 202011186642.7 and application name “A method for saving power of a mobile device at night”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of energy-saving technology, and in particular to an energy-saving method and terminal equipment. Background Art
[0004] With the development of terminal devices, for example, the screens of terminal devices are getting bigger and bigger, and there are more and more functional modules set up inside the terminal devices, which makes the power consumption of terminal devices higher and higher. How to reduce the energy consumption of terminal devices has always been a concern of the industry. For example, the energy consumption of terminal devices can be reduced by timing the power on and off, but since the power on and off is timed, it is inevitable that the terminal device will automatically shut down during the user's use of the terminal device, which leads to a poor user experience. For another example, if the terminal device has not been used for a long time, the terminal device can be set to enter the standby state, and some cores of the processor of the terminal device can be turned off, so that the terminal device turns off the screen and suspends network access. Nevertheless, since there are more and more functional modules set up inside the terminal device, even if the terminal device enters the standby state, some functional modules are still in operation, so the terminal device is still relatively power-consuming. Summary of the invention
[0005] The present application provides an energy-saving method and a terminal device, which are used to reduce the energy consumption of the terminal device and ensure a longer battery life of the terminal device.
[0006] In a first aspect, an embodiment of the present application provides an energy saving method, which can be executed by a first terminal device, and the first terminal device and a second terminal device are bound through a one-number-multiple-terminal service. The method includes:
[0007] When the power-saving conditions are met, the baseband module and the application processor (AP) core of the first terminal device are powered off, and the Bluetooth module of the first terminal device is controlled to be in a powered state. In this solution, the first terminal device (such as a smart watch) and the second terminal device (such as a mobile phone) are bound through a one-number multi-terminal service, and the first terminal device and the second terminal device can communicate through the Bluetooth module. When the first terminal device meets the power-saving conditions, the baseband module and the AP can be powered off. Since the baseband module of the second terminal device is in a powered state, the first terminal device and the second terminal device can communicate through the Bluetooth module, so it will not affect the call and other functions of the first terminal device. And compared with some cores running when the main processor is powered off, the main processor and the baseband module are powered off in this solution, that is, all the cores of the main processor stop running, and the baseband module is in a powered-off state, which can obviously further save power to the maximum extent.
[0008] In a possible design, performing a power-off operation on a baseband module and an AP core of a first terminal device includes:
[0009] Controlling the main processor of the first terminal device to power off, wherein the AP core is integrated in the main processor, the Bluetooth module of the first terminal device is connected to the coprocessor of the first terminal device, the coprocessor is used to control the Bluetooth module to communicate with the second terminal device, the coprocessor is connected to the main processor, and the coprocessor and the main processor run different operating systems; or,
[0010] Control the main processor of the first terminal device to power off, wherein the main processor integrates an AP core, a baseband module and a Bluetooth module, and the Bluetooth module can be used to respond to a wake-up message from the second terminal device, and the wake-up message is used to indicate the task of waking up the baseband module and / or the AP core.
[0011] This solution provides two designs for the first terminal device, one of which is that the baseband module and the AP core are integrated in the main processor, and the Bluetooth module can be integrated in the coprocessor or independent of the coprocessor; the other design is that the baseband module, the AP core and the Bluetooth module are all integrated in the main processor, and the coprocessor may not be set. In this design, the Bluetooth module can perform wake-up tasks independently, such as waking up when receiving instructions from other devices; or the Bluetooth module can also wake up according to the interrupt task set, which is not limited in the embodiments of the present application. Regardless of the design, it can be ensured that the baseband module function of the first terminal device will not be affected after the baseband module and the AP core of the first terminal device are powered off.
[0012] In one possible design, the power saving condition includes at least one of the following conditions:
[0013] A user using the first terminal device and the second terminal device enters a sleep state;
[0014] The first terminal device or the second terminal device is in scene mode, silent mode, do not disturb mode or conference mode;
[0015] The first scene information of the first terminal device or the second terminal device meets the preset condition, and the first scene information includes at least one of the scene occurrence location information and the power saving time information;
[0016] The first terminal device or the second terminal device is in a preset power saving time period;
[0017] The first terminal device or the second terminal device is in a power saving mode;
[0018] A first power-saving indication message is received from a second terminal device, where the first power-saving indication message is used to instruct the first terminal device to perform a power-off operation.
[0019] In this scheme, some implementation forms of power-saving conditions are listed. For example, when the user is in sleep state, the first terminal device or the second terminal device is in scenario mode or power-saving mode, or a preset power-saving time period, etc., it can be considered that the first terminal device can currently enter power-saving mode to maximize the energy consumption of the first terminal device.
[0020] In one possible design, the method further includes:
[0021] Obtaining first configuration information from the second terminal device, the first configuration information is used to determine whether the first terminal device meets the power-saving condition, the first configuration information is used to indicate at least one of the first scenario information of the second terminal device, the power-saving time period preset by the second terminal device, and whether the second terminal device is currently in the power-saving mode. It should be understood that the first terminal device can determine whether the power-saving condition is met by itself, or obtain configuration information indicating the power-saving condition from the second terminal device to determine whether the condition is met, so as to avoid misjudging whether the power-saving condition is met as much as possible.
[0022] In one possible design, the method further includes:
[0023] When the power saving condition is exited, the baseband module and the AP core of the first terminal device are powered on. It should be understood that when the terminal device does not meet the power saving condition, the first terminal device can restore the power supply to the baseband module and the AP core to avoid affecting the normal function of the first terminal device.
[0024] In one possible design, performing a power-on operation on a baseband module and an AP core of a first terminal device includes:
[0025] The coprocessor powers on the main processor again by controlling the power management module of the main processor.
[0026] In one possible design, before performing a power-off operation on a baseband module and an AP core of the first terminal device, the method further includes:
[0027] Determine from the first terminal device and the second terminal device that the device that needs to save power is the first terminal device; otherwise, if it is determined from the first terminal device and the second terminal device that the device that needs to save power is the second terminal device, send second power-saving indication information to the second terminal device, and the second power-saving indication information is used to instruct the second terminal device to perform a power-off operation.
[0028] In this solution, considering that after the first terminal device and the second terminal device are connected, as long as the baseband module of any one of the first terminal device and the second terminal device is online, it will not affect the first terminal device and the second terminal device, so it can be decided that the first terminal device or the second terminal device enters power saving. For example, if the power of the second terminal device is less than that of the first terminal device, it can be decided that the second terminal device enters power saving, so as to ensure that the first terminal device and the second terminal device save energy reasonably as much as possible.
[0029] The embodiment of the present application does not limit the method of deciding whether the first terminal device or the second terminal device enters power saving. Several possible designs are listed below.
[0030] In a possible design, the first terminal device determines a device that needs to save power from the first terminal device and the second terminal device, including:
[0031] Determine target power information of the second terminal device, where the target power information is used to indicate that the remaining power of the second terminal device is the first power (remaining battery life);
[0032] The current power of the first terminal device is compared with the first power, and the terminal device corresponding to the lower power of the current power and the first power is determined as a device that needs to save power.
[0033] In a possible design, the first terminal device determines a device that needs to save power from the first terminal device and the second terminal device, including:
[0034] Acquire a performance parameter of the second terminal device, where the performance parameter is used to indicate a performance indicator of the second terminal device;
[0035] The performance index of the first terminal device and the performance index of the second terminal device are compared, and the terminal device corresponding to the lower performance index is determined as a device that needs to save power.
[0036] In a possible design, before the first terminal device determines the terminal device with lower power consumption as a device that needs to save power, the method further includes:
[0037] Determine that the terminal device corresponding to the lower power level is in an uncharged state.
[0038] In one possible design, the method includes:
[0039] Obtain the user's historical sleep data and determine the user's earliest wake-up time based on the historical sleep data;
[0040] Sending first update information to the second terminal device, where the first update information is used to update the automatic power-on time of the second terminal device.
[0041] In this solution, the energy consumption of the terminal device is reduced by timing the power on and off. However, since the power on and off is timed, it is inevitable that the terminal device will automatically shut down while the user is using the terminal device, resulting in a poor user experience. This solution can flexibly set the power on and off time of other electronic devices, such as mobile phones, according to the user's sleeping habits, thereby maximizing the energy saving of the terminal device and ensuring a good user experience.
[0042] In a second aspect, an embodiment of the present application provides another energy-saving method, which can be executed by a second terminal device, and the second terminal device and the first terminal device are bound through a one-number-multiple-terminal service. The method includes:
[0043] Receive first indication information from the first terminal device, the first indication information is used to indicate that the second terminal device meets the power-saving condition; perform a power-off operation on the baseband module and the AP core of the second terminal device, and control the Bluetooth module of the second terminal device to be in a power-on state. In this solution, the first terminal device determines that the second terminal device meets the power-saving condition, and can notify the second terminal device to save power. Since the first terminal device (such as a smart watch) and the second terminal device (such as a mobile phone) are bound through a one-number multi-terminal service, the first terminal device and the second terminal device can communicate through the Bluetooth module, so even if the second terminal device saves power, it will not affect the call and other functions of the second terminal device. Compared with powering off some cores of the main processor, the main processor and the baseband module are powered off in this solution, that is, all the cores of the main processor stop running, and the baseband module is in a power-off state, which can obviously further maximize power saving.
[0044] In one possible design, performing a power-off operation on a baseband module and an AP core of the second terminal device includes:
[0045] Controlling the main processor of the second terminal device to power off, wherein the AP core is integrated in the main processor, the Bluetooth module is connected to the coprocessor of the second terminal device, the coprocessor is used to control the Bluetooth module to communicate with the first terminal device, the coprocessor is connected to the main processor, and the coprocessor and the main processor run different operating systems; or,
[0046] Control the main processor of the second terminal device to power off, wherein the main processor integrates an AP core, a baseband module and a Bluetooth module, and the Bluetooth module is used to respond to a wake-up message from the first terminal device, and the wake-up message is used to indicate the task of waking up the baseband module and / or the AP core.
[0047] Similar to the first aspect, this solution provides two designs for the second terminal device, one of which is that the baseband module and the AP core are integrated in the main processor, and the Bluetooth module can be integrated in the coprocessor or independent of the coprocessor; the other design is that the baseband module, the AP core and the Bluetooth module are all integrated in the main processor, and the coprocessor may not be set. In this design, the Bluetooth module can perform wake-up tasks independently, such as waking up when receiving instructions from other devices; or the Bluetooth module can also wake up according to the interrupt task set, which is not limited in the embodiments of the present application. Regardless of the design, it can be ensured that the baseband module and the AP core of the second terminal device are powered off without affecting the baseband module function of the second terminal device.
[0048] In one possible design, the method further includes:
[0049] Receiving second indication information from the first terminal device, the second indication information is used to indicate that the second terminal device does not meet the power saving condition; and performing a power-on operation on the baseband module and the AP core of the second terminal device. It should be understood that when the first terminal device determines that the second terminal device does not meet the power saving condition, it can notify the second terminal device to restore power to the baseband module and the AP core to ensure the normal function of the second terminal device.
[0050] In one possible design, the power saving condition includes at least one of the following conditions:
[0051] A user using the first terminal device and the second terminal device enters a sleep state;
[0052] The first terminal device or the second terminal device is in scene mode, silent mode, do not disturb mode or conference mode;
[0053] The first scene information of the first terminal device or the second terminal device meets the preset condition, and the first scene information includes at least one of the scene occurrence location information and the power saving time information;
[0054] The first terminal device or the second terminal device is in a preset power saving time period;
[0055] The first terminal device or the second terminal device is in a power saving mode.
[0056] In this scheme, some implementation forms of power-saving conditions are listed. For example, when the user is in sleep state, the first terminal device or the second terminal device is in scenario mode or power-saving mode, or a preset power-saving time period, etc., it can be considered that the second terminal device can currently enter power-saving mode to maximize the energy consumption of the second terminal device.
[0057] In a third aspect, a system for controlling power saving is provided, the system comprising a first terminal device and a second terminal device in the aforementioned first aspect or second aspect and any possible implementation of the first aspect or second aspect.
[0058] In a fourth aspect, an electronic device is provided, which may be the first terminal device in the first aspect or the second terminal device in the second aspect, and the electronic device includes one or more processors and one or more memories; wherein: the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the electronic device may execute the energy-saving method in the aforementioned first aspect or second aspect and any possible implementation method of the first aspect or second aspect.
[0059] In a fifth aspect, a computer storage medium is provided, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device can execute the method for controlling power saving in the aforementioned first aspect or second aspect and any possible implementation of the first aspect or second aspect.
[0060] In a sixth aspect, a computer program product is provided. When the computer program product runs on a computer, the computer is enabled to execute the method for controlling power saving in the aforementioned first aspect or second aspect and any possible implementation of the first aspect or second aspect.
[0061] The technical effects brought about by any possible implementation method in the third to sixth aspects above can refer to the technical effects brought about by different implementation methods in the first or second aspect, and will not be repeated here.
[0062] It should be understood that the above general description and the following detailed description are only exemplary and explanatory and do not limit the scope of protection of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 A structural block diagram of a wearable device provided in one embodiment of the present application;
[0064] Figure 2 A structural block diagram of a non-wearable device provided in one embodiment of the present application;
[0065] Figure 3A A schematic diagram of the structure of a terminal device provided in one embodiment of the present application;
[0066] Figure 3B Another schematic diagram of the structure of a terminal device provided in one embodiment of the present application;
[0067] Figure 3C A schematic diagram of another structure of a terminal device provided in an embodiment of the present application;
[0068] Figure 4 A schematic diagram of a process of mutual communication between a smart watch and a mobile phone provided in an embodiment of the present application;
[0069] Figure 5 A schematic diagram of a first energy-saving method according to an embodiment of the present application;
[0070] Figure 6 A schematic diagram of the principle of energy saving for a non-wearable device provided in an embodiment of the present application;
[0071] Figure 7 A schematic diagram of a second energy-saving method provided in an embodiment of the present application;
[0072] Figure 8 A schematic diagram of the principle of energy saving for a non-wearable device provided in an embodiment of the present application;
[0073] Fig. 9 A schematic diagram of a third energy-saving method provided in an embodiment of the present application;
[0074] Fig.10 A schematic flow chart of a fourth energy-saving method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0075] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings.
[0076] Before introducing the present application, some terms and application scenarios in the embodiments of the present application are briefly explained to facilitate understanding by those skilled in the art.
[0077] 1) Terminal devices, which can be wearable devices. Wearable devices can also be called wearable smart devices or smart wearable devices, etc. They are a general term for the use of wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing and shoes. Wearable smart devices can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses. Wearable smart devices can also focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart watches, smart bracelets, smart helmets, smart jewelry, etc. for vital sign monitoring.
[0078] The terminal device may also be a non-wearable device, such as a portable electronic device, such as a mobile phone, a personal digital assistant (PDA), etc. Exemplary embodiments of portable electronic devices include but are not limited to devices equipped with Or other portable electronic devices with operating systems.
[0079] 2) The multiple terminals referred to in the one-number-multiple-terminal service can be regarded as multiple terminal devices with different international mobile subscriber identification numbers (IMSI) but the same mobile subscriber international ISDN number or public switched telephone network (PSTN) number or mobile international ISDN number (MSISDN). These multiple terminal devices can communicate with network devices (base stations) respectively, and one of the multiple terminals can switch from communicating with the network device to communicating with the network device through another terminal. It should be understood that the one-number-multiple-terminal service refers to the services commonly supported by these multiple terminals, such as calls, text messages, Internet access and other functions. Of course, the embodiments of the present application do not limit the specific one-number-multiple-terminal service.
[0080] The above-mentioned multi-terminals usually include a management device and at least one managed device. Among them, the management device can open a one-number multi-terminal service for each managed device, and in order to realize the one-number multi-terminal service, it is necessary to load a configuration file (profile) associated with the management device in the eSIM of the managed device in advance. For example, when the calling terminal initiates a call to the terminal corresponding to the MSISDN, since the management device and the managed device have the same MSISDN, both the management device and the managed device can receive the call, and the management device and the managed device will ring. At this time, the user can only answer the call through one of the multiple terminals, that is, the terminal that first responds to the call event is used as the called terminal to establish a call with the calling terminal. For example, in the actual use of the management device and the managed device, if the management device and the managed device are respectively within the use range of different users, for the management device or the managed device, as long as the call is connected first, it will be used as the called terminal to establish a call with the calling terminal.
[0081] For easier understanding, see Figure 1 , is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1In the example, a one-number-multiple-terminal includes a smart watch and a mobile phone. It should be understood that the mobile phone is equipped with a subscriber identity module (SIM) card, which can communicate with network equipment to realize the functions of the mobile phone such as calls, text messages, and Internet access. The smart watch can be installed with an embedded subscriber identity module (eSIM) card. The smart watch can directly communicate with the network equipment (base station) through the eSIM card to realize the functions of the smart watch such as calls, text messages, and Internet access. The eSIM card can be understood as a pluggable physical entity that abandons the plug-in SIM module, and the universal integrated circuit card (UICC) is embedded in the electronic device (not separable from the electronic device) instead of being added to the smart watch as an independent removable component. The eSIM card is also called an embedded UICC (eUICC), which is a blank SIM card pre-installed in the device chip. The operator can dynamically write the SIM card information through software. The eSIM card can store a variety of eSIM profiles of the operator, and each eSIM profile can independently constitute a SIM application. The SIM application can be called an eSIM module, and the eSIM module can realize functions similar to those of the plug-in SIM module. The eSIM module will allow users to choose operator packages more flexibly, or change operators at any time without unlocking the device or purchasing a new device. The identifier used to identify the SIM module and the eSIM module can be called the integrated circuit card identity (ICCID). The identifier used to identify the eUICC can be called the embedded universal integrated circuit card identifier (eUICC identify, EID).
[0082] The number indicated by the eSIM card of the smartwatch is the same as the number indicated by the SIM card of the mobile phone, and the smartwatch and the mobile phone can share phone charges, traffic, etc. In this case, the smartwatch and the mobile phone can be considered as one number multiple terminals, or the smartwatch and the mobile phone can be considered as having the capability of one number multiple terminals.
[0083] In some embodiments, when a user goes out for a run with a smartwatch without a mobile phone, the smartwatch can communicate directly with the network device through the Uu port. When the user returns home after running, the smartwatch detects the presence of the mobile phone through the sidelink (SL), and the smartwatch can automatically switch from a direct link with the network device to an indirect link relayed by the mobile phone, or the smartwatch can also switch from a direct link with the network device to an indirect link relayed by the mobile phone based on the user's operation, that is, communicate with the network through the mobile phone.
[0084] For example, the process of implementing a call with one number and multiple terminals can be referred to Figure 2 The process shown mainly includes an activation process and a communication process. The activation process refers to the process of activating a one-number-multiple-terminal service for multiple terminal devices, and the communication process refers to the process of multiple terminal devices performing a one-number-multiple-terminal service. Figure 2 One number for multiple terminals including Figure 1 The smart watch and mobile phone are shown as examples.
[0085] S201. The smart watch and the mobile phone establish a Bluetooth communication connection.
[0086] It should be understood that the working principle of Bluetooth communication is the socket mechanism. Take two terminal devices performing Bluetooth communication as an example. A socket is actually a communication endpoint. If both terminal devices can establish a socket, the two terminal devices can transmit data through the socket. For example, the two terminal devices include terminal device 1 and terminal device 2. Terminal device 1 writes the data to be transmitted into the socket of terminal device 1, and terminal device 1 sends the socket to terminal device 2. After receiving the socket, terminal device 2 can save the data in the received socket in the socket of terminal device 2, thereby completing the data transmission between the two terminal devices.
[0087] The process of establishing a Bluetooth communication connection between a smart watch and a mobile phone includes discovery, pairing and connection in sequence. That is, after the mobile phone discovers the Bluetooth of the smart watch, the mobile phone pairs the Bluetooth with the smart watch in response to the user's operation on the mobile phone. When the Bluetooth pairing between the mobile phone and the smart watch is successful, the mobile phone and the smart watch establish a Bluetooth communication connection. For example, the mobile phone is installed with an application (application, APP) for finding smart watches. When the mobile phone needs to establish a connection with the smart watch, the mobile phone can establish a Socket to send a Bluetooth connection request (or Bluetooth message) to the smart watch through the Socket to request a Bluetooth communication connection with the smart watch. The smart watch detects the search from the mobile phone and also establishes a Socket, through which the Bluetooth connection request from the mobile phone can be monitored. If the smart watch monitors the Bluetooth connection request from the mobile phone, the smart watch responds to the Bluetooth connection request of the mobile phone and establishes a Bluetooth communication connection with the mobile phone.
[0088] S202. Select a mobile operator.
[0089] The mobile phone can select an operator to request the selected operator to open a one-number-multiple-terminal service for the smart watch. In some embodiments, the mobile phone can install an APP for selecting an operator for the smart watch, and the user logs in to the APP through the mobile phone to select a matching operator for the smart watch. In other embodiments, after the mobile phone and the smart watch establish a Bluetooth communication connection, the APP for selecting an operator can be run based on the user's trigger. For example, when the mobile phone receives an operation from the user to start the APP for selecting an operator for the smart watch, the APP is called. In some other embodiments, after the mobile phone and the smart watch establish a Bluetooth communication connection, the APP for selecting an operator for the smart watch can be automatically run by default.
[0090] S203. The mobile phone requests the operator to activate the one-number-multiple-terminal service.
[0091] The mobile phone may request the selected operator to activate the one-number-multiple-terminal service. For example, the mobile phone may send a first request message to the operator device to request the activation of the one-number-multiple-terminal service. In some embodiments, the first request message may reuse the message used to activate the eSIM card. For example, the first request message may carry some information used to activate the eSIM card, such as the IMSI corresponding to the eSIM card, the user ID number corresponding to the IMSI, and the package information for activating the eSIM card, such as the package type. In this case, the first request message also carries information for indicating the service type, so as to distinguish whether the first request message is used to request the one-number-multiple-terminal service or to request the activation of the eSIM card through the information indicating the service type. For example, if the first request message does not carry information for indicating the service type, then the first request message may be considered to be used to request the activation of the eSIM card; if the first request message carries information for indicating the service type, then the first request message may be considered to be used to request the activation of the one-number-multiple-terminal service.
[0092] S204: The operator obtains the account opening information of the smart watch from the mobile phone.
[0093] The account opening information includes, for example, information related to the eSIM card of the smartwatch, information related to the smartwatch, etc. For details, please refer to the information required by the operator to open any eSIM card service. For example, the IMSI corresponding to the eSIM card, the user ID number corresponding to the IMSI, and the package information for opening the eSIM card, such as the package type, etc.
[0094] S205: The operator authenticates the smart watch.
[0095] The authentication process of the operator for the smart watch is similar to the authentication process of the operator for the mobile phone. For details, please refer to the authentication process of the operator for the mobile phone, which will not be repeated here.
[0096] S206: The operator sends a configuration file to the mobile phone, and correspondingly, the mobile phone receives the configuration file from the operator.
[0097] If the operator passes the authentication of the smart watch, the operator agrees to open the one-number-multiple-terminal service, and the operator can send a configuration file to the mobile phone. In some embodiments, the operator can generate a configuration file for opening the one-number-multiple-terminal service and encrypt it and send it to the mobile phone. The configuration file includes, for example, the SIM card information of the mobile phone.
[0098] S207: The mobile phone sends the configuration file to the smart watch.
[0099] S208. The smart watch writes the configuration file into the eSIM card.
[0100] Since the configuration file carries the SIM card information of the mobile phone, the smart watch writes the configuration file to the eSIM card, so that the smart watch can have the same communication number (commonly known as telephone number) as the mobile phone.
[0101] S209. The smart watch registers with the operator's core network.
[0102] The process of a smart watch registering a network with an operator's core network is similar to the process of a mobile phone registering a network with an operator's core network. For details, please refer to the process of a mobile phone registering a network with an operator's core network, which will not be repeated here.
[0103] S210: The operator sends an incoming call signal to the mobile phone.
[0104] S211. The operator sends an incoming call signal to the smart watch.
[0105] After the smartwatch registers with the operator, it can communicate with the network equipment (base station) to realize functions similar to mobile phone calls, text messages, and Internet access. Taking the call function as an example, when the calling terminal initiates a call to the mobile phone and smartwatch with the same communication number, the operator sends the incoming call signal to the mobile phone and the operator respectively. The terminal that first responds to the call event is the called terminal and establishes a call with the calling terminal.
[0106] It should be understood that after the smart watch activates the one-number-multiple-terminal service, both the mobile phone and the smart watch save information indicating that the smart watch has activated the one-number-multiple-terminal service. The smart watch can query whether the information exists. If the information does not exist, the smart watch determines that the one-number-multiple-terminal service has not been activated. On the contrary, if the information exists, the smart watch can determine that the one-number-multiple-terminal service has been activated.
[0107] 3) The main processor and the coprocessor are located in the same terminal device, and the two are relative. Both the main processor and the coprocessor can generate operation control signals according to the instruction opcode and timing signal, complete the control of instruction fetching and execution, and realize the corresponding functions. The difference is that the processing power of the main processor is stronger than that of the coprocessor, with better performance and higher power consumption. Usually the two run different operating systems. For example, the main processor usually runs a rich system, such as the Linux operating system, Android system, etc.; the coprocessor usually runs a light system, such as a real-time operating system (RTOS). The specific implementation forms of the main processor and the coprocessor will be introduced below.
[0108] 4) The terms "terminal" and "terminal device" in the embodiments of the present application can be used interchangeably. The term "plurality" refers to two or more. The term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.
[0109] "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or plural.
[0110] Furthermore, unless otherwise stated, ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the size, content, order, timing, priority or importance of multiple objects. For example, the first identifier and the second identifier can be the same identifier or different identifiers, and such names do not indicate the difference in the amount of information, content, priority or importance of the two identifiers.
[0111] The foregoing introduces some terminology concepts involved in the embodiments of the present application. The following introduces the technical features involved in the embodiments of the present application.
[0112] In order to reduce the energy consumption of terminal devices, when the terminal devices are not used for a long time, the terminal devices can be set to enter the standby state. When the terminal device enters the standby state, some cores of the processor of the terminal device can be turned off, so that the terminal device turns off the screen, suspends network access and other functions. Nevertheless, due to the increasing number of functional modules set up inside the terminal devices, even if the terminal device is in the standby state, some functional modules of the terminal device are still in the running state, which is still relatively power-consuming for the terminal device.
[0113] For example, the terminal device is a wearable device, such as a smart bracelet, a smart watch (hereinafter taken as an example), etc., the terminal device is in a standby state, and some cores of a processor of the terminal device stop running.
[0114] As an example, see Figure 3A , shows a structural diagram of a smart watch provided by an embodiment of the present application. Figure 3A As shown, the smart watch may include a main processor 301 and a coprocessor 302. The main processor 301 may be considered as a processor (or chip) with strong processing capabilities, good performance, and high power consumption. The main processor 301 may include one or more processing units, and the main processor 301 may also be considered to include multiple cores ( Figure 3ATake the main processor 301 including a large core and a small core as an example). For example: the main processor 301 may include an application processor (application processor, AP), a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. Among them, the main processor 301 can be the nerve center and command center of the smart watch 100, and the multiple cores of the main processor 301 can run based on an operating system. The main processor 301 can generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. In other embodiments, a memory (which can also be considered as a memory) can also be set in the main processor 301 for storing instructions and data. In some embodiments, the memory in the main processor 301 is a cache memory. The memory can save instructions or data that the main processor 301 has just used or circulated. If the main processor 301 needs to use the instruction or data again, it can be directly called from the memory, avoiding repeated access, reducing the waiting time of the main processor 301, and thus improving the efficiency of the system. The main processor 301 can run the software code / module of the energy-saving method provided in some embodiments of the present application, stop powering some functional modules, and thus achieve the purpose of energy saving.
[0115] The coprocessor 302 is a processor (or chip) with weak processing capabilities, poor performance, and low power consumption. The coprocessor 302 may include one or more processing units, or the coprocessor 302 may include one or more cores. For example, the coprocessor 302 may include a low-power AP, a sensor hub (Sensorhub) ( Figure 3ATaking this as an example), a microprocessor (micro-programmed control unit, MCU) and other low-power processing modules or processing circuits. The multiple cores of the coprocessor 302 can run based on an operating system different from that of the main processor 301, and the coprocessor 302 may not even run based on an operating system. Similar to the main processor 301, the coprocessor 302 can also be provided with a memory (which can also be considered as a memory) for storing instructions and data. In some embodiments, the memory in the coprocessor 302 is a cache memory. The memory can save instructions or data that have just been used or circulated by the main processor 301. If the coprocessor 302 needs to use the instruction or data again, it can be called directly from the memory, avoiding repeated access, reducing the waiting time of the coprocessor 302, and thus improving the efficiency of the system. The coprocessor 302 can run the software code / module of the energy-saving method provided in some embodiments of the present application, which can trigger the disconnection of the power supply of some functional modules, thereby achieving the purpose of energy saving.
[0116] The smartwatch also includes a sensor component 303, which may include various sensors for monitoring the user's sleep state, such as photoelectric sensors, such as photoplethysmo graphy (PPG) sensors, electrocardiogram (ECG) sensors, and other highly sensitive bioelectric sensors, such as bioimpedance sensors, heart rate sensors, myoelectric sensors, and electroencephalogram sensors, etc., and may also include sound sensors, motion sensors (also known as inertial sensors, such as gyroscopes, accelerometers, or speed sensors, etc.), position sensors (such as global positioning systems (GPS)), etc. PPG sensors, ECG sensors, heart rate sensors, myoelectric sensors, and electroencephalogram sensors can obtain bioelectric signals from the surface layer of human skin, such as electrocardiogram signals, myoelectric signals, and electroencephalogram signals, and sleep parameters can be determined based on these bioelectric signals, thereby determining the user's sleep state. It should be understood that in actual applications, the smart watch may also include more or fewer sensors, or use other sensors with the same or similar functions to replace the above-listed sensors, etc. For example, it may also include an audio sensor (e.g., a microphone), an optical or visual sensor (e.g., a camera, a visible light sensor or an invisible light sensor), a proximity light sensor, a touch sensor, a pressure sensor, a mechanical device (e.g., a crown, a switch, a button or a key, etc.), a vibration sensor, and the embodiments of the present application are not limited thereto. The sensor component 303 may collect sleep data for characterizing, for example, the user's sleep state, and transmit the collected data to the coprocessor 302 connected to the sensor component 303. The coprocessor 302 may process the data from the sensor component 303, perform fusion processing of each data, and control, for example, the second power management module to perform corresponding operations according to the processing results.
[0117] The smart watch may have a communication function or not. For example, the smart watch may send sleep data to other devices such as mobile phones connected to the smart watch through the Bluetooth module 304, so that the other devices can evaluate the user's sleep state based on the sleep data. In some embodiments, the smart watch may also include a wireless communication module and / or a mobile communication module, and one or more antennas. The smart watch can implement the communication function through one or more antennas, a wireless communication module or a mobile communication module. The mobile communication module (also called a baseband module) can provide solutions for wireless communications including 2G / 3G / 3G / 5G applied to the smart watch, for example, the modem 305 can also be considered as a mobile communication module. The modem 305 can be connected to the main processor 301. The wireless communication module can provide solutions for 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 technology (IR), etc. wireless communication solutions applied to the smart watch. One or more antennas may be used to transmit and receive electromagnetic wave signals. BT may be Bluetooth low energy (BLE). The Bluetooth connection in some embodiments includes a Bluetooth connection based on Bluetooth protocol 3.x, such as 4.2, and may also include a Bluetooth connection based on Bluetooth protocol 5.x, such as 5.0. Figure 3A Take the wireless communication module as the BT module 304 as an example.
[0118] The BT module 304 and the main processor 301 (or the coprocessor 302) can perform data transmission through a universal asynchronous receiver transmitter (UART), and implement the Bluetooth function according to the instructions of the main processor 301 (or the coprocessor 302), wherein the UART interface is a universal serial data bus for asynchronous communication, and the bus can be a bidirectional communication bus, which converts the data to be transmitted between serial communication and parallel communication. The wireless communication module can also perform data transmission with the sensor component 303 through an inter integrated circuit (I2C) or an improved inter integrated circuit (I3C), and implement Bluetooth functions such as Bluetooth broadcasting (ADV), Bluetooth scanning (Scanning), link establishment and data synchronization according to the instructions of the main processor 301 (or the coprocessor 302), wherein the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). I3C is an improvement on I2C. It is compatible with the I2C protocol and combines the advantages of I2C (two-wire, simple) and SPI (low power consumption, high speed).
[0119] The mobile communication module can be coupled to one or more antennas. For example, the mobile communication module can receive electromagnetic waves through one or more antennas, and filter, amplify and process the received electromagnetic waves to obtain electrical signals, which are then transmitted to the main processor 301 for processing (for example, the main processor 301 determines whether to provide a corresponding output in response to the electrical signal). The mobile communication module can also amplify the signal processed by the main processor 301, and convert it into electromagnetic waves for radiation through one or more antennas. In other embodiments, the wireless communication module can also be coupled to one or more antennas. For example, the wireless communication module can receive electromagnetic waves through one or more antennas, and filter, amplify and process the received electromagnetic waves, and transmit them to the main processor 301 for processing. The wireless communication module can also amplify the signal processed by the main processor 301, and convert it into electromagnetic waves for radiation through one or more antennas.
[0120] It should be noted that Figure 3A Only some functional components of a smart watch are shown, and do not constitute a specific limitation on the smart watch. For example, a smart watch may include Figure 3A More or fewer components, or combining some components, or splitting some components, or different arrangements of components.
[0121] For example, the smart watch may further include a memory, which may be used to store computer executable program codes, wherein the executable program codes include instructions. The main processor 301 executes various functional applications and data processing of the smart watch by running the instructions stored in the memory. The memory may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, and software code of at least one application (such as a heart rate detection application, etc.). The data storage area may store data (such as sleep data, etc.) generated during the use of the smart watch, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc., which is not limited in the embodiments of the present application.
[0122] For example, an electronic device may include a display (or screen) ( Figure 3A Taking this as an example), it may not include a display. For example, when the electronic device is a bracelet, it may include a display or not include a display. When the electronic device is a smart watch, it may include a display. The display is connected to the main processor 301 and the coprocessor 302 through a bus. When the first power management module disconnects the power supply to the main processor 301, the display of the display is controlled by the coprocessor 302; when the coprocessor 302 is in an unpowered state, the display of the display is controlled by the main processor 301. The display screen can be used to display sleep information or display interfaces of other applications. The display screen includes a display panel. The display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode or an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, a touch sensor may be provided in the display screen to form a touch screen, which is not limited in the embodiments of the present application. The touch sensor is used to detect a touch operation acting on or near it. The touch sensor may transmit the detected touch operation to the main processor 301 to determine the type of touch event. A visual output related to the touch operation may be provided through the display.
[0123] The embodiment of the present application does not limit the packaging implementation form of the coprocessor 302 and the main processor 301, nor does it limit the packaging implementation form of the Bluetooth module 304 and the coprocessor 302. That is, the coprocessor 302 can be independent of the main processor 301, or integrated with the main processor 301. The Bluetooth module 304 can be independent of the coprocessor 302, or integrated with the coprocessor 302.
[0124] For example, please continue to refer to Figure 3A , showing that the coprocessor 302 is independent of the main processor 301, and the Bluetooth module 304 is integrated with the coprocessor 302. In this case, the main processor 301 and the coprocessor 302 can be powered independently, for example, the main processor 301 can be powered by the first power management module, and the coprocessor 302 can be powered by the second power management module. That is, the first power management module is used to manage the power supply of, for example, the large core and the small core in the main processor 301, and the second power management module is used to manage the power supply of the sensor hub and the Bluetooth module 304 in the coprocessor 302. The first power management module can be an integrated power management circuit (power management integrated circuit, PMIC), and the second power management module can be a low dropout regulator (low dropout regulator, LDO), or a switching regulator (also called a switching power supply) (Buck). Since the main processor 301 and the coprocessor 302 are powered independently, the power failure of the main processor 301 will not affect the operation of the coprocessor 302. Similarly, the power failure of the coprocessor 302 will not affect the operation of the main processor 301. Therefore, when the main processor 301 is not needed to work, the power supply of the main processor 301 can be disconnected, that is, all cores of the main processor 301 stop working, so as to save energy consumption to the maximum extent.
[0125] For example, see Figure 3B , showing that the coprocessor 302 is integrated with the main processor 301, and the Bluetooth module 304 is independent of the coprocessor 302. In this case, the Bluetooth module 304 can be connected to the main processor 301 through a bus, and the sensor component 303 can be connected to the main processor 301 through a bus. The main processor 301 and the Bluetooth module 304 can be powered independently, that is, the first power management module is connected to the main processor 301, and is used to manage the power supply of the large core and the small core in the main processor 301 and the coprocessor 302, and the second power management module is connected to the Bluetooth module 304, and is used to manage the power supply of the Bluetooth module 304.
[0126] For example, see Figure 3C, showing that the coprocessor 302 is independent of the main processor 301, and the Bluetooth module 304 is independent of the coprocessor 302. In this case, the Bluetooth module 304 can be connected to the coprocessor 302 and the main processor 301 through a bus, and the coprocessor 302 is connected to the main processor 301 through a bus. The main processor 301 and the coprocessor 302 can be powered independently, and the coprocessor 302 and the Bluetooth module 304 can be powered by the same power management module. For example, the main processor 301 can be powered by a first power management module, and the coprocessor 302 and the Bluetooth module 304 can be powered by a second power management module. That is, the first power management module is used to manage the power supply of, for example, the large core and the small core in the main processor 301, and the second power management module is used to manage the power supply of the coprocessor 302 and the Bluetooth module 304.
[0127] Figure 3A to Figure 3C In the electronic device shown, the main processor 301 and the coprocessor 302 are connected, so that the main processor 301 and the coprocessor 302 can send instructions or data to each other to achieve corresponding functions. For example, the coprocessor 302 determines that the user is in a sleeping state, and can notify the main processor 301, that is, send a first signal to the main processor 301, and the first signal is used to indicate that the user is in a sleeping state. The main processor 301 receives the first signal, and can control the power supply of the main processor 301 to be disconnected (that is, control the main processor 301 to power off), and control the coprocessor 301 to control the power supply of the display and the Bluetooth module 303. When the coprocessor 302 determines that the user is awakened from the sleeping state, that is, the user is converted from the sleeping state to the awake state, the coprocessor 302 can control the main processor 301 to power on again. For example, the coprocessor can control the main processor to power on again by controlling the first power management module.
[0128] For example, the terminal device is a non-wearable device, such as a tablet, a mobile phone (hereinafter referred to as an example), etc.
[0129] Similar to smart watches, mobile phones also include a main processor, coprocessor, Bluetooth module, sensor components and modem. Figure 3A to Figure 3C The structure of any of the attached drawings is also applicable to mobile phones and will not be described in detail here.
[0130] It should be noted that a mobile phone may include fewer or more functional components than a smart watch. Figure 3A-3C More or fewer components, or combining some components, or splitting some components, or different component arrangements. For another example, a mobile phone also includes a subscriber identification module (SIM) card interface for connecting a SIM card to implement a call function. The SIM card can be connected to or disconnected from the mobile phone by inserting it into or removing it from the SIM card interface.
[0131] In order to further save the energy consumption of the terminal device, an embodiment of the present application provides an energy-saving method, in which if it is determined that the user is in a state where it is not necessary to use the terminal device, such as the user is in a sleeping state, or the user is on an airplane, or the terminal device is in a shielded scene, or the electronic device is in a silent mode, a do not disturb mode, or a conference mode, more functional modules set inside the terminal device can be turned off. Of course, if the terminal device switches from a state where the user does not need to use it to a state where the user may use it, for example, the user wakes up from a sleeping state, or the terminal device switches from a silent mode to a call reminder mode, some of the closed functional modules of the terminal device can be awakened. This will not affect the user's use, but can also achieve the purpose of maximizing energy saving as much as possible.
[0132] It should be noted that the embodiments of the present application are intended to save energy consumption of electronic devices to the maximum extent. When the user is not using the electronic device, in addition to shutting down some functional modules of the electronic device, some running applications, such as music APP or video APP, can also be shut down.
[0133] The energy-saving method provided in the embodiment of the present application can be applied to multiple terminals with one number, that is, multiple terminal devices that share the same number (such as MSISDN, that is, telephone number). The configuration files corresponding to the same number will be different on different terminal devices, for example, there will be differences in information such as IMSI and keys, but in essence, the configuration files corresponding to the same number on different terminal devices have the same operator services signed, for example, the operator services such as data traffic and call service duration are the same and are shared among various terminal devices.
[0134] See also Figure 4 , is an application scenario provided by an embodiment of the present application. In this scenario, the mobile phone and the smart watch are one-number multi-terminals, and the smart watch activates the one-number multi-terminal service through the mobile phone. Take the scenario where the user does not need to use the terminal device as an example, that is, the user is in a sleeping state.
[0135] Usually, when the user is awake, considering that the user will use various functions of the smart watch, the various functional modules of the smart watch are in normal working state, that is, each functional module is in a powered state, for example, the processor (such as application processor, etc.), modem module, coprocessor and Bluetooth module included in the smart watch are all in normal working state. The Bluetooth module of the smart watch can control the smart watch to maintain Bluetooth connection with the mobile phone, and the processor of the smart watch can control the display screen to display some menu information and call notification information, such as the incoming call number, etc.
[0136] However, when the user is in sleep mode, the user usually does not use the smart watch. In order to save the energy consumption of the smart watch, the smart watch can be switched to standby mode (also called sleep mode). That is, the functional modules included in the smart watch are still powered, but some functional modules are switched to low power mode. That is, the processor of the smart watch is still powered, but some cores running the processor stop working, for example, wireless fidelity (Wi-Fi) / global positioning system (GPS) scanning can be stopped to reduce wake-up; or, some modules are put into low power mode, such as Bluetooth (BT) module, Wi-Fi module, and modem module, etc., which send keep-alive frames regularly. Nevertheless, since there are still many functional modules in the power supply state set inside the smart watch, especially as more and more functional modules are set in the smart watch, the smart watch is still relatively power-consuming. Similarly, for mobile phones, like smart watches, even if the mobile phone is switched to standby mode, the mobile phone is still relatively power-consuming due to the increasing number of functional modules set inside the mobile phone.
[0137] In order to further save energy consumption of, for example, a smart watch, in an embodiment of the present application, when the smart watch determines that the user is in a sleep state, the smart watch can shut down one or more functional modules included. Shutting down one or more functional modules included in the smart watch can also be considered as stopping the power supply to the one or more functional modules, or performing power reduction processing on the one or more functional modules. For example, when the smart watch detects that the user is in a sleep state, the smart watch can shut down functions such as the processor 301, the modem module 305, etc., that is, disconnect the power supply of the processor 301 and the modem module 305. Compared with shutting down some kernels running in the processor 301, the embodiment of the present application disconnects the power supply of the processor 301 and the modem module 305, that is, all kernels of the processor 301 stop running, and the modem module 305 is in a power-off state, which can further save the energy consumption of the smart watch to the maximum extent. For a mobile phone, when the smart watch detects that the user is in a sleep state, it can inform the mobile phone, and when the mobile phone determines that the user is in a sleep state, it can also shut down the functions of the processor 301, the modem module 305, etc., that is, disconnect the power supply of the processor 301 and the modem module 305. Compared to shutting down some cores of the processor 301, the embodiment of the present application disconnects the power supply of the processor 301 and the modem module 305, that is, all cores of the processor 301 stop running, and the modem module 305 is in a power-off state, which can further maximize the energy saving of the mobile phone.
[0138] For ease of understanding, the energy-saving method of the terminal device provided by the present application is described in detail below in conjunction with the accompanying drawings. It should be understood that the terminal device has the capability of one number for multiple terminals. The terminal device described below includes a main processor and a coprocessor, and the main processor and the coprocessor are independently powered. In this way, the power supply of the main processor can be stopped when energy saving is required. Since the coprocessor can still be used to process according to the instruction opcode and timing signal, generate an operation control signal, complete the control of fetching and executing instructions, and realize the corresponding partial functions, it will not affect the user's use, and can achieve the purpose of maximum energy saving as much as possible.
[0139] Below Figure 3A to Figure 3C The structure of the electronic device is introduced to introduce the process of implementing the energy-saving method provided by the embodiment of the present application.
[0140] Embodiment 1
[0141] See also Figure 5 , is a flow chart of a first energy-saving method provided in an embodiment of the present application, which can be performed by Figure 3A to Figure 3C The one-number-multiple-terminals shown in any of the accompanying drawings can be implemented, for example, by a smart watch. When the smart watch determines that the user is in a sleep state, it can shut down the functions of the main processor 301, the modem 305, etc., that is, disconnect the power supply of the main processor 301 and the modem 305. Compared with shutting down some cores running in the main processor 301, the embodiment of the present application disconnects the power supply of the main processor 301 and the modem 305, that is, all cores of the main processor 301 stop running, and the modem 305 is in a power-off state, which can obviously further maximize power conservation. Figure 5 As shown, the process of the method includes:
[0142] S501. The smart watch establishes a Bluetooth communication connection with the mobile phone via Bluetooth.
[0143] The specific implementation of S501 is the same as the specific implementation of S201 mentioned above. For details, please refer to the relevant content of S201, which will not be repeated here.
[0144] S502. The smart watch activates the one-number-multiple-terminal service through the mobile phone.
[0145] The specific implementation of S502 is the same as the above-mentioned process of S202-S209. For details, please refer to the relevant content of S202-S209, which will not be repeated here.
[0146] S503: The smart watch monitors whether the user enters a sleeping state.
[0147] The smart watch may include sensors for detecting human physiological signals, such as PPG sensors, ECG sensors, bioelectric sensors, myoelectric sensors, etc. The sensor for detecting human physiological signals may be arranged on the side of the smart watch 100 that contacts the user's skin when the smart watch 100 is worn. After the user wears the smart watch, the sensor for detecting human physiological signals contacts the user's body. Therefore, human physiological signals may be detected by wearing the smart watch on the wrist. For example, the sensor for detecting human physiological signals may detect PPG signals, electrocardiogram signals, vibration signals, bioimpedance signals, etc. The sensor for detecting human physiological signals transmits the detected human physiological signals to the coprocessor 302, and the coprocessor 302 may obtain the user's physiological data according to the received human body generated signal, and then determine whether the user enters or exits the sleep state according to the physiological data. Alternatively, the coprocessor 302 may also send the user's physiological data obtained by the received human body generated signal to the main processor 301, and the main processor 301 obtains the user's physiological data, and then determines whether the user enters or exits the sleep state according to the physiological data.
[0148] Take the user's physiological data as pulse data, such as PPG data. Then the sensor used to detect human physiological signals is, for example, a photoelectric sensor, which can collect the user's pulse data. In some embodiments, the photoelectric sensor is a PPG sensor. When the user's heart contracts, the blood volume of the blood vessels increases, and the amount of light absorption increases accordingly. Correspondingly, the light intensity detected by the PPG sensor is smaller; when the user's heart relaxes, the blood volume of the blood vessels decreases, and the light intensity detected by the PPG sensor is larger. Based on this, as the user's heart beats, the PPG sensor can detect the pulsating light intensity, and then the PPG sensor can convert the light intensity change signal into a digital electrical signal. The digital electrical signal can be considered to be a PPG signal or PPG data.
[0149] It should be noted that the PPG sensor collecting pulse data is only a schematic description and does not limit the technical solution of the embodiment of the present application. As long as it can be used to detect whether the user enters a sleep state, for example, in other embodiments, the smart watch 100 can also collect pulse data through an ECG sensor. The embodiment of the present application is not described in detail here.
[0150] In some embodiments, the smart watch can collect the user's physiological signals at intervals of a first time length to more accurately determine whether the user enters or exits a sleep state, thereby minimizing the probability of misjudgment.
[0151] In other embodiments, according to the user's sleeping habits, it can be set to collect the user's physiological signals at intervals of a second time period in one or more time periods, that is, to obtain the user's physiological data in the set time period. In this way, it is possible to avoid collecting the user's physiological signals more frequently to save the energy consumption of the smart watch as much as possible. The second time period may be the same as or different from the first time period, and the embodiments of the present application are not limited to this. One or more time periods may be any time period in a day. For example, the user usually takes a lunch break at noon, that is, sleeps for a period of time, so the set time period may be from 11 to 13 o'clock in the day. For another example, the user also falls asleep at night, so the set time period may also include 22 o'clock of one day to 7 o'clock of the next day.
[0152] Furthermore, the smartphone can be set to collect the user's physiological signals within one or more time periods within one or more time periods, thereby further saving the energy consumption of the smart watch. For example, the smartphone can be set to collect the user's physiological signals within a third time period from 11 o'clock to 13 o'clock in a day and a fourth time period. The third time period can be calculated from 11 o'clock to determine whether the user enters a sleep state, and the fourth time period can be calculated from 13 o'clock to determine whether the user exits a sleep state. The third time period can be, for example, 10 minutes, and the fourth time period can also be, for example, 10 minutes. It should be noted that the embodiment of the present application does not limit the length of the third time period. For example, the third time period can be 15 minutes, and the fourth time period can be 20 minutes.
[0153] In addition, the smart watch can also collect the user's physiological signals non-periodically in each time period. That is, in each time period, the user's physiological signals can be collected multiple times, and the intervals between two adjacent collections of the user's physiological signals can be the same or different.
[0154] The smart watch 100 can determine whether the user enters or exits the sleep state based on the user's physiological data. Taking the user's physiological data as pulse data as an example, if the user enters the sleep state, the blood volume of the blood vessels decreases when the user's heart relaxes, and the light intensity detected by the PPG sensor is relatively large; if the user exits the sleep state, the blood volume of the blood vessels increases when the user's heart contracts, and the light absorption increases accordingly, and the light intensity detected by the PPG sensor is relatively small. Therefore, the light intensity detected by the PPG sensor can determine whether the user enters or exits the sleep state within a period of time. If it is determined that the user enters the sleep state, S504 can be executed; on the contrary, if the smart watch 100 determines that the user does not enter the sleep state, S505 can be executed.
[0155] S504: The smart watch determines whether the one-number-multiple-terminal service is activated.
[0156] It should be understood that if the smart watch does not have the one-number-multiple-terminal service enabled, that is, the modem 305 of the smart watch may be in a non-working state, and it can also be considered that the modem 305 does not consume the power of the smart watch. In this case, when the smart watch determines that the user is in a sleeping state, the traditional smart watch power saving mode can be used, that is, S505 is executed, that is, the smart watch enters the standby mode.
[0157] However, the smart watch may consume the power of the smart watch when the one-number-multiple-terminal service is enabled, that is, the smart watch's modem 305. Therefore, when the smart watch activates the one-number-multiple-terminal service and the user enters the sleep state, the power supply of the function modules such as the modem 305 included in the smart watch may be disconnected, that is, S506 is executed to save the power consumption of the smart watch as much as possible.
[0158] It should be understood that after the smart watch activates the one-number-multiple-terminal service, both the mobile phone and the smart watch save information indicating that the smart watch has activated the one-number-multiple-terminal service. The smart watch can query whether the information exists. If the information does not exist, the smart watch determines that the one-number-multiple-terminal service has not been activated. On the contrary, if the information exists, the smart watch can determine that the one-number-multiple-terminal service has been activated.
[0159] S506: The smart watch turns off one or more functional modules.
[0160] It should be understood that when the user is awake, considering that the user will use various functions of the smart watch, the various functional modules of the smart watch are in normal working state, that is, each functional module is in a powered state. For example, the main processor 301 (such as an application processor, etc.), modem 305, coprocessor 302, Bluetooth module 304 and sensor component 303 included in the smart watch are all in normal working state. The Bluetooth module 304 of the smart watch can control the smart watch to maintain Bluetooth connection with the mobile phone, and the main processor 301 of the smart watch can control the display screen to display some menu information, incoming call notification information, etc.
[0161] However, when the user is in sleep mode, the user usually does not use the smart watch. In order to save energy consumption of the smart watch, the smart watch can be switched to standby mode (also called sleep mode). That is, the functional modules included in the smart watch are still powered, but some functional modules are switched to low power consumption mode. That is, the main processor 301 of the smart watch is still powered, but some cores running in the main processor 301 stop working, for example, WiFi / GPS scanning can be stopped to reduce wake-up; or, some modules are put into low power consumption mode, such as BT module, WiFi module, and Modem module, etc., which send keep-alive frames regularly.
[0162] In order to further save the energy consumption of the smart watch, in an embodiment of the present application, the smart watch determines that the user is in a sleep state, and the smart watch opens a one-number multi-terminal service, and the smart watch can turn off one or more functional modules included. Turning off one or more functional modules included in the smart watch can also be considered as stopping the power supply to the one or more functional modules, or performing power reduction processing on the one or more functional modules. For example, the smart watch detects that the user enters a sleep state, and the smart watch can turn off the functions of the main processor 301 and the modem 305, that is, the main processor 301 and the modem 305 are powered off, that is, the power supply of the main processor 301 and the modem 305 is disconnected. Compared with turning off some cores running in the main processor 301, the embodiment of the present application disconnects the power supply of the main processor 301 and the modem 305, that is, all the cores of the main processor 301 stop running, and the modem 305 is in a power-off state, which can obviously further save power to the maximum extent. It should be understood that the power-off operation of the main processor 301 and the modem 305 can be that the first power management module disconnects the power supply to the main processor 301 and the modem 305, and retains the power supply state of the Bluetooth module 304. For example, if Figure 3A and Figure 3C As shown, the first power management module disconnects the power supply to the main processor 301 and the modem 305, and keeps the power supply state of the Bluetooth module 304. The coprocessor 302 can control the communication between the Bluetooth module 304 and the smart watch. When the modem 305 of the mobile phone is online and there is an incoming call, since the smart watch and the mobile phone can communicate through the Bluetooth module 304, the smart watch can also realize the call function based on the Bluetooth communication with the mobile phone. Figure 3B As shown, the first power management module disconnects the power supply to the main processor 301, the modem 305 and the coprocessor 302, and retains the power supply state of the Bluetooth module 304. In this case, the Bluetooth module 304 can perform a wake-up task, such as waking up according to a set interrupt task; or waking up by receiving information based on Bluetooth protocol encapsulation sent by other devices; or responding to a Bluetooth wake-up message triggered by a mobile phone, thereby waking up the main processor 301 and the modem 305.
[0163] See also Figure 6 , a block diagram of the principle of energy saving for smart watches. Figure 6 Taking the function of shutting down the main processor 301 and the modem 305 as an example, it should be understood that Figure 6This is just an example. In a possible implementation, the functions of other possible modules can also be turned off. When the user enters sleep mode, the smart watch turns off the functions of the main processor 301 and the modem 305. In this case, the coprocessor 302 can control the display of the display screen to ensure that the display screen can display information such as time, so that the user can check the time when needed. The coprocessor 302 can also control the smart watch to maintain a Bluetooth connection with the mobile phone. Although the smart watch turns off the modem 305, the coprocessor 302 can control the smart watch to maintain a Bluetooth connection with the mobile phone, and the modem 305 of the mobile phone is online, so it can ensure that the user's incoming calls and text messages are not affected, that is, it does not affect the user's use.
[0164] In the embodiment of the present application, when the user enters the sleep state, the smart watch turns off the functions of the main processor 301 and the modem 305. Compared with switching the smart watch to the standby mode (also called the sleep mode), it is obviously more power-saving because the power supply of the main processor 301 and the modem 305 is disconnected.
[0165] S507: The smart watch determines whether the user exits the sleep state.
[0166] S508: The smart watch determines that the user exits the sleep state, and turns on one or more function modules that are turned off by the smart watch.
[0167] S509: The smart watch determines that the user has not exited the sleep state and remains in the standby mode.
[0168] It should be understood that when the user exits the sleep state, in order not to affect the user's use of the smart watch, it is necessary to turn on one or more functional modules that were turned off. That is, restore the power supply to the one or more functional modules. Please continue to refer to Figure 6, the user exits the sleep state, and the smart watch can restore the power supply of the main processor 301 and the modem 305. For example, the coprocessor 302 determines that the user using the mobile phone exits the sleep state, and the coprocessor 302 can control the first power management module to perform a power-on operation on the main processor 301 and the modem 305. In this case, the coprocessor 302 can communicate with the main processor 301, and the main processor 301 can control the connection and disconnection between the Bluetooth module 304 of the smart watch and the mobile phone. For example, since the modem 305 of the smart watch is online, the modem 305 has a one-number multi-terminal service capability, and can also realize the call or text message function with other users without the assistance of the mobile phone, so the main processor 301 can control the connection between the Bluetooth module 304 of the smart watch and the mobile phone to save the energy consumption of the smart watch as much as possible. Subsequently, the user can control the Bluetooth module 304 of the smart watch to establish a connection with the mobile phone according to the actual situation. For example, before going to sleep, the user can operate the smart watch and the mobile phone so that the smart watch and the mobile phone establish Bluetooth pairing, so as to determine again whether the user enters the sleep state through the smart watch.
[0169] It should be noted that when the smart watch determines that the user exits the sleep state, in addition to restoring the power supply to the main processor 301 and the modem 305, it can still enter the standby mode, and of course, it can also exit the standby mode.
[0170] It should be noted that Figure 5 In the process shown, S503 takes the smart watch determining whether the user enters the sleep state as an example of whether the smart watch meets the power saving condition. S503 can also be considered as whether the smart watch meets the power saving condition. If the user enters the sleep state, the smart watch meets the power saving condition. Correspondingly, S503 can also be considered as whether the smart watch does not meet the power saving condition. If the user exits the sleep state, the smart watch does not meet the power saving condition.
[0171] Figure 5Taking the power saving condition as the user entering the sleep state as an example, in some embodiments, the power saving condition may also be other possible conditions. For example, the power saving condition may be one or more of the following conditions: the user using the mobile phone and the smart watch enters the sleep state; the smart watch or mobile phone is in the scene mode, silent mode, do not disturb mode or conference mode; the smart watch or mobile phone is in the power saving module; the scene information of the smart watch or mobile phone meets the preset conditions, and the scene information may include the scene location information, which is used to characterize the scene location of the smart watch or mobile phone, such as a conference room, a cinema, etc.; the scene information may also include power saving time information, which is used to characterize the time period for power saving; the current time is within the power saving time period preset by the smart watch or mobile phone; receiving node indication information from other devices, that is, receiving instructions from other devices to instruct the smart watch or mobile phone to perform a power-off operation. When the smart watch determines whether the power saving condition is met, it can also identify the current mode of the smart watch, and the specific method for identifying the mode can follow the current method for identifying the mode. For example, when the smart watch identifies the silent mode, it can also identify it through the volume parameters of the speaker of the smart watch; for another example, when the smart watch identifies the conference mode, the location of the smart watch can be determined by the positioning system set on the smart watch. Whether it is located in a conference room, etc. Of course, the smart watch can also obtain configuration information from the mobile phone to indicate whether the power saving conditions are met. For example, the configuration information may include the aforementioned scene information, the preset power saving time of the mobile phone, the current mode of the mobile phone, etc., so as to more accurately determine whether the smart watch meets the power saving conditions.
[0172] Embodiment 2
[0173] See also Figure 7 , is a flow chart of a second energy-saving method provided in an embodiment of the present application, which can be performed by Figure 3A to Figure 3C The one-number-multiple-terminals shown in any of the figures can be implemented by, for example, a mobile phone. When the mobile phone determines that the user has entered a sleep state, it can stop supplying power to one or more functional modules. For example, the mobile phone can disconnect the power supply of the main processor 301 and the modem 305. Compared with shutting down some cores running in the main processor 301, the embodiment of the present application disconnects the power supply of the main processor 301 and the modem 305, that is, all cores of the main processor 301 stop running, and the modem 405 is in a power-off state, which can further achieve maximum power saving. Figure 7 As shown, the process of the method includes:
[0174] S701. The mobile phone establishes a Bluetooth communication connection with the smart watch via Bluetooth.
[0175] The specific implementation of S701 is the same as the specific implementation of S201 mentioned above. For details, please refer to the relevant content of S201, which will not be repeated here.
[0176] S702. The smart watch activates the one-number-multiple-terminal service through the mobile phone.
[0177] The specific implementation of S702 is the same as the above-mentioned process of S202-S209. For details, please refer to the relevant content of S202-S209, which will not be repeated here.
[0178] S703: The smart watch determines whether the user enters a sleeping state.
[0179] The mobile phone and the smart watch maintain a Bluetooth connection, and the smart watch can monitor whether the user enters a sleeping state through the sensor component 403. For details, please refer to the relevant content of the aforementioned S503, which will not be repeated here.
[0180] S704: The mobile phone receives a first message from the smart watch, where the first message is used to instruct the user to enter a sleep state.
[0181] If the smart watch determines that the user is in a sleeping state, it can send a first message to the mobile phone to inform the mobile phone that the user has entered a sleeping state. The first message can also be considered as a first instruction, which is an instruction for instructing the mobile phone to enter a power saving mode. The embodiment of the present application can define a power saving mode of a mobile phone. For example, when a mobile phone enters a power saving mode, the mobile phone turns off one or more functional modules. Of course, if the smart watch determines that the user has not entered a sleeping state, the smart watch does not send the first message.
[0182] S705. The mobile phone shuts down one or more functional modules.
[0183] It should be understood that when the user is awake, considering that the user will use various functions of the mobile phone, the various functional modules of the mobile phone are in normal working state, that is, each functional module is in a powered state. For example, the main processor 301, coprocessor 302, Bluetooth module 304, sensor component 303 and modem 305 included in the mobile phone are all in normal working state. For example, the main processor 301 can control the Bluetooth module 304 so that the mobile phone maintains a Bluetooth connection with the smart watch and supports all Bluetooth functions; the coprocessor 302 can control the Bluetooth module 304 to receive some information from the smart watch, such as the first message, and other possible Bluetooth data, and parse the data from the smart watch. It can be considered that the Bluetooth function of the mobile phone is divided into two parts, one of which is implemented based on the main processor 301, and the other is implemented based on the coprocessor 302.
[0184] However, when the user is in sleep mode, the user usually does not use the mobile phone. In order to save the energy consumption of the mobile phone, the mobile phone can be switched to standby mode (also called sleep mode). That is, the functional modules included in the mobile phone are still powered, but some functional modules are switched to low power consumption mode, that is, the main processor 301 of the mobile phone is still powered, but some cores running in the main processor 301 stop working, for example, WiFi / GPS scanning can be stopped to reduce wake-up; or, some modules are put into low power consumption mode, such as BT module 304, WiFi module, and modem 305, etc., which send keep-alive frames regularly.
[0185] In order to further save the energy consumption of the mobile phone, in an embodiment of the present application, when the mobile phone determines that the user has entered a sleep state, the mobile phone can shut down one or more functional modules included therein. Shutting down one or more functional modules included in the mobile phone can also be considered as stopping the power supply to the one or more functional modules, or performing power reduction processing on the one or more functional modules. For example, when the mobile phone receives the first message, it can shut down the functions of the main processor 301, the modem 305, etc., that is, disconnect the power supply of the main processor 301 and the modem 305. Compared with shutting down some cores running in the main processor 301, the embodiment of the present application disconnects the power supply of the main processor 301 and the modem 305, that is, all cores of the main processor 301 stop running, and the modem 305 is in a power-off state, which can further achieve maximum power saving. It should be understood that the power-off operation of the main processor 301 and the modem 305 can be that the first power management module disconnects the power supply to the main processor 301 and the modem 305, and retains the power supply state of the Bluetooth module 304. For example, if Figure 3A and Figure 3C As shown, the first power management module disconnects the power supply to the main processor 301 and the modem 305, and keeps the power supply state of the Bluetooth module 304. The coprocessor 302 can control the communication between the Bluetooth module 304 and the smart watch. When the modem 305 of the smart watch is online and there is an incoming call, since the smart watch and the mobile phone can communicate through the Bluetooth module 304, the mobile phone can also realize the call function based on the Bluetooth communication with the smart watch. Figure 3B As shown, the first power management module disconnects the power supply to the main processor 301, the modem 305 and the coprocessor 302, and retains the power supply state of the Bluetooth module 304. In this case, the Bluetooth module 304 can perform a wake-up task, such as waking up according to a set interrupt task; or waking up by receiving information based on Bluetooth protocol encapsulation sent by other devices; or responding to a Bluetooth wake-up message triggered by a smart watch, thereby waking up the main processor 301 and the modem 305.
[0186] See also Figure 8, a block diagram of the principle of energy saving for mobile phones. Figure 8 Taking shutting down the main processor 301, the modem 305 and the internal memory as an example, it should be understood that Figure 8 This is just an example. In a possible implementation, the functions of other possible modules can also be turned off. The mobile phone disconnects the power supply of the main processor 301, the modem 305 and the internal memory. In this case, the coprocessor 302 can control the mobile phone to maintain a Bluetooth connection with the smart watch and receive messages from the smart watch. Although the mobile phone turns off the modem 305, the mobile phone maintains a Bluetooth connection with the smart watch via Bluetooth, and the modem 305 of the smart watch is online, so it can ensure that the user's incoming calls and text messages are not affected.
[0187] In addition, the data of the Bluetooth module is also stored in the static random-access memory (SRAM) of the Bluetooth module, and the data of the coprocessor 302 is also stored in the static random-access memory (SRAM) of the coprocessor 302, so when the user enters the sleep state, the mobile phone can also turn off the internal memory, such as the double data rate (DDR) memory.
[0188] In an embodiment of the present application, when a user enters a sleep state, the mobile phone turns off one or more functional modules included therein. Compared with switching the mobile phone to standby mode (also called sleep mode), it is obviously more power-saving because the power supply of some functional modules is disconnected.
[0189] S706: The smart watch determines whether the user exits the sleep state.
[0190] The mobile phone and the smart watch maintain a Bluetooth connection, and the smart watch can monitor whether the user exits the sleep state through the sensor component 303. For details, please refer to the relevant content of the aforementioned S503, which will not be repeated here.
[0191] S707: The mobile phone receives a second message from the smart watch, where the second message is used to instruct the user to exit the sleep state.
[0192] It should be understood that when the user exits the sleep state, in order not to affect the user's use of the mobile phone, it is necessary to turn on one or more functional modules that were turned off. That is, the power supply to the one or more functional modules is restored. When the smart watch detects that the user exits the sleep state, it can send a second message to the mobile phone to inform the mobile phone that the user exits the sleep state. Of course, if the smart watch determines that the user has not exited the sleep state, the second message may not be sent.
[0193] S708: When the mobile phone receives the second message, one or more functional modules are activated.
[0194] When the mobile phone receives the second message, it may be considered that one or more disabled function modules need to be enabled. Figure 8 , the user exits the sleep state, and the mobile phone resumes power supply to the main processor 301, the modem 305, and the internal memory. For example, the coprocessor 302 determines that the user using the mobile phone exits the sleep state, and the coprocessor 302 can control the first power management module to perform a power-on operation on the main processor 301 and the modem 305. In this case, the main processor 301 can control the connection and disconnection between the Bluetooth module 304 of the mobile phone and the smart watch. For example, since the modem 305 of the mobile phone is online, it does not need the assistance of the smart watch to realize the call or text message function with other users, so the main processor 301 can control the Bluetooth module 304 of the mobile phone to disconnect from the smart watch.
[0195] It should be noted that, when the mobile phone determines that the user exits the sleep mode, in addition to restoring the power supply to the main processor 301 and the modem 305, it can still enter the standby mode, and of course, it can also exit the standby mode.
[0196] It should be noted that Figure 7 In the process shown, S703 takes the mobile phone determining whether the user enters the sleep state as an example of whether the smart watch meets the power saving condition. S703 can also be considered as whether the mobile phone meets the power saving condition. If the user enters the sleep state, then the mobile phone meets the power saving condition. Correspondingly, S703 can also be considered as whether the mobile phone does not meet the power saving condition. If the user exits the sleep state, then the mobile phone does not meet the power saving condition. For the specific implementation of the power saving condition, please refer to the aforementioned Figure 5 The relevant contents of the embodiment will not be repeated here.
[0197] Embodiment 3
[0198] After the smart watch and the mobile phone are connected, as long as any modem 305 in the smart watch and the mobile phone is online, the functions of calling and text messaging will not be affected. If the smart watch and the mobile phone are connected, the smart watch has sufficient power and the mobile phone has relatively less power, the mobile phone can enter the power saving mode; on the contrary, if the smart watch has relatively less power and the mobile phone has sufficient power, the smart watch can enter the power saving mode.
[0199] See also Fig. 9 , is a flow chart of the third energy-saving method provided in the embodiment of the present application. The method can be executed by two terminal devices. For the convenience of description, in the embodiment of the present application, the first terminal device and the second terminal device are taken as examples. The first terminal device can be a smart watch, and the corresponding second terminal device is a mobile phone; or the first terminal device can be a mobile phone, and the corresponding second terminal device is a smart watch. Fig. 9As shown, the process of the method includes:
[0200] S901. A first terminal device establishes a Bluetooth connection with a second terminal device via Bluetooth.
[0201] The specific implementation of S901 is the same as the specific implementation of S201 mentioned above. For details, please refer to the relevant content of S201, which will not be repeated here.
[0202] S902. The second terminal device and the first terminal device activate a one-number-multiple-terminal service.
[0203] The specific implementation of S902 is the same as the above-mentioned process of S202-S209. For details, please refer to the relevant content of S202-S209, which will not be repeated here.
[0204] S903: The first terminal device determines whether a power saving condition is met.
[0205] If the first terminal device meets the power saving condition, the first terminal device may enter a power saving mode, that is, shut down one or more function modules included therein.
[0206] In some embodiments, the power saving condition may be that the user enters a sleeping state; or the power saving condition may be that the scenario mode of the first terminal device is in a silent mode, a do not disturb mode, or a conference mode, etc.; or the node condition may be that the current moment is within a preset power saving time range. It should be understood that the above power saving conditions are only for illustration, and any condition that meets the power saving requirements in actual use can be considered a power saving trigger condition.
[0207] S904: The first terminal device determines whether the power of the second terminal device is sufficient.
[0208] It should be understood that if the first terminal device has sufficient power, it is not necessary to enter the power saving mode for ease of use. Similarly, if the second terminal device has sufficient power, it is not necessary to enter the power saving mode for ease of use. When the first terminal device and the second terminal device establish a Bluetooth connection, considering that any modem in the first terminal device and the second terminal device is online, it will not affect functions such as calls and text messages, so it can be decided whether the first terminal device and the second terminal device enter the power saving mode, which better meets the actual energy saving needs of the first terminal device and the second terminal device.
[0209] Taking the first terminal device as an example, when determining whether to enter the power saving mode, it can be determined whether the second terminal device has sufficient power. If the second terminal device has insufficient power, the second terminal device can be prioritized to enter the power saving mode; conversely, if the second terminal device has sufficient power, the first terminal device can be prioritized to enter the power saving mode.
[0210] There are multiple ways to determine whether the power of the second terminal device is sufficient in the embodiment of the present application, for example, including the following methods.
[0211] In a first manner, whether the power of the second terminal device is sufficient is determined based on whether the second terminal device is in a charging state.
[0212] When the second terminal device is in a charging state, there is naturally no need to enter the power saving mode, and it can be considered that the second terminal device has sufficient power. Exemplarily, the first terminal device can send a second request message to the second terminal device, and the second request message can be used to request the second terminal device to report whether it is in a charging state. The second terminal device receives the second request message, can obtain the charging information of the second terminal device, and send the obtained charging information to the first terminal device. The first terminal device receives the charging information, and can determine whether the second terminal device is in a charging state based on the charging information, and then determine whether the mobile phone has sufficient power.
[0213] The second method is to determine whether the power of the second terminal device is sufficient according to the power information of the second terminal device.
[0214] If the remaining power of the second terminal device is greater than the remaining power of the first terminal device, then it can be considered that the power of the second terminal device is sufficient relative to the first terminal device. Alternatively, if the remaining battery life of the second terminal device is greater than the remaining battery life of the first terminal device, then it can be considered that the power of the second terminal device is sufficient relative to the first terminal device.
[0215] Exemplarily, the first terminal device may send a third request message to the second terminal device, and the third request message may be used to request the second terminal device to report its own power information. The second terminal device receives the third request message, may obtain the remaining power or remaining battery life of the second terminal device, and send the power information of the second terminal device to the first terminal device, and the power information includes the remaining power or remaining battery life of the second terminal device. The first terminal device receives the power information and may determine whether the power of the second terminal device is sufficient based on the power information. For example, if the power information includes the remaining power of the second terminal device, the first terminal device may compare the remaining power of the second terminal device with the remaining power of the first terminal device. If the remaining power of the second terminal device is greater than the remaining power of the first terminal device, then the power of the second terminal device is sufficient; on the contrary, if the remaining power of the second terminal device is less than or equal to the remaining power of the first terminal device, then the power of the second terminal device is insufficient. If the power information includes the remaining battery life of the second terminal device, the first terminal device may compare the remaining battery life of the second terminal device with the remaining battery life of the first terminal device. If the remaining battery life of the second terminal device is greater than the remaining battery life of the first terminal device, the power of the second terminal device is sufficient; conversely, if the remaining battery life of the second terminal device is less than or equal to the remaining battery life of the first terminal device, the power of the second terminal device is insufficient.
[0216] The third method is to determine whether the power of the second terminal device is sufficient according to whether the second terminal device is in a charging state and the power information of the second terminal device.
[0217] Although the remaining power (or remaining battery life) of the second terminal device is less than the remaining power (or remaining battery life) of the first terminal device, when the second terminal device is in a charging state, it can also be considered that the power of the second terminal device is sufficient.
[0218] For example, the first terminal device may first determine whether the second terminal device is in a charging state. If the second terminal device is not in a charging state, the first terminal device continues to determine whether the second terminal device has sufficient power based on the power information of the second terminal device. For specific implementation, please refer to the relevant descriptions of the first and second methods mentioned above, which will not be repeated here.
[0219] S905: The first terminal device determines that the power of the second terminal device is sufficient, and the first terminal device enters a power saving mode.
[0220] If the second terminal device has sufficient power, the first terminal device may enter power saving mode first. That is, the first terminal device may turn off the functions of one or more functional modules included in the first terminal device. For details, please refer to the above Figure 5The relevant contents of the illustrated embodiment will not be repeated here.
[0221] S906: The first terminal device determines that the power of the second terminal device is insufficient, and the first terminal device sends power-saving indication information to the second terminal device, where the power-saving indication information is used to instruct the second terminal device to enter a power-saving mode.
[0222] If the second terminal device has sufficient power, the second terminal device may enter the power saving mode first. When the first terminal device determines that the second terminal device has insufficient power, the first terminal device may send power saving indication information to the second terminal device. The power saving indication information is used to instruct the second terminal device to enter the power saving mode.
[0223] S907: The second terminal device switches to the power saving mode according to the power saving indication information.
[0224] The second terminal device receives the power saving indication information and can shut down the functions of one or more function modules included in the second terminal device. For details, please refer to the above Figure 7 The relevant contents of the illustrated embodiment will not be repeated here.
[0225] It should be noted that Fig. 9 The third energy-saving method in the example is only performed by a smart watch and a mobile phone. This method is applicable to any two terminal devices that establish a communication connection. Therefore, S902 is an optional step, that is, a step that may not be performed, so S902 is indicated by a dotted line.
[0226] In addition, the embodiment of the present application does not limit the execution order of S901 and S903, that is, the first terminal device can execute in the order of S901, S902, S903, or in the order of S903, S901, S902.
[0227] Embodiment 4
[0228] The above-mentioned embodiments 1 to 3 introduce how smart watches and mobile phones can save energy as much as possible. It should be understood that when any electronic device is turned off, the functional modules of the electronic device are turned off, which is the most energy-saving. However, the energy consumption of the terminal device is reduced by timing the power on and off. Since the power on and off is timed, it is inevitable that the terminal device will automatically shut down during the user's use of the terminal device, resulting in a poor user experience.
[0229] To this end, an embodiment of the present application provides a fourth energy-saving method, in which the power-on time and power-off time of the electronic device can be flexibly set according to the user's sleeping habits, thereby saving energy consumption to the maximum extent.
[0230] See also Fig.10, is a flow chart of a fourth energy-saving method provided in an embodiment of the present application, which can be performed by Figure 1 The smartwatch shown in the figure performs Fig.10 As shown, the process of the method includes:
[0231] S1001. The smart watch obtains the user's historical sleep data, and determines the user's earliest awakening time based on the historical sleep data.
[0232] The embodiment of the present application aims to flexibly set the power-on time and power-off time of the electronic device according to the user's sleeping habits, so as to maximize the energy saving of the electronic device. For example, a smart watch can obtain the user's historical sleep data, such as the earliest wake-up time and the latest sleep time of the user in a period of time, so as to estimate the user's possible earliest wake-up time, that is, the time when the user enters the awake state, based on the historical sleep data.
[0233] The smart watch can obtain the user's historical sleep data when triggered by the user, thereby determining the user's earliest waking time. It can also periodically collect the user's historical sleep data to determine the user's earliest waking time in each cycle.
[0234] S1002. The smart watch sends first update information to the mobile phone, where the first update information is used to update the power-on time in the user's sleep schedule.
[0235] The power-on time stored in the mobile phone may not be the earliest wake-up time of the user, so the mobile phone cannot be powered on in time, the user's usage time is missed, and the user experience is poor. Then the smart watch can determine the earliest wake-up time of the user based on the historical sleep data, and inform the mobile phone of the earliest wake-up time. Exemplarily, the smart watch can send the first update information to the mobile phone via Bluetooth, and the first update information may include the earliest wake-up time of the user. After receiving the first update information, the mobile phone can set the power-on time to the earliest wake-up time to prevent the mobile phone from missing the user's usage time.
[0236] S1003: The smart watch detects that the user has entered a sleeping state.
[0237] The smart watch can monitor whether the user enters a sleeping state. For details, please refer to the relevant content of the aforementioned S503, which will not be repeated here.
[0238] S1004. The smart watch sends a third message to the mobile phone to inform the mobile phone that the user is in sleep mode.
[0239] The smart watch determines that the user has entered the sleep state, and can send a third message to the mobile phone to inform the mobile phone that the user is in the sleep state. After receiving the third message, the mobile phone can execute S1005.
[0240] S1005. The mobile phone is set to start and shut down at a scheduled time according to the user's sleep schedule.
[0241] The third message can also be considered as an instruction to instruct the mobile phone to shut down and set a scheduled startup. The user's sleep schedule can protect the user's latest sleep time and the user's earliest wake-up time. After receiving the third message, the mobile phone can shut down and set a scheduled startup according to the user's earliest wake-up time in the user's sleep schedule.
[0242] In an embodiment of the present application, the smart watch can flexibly set other electronic devices, such as the power-on time and power-off time of a mobile phone, according to the user's sleeping habits, thereby maximizing energy saving.
[0243] Based on the above embodiments, the embodiments of the present application further provide a terminal device, which is, for example, a mobile phone, a portable computer, a smart speaker, or a smart watch. The terminal device may include one or more processors and one or more memories, each memory being used to store one or more programs; the above devices may be connected via one or more communication buses. When one or more programs stored in the memory are executed by one or more processors, the terminal device may be used to execute the following operations: Figure 5 or Figure 7 or Fig. 9 or Fig.10 The various steps in the illustrated embodiment or other corresponding embodiments.
[0244] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.
[0245] In the embodiments provided by the present application, the method provided by the embodiments of the present application is introduced from the perspective of an electronic device (smart watch or mobile phone) as an execution subject. In order to realize the functions in the method provided by the embodiments of the present application, the electronic device may include a hardware structure and / or a software module, and the functions are realized in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a function of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
[0246] In combination with the above introduction, the specific implementation process of the embodiment of the present application is introduced below. The at least one involved in the embodiment of the present application includes one or more; wherein, more means greater than or equal to two. In addition, it should be understood that in the description of the present application, the words "first", "second", etc. are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0247] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to be limiting of the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more; "and / or" describes the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0248] References to "one embodiment" or "some embodiments" described herein mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0249] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0250] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0251] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0252] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0253] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. An energy saving method, applied to a first terminal device, wherein the first terminal device and a second terminal device are bound through a one-number-multiple-terminal service, characterized in that: The method comprises: Determine from the first terminal device and the second terminal device that the device that needs to save power is the first terminal device, and when the power-saving condition is met, perform a power-off operation on the baseband module and the application processor AP core of the first terminal device, and control the Bluetooth module of the first terminal device to be in a power supply state; wherein the power-saving condition includes at least one of the following conditions: the first terminal device or the second terminal device is in a scene mode, a silent mode, a do not disturb mode or a conference mode; the first scene information of the first terminal device or the second terminal device meets a preset condition, and the first scene information includes at least one of the scene occurrence location information and the power-saving time information; or receive the first power-saving indication information from the second terminal device, and the first power-saving indication information is used to instruct the first terminal device to perform a power-off operation; Otherwise, if it is determined from the first terminal device and the second terminal device that the device that needs to save power is the second terminal device, second power saving indication information is sent to the second terminal device, and the second power saving indication information is used to instruct the second terminal device to perform a power-off operation.
2. The method according to claim 1, characterized in that The power-off operation is performed on the baseband module and the AP core of the first terminal device, including: Controlling a main processor of the first terminal device to power off, wherein the AP core is integrated in the main processor, the Bluetooth module is connected to a coprocessor of the first terminal device, the coprocessor is used to control the Bluetooth module to communicate with the second terminal device, the coprocessor is connected to the main processor, and the coprocessor and the main processor run different operating systems; or, If it is determined that the power-saving condition is met, the main processor is controlled to power off, wherein the main processor integrates the AP core, the baseband module and the Bluetooth module, and the Bluetooth module is used to respond to a wake-up message from the second terminal device, and the wake-up message is used to indicate the task of waking up the baseband module and / or the AP core.
3. The method according to claim 1, characterized in that The method further comprises: First configuration information is obtained from the second terminal device, where the first configuration information is used to determine whether the first terminal device meets power saving conditions, and the first configuration information is used to indicate at least one of the first scenario information of the second terminal device, a preset power saving time period of the second terminal device, and whether the second terminal device is currently in a power saving mode.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the power saving condition is exited, a power-on operation is performed on the baseband module and the application processor AP core of the first terminal device.
5. The method according to claim 4, characterized in that Performing a power-on operation on a baseband module and an application processor AP core of the first terminal device includes: The power management module of the main processor controls the main processor based on the coprocessor to power on the main processor again.
6. The method according to claim 1, characterized in that The first terminal device determines a device that needs to save power from the first terminal device and the second terminal device, including: Determine target power information of the second terminal device, where the target power information is used to indicate that the remaining power of the second terminal device is the first power; Compare the current power of the first terminal device with the first power, and determine the terminal device corresponding to the lower power of the current power and the first power as a device that needs to save power.
7. The method according to claim 1, characterized in that The first terminal device determines a device that needs to save power from the first terminal device and the second terminal device, including: Acquire a performance parameter of the second terminal device, where the performance parameter is used to indicate a performance indicator of the second terminal device; The performance index of the first terminal device and the performance index of the second terminal device are compared, and the terminal device corresponding to the lower performance index is determined as a device that needs to save power.
8. The method according to claim 6, characterized in that Before the first terminal device determines the terminal device with lower power consumption as a device that needs to save power, the method further includes: Determine that the terminal device corresponding to the lower power level is in an uncharged state.
9. The method according to any one of claims 1 to 3, characterized in that: The method comprises: Acquire historical sleep data of the user, and determine the earliest waking time of the user according to the historical sleep data; Sending first update information to the second terminal device, where the first update information is used to update the automatic power-on time of the second terminal device.
10. A power saving method, characterized in that: Applied to a second terminal device, the second terminal device and the first terminal device are bound through a one-number-multiple-terminal service, and the method includes: receiving first indication information from the first terminal device, where the first indication information is used to indicate that the second terminal device meets a power saving condition; Performing a power-off operation on a baseband module and an application processor AP core of the second terminal device, and controlling a Bluetooth module of the second terminal device to be in a power supply state; Among them, the power-saving condition includes at least one of the following conditions: the first terminal device or the second terminal device is in scene mode, silent mode, do not disturb mode or conference mode; or the first scene information of the first terminal device or the second terminal device meets the preset conditions, and the first scene information includes at least one of the scene occurrence location information and power-saving time information.
11. The method according to claim 10, characterized in that The baseband module and the application processor AP core of the second terminal device are powered off, including: Controlling the main processor of the second terminal device to power off, wherein the AP core is integrated in the main processor, the Bluetooth module is connected to the coprocessor of the second terminal device, the coprocessor is used to control the Bluetooth module to communicate with the first terminal device, the coprocessor is connected to the main processor, and the coprocessor and the main processor run different operating systems; or, Control the main processor of the second terminal device to power off, wherein the main processor integrates the AP core, the baseband module and the Bluetooth module, the Bluetooth module is used to respond to the wake-up message from the first terminal device, and the wake-up message is used to indicate the task of waking up the baseband module and / or the AP core.
12. The method according to claim 10 or 11, characterized in that The method further comprises: receiving second indication information from the first terminal device, where the second indication information is used to indicate that the second terminal device does not meet a power saving condition; Perform a power-on operation on the baseband module and the AP core of the second terminal device.
13. An electronic device, characterized in that: comprising one or more processors and one or more memories; The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, wherein the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the method according to any one of claims 1 to 12.
14. A computer storage medium, characterized in that: The method comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 12.
15. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Power saving management method and device for intelligent terminal
CN104035543A
Apparatus to save power smartly from bluetooth audio visual remote control protocol notifications
US20190132792A1