CN115396990A - Power consumption control method and device - Google Patents

Power consumption control method and device Download PDF

Info

Publication number
CN115396990A
CN115396990A CN202210752005.4A CN202210752005A CN115396990A CN 115396990 A CN115396990 A CN 115396990A CN 202210752005 A CN202210752005 A CN 202210752005A CN 115396990 A CN115396990 A CN 115396990A
Authority
CN
China
Prior art keywords
power consumption
parameter
external equipment
adjusting
adjustment
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.)
Pending
Application number
CN202210752005.4A
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.)
Xi'an Ziguang Zhanrui Technology Co ltd
Original Assignee
Xi'an Ziguang Zhanrui 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 Xi'an Ziguang Zhanrui Technology Co ltd filed Critical Xi'an Ziguang Zhanrui Technology Co ltd
Priority to CN202210752005.4A priority Critical patent/CN115396990A/en
Publication of CN115396990A publication Critical patent/CN115396990A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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)
  • Power Sources (AREA)

Abstract

The present application relates to the field of wireless communications, and in particular, to a power consumption control method and apparatus. A method of controlling power consumption, the method comprising: acquiring current power consumption parameters of external equipment in communication connection with the terminal equipment; determining a power consumption adjusting mode met by the current power consumption parameter from a preset power consumption control strategy according to the current power consumption parameter of the external device; and sending an adjusting instruction for adjusting the power consumption of the external equipment to the external equipment according to the determined power consumption adjusting mode, and carrying out corresponding power consumption adjustment on the external equipment. Under the condition that a user does not need to directly operate external equipment, the actual power consumption parameter condition of the external equipment is sensed through the terminal equipment, and the external equipment is automatically controlled according to the corresponding power consumption adjusting mode to reduce the power consumption.

Description

Power consumption control method and device
[ technical field ] A
The present application relates to the field of wireless communications, and in particular, to a power consumption control method and apparatus.
[ background of the invention ]
When the terminal equipment is in communication connection with the external equipment, the external equipment can be used for audio and video playing through a transmission protocol. In the related art, when the external device is in a low power state, a user is often required to directly operate the external device to reduce the power consumption of the external device and prolong the service life of the external device. The method for directly controlling the external device to reduce the power consumption on the terminal device side is not involved.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a power consumption control method and apparatus, where a power consumption control policy is preset in a terminal device, and a power consumption parameter of an external device is monitored in real time, and when the power consumption parameter of the external device meets a trigger condition of the power consumption control policy, the power consumption of the external device is automatically reduced in a power consumption adjustment manner.
In a first aspect, an embodiment of the present invention provides a power consumption control method, where the method includes:
acquiring a current power consumption parameter of an external device in communication connection with a terminal device;
determining a power consumption adjusting mode met by the current power consumption parameter from a preset power consumption control strategy according to the current power consumption parameter of the external device;
and sending an adjusting instruction for adjusting the power consumption of the external equipment to the external equipment according to the determined power consumption adjusting mode, and carrying out corresponding power consumption adjustment on the external equipment.
Optionally, before the current power consumption parameter of the external device in communication connection with the terminal device is obtained, the method includes:
predetermining a plurality of power consumption adjusting modes contained in the power consumption control strategy;
each power consumption adjustment mode comprises the following steps: the power consumption parameter of the external equipment is a first parameter condition which needs to be met, and power consumption adjusting information related to the first parameter condition.
Optionally, the first parameter condition that the power consumption parameter of the external device needs to satisfy includes:
and the value information which needs to be met by each power consumption parameter in the plurality of power consumption parameter combinations of the external equipment.
Optionally, the determining, according to the current power consumption parameter of the external device, a power consumption adjustment manner that the current power consumption parameter satisfies from a preset power consumption control policy includes:
determining a first parameter condition met by the current power consumption parameter of the external equipment;
and determining a power consumption adjusting mode corresponding to the first parameter condition met by the current power consumption parameter as a target power consumption adjusting mode, wherein power consumption adjusting information in the target power consumption adjusting mode is used for determining the adjusting instruction.
Optionally, the current power consumption parameter of the external device includes:
the residual electric quantity, the playing volume and the decoding format of the external equipment.
Optionally, the method includes sending, to the external device, an adjustment instruction for adjusting power consumption of the external device according to the determined power consumption adjustment manner, where the method includes:
sending a first control instruction to the external equipment according to the determined power consumption adjusting mode, wherein the first control instruction is used for reducing the playing volume of the external equipment;
and/or sending a second control instruction to the external equipment according to the determined power consumption adjustment mode, wherein the second control instruction is used for changing the decoding format of the external equipment.
Optionally, after sending an adjustment instruction for adjusting the power consumption of the external device to the external device according to the determined power consumption adjustment manner and performing corresponding power consumption adjustment on the external device, the method includes:
when the external equipment is detected to be powered on, sending a third control instruction to the external equipment;
and the third control instruction is used for restoring the playing volume and the coding format in the power consumption parameter to the initial state before adjustment by the external equipment.
In a second aspect, an embodiment of the present invention provides a power consumption control apparatus, including:
the acquisition module is used for acquiring the current power consumption parameter of the external equipment in communication connection with the terminal equipment;
the determining module is used for determining a power consumption adjusting mode met by the current power consumption parameter from a preset power consumption control strategy according to the current power consumption parameter of the external equipment;
and the sending module is used for sending an adjusting instruction for adjusting the power consumption of the external equipment to the external equipment according to the determined power consumption adjusting mode and carrying out corresponding power consumption adjustment on the external equipment.
In a third aspect, an embodiment of the present invention provides a power consumption control device, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to enable execution of the power consumption control method of any of the first aspects.
In a fourth aspect, an embodiment of the present invention provides a power consumption control chip, including:
at least one processor;
the power consumption control chip is configured to execute the power consumption control method according to any one of the first aspect by the processor.
Through the scheme, under the condition that a user does not need to directly operate external equipment, the terminal equipment senses the actual power consumption parameter condition of the external equipment and automatically controls the external equipment to reduce the power consumption according to the corresponding power consumption adjusting mode.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a power consumption control system according to an embodiment of the present invention;
fig. 2 is a flowchart of a power consumption control method according to an embodiment of the present invention;
fig. 3 is a flowchart of a specific power consumption control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a power consumption control apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a power consumption control device according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention introduces a perception control theory, utilizes the principles of setting intention, perception state and control operation, perceives the power consumption parameter of the external equipment in real time through the terminal equipment, and controls the external equipment to reduce the power consumption according to the preset intention when the perceived power consumption parameter of the external equipment meets the intention preset by a user.
In order to implement a power consumption control method for an external device, an embodiment of the present invention first provides a power consumption control system, as shown in fig. 1, the power consumption control system includes an external device 101 and a terminal device 102, where the terminal device 102 includes an obtaining module 103, a determining module 104, and a sending module 105.
The external device 101 is used for establishing connection with the terminal device 102 and executing power amplifier operation under an operation instruction of the terminal device 102. When the power consumption parameter of the external device 101 meets a first parameter condition preset in the terminal device 102, adjusting the power consumption according to a power consumption adjustment mode corresponding to the first parameter condition in the power consumption control strategy.
In some embodiments, the external device 101 may be a bluetooth device, or other intelligent terminal such as a tablet computer, a television, etc. that can establish a communication connection with the terminal device 102. When the external device 101 is a bluetooth device, the external device 101 and the terminal device 102 may perform communication connection through a bluetooth Audio transmission model agreement (A2 DP).
The terminal device 102 is configured to perform a power amplifier operation by using the external device 101 that establishes a communication connection, and control the external device 101 to reduce power consumption by using a power consumption control policy when a power consumption parameter of the external device meets a certain condition.
In some embodiments, the terminal device 102 may be a smart terminal supporting wireless communication functions, such as a mobile phone, a tablet computer, a command screen, and the like.
The terminal device 102 needs to make a power consumption control policy in advance in order to control the power consumption of the external device 101. The power consumption control strategy comprises a plurality of power consumption adjusting modes. Each power consumption adjusting mode comprises a first parameter condition which needs to be met by an external power consumption parameter when the power consumption adjusting mode is triggered, and power consumption adjusting information associated with the first parameter condition. When the terminal device 102 detects that the external device 101 meets the first parameter condition corresponding to the power consumption adjustment policy, the terminal device sends the corresponding power consumption adjustment information to the external device 101, and controls the external device 101 to reduce power consumption according to the met power consumption adjustment mode.
Specifically, the terminal device 102 further includes: an acquisition module 103, a determination module 104 and a sending module 105.
The obtaining module 103 is configured to receive a power consumption parameter of the external device 101 in real time, and input a received result to the determining module 104 for comparison.
The determining module 104 is configured to compare the power consumption parameter of the external device 101 received by the obtaining module 103 with a first parameter condition of each power consumption adjustment mode in a power consumption policy that is set in advance, to determine whether the external device 101 needs to perform power consumption control, and to determine which power consumption adjustment mode needs to be adjusted specifically according to the power consumption control policy.
The sending module 105 is configured to send an adjustment instruction to the external device 101 according to the power consumption adjustment manner determined by the determining module 104, so as to control the external device 101 to perform power consumption control.
With reference to the power consumption control system shown in fig. 1, an embodiment of the present invention provides a power consumption control method, where the method is applied to a terminal device, and as shown in fig. 2, processing steps of the method include:
and 201, acquiring the current power consumption parameter of the external device in communication connection with the terminal device.
Specifically, the terminal device obtains the current power consumption parameter of the external device in real time through the carried obtaining module. The power consumption parameters of the external equipment comprise the residual electric quantity, the playing volume and the coding format of the external equipment.
In a specific embodiment, when the external device is a bluetooth device, the acquisition module of the terminal device monitors the electric quantity, volume and encoding format of the bluetooth peripheral device in real time during the process of performing an A2DP behavior with the bluetooth device.
202, according to the current power consumption parameter of the external device, determining a power consumption adjustment mode satisfied by the current power consumption parameter from a preset power consumption control strategy.
The acquisition module carried by the terminal equipment inputs the acquired power consumption parameters of the external equipment into the determination module, compares the acquired power consumption parameters with a power consumption control strategy preset in the terminal equipment, and is used for determining whether the external equipment meets the preset power consumption control strategy and needs to perform power consumption adjustment.
Specifically, the power consumption policy preset by the terminal device includes a plurality of power consumption adjustment modes for different situations, that is, corresponding power consumption adjustment modes are respectively set for performing power consumption adjustment on the external device for different situations of the power consumption parameter of the external device. Each power consumption adjustment mode specifically includes a first parameter condition for triggering the power consumption adjustment mode, that is, when the power consumption parameter of the external device meets a preset first parameter condition, the corresponding power consumption adjustment mode is triggered to perform power consumption adjustment.
The determining module carried by the terminal device is used for determining whether the current power consumption parameter of the external device acquired from the acquiring module meets the first parameter condition of any one or more power consumption adjusting modes in the power consumption strategy.
When the determining module determines that the power consumption parameter of the external device meets the first parameter condition of any one or more power consumption adjusting modes in the power consumption strategy, it is determined that the power consumption adjusting mode is met, and the external device needs to be controlled to perform power consumption adjustment according to the power consumption adjusting mode.
The first parameter condition that the power consumption parameter of the external device needs to meet may be value information that needs to be met for a single power consumption parameter of the external device, or value information that needs to be met for each power consumption parameter in a plurality of power consumption parameter combinations of the external device. The value information may be a threshold value or a value range set for the power consumption parameter.
In one embodiment, the first parameter condition may be that the remaining power of the external device is less than 30%, and in another embodiment, the first parameter condition may be that the remaining power of the external device is less than 40%, and the playing volume exceeds 50%.
203, according to the determined power consumption adjustment mode, sending an adjustment instruction for adjusting the power consumption of the external device to the external device, and performing corresponding power consumption adjustment on the external device.
And the sending module of the terminal equipment sends the adjusting instruction corresponding to the power consumption adjusting mode to the external equipment according to the power consumption adjusting mode determined by the determining module, so that the external equipment can adjust the power consumption.
Specifically, a sending module in the terminal device sends a first control instruction for reducing the playback volume of the external device to the external device according to the determined power consumption adjustment mode, and/or sends a second control instruction for changing the decoding format of the external device to the external device according to the determined power consumption adjustment mode.
Before the terminal device sends the second control instruction to the external device to change the decoding format of the external device, the corresponding power consumption adjustment needs to be performed in the terminal device.
Specifically, the decoding formats of the external device are from high to low: LDAC, APTC, AAC, SBC. In order to ensure the consistency of the coding and decoding formats, the terminal equipment firstly needs to reduce the coding format of the terminal equipment, and then informs the external equipment of correspondingly reducing the decoding format through a second control instruction so as to realize power consumption control.
The adjustment instruction included in the power consumption adjustment mode may only include the first control instruction or the second control instruction, or may include both the first control instruction and the second control instruction. And how much the volume of the external equipment needs to be reduced under the first control instruction, and how many coding formats need to be reduced under the second control instruction are determined by a specific power consumption adjusting mode.
According to the embodiment of the invention, by introducing the perception control theory, under the condition that a user does not need to directly operate external equipment, the actual power consumption parameter condition of the external equipment is perceived through the terminal equipment, and the external equipment is automatically controlled according to the corresponding power consumption adjusting mode to reduce the power consumption.
In some embodiments, when the terminal device determines that the external device is powered on through the obtaining module, a third control instruction is sent to the external device to control the external device to restore the playing volume and the decoding format to the initial state before adjustment, so as to avoid reducing user experience as much as possible.
Referring to fig. 3, a flowchart of a specific power consumption control method according to an embodiment of the present invention is provided. As shown in fig. 3, the method is applied to a terminal device, the terminal device is connected with at least one bluetooth device, and the terminal device executes a power consumption control method, including:
301, obtaining the current power consumption parameter of the bluetooth device in communication connection with the terminal device.
Specifically, the terminal device and the Bluetooth device are connected through a Bluetooth audio transmission model protocol A2DP, and the terminal device transmits audio to the Bluetooth device through the A2DP protocol to perform power amplification.
The terminal device obtains that the residual capacity of the Bluetooth device is 19%, the playing volume is 63, and the coding format is APTC through the carried obtaining module.
And 302, determining a power consumption adjusting mode met by the current power consumption parameter from a preset power consumption control strategy according to the current power consumption parameter of the Bluetooth device.
Specifically, the power consumption control strategy preset in the terminal device includes the following power consumption adjustment modes:
when the residual electric quantity is less than 30% and the playing volume exceeds 50%, the playing volume is reduced by 5%;
when the residual power is less than 20%, the playing volume exceeds 50%, and the coding format is APTC or a higher level coding mode, the playing volume is reduced by 20%, and the coding format is reduced by 1 level.
The determining module is used for acquiring the power consumption parameters of the Bluetooth device acquired by the acquiring module: the remaining power is 19%, the playing volume is 63, the coding format is APTC, and the power consumption adjustment mode in the power consumption control strategy is compared, so that the power consumption parameter of the current external device can be determined to meet the first parameter condition in the second power consumption adjustment mode, and then the power consumption adjustment of the Bluetooth device is determined according to the second power consumption adjustment mode.
303, sending an adjusting instruction for adjusting the power consumption of the external device to the bluetooth device according to the determined power consumption adjusting mode, and performing corresponding power consumption adjustment on the bluetooth device.
Specifically, the sending module reduces the power consumption adjustment information, i.e., the playing volume, by 20 according to the power consumption adjustment mode determined by the determining module, and sends the power consumption adjustment instruction, which is the level 1 reduction in the encoding format, to the bluetooth device. Meanwhile, the terminal equipment needs to correspondingly reduce the coding format of the terminal equipment by 1 level, and coding is carried out through the AAC format.
After receiving the power consumption adjustment instruction, the bluetooth device reduces the playing volume to 43 according to the first adjustment instruction, and reduces the decoding format to AAC according to the second adjustment instruction.
In some embodiments, since performing the power consumption adjustment method may affect the user experience, it may be necessary for the user to determine whether to turn on the power consumption adjustment function before initially using the power consumption adjustment mode. If the user is started, the user agrees to sacrifice certain user experience to prolong the service life of the external equipment.
Corresponding to the power consumption control method, the embodiment of the invention also provides a power consumption control device. The power consumption control means may be implemented as a terminal device, for example. Referring to fig. 4, a schematic structural diagram of a power consumption control device according to an embodiment of the present invention is provided, where the power consumption control device may include: an acquisition module 401, a determination module 402 and a sending module 403.
The obtaining module 401 obtains a current power consumption parameter of an external device in communication connection with the terminal device;
a determining module 402, configured to determine, according to a current power consumption parameter of the external device, a power consumption adjustment mode that is satisfied by the current power consumption parameter from a preset power consumption control policy;
the sending module 403 sends, to the external device, an adjustment instruction for adjusting the power consumption of the external device according to the determined power consumption adjustment manner, and performs corresponding power consumption adjustment on the external device.
The power consumption control apparatus provided in the embodiment shown in fig. 4 may be used to implement the technical solution of the method embodiment shown in this specification, and the implementation principle and the technical effect may further refer to the related description in the method embodiment.
The embodiment of the invention also provides a power consumption control chip. The power consumption control chip may be mounted on the power consumption control device, and control the power consumption control device to execute the power consumption control method.
Fig. 5 is a schematic structural diagram of an embodiment of the power consumption control device in this specification. The power consumption control device may be implemented as an electronic device on which the above power consumption control chip is mounted. As shown in fig. 5, the above power consumption control apparatus may include at least one processor; and at least one memory communicatively coupled to the processing unit, wherein: the memory stores program instructions executable by the processing unit, and the processor calls the program instructions to execute the power consumption control method provided by the embodiment.
The power consumption control device may be a device capable of performing an intelligent dialog with a user, for example: the embodiments of the present specification do not limit the specific form of the power consumption control device. It is understood that the power consumption control device is a machine mentioned in the method embodiment.
FIG. 5 illustrates a block diagram of an exemplary power consumption control device suitable for use in implementing embodiments of the present specification. The power consumption control device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the range of use of the embodiments of the present specification.
As shown in fig. 5, the power consumption control device is represented in the form of a general purpose computing device. The components of the power consumption control device may include, but are not limited to: one or more processors 510, a communication interface 520, a memory 530, and a communication bus 540 that couples various system components including the memory 530, the communication interface 520, and the processors 510.
Communication bus 540 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro Channel Architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
The power consumption control device typically includes a variety of computer system readable media. Such media may be any available media that is accessible by the power consumption control device and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 530 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) and/or cache Memory. The power consumption control device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. Memory 530 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the specification.
A program/utility having a set (at least one) of program modules, including but not limited to an operating system, one or more application programs, other program modules, and program data, may be stored in memory 530, each of which examples or some combination may include an implementation of a network environment. The program modules generally perform the functions and/or methodologies of the embodiments described herein.
The processor 510 executes various functional applications and data processing, for example, implementing the power consumption control method provided by the embodiments illustrated in this specification, by executing programs stored in the memory 530.
The embodiment of the present specification provides a non-transitory computer readable storage medium, which stores computer instructions for causing the computer to execute the power consumption control method provided by the embodiment shown in the present specification.
The non-transitory computer readable storage medium described above may take any combination of one or more computer readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. 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 (a non-exhaustive list) of the computer readable storage medium would include the following: 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), a 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 context of this document, 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of 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 wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present description may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like 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 latter scenario, 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 foregoing description of specific embodiments has been presented for purposes of illustration and description. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of this specification, "plurality" means at least two, e.g., two, three, etc., unless explicitly specified otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present description in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present description.
The word "if," as used herein, may be interpreted as "at \8230; \8230when" or "when 8230; \823030when" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (a stated condition or event)" may be interpreted as "upon determining" or "in response to determining" or "upon detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)", depending on the context.
It should be noted that the terminal referred to in the embodiments of the present disclosure may include, but is not limited to, a Personal Computer (Personal Computer; hereinafter, referred to as PC), a Personal Digital Assistant (Personal Digital Assistant; hereinafter, referred to as PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like.
In the embodiments provided in the present specification, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present description may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer-readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods described in the embodiments of the present disclosure.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A method of controlling power consumption, the method comprising:
acquiring a current power consumption parameter of an external device in communication connection with a terminal device;
determining a power consumption adjusting mode met by the current power consumption parameter from a preset power consumption control strategy according to the current power consumption parameter of the external device;
and sending an adjusting instruction for adjusting the power consumption of the external equipment to the external equipment according to the determined power consumption adjusting mode, and carrying out corresponding power consumption adjustment on the external equipment.
2. The method according to claim 1, wherein before the obtaining of the current power consumption parameter of the external device in communication connection with the terminal device, the method comprises:
predetermining a plurality of power consumption adjusting modes contained in the power consumption control strategy;
each power consumption adjustment mode comprises the following steps: the power consumption parameter of the external equipment is a first parameter condition which needs to be met, and power consumption adjusting information related to the first parameter condition.
3. The method according to claim 2, wherein the first parameter condition to be satisfied by the power consumption parameter of the peripheral device comprises:
and the value information which needs to be met by each power consumption parameter in the plurality of power consumption parameter combinations of the external equipment.
4. The method according to claim 2 or 3, wherein the determining, according to the current power consumption parameter of the external device, a power consumption adjustment mode that the current power consumption parameter satisfies from a preset power consumption control policy includes:
determining a first parameter condition which is met by the current power consumption parameter of the external device;
and determining a power consumption adjusting mode corresponding to the first parameter condition met by the current power consumption parameter as a target power consumption adjusting mode, wherein power consumption adjusting information in the target power consumption adjusting mode is used for determining the adjusting instruction.
5. The method of claim 1, wherein the current power consumption parameters of the peripheral device comprise:
the residual electric quantity, the playing volume and the decoding format of the external equipment.
6. The method according to claim 1, wherein the sending of an adjustment instruction for adjusting the power consumption of the external device to the external device according to the determined power consumption adjustment manner includes:
sending a first control instruction to the external equipment according to the determined power consumption adjusting mode, wherein the first control instruction is used for reducing the playing volume of the external equipment;
and/or sending a second control instruction to the external equipment according to the determined power consumption adjustment mode, wherein the second control instruction is used for changing the decoding format of the external equipment.
7. The method according to claim 1, wherein according to the determined power consumption adjustment manner, an adjustment instruction for adjusting the power consumption of the external device is sent to the external device, and after performing corresponding power consumption adjustment on the external device, the method comprises:
when the external equipment is detected to be powered on, sending a third control instruction to the external equipment;
and the third control instruction is used for restoring the playing volume and the coding format in the power consumption parameter to the initial state before adjustment by the external equipment.
8. A power consumption control apparatus, comprising:
the acquisition module is used for acquiring the current power consumption parameter of the external equipment in communication connection with the terminal equipment;
the determining module is used for determining a power consumption adjusting mode met by the current power consumption parameter from a preset power consumption control strategy according to the current power consumption parameter of the external equipment;
and the sending module is used for sending an adjusting instruction for adjusting the power consumption of the external equipment to the external equipment according to the determined power consumption adjusting mode and carrying out corresponding power consumption adjustment on the external equipment.
9. A power consumption control apparatus, characterized by comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to enable execution of the power consumption control method of any of claims 1 to 7.
10. A power consumption control chip, comprising:
at least one processor;
the power consumption control chip is configured to execute the power consumption control method of any one of claim 1 to claim 7 by the processor.
CN202210752005.4A 2022-06-28 2022-06-28 Power consumption control method and device Pending CN115396990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210752005.4A CN115396990A (en) 2022-06-28 2022-06-28 Power consumption control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210752005.4A CN115396990A (en) 2022-06-28 2022-06-28 Power consumption control method and device

Publications (1)

Publication Number Publication Date
CN115396990A true CN115396990A (en) 2022-11-25

Family

ID=84117182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210752005.4A Pending CN115396990A (en) 2022-06-28 2022-06-28 Power consumption control method and device

Country Status (1)

Country Link
CN (1) CN115396990A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116540660A (en) * 2023-07-07 2023-08-04 岑科科技(深圳)集团有限公司 Method, device, equipment and storage medium for adjusting production power consumption of chip inductor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116540660A (en) * 2023-07-07 2023-08-04 岑科科技(深圳)集团有限公司 Method, device, equipment and storage medium for adjusting production power consumption of chip inductor
CN116540660B (en) * 2023-07-07 2023-09-12 岑科科技(深圳)集团有限公司 Method, device, equipment and storage medium for adjusting production power consumption of chip inductor

Similar Documents

Publication Publication Date Title
US11314309B2 (en) Electronic device control method and apparatus, and electronic device
CN109525012B (en) Charging device, charging control method, charging control system, and storage medium
KR102480875B1 (en) Method for reconnecting bluetooth communication and apparatus using the same
US8320586B2 (en) System and method for reducing volume spike in an electronic device
CN111158455A (en) Power consumption control method and device, storage medium and terminal
CN110704202B (en) Multimedia recording data sharing method and terminal equipment
EP2961197B1 (en) Apparatus and method for preventing malfunction in an electronic device
WO2021169628A1 (en) Enhanced video call method and system, and electronic device
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
KR101722413B1 (en) Graphics voltage reduction for load line optimization
CN115396990A (en) Power consumption control method and device
CN109151669B (en) Earphone control method, earphone control device, electronic equipment and storage medium
CN110708747A (en) Data transmission rate adjusting method, system, storage medium and mobile terminal
EP3716659A1 (en) Method for processing ordered broadcast and electronic device
CN115469816B (en) Method, device, equipment and storage medium for switching reading and writing of memory
CN112382304A (en) Bluetooth audio repairing method, device, equipment and medium
CN109614248B (en) Message compression method, device, storage medium and terminal equipment
CN108235422B (en) Antenna power setting method and electronic device
WO2021015749A1 (en) Radio frequency condition aware audio buffering
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN113038580A (en) Power saving mode control method, device, equipment and storage medium
CN112988105A (en) Playing state control method and device, electronic equipment and storage medium
CN110399114B (en) Method, device and terminal equipment for controlling robot to perform video monitoring
CN111984107B (en) Method and device for processing power supply abnormity of terminal equipment
CN116056051B (en) Bluetooth connection control method, system and 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