CN116744266A - Equipment control method, device and storage medium - Google Patents

Equipment control method, device and storage medium Download PDF

Info

Publication number
CN116744266A
CN116744266A CN202211131149.4A CN202211131149A CN116744266A CN 116744266 A CN116744266 A CN 116744266A CN 202211131149 A CN202211131149 A CN 202211131149A CN 116744266 A CN116744266 A CN 116744266A
Authority
CN
China
Prior art keywords
modem
state
power
data
switched
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211131149.4A
Other languages
Chinese (zh)
Other versions
CN116744266B (en
Inventor
周柏强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211131149.4A priority Critical patent/CN116744266B/en
Publication of CN116744266A publication Critical patent/CN116744266A/en
Application granted granted Critical
Publication of CN116744266B publication Critical patent/CN116744266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0235Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a power saving command
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a device control method, a device and a storage medium. The method comprises the following steps: the first device sets a modem of the first device to a power-on state; the first equipment establishes a short-distance wireless connection with the second equipment; the method comprises the steps that a first device switches a modem from a power-on state to a first state by executing a first operation, wherein the device power consumption of the modem in the first state is smaller than that of the modem in the power-on state; after a first duration of time that the modem is switched to the first state, the first device sets the modem to a powered-down state. Therefore, the modem can be stepwise switched to the power-down state, the power-down control logic of the modem is smoother, the duration of the power-down process of the modem is prolonged as much as possible, frequent power-up/power-down phenomena of the modem can be effectively optimized, the power consumption of the modem is reduced, and the power consumption of the intelligent wearable device is further reduced.

Description

Equipment control method, device and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a device control method, a device, and a storage medium.
Background
The intelligent wearable device is a generic name for intelligently designing and developing wearable devices by applying wearable technology, such as intelligent gloves, intelligent watches, intelligent bracelets and the like. Some smart wearable devices (e.g., smart watches) may be provided with a modem (modem) that may provide data traffic, conversation, etc. services to the user, and the power consumption of the modem during operation also affects the standby time of the smart wearable device.
In some implementations, the intelligent wearable device may be connected to a bluetooth of a terminal device (e.g., a mobile phone), so as to implement services such as surfing the internet and talking of the intelligent wearable device, so that when the intelligent wearable device establishes a bluetooth connection with the terminal device, the intelligent wearable device may perform a power-down operation on the modem, and when the bluetooth connection between the intelligent wearable device and the terminal device is disconnected, the intelligent wearable device may perform a power-up operation on the modem.
However, the bluetooth connection between the smart wearable device and the terminal device may frequently switch between a disconnected state and a connected state, resulting in frequent powering up/down of the modem, affecting the power consumption of the modem.
Disclosure of Invention
The embodiment of the application provides a device control method, a device and a storage medium, which are applied to the technical field of terminals. Helping to reduce the device power consumption of the modem.
In a first aspect, an embodiment of the present application provides an apparatus control method. The method comprises the following steps: the first device sets a modem of the first device to a power-on state; the first equipment establishes a short-distance wireless connection with the second equipment; the method comprises the steps that a first device switches a modem from a power-on state to a first state by executing a first operation, wherein the device power consumption of the modem in the first state is smaller than that of the modem in the power-on state; after a first duration of time that the modem is switched to the first state, the first device sets the modem to a powered-down state.
In the embodiment of the application, the first device sets the modem of the first device to be in a power-on state, and when the first device and the second device are in short-distance wireless connection, the first device switches the modem from the power-on state to the first state by executing a first operation, wherein the device power consumption of the modem in the first state is smaller than the device power consumption of the modem in the power-on state, and after a first duration of switching the modem to the first state, the first device sets the modem to be in a power-off state. Therefore, before the modem is set to be in the power-down state, at least one operation is performed on the modem to realize the stepwise switching of the modem from the power-up state to the power-down state, that is, some intermediate states are added between the power-up state and the power-down state of the modem, so that the power-down control logic of the modem is smoother, the duration of the power-down process of the modem is prolonged as much as possible, frequent power-up/power-down phenomena of the modem can be effectively optimized, the power consumption of the modem is reduced, and the power consumption of the intelligent wearable device is reduced.
In one possible implementation, after a first duration of time for which the modem is switched to the first state, the first device sets the modem to a powered-down state, including: after the modem is switched to the first state for a first time period, the first device switches the modem from the first state to the second state by executing a second operation, wherein the device power consumption of the modem in the second state is smaller than the device power consumption of the modem in the first state; after a first period of time when the modem is switched to the second state, the first device switches the modem from the second state to a powered-down state. In this way, the operation executed in the power-down process of the modem can sequentially reduce the service provided by the modem, thereby reducing the power consumption of the modem in a stepwise manner and enabling the power-down control logic of the modem to be smoother.
In one possible implementation, after a first duration of time for which the modem is switched to the first state, the first device switches the modem from the first state to the second state by performing a second operation, including: and in a first time period after the modem is switched to the first state, if the short-range wireless connection is kept in the connected state and the first device does not have a data downloading task of which the data volume to be downloaded is greater than or equal to the first data volume, the first device switches the modem from the first state to the second state by executing a second operation. In this way, in the power-down flow of the modem, whether to continue to perform the power-down operation on the modem is judged according to the short-distance wireless connection state and the data volume of the data download task, so that the downloading speed of the modem is utilized as much as possible, and the power consumption of the modem is reduced.
In one possible implementation, after the first duration of time for which the modem is switched to the first state, the first device switches the modem from the first state to the second state by performing the second operation, the method further includes: after a second duration of the modem switching to the second state, the first device switches the modem from the second state to a powered-down state. In this way, the modem maintains different time after being switched to different states, so that the modem can maintain a shorter time when the modem is in high power consumption and a longer time when the modem is in low power consumption, and the power consumption of the modem is further reduced.
In one possible implementation manner, the first device stores configuration information, where the configuration information includes operation indication information of at least one operation to be performed, and the at least one operation to be performed is an operation sequentially performed on the modem in a process of adjusting the modem from a power-on state to a power-off state; the operation to be performed comprises at least one of a first operation and a second operation. In this way, according to the first time set in the configuration information, the maintenance time of each execution state of the modem can be prolonged, so that the power-down process of the modem is prolonged, the first device can realize services such as data service, call and the like through the modem before the modem is powered down, and the power consumption of the modem is reduced as much as possible due to the sequential execution of the operations to be executed.
In one possible implementation, the first operation and the second operation are different operations; the first operation and the second operation are any one of the following: closing the service of actively reporting the message to the second equipment by the modem; reducing the operating frequency of the modem; closing the communication service of the modem; speed limiting processing is carried out on the data transmission service of the modem; turning off signal transmission and signal reception of the modem; the modem is put into a dormant state. In this way, a plurality of operations are set in the power-down flow, so that the power-down time of the modem can be prolonged as much as possible, and when the modem needs to be continuously used, the state of the modem after each operation is executed can be recovered to the power-up state without powering up the modem after powering down, thereby optimizing the frequent power-up/power-down phenomenon of the modem and reducing the power consumption of the modem.
In one possible implementation, the method further includes: if the short-range wireless connection remains connected and the first device has a data download task with a data size to be downloaded greater than or equal to the first data size within a first period of time after the modem is switched to the intermediate state, determining, according to the intermediate state, whether the first device performs a suppression operation on the modem, where the suppression operation includes at least one of: speed limiting processing is carried out on data transmission service of the modem, signal transmission and signal reception of the modem are closed, and the modem is put into a dormant state; if yes, the inhibition operation for the modem is canceled, so that the modem is switched to a target state, and in the target state, a data downloading task is executed through the modem, and the first equipment does not perform speed limiting processing on the data transmission service of the modem in the target state; if not, executing a data downloading task through the modem in the intermediate state; the intermediate states include a first state and a second state.
In the embodiment of the application, when a large file needs to be downloaded, whether the first device performs the inhibition operation on the modem is determined through the intermediate state of the modem. When the suppressing operation is performed, the current intermediate state is switched to the state before the speed limiting processing is performed on the data transmission service of the modem, and the data downloading task is performed through the modem in the state, so that the large file downloading through the modem can be effectively realized on the basis of a small amount of state switching without switching the modem on and off. When the suppression operation is not performed, the large file is directly downloaded through the modem in the current intermediate state, so that the large file can be effectively downloaded through the modem on the basis of no need of switching between power on and power off. Meanwhile, the large file is downloaded through the modem, and the data downloading task with the data volume to be downloaded being larger than or equal to the first data volume can be downloaded at a higher downloading rate, so that the downloading time of the data downloading task is shortened, and compared with the data downloading task executed through short-distance wireless connection, the time for executing the data downloading task through the modem is shorter.
In one possible implementation, after performing the data download task by the modem in the target state, the method further includes: if the execution of the data downloading task is completed, starting from the next operation to be executed corresponding to the target state in the configuration information, and continuing to execute each operation to be executed on the modem. The function of the modem is utilized to shorten the time for executing the data downloading task, and when the data downloading task is executed, the modem is in a target state in the power-down flow, and the operation corresponding to the execution state before the target state can reduce the power consumption of the modem.
In one possible implementation, after performing the data download task by the modem in the intermediate state, the method further includes: if the execution of the data downloading task is completed, starting from the next operation to be executed corresponding to the intermediate state in the configuration information, and continuing to execute each operation to be executed on the modem. The function of the modem is utilized to shorten the time for executing the data downloading task, and when the data downloading task is executed, the modem is in an intermediate state in the power-down flow, and the operation corresponding to the execution state before the intermediate state can reduce the power consumption of the modem.
In one possible implementation, the method further includes: and in a first time period after the modem is switched to the intermediate state, if the short-range wireless connection is kept in a connected state and the first device has a data downloading task with the data quantity to be downloaded being smaller than the first data quantity, executing the data downloading task through the short-range wireless connection. In this way, the modem can be continuously powered down when the data download task is executed through the short-range wireless connection, and the power consumption of the modem is reduced.
In one possible implementation, the method further includes: and in a first time period after the modem is switched to the first state, if the short-distance wireless connection is changed to the disconnection state, the modem in the first device is restored to the power-on state. Therefore, the power consumption caused by the fact that the modem needs to be directly switched from the power-down state to the power-up state due to the state switching of the short-distance wireless connection can be effectively reduced.
In one possible implementation, after recovering the modem in the first device to the power-on state, the method further includes: if the first equipment and the second equipment are detected to establish the short-distance wireless connection again, the first equipment switches the modem from a power-on state to a first state by executing a first operation; after a first duration of time that the modem is switched to the first state, the first device sets the modem to a powered-down state. When the short-distance wireless connection state changes, the first equipment can utilize the modem to carry out data downloading task as much as possible, and meanwhile, the power consumption of the modem is reduced as much as possible through the operation performed on the modem.
In a second aspect, an embodiment of the present application provides an apparatus control device, a processing unit, configured to set, by a first apparatus, a modem of the first apparatus to a power-on state; the processing unit is also used for establishing short-distance wireless connection between the first equipment and the second equipment; the processing unit is further used for switching the modem from a power-on state to a first state by the first device through executing a first operation, wherein the device power consumption of the modem in the first state is smaller than the device power consumption of the modem in the power-on state; the processing unit is further configured to, after a first duration in which the modem is switched to the first state, set the modem to a powered-down state by the first device.
In one possible implementation manner, the processing unit is further configured to, after a first duration of switching the modem to the first state, switch the modem from the first state to the second state by performing a second operation, where a device power consumption of the modem in the second state is smaller than a device power consumption of the modem in the first state; and the processing unit is also used for switching the modem from the second state to the power-down state by the first equipment after the first duration of switching the modem to the second state.
In one possible implementation, the processing unit is further configured to, during a first period of time after the modem is switched to the first state, switch the modem from the first state to the second state by performing the second operation if the short-range wireless connection remains connected and the first device has no data download task for which the amount of data to be downloaded is greater than or equal to the first amount of data.
In one possible implementation, the processing unit is further configured to switch the modem from the second state to the power-down state after a second duration of time for which the modem is switched to the second state.
In one possible implementation manner, the first device stores configuration information, where the configuration information includes operation indication information of at least one operation to be performed, and the at least one operation to be performed is an operation sequentially performed on the modem in a process of adjusting the modem from a power-on state to a power-off state; the operation to be performed comprises at least one of a first operation and a second operation.
In one possible implementation, the first operation and the second operation are different operations; the first operation and the second operation are any one of the following: closing the service of actively reporting the message to the second equipment by the modem; reducing the operating frequency of the modem; closing the communication service of the modem; speed limiting processing is carried out on the data transmission service of the modem; turning off signal transmission and signal reception of the modem; the modem is put into a dormant state.
In one possible implementation manner, the processing unit is further configured to determine, in a first period of time after the modem is switched to the intermediate state, whether the modem is subject to a suppression operation according to the intermediate state if the short-range wireless connection remains in the connected state and the first device has a data download task with a data amount to be downloaded that is greater than or equal to the first data amount, where the suppression operation includes at least one of: speed limiting processing is carried out on data transmission service of the modem, signal transmission and signal reception of the modem are closed, and the modem is put into a dormant state; the processing unit is further used for canceling the inhibition operation on the modem if the data transmission service is in the target state, switching the modem into the target state, executing the data downloading task through the modem in the target state, and enabling the first device not to limit the speed of the data transmission service of the modem in the target state; the processing unit is also used for executing a data downloading task through the modem in the intermediate state if not; the intermediate states include a first state and a second state.
In one possible implementation manner, after the data downloading task is executed by the modem in the target state, the processing unit is further configured to continue executing each operation to be executed on the modem, starting from the next operation to be executed corresponding to the target state in the configuration information, if the execution of the data downloading task is completed.
In one possible implementation manner, after the data downloading task is executed by the modem in the intermediate state, the processing unit is further configured to continue executing each operation to be executed on the modem, starting from the next operation to be executed corresponding to the intermediate state in the configuration information, if the execution of the data downloading task is completed.
In one possible implementation manner, the processing unit is further configured to, in a first period of time after the modem is switched to the intermediate state, perform the data download task through the short-range wireless connection if the short-range wireless connection remains in the connected state and the first device has a data download task with a data amount to be downloaded smaller than the first data amount.
In one possible implementation, the processing unit is further configured to restore the modem in the first device to the powered-on state if the short-range wireless connection is changed to the disconnected state within a first period of time after the modem is changed to the first state.
In one possible implementation manner, after the modem in the first device is restored to the power-on state, the processing unit is further configured to, if it is detected that the first device and the second device establish the short-range wireless connection again, switch the modem from the power-on state to the first state by executing the first operation; the processing unit is further configured to, after a first duration in which the modem is switched to the first state, set the modem to a powered-down state by the first device.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, the memory configured to store code instructions; the processor is configured to execute code instructions to cause the electronic device to perform a device control method as described in the first aspect or any one of the possible implementations of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing instructions that, when executed, cause a computer to perform a device control method as described in the first aspect or any one of the possible implementations of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when run, causes a computer to perform a device control method as described in the first aspect or any one of the possible implementations of the first aspect.
In a sixth aspect, embodiments of the present application provide a chip or chip system comprising at least one processor and a communication interface, the communication interface and the at least one processor being interconnected by wires, the at least one processor being adapted to run a computer program or instructions to perform the device control method described in the first aspect or any one of the possible implementations of the first aspect. The communication interface in the chip can be an input/output interface, a pin, a circuit or the like.
It should be understood that, the second aspect to the sixth aspect of the present application correspond to the technical solutions of the first aspect of the present application, and the advantages obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Drawings
FIG. 1 is a schematic view of a scene to which embodiments of the present application are applied;
fig. 2 is a schematic hardware structure diagram of an intelligent wearable device according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a device control method according to an embodiment of the present application;
FIG. 4 is a schematic diagram showing a sequence of operations performed by a modem according to an embodiment of the present application;
FIG. 5 is a second schematic diagram of the sequence of operations performed by a modem according to an embodiment of the present application;
FIG. 6 is a schematic diagram of configuration information according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a device control flow provided in an embodiment of the present application;
fig. 8 is a schematic flow chart of a device control method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application;
fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
For purposes of clarity in describing the embodiments of the present application, the words "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
The "at … …" in the embodiment of the present application may be an instant when a certain situation occurs, or may be a period of time after a certain situation occurs, which is not particularly limited. In addition, the display interface provided by the embodiment of the application is only used as an example, and the display interface can also comprise more or less contents.
The intelligent wearable device is a generic name for intelligently designing and developing wearable devices by applying wearable technology, such as intelligent gloves, intelligent watches, intelligent bracelets and the like. Some smart wearable devices may be provided with modems that may provide data traffic, conversations, etc. services to users. The power consumption of the modem in the operation process is larger, the power consumption of the modem can comprise the power consumption in the operation process, the data service power consumption, the call power consumption and the like, and the intelligent wearable equipment is limited by the volume of the intelligent wearable equipment, and the battery capacity of the intelligent wearable equipment is generally smaller, so that the standby time of the intelligent wearable equipment is easy to be reduced by the modem operated in the intelligent wearable equipment.
In some implementations, the smart wearable device may implement services such as surfing the internet and talking through a bluetooth connection with the terminal device (e.g., a mobile phone), so, when the smart wearable device establishes a bluetooth connection with the terminal device, the smart wearable device may perform a power-down operation on the modem, and when the bluetooth connection between the smart wearable device and the terminal device is disconnected, the smart wearable device may perform a power-up operation on the modem.
However, when the smart wearable device downloads some large files (e.g., music files) after the smart wearable device establishes a bluetooth connection with the terminal device, the smart wearable device may need to perform a data download task through the modem. This is because the smart wearable device performs the data download task through the modem less time consuming than the smart wearable device performs the data download task through the bluetooth connection. For example, the downstream speed of the smart wearable device may be 100 kilobytes per second (kilobyte per second, KBps) when performing the data download task over the bluetooth connection, and 300KBps to 1 megabyte per second (megabyte per second, MBps) when performing the data download task over the modem.
But after the intelligent wearable device establishes bluetooth connection with the terminal device, the intelligent wearable device has performed a power-down operation on the modem. Therefore, in order to download a file with a larger data size, the smart wearable device may need to disconnect the bluetooth connection between the smart wearable device and the terminal device, so that the smart wearable device performs a power-on operation on the modem. That is, the smart wearable device may need to switch power up/down to the modem when a large file needs to be downloaded.
Moreover, due to portability of the smart wearable device, frequent switching of a pull-apart scenario and a non-pull-apart scenario may frequently occur between the smart wearable device and the terminal device (e.g., a mobile phone), so that a bluetooth connection between the smart wearable device and the terminal device (e.g., a mobile phone) may frequently switch between a disconnected state and a connected state, thereby causing frequent powering up/down of the modem, affecting power consumption of the modem. The pull-apart scene may be a scene where the smart wearable device and the terminal device are far apart, and the non-pull-apart scene may be a scene where the smart wearable device and the terminal device are near apart, for example, a pull-apart scene when the smart wearable device and the terminal device are more than ten meters apart, and a non-pull-apart scene when the smart wearable device and the terminal device are within ten meters apart.
Based on the above description, it can be understood that, whether the smart wearable device needs to download a large file or the bluetooth connection state of the smart wearable device is frequently changed, the smart wearable device needs to perform a power-on/power-off switching operation on the modem. When the modem is powered down, the current intelligent wearable device directly switches the modem into a powered down state, and then the intelligent wearable device adjusts the modem from the powered down state to a powered up state, so that relatively large power consumption is caused. Frequent switching between the powered-on and powered-off states can severely impact the power consumption of the smart wearable device.
In view of this, an embodiment of the present application provides a device control method, where when an intelligent wearable device and a terminal device establish bluetooth connection, a step-type power-down operation is performed on a modem in the intelligent wearable device according to a plurality of states of a power-down flow of the modem in the intelligent wearable device and an arrangement sequence of the plurality of states, so that a power-down duration of the modem can be prolonged as much as possible through a smooth power-down control logic, and then enough time is available to cope with situations occurring in the intelligent wearable device according to an actual state during the power-down operation, so that frequent power-up/power-down phenomena of the modem can be optimized, power consumption of the modem is reduced, and power consumption of the intelligent wearable device is reduced.
Fig. 1 is a schematic view of a scenario in which an embodiment of the present application is applicable. As shown in fig. 1, the first device 100 may be an intelligent wearable device, such as a smart watch, a smart bracelet, an augmented reality (augmented reality, AR) wearable device, etc., capable of being worn by a user and processing corresponding user services and performing intelligent interaction with the user, and the second device 200 may be an electronic device, such as a smart phone, a notebook computer, a tablet computer, a media player, a robotic system, a handheld device, a game handle, a Virtual Reality (VR) device, a vehicle-mounted device, an intelligent home appliance device, etc., having a short-range wireless connection function. In the embodiment of the present application, the first device 100 is a smart watch, and the second device 200 is a smart phone for example.
In an embodiment of the present application, a short-range wireless connection may be established between the first device 100 and the second device 200, where the short-range wireless connection may be, for example, a bluetooth connection, a wireless-fidelity (WiFi) connection, or the like.
The first device 100 may include a modem for remote wireless communication with a wireless network, which may, for example, communicate with a base station on the network side, a mobility management entity, etc., for example, receive and process the contents of remote wireless communication traffic. When the short-range wireless connection state between the first device 100 and the second device 200 changes, the first device 100 may control the power-down process of the modem in the first device 100 based on the device control method provided in the embodiment of the present application.
The device control method may include: the first device sets a modem of the first device to a power-on state; the first equipment establishes a short-distance wireless connection with the second equipment; the method comprises the steps that a first device switches a modem from a power-on state to a first state by executing a first operation, wherein the device power consumption of the modem in the first state is smaller than that of the modem in the power-on state; after a first duration of time that the modem is switched to the first state, the first device sets the modem to a powered-down state. Therefore, before the modem is set to be in the power-down state, at least one operation is performed on the modem to realize the stepwise switching of the modem from the power-up state to the power-down state, that is, some intermediate states are added between the power-up state and the power-down state of the modem, so that the power-down control logic of the modem is smoother, the duration of the power-down process of the modem is prolonged as much as possible, frequent power-up/power-down phenomena of the modem can be effectively optimized, the power consumption of the modem is reduced, and the power consumption of the intelligent wearable device is reduced.
Fig. 2 is a schematic diagram of a hardware structure of an intelligent wearable device according to an embodiment of the present application. The smart wearable device may include a processor 110, a modem 120, a wireless communication module 130, a display screen 140, a charge management module 150, a power management module 151, a battery 152, an internal memory 160, and an audio module 170, etc.
It will be appreciated that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the smart wearable device. In other embodiments of the application, the smart wearable device may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units. Wherein the different processing units may be separate devices or may be integrated in one or more processors. A memory may also be provided in the processor 110 for storing instructions and data.
The modem 120 may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal, and the demodulator is used for demodulating a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. In some embodiments, modem 120 may be a stand-alone device. In other embodiments, modem 120 may be provided in the same device as the other functional modules, independent of processor 110.
The wireless communication function of the smart wearable device may be implemented by an antenna, a mobile communication module, a wireless communication module 130, a modem 120, a baseband processor, and the like.
The wireless communication module 130 may provide solutions for wireless communication including wireless local area network (wirelesslocal area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), etc., as applied on smart wearable devices.
The charge management module 150 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger.
The power management module 151 is used for connecting the battery 152, the charge management module 150 and the processor 110. The power management module 151 receives input from the battery 152 and/or the charge management module 150 to power the processor 110, the internal memory 160, the display 141, the wireless communication module 130, and the like.
The intelligent wearable device realizes a display function through the GPU, the display screen 140, the application processor and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 140 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
The display screen 140 is used to display images, videos, and the like. The display screen 140 includes a display panel. In some embodiments, the smart wearable device may include 1 or N display screens 140, N being a positive integer greater than 1.
The internal memory 160 may be used to store computer executable program code that includes instructions. The internal memory 160 may include a stored program area and a stored data area.
The smart wearable device may implement audio functions through an audio module 170, speakers, a receiver, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. Speakers, also known as "horns," are used to convert audio electrical signals into sound signals. The smart wearable device may listen to music through a speaker or to a hands-free conversation. A microphone, also known as a "earpiece", is used to convert an audio electrical signal into a sound signal. When the smart wearable device is answering a phone or voice message, the voice can be received by placing the microphone close to the human ear.
The system of the intelligent wearable device in the embodiment of the present application may be a lightweight internet of things operation (liteOS) system, or the software system of the intelligent wearable device in the embodiment of the present application may also be an android (android) system, for example, a software architecture of the intelligent wearable device may be described by taking an android (android) system with a hierarchical architecture as an example. The embodiment of the application does not limit the software system of the intelligent wearable device in detail.
The following describes in detail a technical solution of an embodiment of the present application and how the technical solution of the embodiment of the present application solves the above technical problems with specific embodiments in combination with the accompanying drawings. The following embodiments may be implemented independently or combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 3 is a schematic flow chart of a device control method according to an embodiment of the present application. As shown in fig. 3, the method includes:
s301: the first device sets a modem of the first device to a powered-on state.
The first device may be a smart wearable device, such as a smart watch, a smart bracelet, or the like.
In a possible implementation, the first device sets the modem of the first device to a power-on state, such that the modem is in a normal operating state. For example, the first device may automatically power up the modem after being powered on, i.e. the modem is set to a power-up state. For another example, after the first device is powered on, if it is detected that no short-range wireless connection is established with the other device, the modem is powered on.
It will be appreciated that the modem in the powered-on state may provide a variety of services such as telephony, data traffic, etc.
S302: the first device establishes a close range wireless connection with the second device.
The second device may be any terminal device having a near field connection function, such as a smart phone, a tablet computer, etc., where the near field connection may be a bluetooth connection, for example.
In the embodiment of the application, the short-distance wireless connection can be a communication connection in which the transmitting and receiving parties transmit information through radio waves and the transmission distance is limited within a short range. The short-range wireless connection may be a bluetooth connection, or may be selected and set according to actual requirements with the development of communication technology.
S303: the first device switches the modem from a powered-on state to a first state by performing a first operation, wherein a device power consumption of the modem in the first state is less than a device power consumption of the modem in the powered-on state.
In the embodiment of the present application, the first operation may be an operation of reducing power consumption (also referred to as device power consumption) of the modem in the power-on state. The first operation may be to turn off the service of the modem actively reporting the message to the second device, or the first operation may also be to reduce the working frequency of the modem, or the first operation may also be to turn off the call service of the modem, or the first operation may also be to limit the speed of the data transmission service of the modem, or the first operation may also be to turn off the signal transmission and the signal reception of the modem, or the first operation may also be to put the modem into a sleep state. The embodiment of the present application does not particularly limit the specific implementation of the first operation, and any operation that can reduce the power consumption of the modem in the power-on state can be used as the first operation in the embodiment.
In the embodiment of the present application, the first state may be a state of the modem after the first operation is performed on the modem. When the first operation is to turn off the call service of the modem, the first state is a state in which the modem turns off the call service; when the first operation is to put the modem into a sleep state, then the first state is the sleep state of the modem.
In a possible implementation, when the first device detects that the first device and the second device establish a short-range wireless connection, the first device performs a first operation on a modem in the first device, so that the modem is switched from a power-on state to a first state.
Illustratively, the first operation is to put the modem into a sleep state, for example. When the first device detects that the first device and the second device establish the short-range wireless connection, the first device executes a first operation on the modem in the first device, so that the modem is switched from a power-on state to a sleep state.
It will be appreciated that switching the modem from the powered-on state to the first state is actually performing the first operation on the modem in the first device, and, for example, if the first operation is to turn off the call service of the modem, switching the modem from the powered-on state to the first state is actually to turn off the call service of the modem.
It will be appreciated that since the first operation reduces the device power consumption of the modem, the device power consumption of the modem after the first operation is performed on the modem is less than the device power consumption of the modem before the first operation is performed on the modem, that is, the device power consumption of the modem in the first state is less than the device power consumption of the modem in the powered-on state.
S304: after a first duration of time that the modem is switched to the first state, the first device sets the modem to a powered-down state.
The first duration may be understood as a waiting duration for the modem to switch from the first state to the powered-down state. A certain waiting time is set between state switches to prolong the time required for the modem to switch to the power-down state, so as to ensure enough time to cope with some sudden situations.
It will be appreciated that if the time required for the modem power down process is short, the modem will be powered down quickly, and then the modem will need to be powered up again due to some sudden situations, where the power consumption required to power up the modem is relatively large. In this embodiment, the power consumption of the power-on portion can be effectively reduced by extending the power-off process.
The power-down state may be understood as a power-off state of the modem.
In a possible implementation, after the first device switches the modem to the first state for a first period of time, the modem is switched from the first state to the powered-down state by performing a power-down operation on the modem. Wherein powering down operation may be understood as turning off the modem.
In the embodiment of the application, the first device sets the modem of the first device to be in a power-on state, and when the first device and the second device are in short-distance wireless connection, the first device switches the modem from the power-on state to the first state by executing a first operation, wherein the device power consumption of the modem in the first state is smaller than the device power consumption of the modem in the power-on state, and after a first duration of switching the modem to the first state, the first device sets the modem to be in a power-off state. Therefore, before the modem is set to be in the power-down state, at least one operation is performed on the modem to realize the stepwise switching of the modem from the power-up state to the power-down state, that is, some intermediate states are added between the power-up state and the power-down state of the modem, so that the power-down control logic of the modem is smoother, the duration of the power-down process of the modem is prolonged as much as possible, frequent power-up/power-down phenomena of the modem can be effectively optimized, the power consumption of the modem is reduced, and the power consumption of the intelligent wearable device is reduced.
In one possible implementation, the step S304 may include:
s3041: after the modem is switched to the first state for a first period of time, the first device switches the modem from the first state to the second state by executing a second operation, wherein the device power consumption of the modem in the second state is smaller than the device power consumption of the modem in the first state.
In the embodiment of the present application, the second operation may be an operation of reducing power consumption of the modem in the first state. Illustratively, the second operation may be any of the following: and closing the service of actively reporting the message to the second equipment by the modem, reducing the working frequency of the modem, closing the call service of the modem, performing speed limiting processing on the data transmission service of the modem, closing the signal transmission and the signal reception of the modem, and putting the modem into a dormant state.
Note that the first operation and the second operation are different operations. Also based on the above description, it may be determined that the modem is in the first state after the first operation is performed and the modem is in the second state after the second operation is performed.
In a possible implementation manner, the first operation and the second operation in the embodiment of the present application are sequentially performed operations, and after each operation is performed, the power consumption of the modem is sequentially reduced, and on the premise that the specific implementation of each operation can be selected according to the actual requirement.
In the embodiment of the application, the first device performs a first operation on the modem, so that the modem is switched from a power-on state to a first state, wherein the first state is a result of the first operation. After a first period of time when the modem is switched to the first state, the first device continues to perform a second operation on the modem, so that the modem switches from the first state to the second state, wherein the second state is actually an accumulation of the result of the first operation and the result of the second operation, and can be understood as a result of performing the second operation on the modem based on the first state.
S3042: after a first period of time when the modem is switched to the second state, the first device switches the modem from the second state to a powered-down state.
In a possible implementation, after a first duration of time for which the modem is switched from the first state to the second state, the first device performs a power-down operation on the modem, so that the modem is switched from the second state to the power-down state.
In the embodiment of the application, after the modem is switched to the first state for the first time period, the first device switches the modem from the first state to the second state by executing the second operation, wherein the power consumption of the device of the modem in the second state is smaller than that of the device of the modem in the first state, and after the modem is switched to the second state for the first time period, the first device switches the modem from the second state to the power-down state. In this way, the operation executed in the power-down process of the modem can sequentially reduce the service provided by the modem, thereby reducing the power consumption of the modem in a stepwise manner and enabling the power-down control logic of the modem to be smoother.
In one possible implementation, the step S3041 may include:
and in a first time period after the modem is switched to the first state, if the short-range wireless connection is kept in the connected state and the first device does not have a data downloading task of which the data volume to be downloaded is greater than or equal to the first data volume, the first device switches the modem from the first state to the second state by executing a second operation.
The amount of data to be downloaded may be a size of a file to be downloaded by the first device, for example, the amount of data to be downloaded may be a size of an audio file to be downloaded. When the amount of data to be downloaded is greater than or equal to the first amount of data, the file to be downloaded may be considered to be a large file. For example, the first data amount may be 2 Megabytes (MB), and when the size of the file to be downloaded is greater than or equal to 2MB, the file to be downloaded may be regarded as a large file.
In a possible implementation, in a first period of time after the modem is switched to the first state, if the first device detects that the short-range wireless connection between the first device and the second device is kept in the connected state, and a data downloading task with a data volume to be downloaded being greater than or equal to the first data volume does not exist in the first device, the first device is considered to have no service affecting powering down the modem, then the second operation may be continuously performed on the modem, so that the modem is switched from the first state to the second state.
It will be appreciated that there may be one or more other intermediate states between the first state and the powered down state of the modem, and that when there are one or more other intermediate states between the first state and the powered down state of the modem, the switch between each two states also satisfies the condition: and in a first time period after the modem is switched to the former state, if the first device detects that the short-distance wireless connection between the first device and the second device is kept in a connection state and a data downloading task with the data volume to be downloaded being larger than or equal to the first data volume does not exist in the first device, the modem is switched from the former state to the latter state by executing the next operation on the modem.
In the embodiment of the application, after the modem is switched to the first state, the modem waits for the first time to be kept stable, the connection state is kept in the short-distance wireless connection, and when the first device does not have a data downloading task of which the data volume to be downloaded is greater than or equal to the first data volume, the second operation is executed on the modem, so that the modem is switched from the first state to the second state. That is, in a first period of time in any state in the power-down process of the modem, if the short-range wireless connection is kept in a connection state, and the first device does not have a data downloading task with a data volume to be downloaded being greater than or equal to the first data volume, the first device can continue to power down the modem, so that in the power-down process of the modem, whether to continue to perform the power-down operation on the modem is judged by the short-range wireless connection state and the data volume of the data downloading task, not only the downloading speed of the modem is utilized, but also the power consumption of the modem is reduced as far as possible.
In another possible implementation, after the step S3041, the method may further include:
after a second duration of the modem switching to the second state, the first device switches the modem from the second state to a powered-down state.
The second duration may be a duration of time that the modem needs to wait to switch from the second state to the powered-down state.
The second time period here is understood to be different from the first time period described above.
In the above-described embodiment, the modem may switch from the first state to the second state after a first period of time for switching to the first state; and after the modem is switched to the first time length of the second state, the modem is switched to the power-down state from the second state.
That is, the wait time required to switch between different states may be the same.
In this embodiment, the modem may switch from the first state to the second state after a first period of time for switching to the first state; and switching the modem from the second state to the power-down state after a second period of time for switching to the second state.
That is, the waiting time required for switching between different states may also be different.
In the actual implementation process, for example, the same waiting duration can be set uniformly for the switching between the states. Or, the respective waiting durations may be set for the switching between the states, and the specific implementation manner of the waiting durations required for the switching of the states is not limited in this embodiment, and may be selected and set according to the actual requirement.
In one possible implementation, the present embodiment may set a shorter waiting period for the high power consumption state to switch to the next state. And for the state of low power consumption to switch to the next state, a slightly longer waiting time can be set to ensure that different time can be maintained after the modem is switched to different states, so that the modem can be maintained for a shorter time when the modem is in high power consumption and for a longer time when the modem is in low power consumption, and the power consumption of the modem is further reduced. The low power consumption state and the high power consumption state can be determined according to actual implementation.
It will be appreciated from the foregoing that, during a power-down handoff of a modem, a first operation and a second operation may be performed with respect to the modem, that is, two intermediate states, namely, the first state and the second state described above, are added between the power-up state and the power-down state of the modem. However, in other possible implementations, at the time of performing a power-down handover with respect to the modem, the operation of reducing power consumption may be performed more than twice with respect to the modem, that is, a plurality of intermediate states are added between a power-up state and a power-down state of the modem, and possible implementations of performing the operation of reducing power consumption multiple times are described below.
The operation of reducing the power consumption for multiple times may be, for example, three operations of reducing the power consumption, such as a first operation, a second operation, and a third operation, and the first operation, the second operation, and the third operation, and states corresponding to the respective operations after execution are described below with reference to a specific example.
In an exemplary embodiment, the first device performs a first operation on the modem, and if the first operation is to turn off the service that the modem actively reports a message to the second device, the modem is switched from a power-on state to a first state after the first operation is performed, where the first state is that the service that the modem actively reports a message to the second device is in a turned-off state.
Thereafter, based on the first state, the first device continues to perform a second operation with respect to the modem, assuming the second operation is to reduce the operating frequency of the modem. The modem is switched from the first state to the second state after performing the second operation on the modem. Wherein, the second state is accumulation of the execution result of the first operation and the execution result of the second operation, and the second state in the present example is: the modem actively reports the message to the second device that the service is in an off state and the operating frequency of the modem is reduced.
Thereafter, on the basis of the second state, the first device continues to perform a third operation on the modem, assuming that the third operation is to turn off the signal transmission and the signal reception of the modem. The modem switches from the second state to the third state after performing a third operation on the modem. Similarly to the above description, the third state is accumulation of the execution result of the first operation, the execution result of the second operation, and the execution result of the third operation, and the third state in the present example is: the modem actively reports the message to the second device that the service is in an off state, and the operating frequency of the modem is reduced, and the signal transmission and the signal reception of the modem are in an off state.
After the first duration of the modem switching to the third state, the first device may switch the modem from the third state to the powered-down state by performing a powered-down operation on the modem. As will be understood from the above description, the modem described in this embodiment is in a certain state, which is not a fixed state, but is accumulation of execution results of the first device for each operation of reducing power consumption executed by the modem.
That is, the closer to the powered-down state of the modem, the less functions the modem provides to the user, the less power consumption of the modem, and therefore, the device power consumption of the modem in the first state, the device power consumption of the modem in the second state, and the device power consumption of the modem in the third state are sequentially reduced.
It can be understood that the above-mentioned switching between the first state and the second state, the switching between the second state and the powered-down state, and the switching between the third state and the powered-down state all satisfy the conditions: and in a first time period after the modem is switched to the former state, if the first device detects that the short-distance wireless connection between the first device and the second device is kept in a connection state, and a data downloading task with the data volume to be downloaded being greater than or equal to the first data volume does not exist in the first device, the modem is switched from the former state to the latter state. For example, in a first period of time after the modem is switched to the second state, if the first device detects that the short-range wireless connection between the first device and the second device remains in the connected state, and there is no data download task in the first device, where the amount of data to be downloaded is greater than or equal to the first amount of data, a third operation is performed on the modem, so that the modem is switched from the second state to the third state.
The above describes the case where the first operation, the second operation, and the third operation are performed between the power-on state and the power-off state, that is, the case where the power consumption reduction operation is performed three times in between when the modem is switched from the power-on state to the power-off state. In the actual implementation process, in the process of switching the modem from the power-on state to the power-off state, the operation of reducing the power consumption is specifically performed several times in the middle, which can be selected according to the actual situation.
In one possible implementation manner, for example, the first operation, the second operation, the third operation, the fourth operation, the fifth operation, the sixth operation, and the like may be sequentially performed between the power-on state and the power-off state, and the performing process of the operations is similar to that described above, that is, the first device sequentially performs each operation on the modem to switch the modem from the first state to the power-off state, and the specific implementation manner is not repeated herein.
In the embodiment of the application, a plurality of operations can be executed between the power-on state and the power-off state. The modem in the first device is subjected to step-type power-down operation, so that the power-down time of the modem can be prolonged as much as possible through smooth power-down control logic, enough time is available for dealing with the situation of the intelligent wearable device according to the actual state in the power-down operation execution process, frequent power-up/power-down phenomena of the modem can be optimized, power consumption of the modem is reduced, and power consumption of the intelligent wearable device is reduced.
The six operations that may be performed between the power-on state and the power-off state described in the above embodiment may be any one of the following, respectively: and closing the service of actively reporting the message to the second equipment by the modem, reducing the working frequency of the modem, closing the call service of the modem, performing speed limiting processing on the data transmission service of the modem, closing the signal transmission and the signal reception of the modem, and putting the modem into a dormant state.
In one possible implementation, there is a certain order of execution among the six operations that reduce power consumption. It will be appreciated that during power down of the modem of the first device, the six operations described above may be performed on the modem in sequence. Alternatively, some of the above six operations may be sequentially performed.
The various possible power consumption reduction operations described in the present description are described separately below in connection with fig. 4. Fig. 4 is a schematic diagram illustrating a sequence of operations performed by the modem according to an embodiment of the present application.
In one possible implementation, as shown in fig. 4, the first device may sequentially perform the following operations on the modem: and closing the reporting of the modem, performing the down-conversion operation on the modem, closing the communication of the modem, limiting the uplink/downlink speed of the modem, closing the signal transmission and the signal reception of the modem, putting the modem into a sleep mode, and performing the power-down operation on the modem. In one possible implementation, the device power consumption of the modem is also reduced sequentially after these operations are performed sequentially.
Wherein the first device may perform operation 1 shown in fig. 4 on the modem, i.e. turn off the service of the modem actively reporting the message to the second device. The service that the modem actively reports the message to the second device may be, for example, interaction between the modem and the second device, and after the service that the modem actively reports the message to the second device is closed, the modem may not actively report the message to the second device, thereby reducing power consumption of the modem.
And the first device may also perform operation 2 shown in fig. 4 on the modem, that is, reduce the operating frequency of the modem, for example, by reducing the operating frequency of the modem from 500 megahertz (MHz) to 300MHz.
And the first device may also perform operation 3 shown in fig. 4 on the modem, that is, turn off the call traffic of the modem.
And, the first device may also perform operation 4 shown in fig. 4 on the modem, that is, perform speed limiting processing on the data transmission service of the modem. The speed limiting process for the data transmission traffic of the modem may be to limit the uplink speed and the downlink speed of the modem.
And the first device may also perform operation 5 shown in fig. 4 on the modem, that is, turn off the signal transmission and signal reception of the modem, which may be, for example, data transmission traffic of the modem.
And the first device may also perform operation 6 of fig. 4 on the modem, i.e., place the modem in a dormant state.
And the first device may also perform operation 7 shown in fig. 4 on the modem, that is, perform a power-down operation on the modem, to switch the modem from the sixth state to the power-down state.
As can be determined with reference to fig. 4, the first device may sequentially perform operations 1 to 7 from the power-on state. Alternatively, the operation may be started from the power-on state of the modem, and the operation may be started from any one of operations 1 to 7. For example, after the modem is powered up, if it is detected that the first device and the second device establish a bluetooth connection, the first device may perform operation 2 on the modem, then perform operation 5, and finally perform operation 7 to power off the modem.
Meanwhile, after any operation is performed, the power-on operation can be performed, that is, the first device can switch the modem back to the power-on state at any time. For example, after any one of the operations is performed, if it is detected that the first device is disconnected from the second device, the first device may switch back to the powered-on state from the state in which it is currently in. At this time, the first device does not need to be powered up again from the powered-down state, and the time delay of switching the state back to the powered-up state is reduced.
It will be appreciated that during the powering down of the modem by the first device, operations 1 to 7 shown in fig. 4, the first device may be sequentially and completely executed for the modem, so as to gradually reduce the device power consumption of the modem. Alternatively, the first device may further perform part of the operations in sequence with respect to the modem, and may also gradually reduce the device power consumption of the modem.
In the actual implementation, in particular, the complete operations 1 to 7 are performed, or only some of the operations 1 to 7 are performed, which may depend on the actual requirements.
The following description is directed to two implementations of performing a complete operation and performing a partial operation, respectively:
in one possible implementation, the first device performs a complete operational flow for the modem, as may be understood with reference to fig. 4, for example.
As shown in fig. 4, in the initial situation, the first device is in a power-on state, and when the first device detects that the short-range wireless connection is established between the first device and the second device, the first device may perform operation 1 shown in fig. 4 on the modem, that is, turn off the service that the modem actively reports a message to the second device. Assuming that after performing operation 1, the modem switches from the powered on state to the first state, it can be appreciated that the first state at this time is: the modem actively reports the message to the second device that the service is in an off state.
And on the basis of the first state, if the first device detects that the short-range wireless connection established between the first device and the second device is kept in a connection state within the first duration and the first device does not have a data downloading task of which the data volume to be downloaded is greater than or equal to the first data volume, the first device continues to perform operation 2 shown in fig. 4 on the modem, that is, reduces the working frequency of the modem. Since operation 2 is performed after operation 1 is performed, the operating frequency of the modem is further reduced on the basis of the first state described above, and thus the power consumption of the modem can be further reduced. Assuming that after performing operation 2, the modem switches from the first state to the second state, it will be appreciated that the second state at this time is: the modem actively reports the message to the second device that the service is in an off state and the operating frequency of the modem is reduced.
And on the basis of the second state, if the first device detects that the short-range wireless connection established between the first device and the second device is kept in the connected state within the first duration and the first device does not have a data downloading task of which the data volume to be downloaded is greater than or equal to the first data volume, the first device performs operation 3 of the modem as shown in fig. 4, that is, turns off the call service of the modem. Since the operation 3 is performed after the operations 1 and 2 are performed, the call service of the modem is further turned off on the basis of the second state described above. Assuming that after performing operation 3, the modem switches from the second state to the third state, it is understood that the third state at this time is: the modem actively reports the message service to the second device in a closed state, the working frequency of the modem is reduced, and the communication service of the modem is in a closed state.
And on the basis of the third state, if the first device detects that the short-range wireless connection established between the first device and the second device is kept in the connected state within the first duration and the first device does not have a data downloading task of which the data volume to be downloaded is greater than or equal to the first data volume, performing operation 4 shown in fig. 4 on the modem, that is, performing speed limiting processing on the data transmission service of the modem. Since the operation 4 is performed after the operations 1, 2, and 3 are performed, the speed limit processing is further performed on the data transmission traffic of the modem based on the third state described above. Assuming that the modem switches from the third state to the fourth state after performing operation 4, it is understood that the fourth state at this time is: the modem actively reports the message service to the second device in a closed state, the working frequency of the modem is reduced, the communication service of the modem is in the closed state, and the data transmission service of the modem is in a speed limit state.
And on the basis of the fourth state, if the first device detects that the short-range wireless connection established between the first device and the second device remains in the connected state for the first period of time and the first device does not have a data download task for which the amount of data to be downloaded is greater than or equal to the first amount of data, performing operation 5 as shown in fig. 4 on the modem, that is, turning off signal transmission and signal reception of the modem. Since operation 5 is performed after performing operations 1, 2, 3, and 4, the signal transmission and signal reception of the modem are further turned off on the basis of the above-described third state. Assuming that after performing operation 5, the modem switches from the fourth state to the fifth state, it is understood that the fifth state at this time is: the modem actively reports the message service to the second device in a closed state, the working frequency of the modem is reduced, the communication service of the modem is in a closed state, the data transmission service of the modem is in a speed limit state, and the signal transmission and the signal reception of the modem are in a closed state.
And on the basis of the fifth state, if the first device detects that the short-range wireless connection established between the first device and the second device remains in the connected state for the first period of time and the first device does not have a data download task in which the amount of data to be downloaded is greater than or equal to the first amount of data, performing operation 6 as shown in fig. 4 on the modem, that is, putting the modem into a sleep state. Since operation 6 is performed after performing operations 1, 2, 3, 4, and 5, the modem is further put into a sleep state based on the fourth state described above. Assuming that after performing operation 6, the modem switches from the fifth state to the sixth state, it is understood that the sixth state at this time is: the modem actively reports the message service to the second device in a closed state, the working frequency of the modem is reduced, the communication service of the modem is in a closed state, the data transmission service of the modem is in a speed limit state, the signal transmission and the signal reception of the modem are in a closed state, and the modem is in a dormant state.
And on the basis of the sixth state, if the first device detects that the short-range wireless connection established between the first device and the second device is kept in the connected state within the first duration, and the first device does not have a data downloading task of which the data volume to be downloaded is greater than or equal to the first data volume, performing operation 7 shown in fig. 4 on the modem, that is, performing a power-down operation on the modem, so that the modem is switched to the power-down state, and the power-down of the modem is completed.
Now, in connection with fig. 4, a complete implementation of 7 operations is performed during powering down the modem, and the operations 1 to 7 described above correspond to the first operation, the second operation, the third operation, the fourth operation, the fifth operation, the sixth operation, and the powering-down operation described above in sequence.
A case where a part of operations among 7 operations is performed in powering down the modem will be described with reference to fig. 5. Fig. 5 shows a second schematic sequence diagram of operations performed by a modem according to an embodiment of the present application.
As shown in fig. 5, in the process of powering down the modem, the operations to be performed include only operation 2, operation 4, operation 5, and operation 7 shown in fig. 5, and the power-down process shown in fig. 5 will be described in detail.
Referring to fig. 5, initially the first device is in a powered-on state, and when the first device detects a short-range wireless connection established between the first device and the second device, the first device may perform operation 2 shown in fig. 5 on the modem, that is, reduce the operating frequency of the modem. Assuming that after operation 2 is performed, the modem is switched from the powered-on state to the first state, it can be understood that the first state at this time is: the operating frequency of the modem is reduced.
And on the basis of the first state, if the first device detects that the short-distance wireless connection established between the first device and the second device is kept in a connection state within the first duration and the first device does not have a data downloading task of which the data volume to be downloaded is greater than or equal to the first data volume, the first device continues to execute operation 4 shown in fig. 5 on the modem, namely, speed limiting processing is performed on the data transmission service of the modem. Since the operation 4 is performed after the operation 2 is performed, the speed limit processing is further performed on the data transmission traffic of the modem based on the first state described above. Assuming that after performing operation 4, the modem switches from the first state to the second state, it will be appreciated that the second state at this time is: the operating frequency of the modem is reduced and the data transmission traffic of the modem is in a rate-limiting state.
And on the basis of the second state, if the first device detects that the short-range wireless connection established between the first device and the second device remains in the connected state for the first period of time and the first device does not have a data download task for which the amount of data to be downloaded is greater than or equal to the first amount of data, performing operation 5 as shown in fig. 5 on the modem, that is, turning off signal transmission and signal reception of the modem. Since operation 5 is performed after operations 2 and 4 are performed, the signal transmission and the signal reception of the modem are further turned off on the basis of the second state described above. Assuming that after performing operation 5, the modem switches from the second state to the third state, it is understood that the third state at this time is: the operating frequency of the modem is reduced, and the data transmission traffic of the modem is in a rate-limiting state, and the signal transmission and signal reception of the modem are in an off state.
And on the basis of the third state, if the first device detects that the short-range wireless connection established between the first device and the second device is kept in the connected state within the first duration and the first device does not have a data downloading task of which the data volume to be downloaded is greater than or equal to the first data volume, performing an operation 7 as shown in fig. 5 on the modem, that is, performing a power-down operation on the modem, so that the modem is switched to the power-down state, and the power-down of the modem is completed.
Now, in connection with fig. 5, implementation of 4 operations among 7 operations performed during powering down of the modem is described, and the described operations 2, 4, 5, and 7 correspond to the described first operation, second operation, third operation, and powering down operation in sequence. Therefore, the specific implementation of the operation executed in the power-down process is not limited in the application, and the operation can be selected and set according to actual requirements.
Based on the description of fig. 4 and fig. 5, it can be determined which operations are specifically performed in sequence for the modem during the actual power-down process, which may be selected according to the actual requirements. And, after each execution of an operation for reducing power consumption, the modem is switched to a corresponding state, however, it is to be understood that neither the first state nor the second state described above nor any state other than the power-down state is a fixed state, but the accumulation of the execution results of the first device for the respective operations for reducing power consumption executed by the modem.
The situation illustrated in fig. 4 above is a situation where the complete power down procedure includes 7 operations. Of course, more than 7 operations may be performed on the modem in the actual implementation process, and the specific content and the sequence of the operations performed on the modem may be preset according to the actual requirements, so long as at least one intermediate state between the power-on state and the power-off state is ensured, and the last operation performed on the modem is performed on the modem.
In the embodiment of the application, the modem can be restored to the power-on state from the state after each operation is executed by setting a plurality of operations on the lower current path of the modem. In this way, a plurality of operations are set in the power-down flow, so that the power-down time of the modem can be prolonged as much as possible, and when the modem needs to be continuously used, the state of the modem after each operation is executed can be restored to the power-up state without powering up the modem after powering down, thereby optimizing the frequent power-up/power-down phenomenon of the modem and reducing the power consumption of the modem.
It can be determined based on the above description that, when the power-down flow is performed for the modem, a plurality of operations of reducing power consumption need to be performed for the modem in sequence.
In one possible implementation manner, for example, operations of reducing power consumption, which are needed to be sequentially executed by the wearable device, may be fixedly written in a power-down running program of the wearable device, and when the wearable device executes the power-down running program, the corresponding operations may be sequentially executed according to the running process of the power-down running program.
Or, configuration information can be preset for the wearable device, and operations needed to be executed in turn in the power-down process of the wearable device are written in the configuration information. When the wearable device executes the down-current procedure, the configuration information can be read first, and then corresponding operations are executed in sequence according to the indication information of each operation included in the configuration information.
An implementation manner of presetting configuration information in the wearable device is described below.
Optionally, the first device may store configuration information, where the configuration information includes at least one operation instruction information of an operation to be performed, and the at least one operation to be performed is an operation sequentially performed on the modem in a process of adjusting the modem from a power-on state to a power-off state; wherein the operation to be performed may comprise at least one of the first operation and the second operation described above.
In the embodiment of the application, the configuration information can also be called as a configuration file, and the configuration information can be used for indicating the operation to be performed in the power-down process of the modem. The configuration information may further include a first duration, where the first duration may be understood as a duration of a state after the modem is switched.
It should be noted that, at least two operations to be performed are indicated in one configuration information, and the operations to be performed in the configuration information are sequentially arranged, and the last operation to be performed is to perform a power-down operation on the modem.
In the embodiment of the application, the operation indication information can be used for representing the operation to be executed, and the operation indication information can be in any form of fields, characters or numerical values.
Illustratively, taking the 7 operations included in the modem illustrated above as an example, it is assumed that the operation indication information of the 7 operations is the numerical value of the corresponding operation number, that is, the operations 1, 2, 3, 4, 5, 6, and 7 described above.
Taking the first device as an example, all operations (operation 1 to operation 7) among 7 operations performed in sequence on the modem, the description will be made with reference to fig. 6. Fig. 6 shows a schematic diagram of configuration information provided by an embodiment of the present application, where, as shown in fig. 6, the configuration information may include operation indication information "1, 2, 3, 4, 5, 6, 7" and a first duration "20" seconds (seconds, s) that are sequentially arranged.
Wherein "1" in the operation indication information may characterize operation 1: closing the service of actively reporting the message to the second equipment by the modem; a "2" in the operation indication information may characterize operation 2: reducing the operating frequency of the modem; "3" in the operation instruction information may characterize operation 3: closing the communication service of the modem; "4" in the operation instruction information may characterize operation 4: speed limiting processing is carried out on the data transmission service of the modem; "5" in the operation indication information may characterize operation 5: turning off signal transmission and signal reception of the modem; "6" in the operation indication information may characterize operation 6: placing the modem in a dormant state; "7" in the operation instruction information may characterize operation 7: a power-down operation is performed on the modem.
Illustratively, according to the configuration information shown in fig. 6, when the first device detects that the first device establishes a bluetooth connection with the second device, the first device may perform operation 1 on the modem, that is, turn off the service that the modem actively reports a message to the second device; if the first device satisfies the condition within the following 20s, then performing operation 2 on the modem when the 20s arrives, that is, further reducing the operating frequency of the modem; if the first device meets the condition within the following 20s, then performing operation 3 on the modem when the 20s arrives, that is, further turning off the call service of the modem; in the following 20s time, if the first device meets the condition, then operation 4 is executed on the modem when the 20s arrives, that is, speed limiting processing is further executed on the data transmission service of the modem; if the first device satisfies the condition within the following 20s, then performing operation 5 on the modem when the 20s arrives, that is, further turning off the signal transmission and signal reception of the modem; if the first device satisfies the condition within the following 20s, continuing to perform operation 6 on the modem when the 20s arrives, that is, further placing the modem in a sleep state; in the following 20s time, if the first device meets the condition, then operation 7 is performed on the modem when 20s arrives, that is, further power-down operation is performed on the modem, so that the power-down procedure of the modem is completed, and the whole power-down procedure is prolonged by 120s.
Wherein, if the first device satisfies the condition in the conditions means: the first device detects that the short-range wireless connection between the first device and the second device is kept in a connected state, and a data downloading task with the data quantity to be downloaded being larger than or equal to the first data quantity does not exist in the first device.
The above description is of the case where the configuration information includes the operation instruction information of the complete 7 operations. Alternatively, it is also possible to include operation instruction information of a part of the 7 operations in the configuration information.
The operation indication information included in the configuration information may be "2, 4, 5, and 7", and the first device may perform operation 2 on the modem, that is, reduce the operating frequency of the modem, when the first device detects that the first device establishes a bluetooth connection with the second device according to the current configuration information; in the following 20s time, if the first device meets the condition, then operation 4 is executed on the modem when the 20s arrives, that is, speed limiting processing is further executed on the data transmission service of the modem; if the first device satisfies the condition within the following 20s, then performing operation 5 on the modem when the 20s arrives, that is, further turning off the signal transmission and signal reception of the modem; in the following 20s time, if the first device meets the condition, then operation 7 is performed on the modem when 20s arrives, that is, further power-down operation is performed on the modem, so that the power-down procedure of the modem is completed, and the whole power-down procedure is prolonged by 60s.
In the embodiment of the application, according to the first time length set in the configuration information, the maintenance time of each execution state of the modem can be prolonged so as to prolong the power-down process of the modem, so that the first device can realize services such as data service, conversation and the like through the modem before the modem is powered down, and the power consumption of the modem is reduced as much as possible by the sequential execution of the operations to be executed.
Based on the above description, in another possible implementation manner, during a first period after the modem is switched to the first state, if the short-range wireless connection is changed to the disconnected state, the modem in the first device is restored to the power-on state.
In the embodiment of the application, the first time length prolongs the power-down process of the modem, so that when the short-distance wireless connection is disconnected in the power-down process of the modem, the modem can be restored to the power-on state from the execution state when the short-distance wireless connection is disconnected, and the modem is not required to be switched to the power-on state from the power-down state. The power consumption caused by switching the modem from the middle low-power state to the power-on state is far lower than the power consumption required by directly switching the modem from the power-off state to the power-on state, so that the power consumption caused by the condition that the modem needs to be directly switched from the power-on state to the power-on state due to the condition that the short-distance wireless connection is switched can be effectively reduced in the embodiment.
Optionally, after recovering the modem in the first device to the power-on state, the method may further include:
if the first equipment and the second equipment are detected to establish the short-distance wireless connection again, the first equipment switches the modem from a power-on state to a first state by executing a first operation; after a first duration of time that the modem is switched to the first state, the first device sets the modem to a powered-down state.
In a possible implementation, after the modem in the first device is restored to the power-on state, if the first device detects that the first device and the second device establish the short-range wireless connection again, the modem is continuously powered down. The specific operation of continuing to power down the modem is not limited to the currently described first operation and power down operation, but may also include various possible operations performed between the power up state and the power down state, and the implementation of the specific power down procedure may refer to the description of the foregoing embodiment and will not be repeated herein.
The first device detects that the first device and the second device establish the short-range wireless connection again, and the first device switches the modem from the powered-on state to the first state by performing a first operation on the modem. The modem maintains the first state unchanged for a first period of time, and after the first period of time, the first device switches the modem from the first state to a powered-down state by performing a powered-down operation.
In the embodiment of the application, after the short-distance wireless connection between the first equipment and the second equipment is disconnected, the modem is restored to the power-on state, and if the first equipment detects that the first equipment and the second equipment establish the short-distance wireless connection again on the basis of the power-on state, the modem is continuously powered down. When the short-distance wireless connection state changes, the first equipment can utilize the modem to carry out data downloading task as much as possible, and meanwhile, the power consumption of the modem is reduced as much as possible through the operation performed on the modem.
On the basis of the foregoing embodiments, for a clearer description of the technical solution of the present embodiment, for example, please refer to fig. 7, fig. 7 shows a schematic diagram of a device control flow provided by the embodiment of the present application, the embodiment of the present application still uses 7 operations included in the modem illustrated in fig. 4, the short-range wireless connection is a bluetooth connection, and the first duration is 20s for illustration, which does not constitute a specific limitation of the embodiment of the present application.
As shown in fig. 7, when the time (time, T) is equal to 0 (t=0), the first device detects that the first device and the second device establish a bluetooth connection, so the first device turns on the power-down control logic of the modem, and performs operation 1 on the modem, that is, turns off the service that the modem actively reports a message to the second device, and switches the modem from the power-up state to the first state, where the service that the modem actively reports a message to the second device is in the off state.
The modem is maintained in the first state, if the modem is switched to the first state within 20s, the bluetooth connection is maintained in the connection state, and no data downloading task with the data amount to be downloaded being greater than or equal to the first data amount exists in the first device, when t=20s, operation 2 is performed on the modem, that is, the working frequency of the modem is reduced, the modem is switched from the first state to the second state, in the second state, the service that the modem actively reports the message to the second device is still in the off state, and the working frequency of the modem is reduced.
And if the modem is maintained in the second state, and the Bluetooth connection is maintained in the connection state within 20s after the modem is switched to the second state, and a data downloading task with the data volume to be downloaded being greater than or equal to the first data volume does not exist in the first device, when t=40s, the operation 3 is executed on the modem, that is, the call service of the modem is closed, the modem is switched from the second state to the third state, in the third state, the service of actively reporting the message to the second device by the modem is still in the closed state, the working frequency of the modem is the same as the working frequency of the modem in the second state, and the call service of the modem is in the closed state.
The modem is maintained in a third state. However, assuming that after 20s is maintained, that is, when t=60 s, the first device detects that the bluetooth connection is disconnected, the power-on control logic of the modem needs to be exited at this time, the service of actively reporting a message to the second device by the modem is started, the working frequency of the modem is recovered, the call service of the modem is started, and the modem is recovered from the third state to the power-on state.
And if the first device detects that the bluetooth connection is in the connection state again at t=61 s, the first device may start the power-down control logic of the modem at this time, and execute operation 1 again on the modem, that is, close the service that the modem actively reports the message to the second device, and switch the modem from the power-up state to the first state, where the service that the modem actively reports the message to the second device is in the off state.
The modem is maintained in the first state, if the modem is switched to the first state within 20s, the bluetooth connection is maintained in the connection state, and no data downloading task with the data amount to be downloaded being greater than or equal to the first data amount exists in the first device, when t=81 s, operation 2 is performed on the modem, that is, the working frequency of the modem is reduced, the modem is switched from the first state to the second state, in the second state, the service that the modem actively reports the message to the second device is still in the off state, and the working frequency of the modem is reduced.
And if the modem is maintained in the second state, and the Bluetooth connection is maintained in the connection state within 20s after the modem is switched to the second state, and a data downloading task with the data volume to be downloaded being greater than or equal to the first data volume does not exist in the first device, when t=101 s, the operation 3 is executed on the modem, that is, the call service of the modem is closed, the modem is switched from the second state to the third state, in the third state, the service of actively reporting the message to the second device by the modem is still in the closed state, the working frequency of the modem is the same as the working frequency of the modem in the second state, and the call service of the modem is in the closed state.
And maintaining the modem in a third state, if the modem is switched to the third state within 20s, the Bluetooth connection is kept in the connection state, and no data downloading task with the data volume to be downloaded being greater than or equal to the first data volume exists in the first device, when t=121 s, the operation 4 is executed on the modem, that is, the speed limiting processing is executed on the data transmission service of the modem, the modem is switched from the third state to the fourth state, in the fourth state, the service of actively reporting the message to the second device by the modem is still in the off state, the working frequency of the modem is the same as the working frequency of the modem in the second state, the call service of the modem is still in the off state, and the speed of the data transmission service of the modem is limited.
And if the modem is maintained in the fourth state, and the bluetooth connection is maintained in the connection state within 20s after the modem is switched to the fourth state, and no data downloading task with the data volume to be downloaded being greater than or equal to the first data volume exists in the first device, when t=141 s, the modem is operated 5, that is, signal transmission and signal reception of the modem are turned off, the modem is switched from the fourth state to the fifth state, in the fifth state, the service of actively reporting a message to the second device by the modem is still in the off state, the working frequency of the modem is the same as the working frequency of the modem in the second state, the call service of the modem is still in the off state, the speed of the data transmission service of the modem is still limited, and the modem does not transmit or receive signals.
The modem is maintained in the fifth state. However, it is assumed that after 20s is maintained, that is, when t=161 s, it is assumed that the first device detects that the bluetooth connection is disconnected, at this time, the power-on control logic of the modem is exited, the service of actively reporting a message to the second device by the modem is turned on, the operating frequency of the modem is restored, the call service of the modem is turned on, the speed limit processing of the data transmission service of the modem is canceled, the signal transmission and the signal reception of the modem are turned on, and the modem is restored from the fifth state to the power-on state.
In the embodiment of the application, for the situation of repeated disconnection/connection which occurs in a short-time Bluetooth instability, because the power-down time of the modem is prolonged through a plurality of operations performed on the modem in the power-down process, the power-down time of the modem is further reduced through a plurality of operations in a stepwise manner under the situation that the Bluetooth connection is disconnected, namely, the power-down state is switched from an intermediate state to a power-up state, namely, the repeated power-up and power-down of the modem is reduced through smooth power-down control logic.
In another possible implementation, the step S3041 may further include:
s1: if the short-range wireless connection remains connected and the first device has a data download task with a data size to be downloaded greater than or equal to the first data size within a first period of time after the modem is switched to the intermediate state, determining, according to the intermediate state, whether the first device performs a suppression operation on the modem, where the suppression operation includes at least one of: the data transmission service of the modem is subjected to speed limiting treatment, signal transmission and signal reception of the modem are closed, and the modem is put into a dormant state.
Wherein, performing speed limiting processing on the data transmission service of the modem, turning off the signal transmission and the signal reception of the modem, and putting the modem into a sleep state may correspond to operations 4-6 of fig. 4. Of course, the suppression operations described above may also include one or more of operations 4-6 of FIG. 4, to which embodiments of the present application are not limited in any way.
The intermediate state may be any state between a power-on state and a power-off state, for example, the intermediate state may include the first state and the second state.
As will be appreciated from the foregoing description, there is a difference in the download speed between downloading data via a bluetooth connection and downloading data via a modem. The amount of data to be downloaded for a data download task is therefore critical when the first device is present.
In one possible implementation, therefore, if the short-range wireless connection remains connected for a first period of time after the modem is switched to the intermediate state, and the first device has a data download task with an amount of data to be downloaded that is greater than or equal to the first amount of data, then it may be considered that the first device is currently downloading a large file. In this case, the data download task may be performed through the modem, or the data download task may be performed through both the modem and the bluetooth connection.
It will also be appreciated that there may be some difference in the speed at which the modem downloads data when in different states, and therefore it is currently necessary in this state to first obtain the intermediate state in which the modem is currently in and determine whether the first device performs a suppression operation on the modem according to the intermediate state, that is, whether the data transmission traffic of the modem is speed-limited, whether the signal transmission and the signal reception of the modem are turned off, and whether the modem is put in a sleep state.
S2: if yes, the suppression operation for the modem is canceled, so that the modem is switched to a target state, and in the target state, a data downloading task is executed through the modem, and the first device does not perform speed limiting processing on the data transmission service of the modem in the target state.
In one possible implementation manner, if it is determined that the first device performs the suppression operation on the modem, it may be determined that the state where the modem is currently in will affect the data download task, and in order to smoothly implement downloading of the large file through the modem, the suppression operation on the modem may be cancelled first in this embodiment.
For example, if it is determined that the first device performs speed limiting processing on the data transmission service of the modem, the first device may roll back for the speed limiting processing, that is, cancel the speed limiting processing.
For example, if it is determined that the first device performs speed limiting processing on the data transmission service of the modem, it is also determined that the first device performs signal transmission and signal reception of the modem. The first device may fall back for the rate limiting process, the process of turning off signal transmission and signal reception. That is, the speed limit process is canceled, and the signal transmission and the signal reception of the modem are started.
After canceling the suppression operation for the modem, the modem is automatically switched to the target state, in which the first device does not perform the speed limit processing of the data transmission traffic of the modem in the present example.
For example, if the configuration information sequentially includes operation instruction information of "2, 4, 5, and 7", when the modem is powered down according to the configuration information, the first device sequentially performs operation 2, operation 4, operation 5, and operation 7 on the modem, and after performing these 4 operations, the modem is sequentially switched to 4 states, i.e., a first state, a second state, a third state, and a fourth state.
Wherein the first state is: the operating frequency of the modem is reduced. The second state is: the operating frequency of the modem is reduced and the data transmission traffic of the modem is in a rate-limiting state. The third state is: the operating frequency of the modem is reduced, and the data transmission traffic of the modem is in a rate-limiting state, and the signal transmission and signal reception of the modem are in an off state. The fourth state is: a power off state of the modem.
If the intermediate state is the third state, it may be determined that the first device performs two suppression operations on the modem: and performing speed limiting processing on the data transmission service of the modem, and closing signal transmission and signal reception of the modem.
The modem then performs back-off processing in these two suppression operations, that is, cancels the speed limit of the data transmission service of the modem, and starts the signal transmission and the signal reception of the modem. Then the modem automatically changes from the third state to the first state after both operations are performed, that is, only the operating frequency of the modem is reduced at this time, and the first state in this embodiment is the target state.
That is, in the present embodiment, it is not limited which specific state the target state is, and after canceling the suppression operation, the intermediate state is changed to which state, and this state is the target state in the present embodiment.
In the target state, the first device does not perform speed limiting processing on the data transmission service of the modem, and then the first device performs a data downloading task through the modem in the target state.
It should be noted that the state manager of the modem can record the state of the modem to quickly and effectively determine which state the modem is in. Then the state identification of the record needs to be changed in the state manager when the modem is currently being switched to the target state. In a possible implementation manner, the status identifier recorded in the status manager and the operation indication information introduced above may be the same, or may also have a mapping relationship, or the status identifier may also be a combination of operation indication information that is performed, so that it may be ensured that, based on the recorded status identifier, the status of the current modem, particularly the status after which operations are performed, is quickly and effectively determined.
For example, the status identifier may still be 1, 2, 3, 4, 5, 6, 7 described above, and it is also assumed that the operations performed by the first device in turn include operation 2, operation 4, operation 5, and operation 7. Then it can be determined that the current modem is in a state after operation 2 has been performed, for example, if the state flag stored in the state manager is 2. For another example, the state flag stored in the state manager is 4, it can be determined that the current modem is in the state after performing operations 2 and 4.
S3: if not, in the intermediate state, the data downloading task is executed through the modem.
In another possible implementation manner, if the first device does not perform the above-described suppression operation for the modem, which indicates that the modem is capable of normally performing the data downloading, the first device may perform the data downloading task directly through the modem in the current intermediate state.
Also, the operation instruction information included in the order of the configuration information described above is exemplified by "2, 4, 5, 7", assuming that the intermediate state is the first state, that is, the first device merely decreases the operating frequency of the modem, and does not perform the above-described suppressing operation of the modem. The first device may perform the data download task via the modem directly in this first state.
In the embodiment of the application, when a large file needs to be downloaded, whether the first device performs the inhibition operation on the modem is determined through the intermediate state of the modem. When the suppressing operation is performed, the current intermediate state is switched to the state before the speed limiting processing is performed on the data transmission service of the modem, and the data downloading task is performed through the modem in the state, so that the large file downloading through the modem can be effectively realized on the basis of a small amount of state switching without switching the modem on and off. When the suppression operation is not performed, the large file is directly downloaded through the modem in the current intermediate state, so that the large file can be effectively downloaded through the modem on the basis of no need of switching between power on and power off. Meanwhile, the large file is downloaded through the modem, and the data downloading task with the data volume to be downloaded being larger than or equal to the first data volume can be downloaded at a higher downloading rate, so that the downloading time of the data downloading task is shortened, and compared with the data downloading task executed through short-distance wireless connection, the time for executing the data downloading task through the modem is shorter.
Based on the above description, the following describes the implementation of the data download task after completion of the execution.
In one possible implementation, after performing the data download task by the modem in the target state, the method may further include: if the execution of the data downloading task is completed, starting from the next operation to be executed corresponding to the target state in the configuration information, and continuing to execute each operation to be executed on the modem.
In a possible implementation, during the power-down process of the modem, the data downloading task is executed through the modem in the target state, the modem is maintained in the target state before the execution of the data downloading task is completed, and after the execution of the data downloading task is completed, the operation to be executed is continuously executed on the modem from the next operation to be executed corresponding to the target state in the configuration information.
The configuration information includes a plurality of operations to be performed, and it is understood that the target state is a state where the modem is located after the first device performs a certain operation (which will be referred to herein as a target operation). Then the next operation to be executed corresponding to the target state is the next operation of the target operation in the configuration information.
For example, the configuration information includes operation 2, operation 4, operation 5, and operation 7 in order. For example, after the first device performs operation 2, the modem is switched to the target state, and then the next operation of operation 2, that is, operation 4, is the next operation corresponding to the target state.
In the embodiment of the application, the data downloading task is executed through the modem in the target state, and when the execution of the data downloading task is completed, the operation of switching the execution state of the modem is continuously carried out from the next operation to be executed corresponding to the target state in the configuration information, namely, the modem is continuously powered down from the next operation to be executed corresponding to the target state in the configuration information. The function of the modem is utilized to shorten the time for executing the data downloading task, and when the data downloading task is executed, the modem is in a target state in the power-down flow, and the operation corresponding to the execution state before the target state can reduce the power consumption of the modem.
In another possible implementation manner, after the data download task is performed by the modem in the intermediate state, the method may further include: if the execution of the data downloading task is completed, starting from the next operation to be executed corresponding to the intermediate state in the configuration information, and continuing to execute each operation to be executed on the modem.
In a possible implementation, during the powering down of the modem, the data download task is performed by the modem in an intermediate state. The modem is maintained in an intermediate state before the execution of the data download task is completed, and after the execution of the data download task is completed, each operation to be executed is continuously executed on the modem from the next operation to be executed corresponding to the intermediate state in the configuration information. The next operation to be executed corresponding to the intermediate state is similar to the above description, and will not be described herein.
In the embodiment of the application, the data downloading task is executed through the modem in the intermediate state, and when the execution of the data downloading task is completed, the switching operation of the execution state of the modem is continued from the next operation to be executed corresponding to the intermediate state in the configuration information, that is, the power-down of the modem is continued from the next operation to be executed corresponding to the intermediate state in the configuration information. The function of the modem is utilized to shorten the time for executing the data downloading task, and when the data downloading task is executed, the modem is in an intermediate state in the power-down flow, and the operation corresponding to the execution state before the intermediate state can reduce the power consumption of the modem.
In the foregoing description, in the case that a large file download exists in the first period, in another possible implementation manner, if the short-range wireless connection maintains the connection state in the first period after the modem is switched to the middle, and the first device has a data download task with an amount of data to be downloaded smaller than the first data amount, the data download task is performed through the short-range wireless connection.
In a possible implementation, in a first period of time after the modem is switched to the intermediate state, if the short-range wireless connection is kept in a connected state, and the first device has a data downloading task with a data volume to be downloaded smaller than the first data volume, the data volume of the file to be downloaded is smaller, and the data downloading task can be completed through the short-range wireless connection, and the first device can execute the data downloading task through the short-range wireless connection with the second device.
It can be understood that, when the first device has a data downloading task with a data amount to be downloaded smaller than the first data amount, the first device still performs a switching operation of the execution state of the modem in the process of executing the data downloading task through the short-range wireless connection, and the first device may not wait for the execution of the data downloading task to be completed.
In the embodiment of the application, in the first time period after the modem is switched to the intermediate state, when the first device has a data downloading task with the data volume to be downloaded being smaller than the first data volume, the data downloading task is executed through the short-distance wireless connection, so that the modem can be continuously powered down when the data downloading task is executed through the short-distance wireless connection, and the power consumption of the modem is reduced.
On the basis of the foregoing embodiments, in order to more clearly describe the technical solution of the embodiments of the present application, the following describes the technical solution of the embodiments of the present application by taking the data download service as music file download and the short-range wireless connection as bluetooth connection as an example, which does not constitute a specific limitation of the embodiments of the present application.
Fig. 8 is a schematic flow chart of a device control method according to an embodiment of the present application, as shown in fig. 8, where the method includes:
s801: the first device and the second device establish a bluetooth connection.
In a possible implementation, the first device detects that the bluetooth state in the first device is a bluetooth connected state. At this time, the modem is in a power-on state.
S802: the first device turns on power-down state management of the modem.
In a possible implementation, after receiving a signal that the first device and the second device establish bluetooth connection, the first device triggers a state manager of a modem in the first device to start to manage power-down state management of the modem, and the first device starts to execute each operation to be executed on the modem in sequence.
Illustratively, after the first device and the second device establish a bluetooth connection, the first device begins to sequentially perform each operation to be performed on the modem, and the modem switches states according to the operation to be performed. The specific embodiments shown in fig. 3 to 7 will not be described herein.
S803: a music Application (APP) in a first device generates a data service request.
Illustratively, the music application in the first device generates a data service request requesting the download of the music file. It should be noted that the music APP and music file described herein are only exemplary, and any APP that needs to perform data downloading may generate a data service request and download a corresponding data file in an actual implementation process.
S804: the music application in the first device sends a data service request to a transmission control/network (transmission control protocol/internet protocol, TCP/IP) protocol stack.
S805: the TCP/IP protocol stack determines whether to request a download of a large file.
For example, during the power-down time of the modem, if the TCP/IP protocol stack receives a data service request sent by the music application in the first device, the TCP/IP protocol stack determines whether the data service request is a request for downloading a large file, and the large file may be, for example, a file greater than 2 MB. The power-down time of the modem may be a sum of first durations of each execution state after the modem is switched to each execution state.
If the TCP/IP protocol stack determines that the downloading of the large file is requested, the process proceeds to step S806a, otherwise, the process proceeds to step S806b.
S806a: an intermediate state of the modem is acquired.
In a possible implementation, the first device obtains and records the current intermediate state of the modem. Step S807 is entered.
S806b: the data download task is performed over a bluetooth connection.
S807: it is determined whether the intermediate state of the modem is a state before the speed limit processing is performed on the data transmission traffic of the modem.
If the intermediate state of the modem is determined to be the state before the speed limit processing is performed on the data transmission service of the modem, the process proceeds to step S809, otherwise, the process proceeds to step S808.
S808: the suppression operation of the modem is canceled to switch the modem to the target state.
In a possible implementation manner, if it is determined that the first device performs the suppression operation on the modem, it may be determined that the current state of the modem may affect the data download task, and in order to smoothly implement downloading of the large file through the modem, in the embodiment of the present application, the first device may cancel the suppression operation on the modem and send an instruction to the modem to notify that the modem will switch to the target state. After the modem is switched to the target state, the data downloading task is executed through the modem in the target state, and the target state is maintained unchanged by the modem before the execution of the data downloading task is completed. See step S2, and will not be described herein.
S809: the downloading of the music file is started.
In a possible implementation, the data download task is performed by the modem, which maintains the current intermediate state unchanged until the data download task is performed.
S810: the music file download ends.
In a possible implementation, the TCP/IP protocol stack informs the music application that the file download is over, and the music application obtains the file downloaded at this time. Further, from the current intermediate state, the first device continues the intermediate state switching operation of the modem.
If the file is to be continuously downloaded, the above steps S803 to S810 may be repeated.
It is understood that steps S805 to S810 described above are similar or identical to steps S1 to S3 described above.
In the embodiment of the application, the higher-efficiency downloading of the large file is realized through the smooth power-down control of the modem, the power consumption of the modem is reduced by reducing the power-up and power-down times of the modem, the power consumption of the modem is further reduced based on the operation corresponding to each intermediate state, and the reduction of the standby time of the first equipment is delayed.
The method provided by the embodiment of the present application is described above with reference to fig. 3 to 8, and the device for performing the method provided by the embodiment of the present application is described below. As shown in fig. 9, fig. 9 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application, where the apparatus control device may be a first apparatus in an embodiment of the present application, or may be a chip or a chip system in the first apparatus.
As shown in fig. 9, the device control apparatus 900 may be used in a communication device, a circuit, a hardware component, or a chip, and the device control apparatus 900 includes: a processing unit 901. The processing unit 901 is for supporting the device control apparatus to perform the steps of device control, for example, the processing unit is for processing the steps of S301 to S304 in fig. 3.
In one possible implementation, the device control apparatus 900 may further include: and a storage unit 903. The storage unit 903 may include one or more memories, which may be one or more devices, circuits, or devices for storing programs or data.
The storage unit 903 may exist separately and be connected to the processing unit 901 via a communication bus. The storage unit 903 may also be integrated with the processing unit 901.
Taking an example that the device control apparatus 900 may be a chip or a chip system of the first device in the embodiment of the present application, the storage unit 903 may store computer-executed instructions of the method of the first device, so that the processing unit 901 performs the method of the first device in the above embodiment. The storage unit 903 may be a register, a cache or a random access memory (random access memory, RAM) etc., and the storage unit 903 may be integrated with the processing unit 901. The storage unit 903 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, and the storage unit 903 may be independent of the processing unit 901.
In one possible implementation, the device control apparatus 900 may further include: a communication unit 902. Wherein the communication unit 902 is configured to support the device control apparatus 900 to interact with other devices. For example, when the device control apparatus 900 is a first device, the communication unit 902 may be a communication interface or an interface circuit. When the device control apparatus 900 is a chip or a chip system within a first device, the communication unit 902 may be a communication interface. For example, the communication interface may be an input/output interface, pins or circuitry, etc.
The apparatus of this embodiment may be correspondingly configured to perform the steps performed in the foregoing method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application, as shown in fig. 10, where the electronic device includes a processor 1001, a communication line 1004, and at least one communication interface (the communication interface 1003 is exemplified in fig. 10).
The processor 1001 may be a general purpose central processing unit (central processing unit, CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
Communication line 1004 may include circuitry to communicate information between the components described above.
Communication interface 1003 uses any transceiver-like device for communicating with other devices or communication networks, such as ethernet, wireless local area network (wireless local area networks, WLAN), etc.
Possibly, the electronic device may also comprise a memory 1002.
The memory 1002 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disk storage, a compact disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be implemented on its own and coupled to the processor via communication line 1004. The memory may also be integrated with the processor.
The memory 1002 is used for storing computer-executable instructions for performing the aspects of the present application, and is controlled by the processor 1001 for execution. The processor 1001 is configured to execute computer-executable instructions stored in the memory 1002, thereby implementing the method provided by the embodiment of the present application.
Possibly, the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not limited in particular.
In a particular implementation, process 1001 may include one or more CPUs, such as CPU0 and CPU1 of FIG. 10, as an embodiment.
In a particular implementation, the electronic device may include multiple processors, such as processor 1001 and processor 1005 in FIG. 10, as one embodiment. Each of these processors may be a single-core (single-CPU) processor or may be a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Fig. 11 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 1100 includes one or more (including two) processors 1102 and a communication interface 1103.
In some implementations, the memory 1104 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.
In an embodiment of the application, memory 1104 may include read-only memory and random access memory, and provides instructions and data to processor 1102. A portion of the memory 1104 may also include non-volatile random access memory (non-volatile random access memory, NVRAM).
In an embodiment of the application, memory 1104, communication interface 1103, and processor 1102 are coupled together by bus system 1101. The bus system 1101 may include a power bus, a control bus, a status signal bus, and the like in addition to a data bus. For ease of description, the various buses are labeled as a bus system 1101 in FIG. 11.
The methods described in the embodiments of the present application may be applied to the processor 1102 or implemented by the processor 1102. The processor 1102 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the methods described above may be performed by integrated logic circuitry in hardware or instructions in software in the processor 1102. The processor 1102 may be a general purpose processor (e.g., a microprocessor or a conventional processor), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), an off-the-shelf programmable gate array (field-programmable gate array, FPGA) or other programmable logic device, discrete gates, transistor logic, or discrete hardware components, and the processor 1102 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the application.
The steps of the method disclosed in connection with the embodiments of the present application may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a state-of-the-art storage medium such as random access memory, read-only memory, programmable read-only memory, or charged erasable programmable memory (electrically erasable programmable read only memory, EEPROM). The storage medium is located in the memory 1104, and the processor 1102 reads the information in the memory 1104 and performs the steps of the method in combination with its hardware. The principle and technical effects of the present application are similar to those of the above-described related embodiments, and will not be described in detail herein.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium stores a computer program. The computer program realizes the above method when being executed by a processor. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
In one possible implementation, the computer readable medium may include RAM, ROM, compact disk-read only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium targeted for carrying or storing the desired program code in the form of instructions or data structures and accessible by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (digital subscriber line, DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes optical disc, laser disc, optical disc, digital versatile disc (digital versatile disc, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
Embodiments of the present application provide a computer program product comprising a computer program which, when executed, causes a computer to perform the above-described method.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing detailed description of the application has been presented for purposes of illustration and description, and it should be understood that the foregoing is by way of illustration and description only, and is not intended to limit the scope of the application.

Claims (15)

1. A device control method, characterized by comprising:
the method comprises the steps that a first device sets a modem of the first device to be in a power-on state;
the first equipment and the second equipment establish short-distance wireless connection;
the first device switches the modem from the power-on state to a first state by executing a first operation, wherein the device power consumption of the modem in the first state is smaller than the device power consumption of the modem in the power-on state;
after a first duration of time that the modem is switched to the first state, the first device sets the modem to a powered-down state.
2. The method of claim 1, wherein the first device sets the modem to a powered-down state after a first duration of time the modem is switched to the first state, comprising:
after the modem is switched to the first state for a first duration, the first device switches the modem from the first state to a second state by executing a second operation, wherein the device power consumption of the modem in the second state is smaller than the device power consumption of the modem in the first state;
After a first duration of time that the modem is switched to the second state, the first device switches the modem from the second state to the powered-down state.
3. The method of claim 2, wherein the first device switching the modem from the first state to the second state by performing a second operation after a first duration of switching the modem to the first state comprises:
and in a first time period after the modem is switched to the first state, if the short-distance wireless connection is kept in a connection state and the first equipment does not have a data downloading task of which the data volume to be downloaded is larger than or equal to the first data volume, the first equipment switches the modem from the first state to the second state by executing a second operation.
4. The method of claim 2, wherein after the first device switches the modem from the first state to the second state by performing a second operation after a first period of time during which the modem is switched to the first state, the method further comprises:
After a second duration of time for which the modem is switched to the second state, the first device switches the modem from the second state to the powered-down state.
5. The method according to claim 3, wherein configuration information is stored in the first device, wherein the configuration information includes operation instruction information of at least one operation to be performed, and the at least one operation to be performed is an operation sequentially performed on the modem in a process of adjusting the modem from the power-on state to the power-off state;
wherein the operation to be performed includes at least one of the first operation and the second operation.
6. The method of claim 5, wherein the first operation and the second operation are different operations;
the first operation and the second operation are any one of the following:
closing the service of actively reporting the message to the second equipment by the modem;
reducing the operating frequency of the modem;
closing the call service of the modem;
speed limiting processing is carried out on the data transmission service of the modem;
Turning off signal transmission and signal reception of the modem;
placing the modem in a dormant state.
7. The method according to any one of claims 2-6, further comprising:
if the short-range wireless connection remains connected and the first device has a data download task with a data volume to be downloaded greater than or equal to a first data volume within a first period of time after the modem is switched to an intermediate state, determining, according to the intermediate state, whether the first device performs a suppression operation on the modem, where the suppression operation includes at least one of: speed limiting processing is carried out on the data transmission service of the modem, signal transmission and signal reception of the modem are closed, and the modem is put into a dormant state;
if yes, cancelling the inhibition operation of the modem so as to switch the modem into a target state, and executing the data downloading task through the modem in the target state, wherein the first equipment does not perform speed limiting processing on the data transmission service of the modem in the target state;
If not, executing the data downloading task through the modem in the intermediate state;
wherein the intermediate state includes the first state and the second state.
8. The method of claim 7, wherein after the data download task is performed by the modem in the target state, the method further comprises:
and if the execution of the data downloading task is completed, starting from the next operation to be executed corresponding to the target state in the configuration information, and continuing to execute each operation to be executed on the modem.
9. The method of claim 7, wherein after the data download task is performed by the modem in the intermediate state, the method further comprises:
and if the execution of the data downloading task is completed, starting from the next operation to be executed corresponding to the intermediate state in the configuration information, and continuing to execute each operation to be executed on the modem.
10. The method of claim 7, wherein the method further comprises:
and in a first time period after the modem is switched to the intermediate state, if the short-range wireless connection is kept in a connection state and the first device has a data downloading task with the data quantity to be downloaded being smaller than the first data quantity, executing the data downloading task through the short-range wireless connection.
11. The method according to any one of claims 2-6, further comprising:
and in a first time period after the modem is switched to the first state, if the short-distance wireless connection is changed to a disconnected state, the modem in the first device is restored to the power-on state.
12. The method of claim 11, wherein after the recovering the modem in the first device to the powered-on state, the method further comprises:
if the first device and the second device are detected to establish short-distance wireless connection again, the first device switches the modem from the power-on state to a first state by executing a first operation;
after a first duration of time that the modem is switched to the first state, the first device sets the modem to a powered-down state.
13. An electronic device, comprising: a processor and a memory;
the memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory to cause the electronic device to perform the method of any one of claims 1-12.
14. A computer readable storage medium storing a computer program, which when executed by a processor performs the method according to any one of claims 1-12.
15. A computer program product comprising a computer program which, when run, causes a computer to perform the method of any of claims 1-12.
CN202211131149.4A 2022-09-16 2022-09-16 Equipment control method, device and storage medium Active CN116744266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211131149.4A CN116744266B (en) 2022-09-16 2022-09-16 Equipment control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211131149.4A CN116744266B (en) 2022-09-16 2022-09-16 Equipment control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN116744266A true CN116744266A (en) 2023-09-12
CN116744266B CN116744266B (en) 2024-05-24

Family

ID=87912073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211131149.4A Active CN116744266B (en) 2022-09-16 2022-09-16 Equipment control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116744266B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130143504A1 (en) * 2011-12-05 2013-06-06 Qualcomm Innovation Center, Inc. Method to Conserve Power on a Wireless Mobile Device Using Web Browser State Knowledge
CN104503565A (en) * 2015-01-04 2015-04-08 华为技术有限公司 Power consumption management method and device for mobile device and mobile device
US20150131502A1 (en) * 2013-11-11 2015-05-14 Motorola Mobility Llc Reducing power consumption by a wireless communication device with multiple wireless communication modems
CN110677903A (en) * 2019-10-28 2020-01-10 华为终端有限公司 Dormancy control method, device, medium and system for wireless access equipment and wireless access equipment
CN112486308A (en) * 2020-11-26 2021-03-12 广东小天才科技有限公司 Power consumption control method of wearable device, wearable device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130143504A1 (en) * 2011-12-05 2013-06-06 Qualcomm Innovation Center, Inc. Method to Conserve Power on a Wireless Mobile Device Using Web Browser State Knowledge
US20150131502A1 (en) * 2013-11-11 2015-05-14 Motorola Mobility Llc Reducing power consumption by a wireless communication device with multiple wireless communication modems
CN104503565A (en) * 2015-01-04 2015-04-08 华为技术有限公司 Power consumption management method and device for mobile device and mobile device
CN110677903A (en) * 2019-10-28 2020-01-10 华为终端有限公司 Dormancy control method, device, medium and system for wireless access equipment and wireless access equipment
CN112486308A (en) * 2020-11-26 2021-03-12 广东小天才科技有限公司 Power consumption control method of wearable device, wearable device and storage medium

Also Published As

Publication number Publication date
CN116744266B (en) 2024-05-24

Similar Documents

Publication Publication Date Title
CN110381345B (en) Screen projection display method and electronic equipment
WO2021013156A1 (en) Bluetooth switching method and bluetooth device
KR101017380B1 (en) Communication terminal and computer-readable storage medium
CN105763723A (en) Mobile terminal and system update method
CN112954819B (en) Equipment networking method, electronic equipment and system
CN110913424B (en) Network connection control method and device, terminal and computer storage medium
CN114996168B (en) Multi-device cooperative testing method, testing device and readable storage medium
US20230412295A1 (en) Method and apparatus for service processing in dual card terminal device
CN109151669B (en) Earphone control method, earphone control device, electronic equipment and storage medium
US9112917B2 (en) Controller system and method therefor
US8301185B2 (en) Coordination method and communication terminal
CN116744266B (en) Equipment control method, device and storage medium
KR101964932B1 (en) Mobile terminal comprising sim card and battery managing method thereof
US10771188B2 (en) Reduction in latency for cellular handover in wearable devices
US20200183747A1 (en) User Presence Prediction Driven Device Management
CN109151784B (en) Network connection method and device and electronic equipment
WO2022206093A1 (en) Wearable device, control method for wearable device, and storage medium
JP5522145B2 (en) Portable electronic device, program
CN115915396B (en) Paging method and electronic equipment
JP7477584B1 (en) COMMUNICATION DEVICE, CONTROL METHOD FOR COMMUNICATION DEVICE, AND CONTROL PROGRAM FOR COMMUNICATION DEVICE
RU2789775C1 (en) Method for increasing terminal response rate to page messages and terminal
CN114449492B (en) Data transmission method and terminal equipment
WO2024109399A1 (en) State notification method and apparatus
WO2023005783A1 (en) Data processing method and electronic device
CN114510444A (en) Control method and control device of OTG interface and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant