CN107743173A - A kind of method and terminal of control device consumption electricity - Google Patents

A kind of method and terminal of control device consumption electricity Download PDF

Info

Publication number
CN107743173A
CN107743173A CN201710934300.0A CN201710934300A CN107743173A CN 107743173 A CN107743173 A CN 107743173A CN 201710934300 A CN201710934300 A CN 201710934300A CN 107743173 A CN107743173 A CN 107743173A
Authority
CN
China
Prior art keywords
equipment
slave unit
electric quantity
main equipment
current electric
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
CN201710934300.0A
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.)
Xian Yep Telecommunication Technology Co Ltd
Original Assignee
Xian Yep Telecommunication 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 Xian Yep Telecommunication Technology Co Ltd filed Critical Xian Yep Telecommunication Technology Co Ltd
Priority to CN201710934300.0A priority Critical patent/CN107743173A/en
Publication of CN107743173A publication Critical patent/CN107743173A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • 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)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The present embodiments relate to control consumption electricity field, more particularly to the method and terminal of a kind of control device consumption electricity, for maximizing the shared time of master-slave equipment.In the embodiment of the present invention, a kind of method of control device consumption electricity, suitable for the terminal being connected with least two equipment, at least two equipment include a main equipment and at least one slave unit, and main equipment is used for the information of synchronous terminal, main equipment and slave unit;Method includes:Obtain the current electric quantity of each equipment at least two equipment;When it is determined that the current electric quantity of at least one equipment is higher than the current electric quantity of main equipment less than the current electric quantity of the first power threshold and at least one slave unit at least two equipment, slave unit is adjusted to new main equipment, main equipment is adjusted to new slave unit.Because terminal by the way that a slave unit of the current electric quantity higher than the first power threshold is adjusted into main equipment, can cause the time that master-slave equipment is used in conjunction with to maximize in the embodiment of the present invention.

Description

A kind of method and terminal of control device consumption electricity
Technical field
The present embodiments relate to control consumption electricity field, more particularly to a kind of method of control device consumption electricity and Terminal.
Background technology
With the development of technology, the use of equipment is more and more extensive.The power consumption of equipment directly affects Consumer's Experience.With Equipment is used in family, suddenly because equipment electricity exhaust cause equipment can not normal use, this has a strong impact on that user's use is set Standby experience.
But in the prior art, typically when low battery occurs in equipment, there is the prompting of low battery.With indigo plant Exemplified by tooth equipment, with the popularization more and more higher of Bluetooth function, technology is also more and more ripe, and the use of bluetooth equipment is increasingly Extensively.Wherein, bluetooth earphone is that one of which applies more extensive bluetooth equipment.Bluetooth earphone is by Bluetooth technology application In hands-free headsets, allow user to exempt impeding for electric wire, can easily converse.
At present, bluetooth earphone is typically paired that user can use bluetooth ear by the way that bluetooth earphone is connected with terminal Machine is made a phone call, listens audio etc..Bluetooth earphone is frequently used by user, and power consumption is one of its influence Consumer's Experience important Factor.In the prior art, only when low battery occurs in bluetooth earphone, user is reminded to be charged.It is easy to use Family is in speech quality difference or call drop phenomenon, meeting caused by electrical quantity of bluetooth headset is too low or even electricity exhausts during making a phone call Have a strong impact on Consumer's Experience.
The content of the invention
The embodiment of the present invention provides a kind of method of control device consumption electricity, to solve master-slave equipment in the prior art Share time short problem.
The embodiment of the present invention provides a kind of method of control device consumption electricity, including:Suitable for at least two equipment The terminal of connection, at least two equipment include a main equipment and at least one slave unit, and the main equipment is used for same Walk the information of terminal, main equipment and slave unit;Methods described includes:Obtain the current of each equipment at least two equipment Electricity;When it is determined that the current electric quantity of at least one equipment is less than the first power threshold and at least one at least two equipment When the current electric quantity of individual slave unit is higher than the current electric quantity of the main equipment, the slave unit is adjusted to new main equipment, by institute State main equipment and be adjusted to new slave unit.
Alternatively, it is described when the current electric quantity for determining at least one equipment at least two equipment is less than the first electricity When the current electric quantity of threshold value and at least one slave unit is higher than the current electric quantity of the main equipment, the slave unit is adjusted to New main equipment, the main equipment is adjusted to new slave unit, including:When it is determined that the current electric quantity of the main equipment is electric less than first Amount threshold value and when the current electric quantity of at least one slave unit be higher than first power threshold, current electric quantity is higher than described the One slave unit of one power threshold is adjusted to new main equipment, the main equipment is adjusted into new slave unit.
It is alternatively, described that a slave unit of the current electric quantity higher than first power threshold is adjusted to new main equipment, Including:Determine that current electric quantity is current higher than each slave unit at least one slave unit of first power threshold Electricity and the difference of the current electric quantity of the main equipment;The difference is adjusted higher than a slave unit corresponding to the second power threshold Whole is new main equipment.
Alternatively, it is described that the slave unit is adjusted to new main equipment, the main equipment is adjusted to new slave unit, also wrap Include:When it is determined that the current electric quantity of each equipment is below first power threshold at least two equipment, institute is determined State the difference of the current electric quantity of each slave unit and the main equipment current electric quantity at least one slave unit;The difference is high New main equipment is adjusted in a slave unit of second power threshold, the main equipment is adjusted to new slave unit.
Alternatively, also include in the method for control device consumption electricity:When it is determined that existing at least two equipment full During the equipment of sufficient preparatory condition, to meeting that the equipment of the preparatory condition carries out charge reminder;Wherein, the preparatory condition includes Any one of herein below:Current electric quantity at least two equipment be present less than alarm electricity;Described at least two set During for being played by default volume, playing duration is less than preset duration.
Alternatively, the connected mode between the terminal and at least two equipment includes:The terminal with it is described extremely Each equipment in few two equipment is directly connected to;Or;The terminal is connected with main equipment;The main equipment with it is at least one Each slave unit connection in slave unit.
The embodiment of the present invention provides a kind of terminal of control device consumption electricity, including:Suitable for at least two equipment The terminal of connection, at least two equipment include a main equipment and at least one slave unit, and the main equipment is used for same Walk the information of terminal, main equipment and slave unit;The terminal includes:Acquiring unit, for obtaining at least two equipment The current electric quantity of each equipment;Processing unit, for when the current electricity for determining at least one equipment at least two equipment When amount is higher than the current electric quantity of the main equipment less than the current electric quantity of the first power threshold and at least one slave unit, by institute Slave unit is stated to be adjusted to new main equipment, the main equipment is adjusted into new slave unit.
Alternatively, the processing unit, is used for:When it is determined that the main equipment current electric quantity less than the first power threshold, And current electric quantity is higher than the first electricity threshold when being higher than first power threshold by the current electric quantity of at least one slave unit One slave unit of value is adjusted to new main equipment, the main equipment is adjusted into new slave unit.
Alternatively, the processing unit, is used for:Determine that current electric quantity is higher than at least one institute of first power threshold State the difference of the current electric quantity of each slave unit in slave unit and the current electric quantity of the main equipment;By the difference higher than the A slave unit is adjusted to new main equipment corresponding to two power thresholds.
Alternatively, the processing unit, is additionally operable to:When it is determined that at least two equipment each equipment current electric quantity When being below first power threshold, the current electric quantity of each slave unit and the master at least one slave unit are determined The difference of equipment current electric quantity;A slave unit of the difference higher than second power threshold is adjusted to new main equipment, The main equipment is adjusted to new slave unit.
Alternatively, the processing unit, is additionally operable to:When it is determined that at least two equipment exist meet preparatory condition During equipment, to meeting that the equipment of the preparatory condition carries out charge reminder;Wherein, the preparatory condition is included in herein below Any one:Current electric quantity at least two equipment be present less than alarm electricity;At least two equipment presses default volume During broadcasting, playing duration is less than preset duration.
Alternatively, the connected mode between the terminal and at least two equipment includes:The terminal with it is described extremely Each equipment in few two equipment is directly connected to;Or;The terminal is connected with main equipment;The main equipment with it is at least one Each slave unit connection in slave unit.
A kind of computer-readable recording medium, the computer-readable recording medium storage are provided in the embodiment of the present invention There are computer executable instructions, the computer executable instructions are used to make the computer perform described method.
A kind of computer equipment is provided in the embodiment of the present invention, including:Memory, instructed for storage program;Processing Device, for calling the programmed instruction stored in the memory, described method is performed according to the program of acquisition.
Because the terminal in the embodiment of the present invention, being connected with least two equipment is obtained at least two equipment each The current electric quantity of equipment;When it is determined that the current electric quantity of the main equipment less than the first power threshold and is present at least one from setting When standby current electric quantity is higher than first power threshold, then the main equipment is adjusted to slave unit, current electric quantity is higher than One slave unit of first power threshold is adjusted to main equipment.Due to the main equipment be used for synchronous terminal, main equipment and The information of slave unit, therefore, the power consumption of main equipment are higher than the power consumption of slave unit, in the embodiment of the present invention terminal pass through by Current electric quantity is adjusted to main equipment higher than a slave unit of the first power threshold, avoids main equipment electricity and exhausts but slave unit The phenomenon of also more electricity, the time that master-slave equipment is used in conjunction with can be caused to maximize.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is a kind of system architecture schematic diagram provided in an embodiment of the present invention;
Fig. 2 is the method flow schematic diagram that a kind of control device provided in an embodiment of the present invention consumes electricity;
Fig. 3 is the method flow schematic diagram that another control device provided in an embodiment of the present invention consumes electricity;
Fig. 4 is the structural representation that a kind of control device provided in an embodiment of the present invention consumes electricity.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.
Fig. 1 shows a kind of configuration diagram of system using the embodiment of the present invention.As shown in figure 1, the system includes Terminal 101, at least two equipment being connected with terminal, at least two equipment include a main equipment and at least one from setting It is standby.Illustrate at least two equipment drawings 1 by taking three equipment 102, equipment 103, equipment 104 as an example;Wherein, based on equipment 102 Equipment, equipment 103 and equipment 104 are slave unit.Each equipment at least two equipment passes through bluetooth or wireless high with terminal Fidelity (wireless fidelity, WiFi) etc. is attached;It can also pass through indigo plant between each equipment at least two equipment Tooth or WiFi etc. connect.Connected mode between terminal and at least two equipment includes but is not limited to:The terminal with it is described extremely Each equipment in few two equipment is directly connected to;Or the terminal is connected with main equipment, the main equipment with it is at least one Each slave unit connection in slave unit.Wherein, main equipment is used for the information of synchronous terminal, main equipment and slave unit;Such as sound Frequency information.
Terminal 101 can be mobile phone, personal digital assistant (Personal Digital Assistant, abbreviation PDA), tool Have the handheld device of communication function, computing device or be connected to other processing equipments of radio modem, mobile unit, can Wearable device, the terminal device in following 5G networks etc..
Equipment 102, equipment 103 and equipment 104 can be the equipment that bluetooth earphone, sound equipment etc. are connected with terminal, at least two Between each equipment in individual equipment independently of each other.
In the embodiment of the present invention, terminal is attached with least two equipment, and determines one at least two equipment Individual main equipment and at least one slave unit.Optionally it is determined that it can also be that terminal is automatic that main equipment can be user to be set manually It is determined that one kind that terminal automatically determines optionally is achieved in that:Equipment in first connection is defined as main equipment.
When each equipment in terminal and at least two equipment is directly connected to, terminal is directly obtained at least two equipment The current electric quantity of each equipment;When terminal is connected with main equipment, main equipment connects with each slave unit at least one slave unit When connecing, terminal directly obtains the current electric quantity of main equipment, and terminal is obtained at least one slave unit each from setting by main equipment Standby electricity.
Based on the system architecture shown in Fig. 1, Fig. 2 illustrates a kind of control device provided in an embodiment of the present invention and disappeared The method flow schematic diagram of power consumption, as shown in Fig. 2 the method for control device consumption electricity comprises the following steps:
Step 201, the current electric quantity of each equipment at least two equipment is obtained;
Step 201, when it is determined that the current electric quantity of at least one equipment is less than the first electricity threshold at least two equipment When the current electric quantity of value and at least one slave unit is higher than the current electric quantity of the main equipment, the slave unit is adjusted to new Main equipment, the main equipment is adjusted to new slave unit.
Because the terminal in the embodiment of the present invention, being connected with least two equipment is obtained at least two equipment each The current electric quantity of equipment;When it is determined that the current electric quantity of the main equipment less than the first power threshold and is present at least one from setting When standby current electric quantity is higher than first power threshold, then the main equipment is adjusted to slave unit, current electric quantity is higher than One slave unit of first power threshold is adjusted to main equipment.Due to the main equipment be used for synchronous terminal, main equipment and The information of slave unit, therefore, the power consumption of main equipment are higher than the power consumption of slave unit, in the embodiment of the present invention terminal pass through by Current electric quantity is adjusted to main equipment higher than a slave unit of the first power threshold, avoids main equipment electricity and exhausts but slave unit The phenomenon of also more electricity, the time that master-slave equipment is used in conjunction with can be caused to maximize.
In the embodiment of the present invention, obtain at least two equipment after the current electric quantity of each equipment, when it is determined that described Current electricity of the current electric quantity of at least one equipment less than the first power threshold and at least one slave unit at least two equipment When amount is higher than the current electric quantity of the main equipment, the slave unit is adjusted to new main equipment, the main equipment is adjusted to new Slave unit, including:When it is determined that the current electric quantity of the main equipment is current less than the first power threshold and at least one slave unit When electricity is higher than first power threshold, a slave unit of the current electric quantity higher than first power threshold is adjusted to new Main equipment, the main equipment is adjusted to new slave unit.
In the embodiment of the present invention, when the current electric quantity of each equipment at least two equipment is not less than the first electricity When measuring threshold value, master-slave equipment is not adjusted.
In order to avoid between main equipment and slave unit caused by the micro- change of electricity frequent switching, in the embodiment of the present invention, institute State and a slave unit of the current electric quantity higher than first power threshold is adjusted to new main equipment, including:Determine current electric quantity Current electric quantity and the main equipment higher than each slave unit at least one slave unit of first power threshold Current electric quantity difference;The difference is adjusted to new main equipment higher than a slave unit corresponding to the second power threshold.
Alternatively, when it is determined that the current electric quantity of the main equipment less than the first power threshold and at least one slave unit When current electric quantity is higher than first power threshold, determine that current electric quantity is at least one described higher than first power threshold The difference of the current electric quantity of each slave unit in slave unit and the current electric quantity of the main equipment;The difference is higher than second A slave unit is adjusted to new main equipment corresponding to power threshold.
In the embodiment of the present invention, the difference corresponding slave unit maximum higher than the difference of the second power threshold can be adjusted For new main equipment.
In the embodiment of the present invention, because the main equipment is used for the information of synchronous terminal, main equipment and slave unit, therefore, The power consumption of main equipment is higher than the power consumption of slave unit;When it is determined that at least two equipment each equipment current electric quantity When being below first power threshold, in order to prevent main equipment electricity from exhausting and when slave unit still has more electricity, it is determined that The difference of the current electric quantity of each slave unit and the main equipment current electric quantity at least one slave unit;By the difference A slave unit higher than second power threshold is adjusted to new main equipment, and the main equipment is adjusted into new slave unit.
Alternatively, in order to further prevent the frequent switching between main equipment and slave unit, the difference can be higher than Maximum slave unit is adjusted to new main equipment in the difference of second power threshold.
In the embodiment of the present invention, with the increase of at least two equipment usage times, the electricity of equipment reduces, in order to not go out Existing equipment generally when the electricity of equipment is less than certain value, can remind user because electricity exhausts the problem of being stopped suddenly Equipment is charged.
In the embodiment of the present invention, when it is determined that the equipment for meeting preparatory condition at least two equipment be present, to full The equipment of the foot preparatory condition carries out charge reminder;Wherein, the preparatory condition includes any one of herein below:It is described Current electric quantity at least two equipment be present less than alarm electricity;When at least two equipment presses default volume broadcasting, play Duration is less than preset duration.
Alternatively, default volume can be the 70% of max volume;When being played by the 70% of max volume, determine When reproduction time is less than preset duration, charge reminder is carried out to the equipment.In this way, when the equipment for carrying out charge reminder is that master sets It is standby, user may determine whether to carry out adjustment between main equipment and slave unit again or user can suspend playing it is interior Hold.
In the embodiment of the present invention, terminal is configurable to automatic equipment or the user for disconnecting and meeting preparatory condition Disconnect manually.After the equipment for meeting preparatory condition when disconnection is at least one, terminal adjust automatically play mode.It is one before such as Individual main equipment and a slave unit, play mode is left and right stereo-circulation pattern, after main equipment is disconnected, by play mode It is adjusted to monophonic play mode.
Alternatively, after the equipment of disconnection is connected with terminal again, terminal can prompt switch modes, can also Play mode is switched to the play mode before disconnecting by terminal automatically.Execution can be circulated, it is determined that the current electricity of each equipment Amount, and determine the need for carrying out master-slave swap again.
Above method flow is introduced in order to clearer, Fig. 3 illustrates another kind provided in an embodiment of the present invention The method that control device consumes electricity.Terminal can be that mobile phone, at least two equipment can be bluetooth earphone in the embodiment.
Current electric quantity is adjusted to main equipment higher than a slave unit of first threshold, avoid main equipment electricity exhaust but Slave unit also has the phenomenon of more electricity, and the time that master-slave equipment is used in conjunction with can be caused to maximize.Specific control device disappears The process of power consumption sees below content.
As shown in figure 3, this method includes:
Step 301, at least two equipment are connected with terminal;
Alternatively, the connected mode of terminal and at least two equipment includes:In the terminal and at least two equipment Each equipment be directly connected to;Or the terminal is connected with main equipment, the main equipment with it is every at least one slave unit Individual slave unit connection;
Step 302, the current electric quantity of each equipment at least two equipment is obtained;
Step 303, determine current electric quantity of at least two equipment with the presence or absence of at least one equipment less than the first electricity Measure threshold value;If in the presence of execution step 304;If being not present, step 309 is performed;
Step 304, determine whether the current electric quantity of main equipment is less than the first power threshold, if being not less than, perform step 309;If being less than, step 305 is performed;
Step 305, it is determined whether the electricity that at least one slave unit be present is higher than the first power threshold;If in the presence of holding Row step 306;If being not present, step 307 is performed;
Step 306, current electric quantity is adjusted to new main equipment, by institute higher than a slave unit of first power threshold State main equipment and be adjusted to new slave unit;
Step 307, determine that the current electric quantity of each slave unit and the main equipment are current at least one slave unit The difference of electricity;
Step 308, the difference is adjusted to new main equipment higher than a slave unit corresponding to the second power threshold;
Step 309, flow terminates.
Slave unit the above can be seen that:In the embodiment of the present invention, because in the embodiment of the present invention, the main equipment is used In the information of synchronous terminal, main equipment and slave unit, therefore, the power consumption of main equipment is higher than the power consumption of slave unit, this hair Terminal avoids master by the way that a slave unit of the current electric quantity higher than the first power threshold is adjusted into main equipment in bright embodiment Equipment electricity exhausts but slave unit also has the phenomenon of more electricity, can make it that the time that master-slave equipment is used in conjunction with is maximum Change.
Based on identical technical concept, the embodiment of the present invention also provides a kind of terminal, the end being connected with least two equipment End, at least two equipment include a main equipment and at least one slave unit, and the main equipment is used for synchronous terminal, master The information of equipment and slave unit;The terminal can perform above method embodiment.Fig. 4, which is that the embodiments of the invention provide one kind, to be controlled The structural representation of the terminal of equipment consumption electricity, as shown in figure 4, the terminal 400 includes acquiring unit 401, processing unit 402.Wherein:
Acquiring unit, for obtaining the current electric quantity of each equipment at least two equipment;Processing unit, for working as Determine that the current electric quantity of at least one equipment at least two equipment is less than the first power threshold and at least one slave unit Current electric quantity when being higher than the current electric quantity of the main equipment, the slave unit is adjusted to new main equipment, by the main equipment It is adjusted to new slave unit.
Alternatively, the processing unit, is used for:When it is determined that the main equipment current electric quantity less than the first power threshold, And current electric quantity is higher than the first electricity threshold when being higher than first power threshold by the current electric quantity of at least one slave unit One slave unit of value is adjusted to new main equipment, the main equipment is adjusted into new slave unit.
Alternatively, the processing unit, is used for:Determine that current electric quantity is higher than at least one institute of first power threshold State the difference of the current electric quantity of each slave unit in slave unit and the current electric quantity of the main equipment;By the difference higher than the A slave unit is adjusted to new main equipment corresponding to two power thresholds.
Alternatively, the processing unit, is additionally operable to:When it is determined that at least two equipment each equipment current electric quantity When being below first power threshold, the current electric quantity of each slave unit and the master at least one slave unit are determined The difference of equipment current electric quantity;A slave unit of the difference higher than second power threshold is adjusted to new main equipment, The main equipment is adjusted to new slave unit.
Alternatively, the processing unit, is additionally operable to:When it is determined that at least two equipment exist meet preparatory condition During equipment, to meeting that the equipment of the preparatory condition carries out charge reminder;Wherein, the preparatory condition is included in herein below Any one:Current electric quantity at least two equipment be present less than alarm electricity;At least two equipment presses default volume During broadcasting, playing duration is less than preset duration.
Alternatively, the connected mode between the terminal and at least two equipment includes:The terminal with it is described extremely Each equipment in few two equipment is directly connected to;Or;The terminal is connected with main equipment;The main equipment with it is at least one Each slave unit connection in slave unit.
A kind of computer-readable recording medium, the computer-readable recording medium storage are provided in the embodiment of the present invention There are computer executable instructions, the computer executable instructions are used to make the computer perform described method.
A kind of computer equipment is provided in the embodiment of the present invention, including:Memory, instructed for storage program;Processing Device, for calling the programmed instruction stored in the memory, described method is performed according to the program of acquisition.
Slave unit the above can be seen that:In the embodiment of the present invention, because main equipment described in the embodiment of the present invention is used In the information of synchronous terminal, main equipment and slave unit, therefore, the power consumption of main equipment is higher than the power consumption of slave unit, this hair Terminal avoids master by the way that a slave unit of the current electric quantity higher than the first power threshold is adjusted into main equipment in bright embodiment Equipment electricity exhausts but slave unit also has the phenomenon of more electricity, can make it that the time that master-slave equipment is used in conjunction with is maximum Change.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method or computer program product. Therefore, the present invention can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the present invention can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The terminal for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of terminal, the command terminal realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted On calculation machine or other programmable devices perform series of operation steps to produce computer implemented processing, slave unit and calculating The instruction performed on machine or other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or square frame The step of function of being specified in one square frame of figure or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (14)

  1. A kind of 1. method of control device consumption electricity, it is characterised in that suitable for the terminal being connected with least two equipment, institute Stating at least two equipment includes a main equipment and at least one slave unit, and the main equipment is used for synchronous terminal, main equipment And the information of slave unit;Methods described includes:
    Obtain the current electric quantity of each equipment at least two equipment;
    When it is determined that the current electric quantity of at least one equipment is less than the first power threshold and at least one at least two equipment When the current electric quantity of slave unit is higher than the current electric quantity of the main equipment, the slave unit is adjusted to new main equipment, by described in Main equipment is adjusted to new slave unit.
  2. 2. the method as described in claim 1, it is characterised in that described to be set when at least one in determination at least two equipment Standby current electric quantity is higher than the current electricity of the main equipment less than the current electric quantity of the first power threshold and at least one slave unit During amount, the slave unit is adjusted to new main equipment, the main equipment is adjusted to new slave unit, including:
    When it is determined that the current electric quantity of the main equipment is higher than less than the current electric quantity of the first power threshold and at least one slave unit During first power threshold, by current electric quantity higher than first power threshold a slave unit be adjusted to new main equipment, The main equipment is adjusted to new slave unit.
  3. 3. method as claimed in claim 2, it is characterised in that described that current electric quantity is higher than to the one of first power threshold Individual slave unit is adjusted to new main equipment, including:
    Determine that current electric quantity is current higher than each slave unit at least one slave unit of first power threshold Electricity and the difference of the current electric quantity of the main equipment;
    The difference is adjusted to new main equipment higher than a slave unit corresponding to the second power threshold.
  4. 4. the method as described in claim 1, it is characterised in that described that the slave unit is adjusted to new main equipment, by described in Main equipment is adjusted to new slave unit, in addition to:
    When it is determined that the current electric quantity of each equipment is below first power threshold at least two equipment, institute is determined State the difference of the current electric quantity of each slave unit and the main equipment current electric quantity at least one slave unit;
    A slave unit of the difference higher than second power threshold is adjusted to new main equipment, the main equipment is adjusted For new slave unit.
  5. 5. the method as described in any one of Claims 1 to 4, it is characterised in that also include:
    When it is determined that the equipment for meeting preparatory condition at least two equipment be present, the equipment to meeting the preparatory condition Carry out charge reminder;
    Wherein, the preparatory condition includes any one of herein below:
    Current electric quantity at least two equipment be present less than alarm electricity;
    When at least two equipment presses default volume broadcasting, playing duration is less than preset duration.
  6. 6. the method as described in any one of Claims 1 to 4, it is characterised in that the terminal and at least two equipment it Between connected mode include:
    The terminal is directly connected to each equipment at least two equipment;
    Or;
    The terminal is connected with main equipment;The main equipment is connected with each slave unit at least one slave unit.
  7. 7. a kind of terminal for control device consumption electricity, it is characterised in that the terminal is connected with least two equipment, institute Stating at least two equipment includes a main equipment and at least one slave unit, and the main equipment is used for synchronous terminal, main equipment And the information of slave unit;The terminal includes:
    Acquiring unit, for obtaining the current electric quantity of each equipment at least two equipment;
    Processing unit, for being less than the first electricity threshold when the current electric quantity for determining at least one equipment at least two equipment When the current electric quantity of value and at least one slave unit is higher than the current electric quantity of the main equipment, the slave unit is adjusted to new Main equipment, the main equipment is adjusted to new slave unit.
  8. 8. terminal as claimed in claim 7, it is characterised in that the processing unit, be used for:
    When it is determined that the current electric quantity of the main equipment is higher than less than the current electric quantity of the first power threshold and at least one slave unit During first power threshold, by current electric quantity higher than first power threshold a slave unit be adjusted to new main equipment, The main equipment is adjusted to new slave unit.
  9. 9. terminal as claimed in claim 8, it is characterised in that the processing unit, be used for:
    Determine that current electric quantity is current higher than each slave unit at least one slave unit of first power threshold Electricity and the difference of the current electric quantity of the main equipment;The difference is adjusted higher than a slave unit corresponding to the second power threshold Whole is new main equipment.
  10. 10. terminal as claimed in claim 7, it is characterised in that the processing unit, be additionally operable to:
    When it is determined that the current electric quantity of each equipment is below first power threshold at least two equipment, institute is determined State the difference of the current electric quantity of each slave unit and the main equipment current electric quantity at least one slave unit;
    A slave unit of the difference higher than second power threshold is adjusted to new main equipment, the main equipment is adjusted For new slave unit.
  11. 11. the terminal as described in any one of claim 7~10, it is characterised in that the processing unit, be additionally operable to:
    When it is determined that the equipment for meeting preparatory condition at least two equipment be present, the equipment to meeting the preparatory condition Carry out charge reminder;
    Wherein, the preparatory condition includes any one of herein below:It is low to there is current electric quantity at least two equipment In alarm electricity;When at least two equipment presses default volume broadcasting, playing duration is less than preset duration.
  12. 12. the terminal as described in any one of claim 7~10, it is characterised in that the terminal and at least two equipment Between connected mode include:
    The terminal is directly connected to each equipment at least two equipment;
    Or;
    The terminal is connected with main equipment;The main equipment is connected with each slave unit at least one slave unit.
  13. 13. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage has computer can Execute instruction, the computer executable instructions are used to make the computer perform claim require described in 1 to 6 any claim Method.
  14. A kind of 14. computer equipment, it is characterised in that including:
    Memory, instructed for storage program;
    Processor, for calling the programmed instruction stored in the memory, according to acquisition program perform as claim 1 to Method described in 6 any claims.
CN201710934300.0A 2017-10-10 2017-10-10 A kind of method and terminal of control device consumption electricity Pending CN107743173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710934300.0A CN107743173A (en) 2017-10-10 2017-10-10 A kind of method and terminal of control device consumption electricity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710934300.0A CN107743173A (en) 2017-10-10 2017-10-10 A kind of method and terminal of control device consumption electricity

Publications (1)

Publication Number Publication Date
CN107743173A true CN107743173A (en) 2018-02-27

Family

ID=61237141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710934300.0A Pending CN107743173A (en) 2017-10-10 2017-10-10 A kind of method and terminal of control device consumption electricity

Country Status (1)

Country Link
CN (1) CN107743173A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810696A (en) * 2018-06-12 2018-11-13 歌尔科技有限公司 A kind of electric quantity reminding method, TWS earphones and earphone charging equipment
CN110136722A (en) * 2019-04-09 2019-08-16 北京小鸟听听科技有限公司 Audio signal processing method, device, equipment and system
CN111970375A (en) * 2020-08-28 2020-11-20 上海联影医疗科技股份有限公司 Monitoring device and control method thereof
CN113225432A (en) * 2021-03-25 2021-08-06 上海闻泰信息技术有限公司 Earphone use prompting method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160157026A1 (en) * 2013-08-09 2016-06-02 Sonova Ag Hearing assistance system and method
CN106210208A (en) * 2016-09-21 2016-12-07 深圳市金立通信设备有限公司 A kind of terminal and Double-battery powered method thereof
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone
CN107181506A (en) * 2017-04-13 2017-09-19 深圳市金立通信设备有限公司 The method and bluetooth earphone of a kind of control terminal playing resource

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160157026A1 (en) * 2013-08-09 2016-06-02 Sonova Ag Hearing assistance system and method
CN106210208A (en) * 2016-09-21 2016-12-07 深圳市金立通信设备有限公司 A kind of terminal and Double-battery powered method thereof
CN107181506A (en) * 2017-04-13 2017-09-19 深圳市金立通信设备有限公司 The method and bluetooth earphone of a kind of control terminal playing resource
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810696A (en) * 2018-06-12 2018-11-13 歌尔科技有限公司 A kind of electric quantity reminding method, TWS earphones and earphone charging equipment
CN110136722A (en) * 2019-04-09 2019-08-16 北京小鸟听听科技有限公司 Audio signal processing method, device, equipment and system
CN111970375A (en) * 2020-08-28 2020-11-20 上海联影医疗科技股份有限公司 Monitoring device and control method thereof
CN113225432A (en) * 2021-03-25 2021-08-06 上海闻泰信息技术有限公司 Earphone use prompting method and device

Similar Documents

Publication Publication Date Title
CN107743173A (en) A kind of method and terminal of control device consumption electricity
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
CN108696784A (en) A kind of method of wireless headset role switching, wireless headset and TWS earphones
WO2017181708A1 (en) Audio switching method and device for terminal, and electronic device
CN110085934A (en) A kind of charging method and mobile terminal of end cell
US11425520B2 (en) Method for detecting blocking of microphone and related products
CN108964789B (en) Radio frequency interference processing method and device, storage medium and electronic equipment
CN109151647A (en) Interaction control method, device, Earphone box and the storage medium of Earphone box
CN105260159B (en) A kind of audio frequency playing method and device
WO2020087750A1 (en) Earphone box interaction control method and device, earphone box, and storage medium
CN103200498B (en) A kind of mobile terminal music playing method and system
WO2023185685A1 (en) Charging method, electronic device, computer-readable storage medium, and chip system
US20170085978A1 (en) Method, apparatus, and system for supplying power to active noise reduction headset
CN103137158A (en) Method controlling audio playing and terminal
CN104378493A (en) Mode switching method and electronic device
CN113038317A (en) Earphone control method and device, Bluetooth earphone and storage medium
KR20050046452A (en) Audio volume control apparatus and method for mobile communication device
CN112291683B (en) TWS earphone control method and device
CN104023117A (en) Method for information processing and electronic equipment
CN108184193A (en) Control method for playing back, bluetooth equipment and the computer storage media of bluetooth playback terminal
CN208987130U (en) A kind of bluetooth headset and system of adjustable human ear sense of hearing
CN106657675B (en) Method and system for playing mobile terminal audio and video through Bluetooth playing device
CN111050240A (en) Earphone mode switching method and device
CN212013028U (en) TWS earphone independent power supply circuit and charging box
CN104267809A (en) Information processing method and first electronic device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180227