[go: up one dir, main page]

CN113473584A - Operation control method, device, equipment and medium for modem - Google Patents

Operation control method, device, equipment and medium for modem Download PDF

Info

Publication number
CN113473584A
CN113473584A CN202110772047.XA CN202110772047A CN113473584A CN 113473584 A CN113473584 A CN 113473584A CN 202110772047 A CN202110772047 A CN 202110772047A CN 113473584 A CN113473584 A CN 113473584A
Authority
CN
China
Prior art keywords
preset
wearable device
modem
judging
period
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.)
Withdrawn
Application number
CN202110772047.XA
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN202110772047.XA priority Critical patent/CN113473584A/en
Publication of CN113473584A publication Critical patent/CN113473584A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0287Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level changing the clock frequency of a controller in the equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • 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)

Abstract

本公开实施例涉及一种调制解调器的运行控制方法、装置、设备及介质,其中该方法包括:根据预设的判断周期,判断可穿戴式设备在当前判断周期内是否满足调制解调器的预设开启条件;若满足预设开启条件,则获取可穿戴式设备的在当前判断周期的剩余电量,并判断剩余电量是否小于预设电量;若小于预设电量,则确定与剩余电量对应的运行时长;在当前判断周期内,根据预设的休眠时间间隔控制可穿戴式设备中的调制解调器根据运行时长处于运行状态。本公开实施例通过对可穿戴式设备的剩余电量进行判断,实现了根据可穿戴式设备的剩余电量调整调制解调器的运行时长,从而降低了可穿戴式设备的功耗,延长了其续航时间,提高了用户体验。

Figure 202110772047

Embodiments of the present disclosure relate to an operation control method, device, device, and medium for a modem, wherein the method includes: according to a preset judgment period, judging whether the wearable device satisfies a preset turn-on condition of the modem in the current judgment period; If the preset turn-on conditions are met, the remaining power of the wearable device in the current judgment period is obtained, and whether the remaining power is less than the preset power is determined; if it is less than the preset power, the running time corresponding to the remaining power is determined; During the judgment period, the modem in the wearable device is controlled to be in a running state according to the running time according to the preset sleep time interval. By judging the remaining power of the wearable device, the embodiment of the present disclosure realizes that the operating time of the modem is adjusted according to the remaining power of the wearable device, thereby reducing the power consumption of the wearable device, prolonging its battery life, and improving the operation time of the wearable device. user experience.

Figure 202110772047

Description

Operation control method, device, equipment and medium for modem
Technical Field
The present disclosure relates to the field of intelligent control technologies, and in particular, to a method, an apparatus, a device, and a medium for controlling operations of a modem.
Background
Along with the development of electronic technology, wearable equipment is more and more common in daily life, and meanwhile, the function of wearable equipment is also abundantly increasing, and when the function is abundant, the consumption of wearable equipment also improves correspondingly. However, the battery of the wearable device is typically smaller and can provide less power.
In the related art, the cruising ability of the wearable device is improved by improving the power storage ability of the battery, however, when the power storage ability is improved, the volume of the battery is also increased, thereby causing a reduction in the convenience of use of the wearable device.
Therefore, how to improve the cruising ability of the wearable device without increasing the battery volume is a problem to be solved urgently at present.
Disclosure of Invention
To solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides an operation control method, apparatus, device, and medium of a modem.
In a first aspect, an embodiment of the present disclosure provides an operation control method for a modem, where the method includes:
judging whether the wearable device meets a preset starting condition of the modem in the current judging period according to the preset judging period;
if the preset starting condition is met, acquiring the residual electric quantity of the wearable device in the current judging period, and judging whether the residual electric quantity is smaller than a preset electric quantity;
if the power is less than the preset power, determining the operation time corresponding to the residual power;
and in the current judging period, the modem in the wearable device is controlled to run periodically according to a preset dormancy duration and the running duration.
In an optional embodiment, the determining whether the wearable device meets the preset on condition of the modem in the current determination period includes:
judging whether a virtual smart card is installed in the wearable device;
if the virtual smart card is installed, judging whether the wearable device has associated terminal equipment;
and if the associated terminal equipment exists, judging whether the associated terminal equipment is connected with the wearable equipment in the current judging period, wherein if the associated terminal equipment is not connected with the wearable equipment, the preset starting condition of the modem is met.
In an optional implementation manner, after the associating terminal device, the method further includes:
acquiring communication information received by the associated terminal equipment;
judging whether the information type of the communication information belongs to a preset information type;
if the type of the communication information belongs to the preset information type, controlling the wearable device to display the communication information on a screen;
and if the type of the wearable device does not belong to the preset information type, controlling the screen of the wearable device to be in a screen-off state.
In an optional implementation manner, the determining the operation duration corresponding to the remaining capacity includes:
and inquiring a preset database according to the residual electric quantity to obtain the corresponding running time.
In an optional embodiment, before the periodically controlling the modem in the wearable device to operate according to the preset sleep duration and the runtime duration, the method includes:
acquiring a heart rate signal of a user through a heart rate sensor in the wearable device;
judging whether the user is in a sleep state or not according to the heart rate signal;
if the user is in the sleep state, determining a preset first numerical value as the sleep time interval;
and if the user is not in the sleep state, determining a preset second numerical value as the sleep time interval, wherein the second numerical value is smaller than the first numerical value.
In an optional embodiment, after the determining whether the wearable device meets the preset turn-on condition of the modem in the current determination period, the method further includes:
if the preset opening condition is not met, judging whether a preset closing prohibition control is triggered or not;
if the preset control for forbidding closing is not triggered, controlling the modem to be in a closing state;
and if the preset control for forbidding closing is triggered, controlling the modem to be in an opening state.
In a second aspect, an embodiment of the present disclosure provides an operation control apparatus for a modem, the apparatus including:
the first judging module is used for judging whether the wearable device meets the preset starting condition of the modem in the current judging period according to the preset judging period;
the second judging module is used for acquiring the residual electric quantity of the wearable device in the current judging period when the preset starting condition is met, and judging whether the residual electric quantity is smaller than a preset electric quantity;
the determining module is used for determining the running time corresponding to the residual electric quantity when the running time is less than the preset electric quantity;
and the control module is used for controlling the modem in the wearable device to run periodically according to a preset dormancy duration and the running duration in the current judgment period.
In a third aspect, the present disclosure provides a computer-readable storage medium having stored therein instructions that, when run on a terminal device, cause the terminal device to implement the above-mentioned method.
In a fourth aspect, the present disclosure provides an electronic device comprising: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the method.
In a fifth aspect, the present disclosure provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the method described above.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
the method and the device for judging the residual electric quantity of the wearable device in the judging period realize the adjustment of the operation time of the modem according to the residual electric quantity of the wearable device, and if the residual electric quantity is smaller than the preset electric quantity, the operation time of the modem is controlled according to the preset dormancy time interval, so that the operation time of the modem is shortened, the power consumption of the wearable device is reduced, the battery duration is prolonged while the battery size is not increased, and the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating an operation control method of a modem according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another method for controlling operations of a modem according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating a method for controlling operations of a modem according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an operation control device of a modem according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is a flowchart illustrating an operation control method of a modem according to an embodiment of the present disclosure, which may be performed by an operation control apparatus of the modem, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 1, the method includes:
step 101, according to a preset judgment period, judging whether the wearable device meets a preset starting condition of the modem in the current judgment period.
In this embodiment, the wearable device has a plurality of types, for example: smart watches, smart glasses, etc., and the present embodiment is not limited. In order to support transmission and decoding of relevant data signals, a modem may be provided in the wearable device, and the modem may perform conversion between an analog signal and a digital signal, so as to perform data transmission. Since the modem is used for receiving and transmitting related data, the modem has an obvious influence on the power consumption of the wearable device, and therefore, in this embodiment, on the basis of not influencing the use experience of the wearable device, the power consumption of the wearable device is reduced, so that the cruising ability of the wearable device is improved, and the on-time of the modem is reduced. In order to accurately control the on-time of the modem, a determination period is preset, where the determination period may be set according to an application scenario, and this embodiment is not limited, for example: 2 seconds, 1 minute. And performing modulation and demodulation according to a preset judgment period to judge whether a preset starting condition of the modem is met in the current judgment period, wherein the preset starting condition is used for judging that the wearable device possibly needs to provide related data transmission or receiving services depending on the work of the modem.
Step 102, if the preset starting condition is met, acquiring the remaining power of the wearable device in the current judgment period, and judging whether the remaining power is smaller than the preset power.
And 103, if the power is less than the preset power, determining the running time corresponding to the residual power.
If the preset starting condition is met, the wearable device may need to provide related data transmission or reception services depending on the operation of the modem, so that when the modem is further started, the power consumption is reduced by reducing the starting duration of the modem, and thus, the service provision and the power consumption reduction are both considered.
In this embodiment, the remaining power of the wearable device in the current determination period is obtained, and the remaining power represents the current cruising ability of the wearable device, so that, in order to provide services and reduce power consumption, the remaining power of the wearable device in the current determination period is obtained first, and the remaining power can be obtained by reading a battery icon.
Furthermore, whether the remaining power is less than a preset power is determined, wherein the preset power is calibrated according to experimental data, and even if the modem is turned on, the wearable device is not turned off and the power used by the wearable device is not affected, but the preset power is a relatively small power value.
In some possible embodiments, a database may be preset, where the preset database stores operating durations corresponding to remaining power amounts in different intervals, so that the preset database may be queried according to the remaining power amounts to obtain corresponding operating durations. It should be emphasized that the remaining power value in this embodiment is the remaining power of the wearable device at the corresponding time point determined after the preset on condition of the modem is determined to be satisfied in the current determination period, and the period duration of the current determination period is usually short, so that even at the last time point of the current determination period, the run-time duration determined according to the corresponding remaining power does not significantly cause the decrease in the endurance of the wearable device.
Of course, if the period duration of the current determination period is longer, for example, greater than a certain time value, the remaining power may also be updated at certain time intervals in real time, and the operation duration may be updated according to the updated remaining power.
In an embodiment of the present disclosure, if the preset on condition is not satisfied, that is, the wearable device may not need to provide related data transmission or reception services depending on the operation of the modem, it is determined whether a preset off prohibition control is triggered, that is, in this embodiment, in order to meet personal requirements of a user and the like, for example, the user needs to ensure that the modem is always on due to the personal requirements, the off prohibition control is provided in advance, and the off prohibition control may be virtual or physical, and if the preset off prohibition control is not triggered, the modem is controlled to be in an off state in order to reduce the power consumption of the modem.
And if the preset control for forbidding closing is triggered, controlling the modem to be in an opening state in order to meet personal requirements of users and the like.
And step 104, in the current judging period, controlling the modem in the wearable device to run periodically according to the preset dormancy duration and the running duration.
In addition, the operation time length corresponds to the residual electric quantity, the residual electric quantity is less, the operation time length is shorter, otherwise, the residual electric quantity is more, the operation time length is longer, therefore, the operation of the modem can not cause the power consumption of the wearable device to be sharply reduced, and the operation time length of the wearable device is further ensured.
It should be noted that the preset sleep duration in this embodiment may be a fixed value calibrated in advance according to the experimental data, or may also be calibrated according to the remaining power, and the more the remaining power is, the longer the preset sleep duration is, thereby taking into account the provision of the service and the cruising ability of the wearable device.
In one embodiment of the present disclosure, in order to further ensure the service quality of the wearable device, a preset sleep duration may also be determined according to whether the user is in a sleep state.
In this embodiment, as shown in fig. 2, before controlling the modem in the wearable device to run periodically according to the preset sleep duration and the run-time duration, the method further includes:
step 201, acquiring a heart rate signal of a user through a heart rate sensor in the wearable device.
In this embodiment, the wearable device includes a heart rate sensor therein, and the heart rate signal of the user is acquired by the heart rate sensor in the wearable device.
Step 202, judging whether the user is in a sleep state according to the heart rate signal.
Because the heart rate signal of user sleep state is different with the heart rate signal when active, consequently, in this embodiment, judge whether the user is in sleep state according to the heart rate signal.
For example, when the heart rate variation curve corresponding to the heart rate signal is consistent with the sleep heart rate curve, it is determined that the user is in a sleep state.
In step 203, if the user is in a sleep state, the preset first value is determined as the sleep duration.
Step 204, if the user is not in the sleep state, determining that a preset second value is the sleep duration, wherein the second value is smaller than the first value.
In this embodiment, if the user is in a sleep state, in order to avoid disturbing the user when the modem provides services, for example, disturbing the user when multiple incoming calls are answered, the preset first value is determined to be the sleep duration, where the first value is larger, so that while the service can be provided, part of data transmission services and the like are ignored, and the user is prevented from being disturbed.
In an embodiment of the present disclosure, if the user is not in the sleep state, in order to ensure the service quality, a preset second value is determined as the sleep duration, where the second value is smaller than the first value, and both the first value and the second value may be calibrated according to experimental data.
In summary, according to the operation control method of the modem in the embodiment of the present disclosure, the remaining power of the wearable device is determined in the determination period, so that the operation duration of the modem is adjusted according to the remaining power of the wearable device, and if the remaining power is smaller than the preset power, the operation duration of the modem is controlled according to the preset sleep time interval, so that the operation duration of the modem is shortened, the power consumption of the wearable device is reduced, the duration of the wearable device is prolonged while the battery size is not increased, and the user experience is improved.
Based on the above embodiment, in different application scenarios, the manner of determining whether the wearable device satisfies the preset on condition of the modem in the current determination period is different, which is exemplified as follows:
in one embodiment of the present disclosure, by determining whether a function module or a function service that can only operate depending on the turning on of the modem is present in the wearable device, if yes, the preset turning on condition of the modem is obviously satisfied.
In this embodiment, the function module or the function service is taken as an example of a virtual smart card.
In this embodiment, as shown in fig. 3, the determining whether the wearable device satisfies the preset on condition of the modem in the current determination period includes:
step 301, judging whether a virtual smart card is installed in the wearable device.
Whether the virtual smart card is installed in the wearable device can be judged by detecting the flag bit of the virtual smart card and the like.
Step 302, if the virtual smart card is installed, determining whether the wearable device has an associated terminal device.
In this embodiment, if the virtual smart card is installed, it does not mean that the modem in the wearable device is necessarily turned on, and it needs to further determine whether the wearable device has an associated terminal device, that is, whether there is a situation of a first-number dual terminal.
Step 303, if the associated terminal device exists, determining whether the associated terminal device is connected to the wearable device in the current determination period, wherein if the associated terminal device is not connected to the wearable device, the preset turn-on condition of the modem is satisfied.
In this embodiment, if there is an associated terminal device, it is determined whether the associated terminal device is connected to the wearable device in the current determination period, where if the associated terminal device is not connected to the wearable device, it indicates that the associated terminal device cannot provide a communication service with the virtual smart card in the wearable device, and at this time, a modem in the wearable device needs to be turned on, that is, a preset turning-on condition of the modem is satisfied.
If the associated terminal device does not exist, the modem in the wearable device needs to be turned on at this time, that is, the preset turning-on condition of the modem is satisfied.
Or, if the associated terminal device exists and the associated terminal device is connected to the wearable device within the current determination period, it indicates that the wearable device can provide the service related to the corresponding virtual smartcard through the modem in the associated terminal device, so that the preset turn-on condition of the modem is not satisfied, and the modem of the wearable device can be turned off.
In this embodiment, if there is a terminal device associated with the wearable device, in order to consider timely reminding of information and reduction of power consumption, communication information received by the associated terminal device is obtained, where the communication information includes various received data, a call reminding message, and the like, and further, whether the information type of the communication information belongs to a preset information type is determined, where the preset information type may be a type that is calibrated by a user according to personal preference or a relatively important information type that is calibrated according to big data, such as a call reminding or an office software message type, and in this embodiment, if the preset information type is included, the screen of the wearable device is controlled to display the communication information on the screen in order to remind the user in time, and if the preset information type is not included, the screen of the wearable device is controlled to be in a screen-out state in order to avoid waste of power consumption, i.e. not to be reminded in the wearable device.
In another embodiment of the present disclosure, one or more operation prohibition time periods of a modem in a wearable device may be set according to a user requirement, for example, a conference time period is determined according to conference reservation information of a user, the conference time period and the like are used as the operation prohibition time periods, whether a current time point belongs to the operation prohibition time periods is determined, if so, it is determined that a preset turn-on condition of the modem is not satisfied, otherwise, the preset turn-on condition of the modem is satisfied. Therefore, the requirements of the user and the reduction of the power consumption of the wearable device are considered.
In summary, the operation control method of the modem according to the embodiment flexibly determines the preset turn-on condition of the modem according to the scene needs, and guarantees the balance between the provision of the service to the wearable device and the reduction of the power consumption.
Fig. 4 is a schematic structural diagram of an operation control apparatus of a modem according to an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device.
As shown in fig. 4, the apparatus 400 includes:
the first judging module 401 is configured to judge whether the wearable device meets a preset starting condition of the modem in a current judging period according to a preset judging period;
a second determining module 402, configured to, when the preset starting condition is met, obtain a remaining power of the wearable device in the current determining period, and determine whether the remaining power is smaller than a preset power;
a determining module 403, configured to determine, when the power is less than the preset power, an operation duration corresponding to the remaining power;
and a control module 404, configured to control a modem in the wearable device to run periodically according to a preset sleep duration and the run duration in the current determination period.
Optionally, the first determining module 401 is specifically configured to:
judging whether a virtual smart card is installed in the wearable device;
if the virtual smart card is installed, judging whether the wearable device has associated terminal equipment;
and if the associated terminal equipment exists, judging whether the associated terminal equipment is connected with the wearable equipment in the current judging period, wherein if the associated terminal equipment is not connected with the wearable equipment, the preset starting condition of the modem is met.
Optionally, the apparatus further comprises:
the first acquisition module is used for acquiring the communication information received by the associated terminal equipment;
the third judging module is used for judging whether the information type of the communication information belongs to a preset information type;
the first processing module is used for controlling the wearable device to display the communication information on a screen if the wearable device belongs to the preset information type;
and the second processing module is used for controlling the screen of the wearable device to be in a screen-off state if the screen does not belong to the preset information type.
Optionally, the determining module 403 is configured to:
and inquiring a preset database according to the residual electric quantity to obtain the corresponding running time.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring a heart rate signal of a user through a heart rate sensor in the wearable device;
the fourth judging module is used for judging whether the user is in a sleep state or not according to the heart rate signal;
a third processing module, configured to determine a preset first value as the dormancy duration if the user is in the sleep state;
and the fourth processing module is configured to determine a preset second value as the dormancy duration if the user is not in the sleep state, where the second value is smaller than the first value.
Optionally, the apparatus further comprises:
the fifth judging module is used for judging whether a preset closing prohibition control is triggered or not if the preset opening condition is not met;
a fifth processing module, configured to control the modem to be in a shutdown state if the preset shutdown prohibition control is not triggered;
and the sixth processing module is used for controlling the modem to be in an open state if the preset control for forbidding closing is triggered.
The operation control device of the modem provided by the embodiment of the disclosure can execute the operation control method of the modem provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Embodiments of the present disclosure also provide a computer program product, which includes a computer program/instruction, and when the computer program/instruction is executed by a processor, the computer program/instruction implements an operation control method of a modem provided in any embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Referring now specifically to fig. 5, a schematic diagram of an electronic device 500 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 500 in the disclosed embodiment may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the operation control method of the modem of the embodiment of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: judging whether the wearable device meets a preset starting condition of the modem in the current judging period according to the preset judging period; if the preset starting condition is met, acquiring the residual electric quantity of the wearable device in the current judging period, and judging whether the residual electric quantity is smaller than the preset electric quantity; if the power consumption is less than the preset power consumption, determining the operation time corresponding to the residual power consumption; and in the current judging period, controlling a modem in the wearable device to be in a running state according to the running time length according to a preset sleep time interval. According to the embodiment of the disclosure, the residual electric quantity of the wearable device is judged, and the operation time of the modem is adjusted according to the residual electric quantity of the wearable device, so that the power consumption of the wearable device is reduced, the endurance time of the wearable device is prolonged, and the user experience is improved.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An operation control method of a modem, comprising the steps of:
judging whether the wearable device meets a preset starting condition of the modem in the current judging period according to the preset judging period;
if the preset starting condition is met, acquiring the residual electric quantity of the wearable device in the current judging period, and judging whether the residual electric quantity is smaller than a preset electric quantity;
if the power is less than the preset power, determining the operation time corresponding to the residual power;
and in the current judging period, the modem in the wearable device is controlled to run periodically according to a preset dormancy duration and the running duration.
2. The method of claim 1, wherein the determining whether the wearable device meets the preset on condition of the modem in the current determination period comprises:
judging whether a virtual smart card is installed in the wearable device;
if the virtual smart card is installed, judging whether the wearable device has associated terminal equipment;
and if the associated terminal equipment exists, judging whether the associated terminal equipment is connected with the wearable equipment in the current judging period, wherein if the associated terminal equipment is not connected with the wearable equipment, the preset starting condition of the modem is met.
3. The method of claim 2, further comprising, after the associating terminal device, if present:
acquiring communication information received by the associated terminal equipment;
judging whether the information type of the communication information belongs to a preset information type;
if the type of the communication information belongs to the preset information type, controlling the wearable device to display the communication information on a screen;
and if the type of the wearable device does not belong to the preset information type, controlling the screen of the wearable device to be in a screen-off state.
4. The method of claim 1, wherein the determining the operating duration corresponding to the remaining capacity comprises:
and inquiring a preset database according to the residual electric quantity to obtain the corresponding running time.
5. The method according to claim 1, wherein before the controlling the modem in the wearable device to operate according to the preset sleep duration and the run-time duration periodically, the method includes:
acquiring a heart rate signal of a user through a heart rate sensor in the wearable device;
judging whether the user is in a sleep state or not according to the heart rate signal;
if the user is in the sleep state, determining a preset first numerical value as the dormancy duration;
and if the user is not in the sleep state, determining a preset second numerical value as the sleep duration, wherein the second numerical value is smaller than the first numerical value.
6. The method according to claim 1, wherein after determining whether the wearable device satisfies the preset on condition of the modem in the current determination period, the method further comprises:
if the preset opening condition is not met, judging whether a preset closing prohibition control is triggered or not;
if the preset control for forbidding closing is not triggered, controlling the modem to be in a closing state;
and if the preset control for forbidding closing is triggered, controlling the modem to be in an opening state.
7. An operation control apparatus of a modem, comprising:
the first judging module is used for judging whether the wearable device meets the preset starting condition of the modem in the current judging period according to the preset judging period;
the second judging module is used for acquiring the residual electric quantity of the wearable device in the current judging period when the preset starting condition is met, and judging whether the residual electric quantity is smaller than a preset electric quantity;
the determining module is used for determining the running time corresponding to the residual electric quantity when the running time is less than the preset electric quantity;
and the control module is used for controlling the modem in the wearable device to run periodically according to a preset dormancy duration and the running duration in the current judgment period.
8. The apparatus of claim 7, wherein the first determining module is specifically configured to:
judging whether a virtual smart card is installed in the wearable device;
if the virtual smart card is installed, judging whether the wearable device has associated terminal equipment;
and if the associated terminal equipment exists, judging whether the associated terminal equipment is connected with the wearable equipment in the current judging period, wherein if the associated terminal equipment is not connected with the wearable equipment, the preset starting condition of the modem is met.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the operation control method of the modem in any one of the claims 1-6.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the operation control method of the modem according to any one of claims 1 to 6.
CN202110772047.XA 2021-07-08 2021-07-08 Operation control method, device, equipment and medium for modem Withdrawn CN113473584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110772047.XA CN113473584A (en) 2021-07-08 2021-07-08 Operation control method, device, equipment and medium for modem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110772047.XA CN113473584A (en) 2021-07-08 2021-07-08 Operation control method, device, equipment and medium for modem

Publications (1)

Publication Number Publication Date
CN113473584A true CN113473584A (en) 2021-10-01

Family

ID=77879119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110772047.XA Withdrawn CN113473584A (en) 2021-07-08 2021-07-08 Operation control method, device, equipment and medium for modem

Country Status (1)

Country Link
CN (1) CN113473584A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442414A (en) * 2013-08-23 2013-12-11 青岛海信移动通信技术股份有限公司 Method and device for controlling state of radio frequency module
JP2016167683A (en) * 2015-03-09 2016-09-15 Necプラットフォームズ株式会社 Communication device, communication system, communication method, and program
KR20170066917A (en) * 2015-12-07 2017-06-15 김규동 Wearable device, power managing method for the device and application for the method
WO2017166617A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Terminal control method and apparatus, and electronic device
US20180098286A1 (en) * 2015-06-12 2018-04-05 Huawei Technologies Co., Ltd. Power consumption control method for wearable device, and wearable device
CN110083220A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of power-saving processing method and wearable device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442414A (en) * 2013-08-23 2013-12-11 青岛海信移动通信技术股份有限公司 Method and device for controlling state of radio frequency module
JP2016167683A (en) * 2015-03-09 2016-09-15 Necプラットフォームズ株式会社 Communication device, communication system, communication method, and program
US20180098286A1 (en) * 2015-06-12 2018-04-05 Huawei Technologies Co., Ltd. Power consumption control method for wearable device, and wearable device
KR20170066917A (en) * 2015-12-07 2017-06-15 김규동 Wearable device, power managing method for the device and application for the method
WO2017166617A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Terminal control method and apparatus, and electronic device
CN110083220A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of power-saving processing method and wearable device

Similar Documents

Publication Publication Date Title
US10972372B2 (en) Scheduling processing tasks based on predicted context
US12105736B2 (en) Multi-device context store
US10631361B2 (en) Method and apparatus for providing user with information received by electronic device
US20220172717A1 (en) Voice Interaction Method and Electronic Device
CN112083787B (en) Application program operation mode switching method and device, electronic equipment and storage medium
CN107277230B (en) Voice broadcasting method of message and related product
WO2020207326A1 (en) Dialogue message sending method and electronic device
CN110658961B (en) Information display method and device and electronic equipment
KR20150022335A (en) Method and apparatus for performing communication of electronic device in mobile communicatino system
JP2015524639A (en) Signal-aware data transmission in cellular networks
CN112068688A (en) Power saving method and device, electronic equipment and computer readable medium
CN118013121A (en) A recommendation method and terminal
US20120001883A1 (en) Method and apparatus for calculating a power consumption segment and displaying a power consumption indicator
CN113438639A (en) Method, device, equipment and medium for transmitting Bluetooth data
CN111221705A (en) Network data processing method, device, equipment and storage medium
CN112256231A (en) Volume control method, device, terminal and storage medium
CN111176744A (en) Electronic equipment control method, device, terminal and storage medium
CN108156650B (en) Control method and device of positioning module, storage medium and terminal
CN111435318A (en) Dex optimization method of application program and terminal
CN113886212A (en) User state control method and device, electronic equipment and storage medium
CN119025245A (en) Method and device for generating terminal scheduled tasks
CN106792896B (en) A kind of data transmission method for uplink and mobile terminal
JP5646534B2 (en) Mobile terminal, information processing method and program
CN113473584A (en) Operation control method, device, equipment and medium for modem
CN111867203B (en) Working mode switching method, device, equipment and medium of desk lamp

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20211001