CN108733188A - A kind of electronic equipment control method, device, electronic equipment and storage medium - Google Patents

A kind of electronic equipment control method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108733188A
CN108733188A CN201710525739.8A CN201710525739A CN108733188A CN 108733188 A CN108733188 A CN 108733188A CN 201710525739 A CN201710525739 A CN 201710525739A CN 108733188 A CN108733188 A CN 108733188A
Authority
CN
China
Prior art keywords
electronic equipment
battery
functional unit
power supply
supply state
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
CN201710525739.8A
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.)
Beijing Orion Star Technology Co Ltd
Original Assignee
Beijing Orion Star 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 Beijing Orion Star Technology Co Ltd filed Critical Beijing Orion Star Technology Co Ltd
Priority to CN201710525739.8A priority Critical patent/CN108733188A/en
Publication of CN108733188A publication Critical patent/CN108733188A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof

Abstract

An embodiment of the present invention provides a kind of electronic equipment control method, device, electronic equipment and storage medium, the method includes:Detect the current residual electricity of the battery in power supply state in the electronic equipment;Determine the functional unit for belonging to the corresponding rank of the current residual electricity, and as first kind functional unit;The control battery in power supply state is powered for the first kind functional unit.The scheme provided through the embodiment of the present invention, when electronic equipment is in power supply state, the battery of electronic equipment can be to power with the first kind functional unit of rank corresponding to battery current residual electricity, ensure that first kind functional unit can work normally, to realize the differentiated control of electric device battery, the powers duration of battery is extended.

Description

A kind of electronic equipment control method, device, electronic equipment and storage medium
Technical field
The present invention relates to electronic equipment control technology fields, more particularly to a kind of electronic equipment control method, Yi Zhong electricity Sub- plant control unit, a kind of electronic equipment, a kind of computer readable storage medium.
Background technology
With the fast development of hardware technology, the function of electronic equipment is more and more abundant, for example, electronic equipment has bluetooth Function, radio network functions, information prompting function etc., however the function of electronic equipment is more and more abundant is brought preferably to user While experience, larger electricity is needed to support these function normal operations.
In the prior art, when electronic equipment is in running order, the battery of electronic equipment needs the institute for electronic equipment Functional unit power supply, that is to say, that so that all functional units of electronic equipment are all in working condition, to cause electronics The power consumption of equipment is larger, and remaining electricity is consumed quickly in battery, and the powers duration of battery is shorter.
Invention content
The embodiment of the present invention is designed to provide a kind of electronic equipment control method, to extend battery as electronic equipment Powers duration, and extend the service life of electric device battery.Specific technical solution is as follows:
In a first aspect, an embodiment of the present invention provides a kind of electronic equipment control method, it is applied to electronic equipment, the side Method includes:
Detect the current residual electricity of the battery in power supply state in the electronic equipment;
Determine the functional unit for belonging to the corresponding rank of the current residual electricity, and as first kind functional unit;
The control battery in power supply state is powered for the first kind functional unit.
Optionally, the electronic equipment includes:Main battery and secondary cell, the battery in power supply state are the master Battery, the method further include:
When meeting preset battery switching condition, the main battery is switched into non-power supply state by power supply state, and Start the secondary cell;
Determine the functional unit for the electronic equipment for needing the secondary cell power supply, and as the second class functional unit;
The secondary cell is controlled to power for the second class functional unit.
Optionally, after controlling the secondary cell and being the second class functional unit power supply, the method further includes:
Collect the current operating conditions information of the electronic equipment;
The current operating conditions information is sent to the server communicated to connect with the electronic equipment, so that described Server carries out condition diagnosing according to the current operating conditions information to the electronic equipment.
Optionally, after the startup secondary cell, the method further includes:
Generate battery management notification message.
Optionally, in the case where the electronic equipment is intelligent robot, the first kind functional unit includes following At least one of functional unit:Chassis, mechanical arm, movable joint, top level control plate, router, screen, security control plate, Sensor.
Optionally, the second class functional unit includes at least one of following functions unit:Top level control plate, routing Device, screen, security control plate, sensor.
Optionally, in the detection electronic equipment after the current residual electricity of the battery in power supply state, The method further includes:
Judge whether the current residual electricity is less than predetermined electricity;
If it is, generating the notification message for electricity.
Second aspect, the embodiment of the present invention additionally provide a kind of electronic equipment control device, are applied to electronic equipment, described Device includes:
Electric power detection module, the current residual electricity for detecting the battery in power supply state in the electronic equipment;
First kind functional unit determining module, for according to the current residual electricity, determining described in needing in power supply The functional unit of the battery powered electronic equipment of state, and as first kind functional unit;
First control module is powered for controlling the battery in power supply state for the first kind functional unit.
Optionally, described device further includes:
Secondary cell starting module, for including main battery and secondary cell in the electronic equipment, and it is described in power supply shape When the battery of state is the main battery, when meeting preset battery switching condition, the main battery is switched by power supply state To non-power supply state, and start the secondary cell;
Second class functional unit determining module, the function for determining the electronic equipment for needing the secondary cell power supply Unit, and as the second class functional unit;
Second control module is powered for controlling the secondary cell for the second class functional unit.
Optionally, described device further includes:
Running state information collection module, for being that the second class functional unit powers it controlling the secondary cell Afterwards, the current operating conditions information of the electronic equipment is collected;
Running state information sending module leads to for being sent to the current operating conditions information with the electronic equipment The server of connection is believed, so that the server carries out state according to the current operating conditions information to the electronic equipment Diagnosis.
Optionally, described device further includes:
First notification message generation module, for after the startup secondary cell, generating battery management notice and disappearing Breath.
Optionally, in the case where the electronic equipment is intelligent robot, the first kind functional unit includes following At least one of functional unit:Chassis, mechanical arm, movable joint, top level control plate, router, screen, security control plate, Sensor.
Optionally, the second class functional unit includes at least one of following functions unit:Top level control plate, routing Device, screen, security control plate, sensor.
Optionally, described device further includes:
Predetermined electricity judgment module is used to be in the current of the battery of power supply state in the detection electronic equipment After remaining capacity, judge whether the current residual electricity is less than predetermined electricity;
Second notification message generation module, if judging that current residual electricity is small for the predetermined electricity judgment module When predetermined electricity, the notification message for electricity is generated.
The third aspect, the embodiment of the present invention additionally provide a kind of electronic equipment, including processor, communication interface, memory And communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method steps of claim 1-7 Suddenly.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, described computer-readable to deposit It is stored with computer program in storage media, realizes that claim 1-7 is any described when the computer program is executed by processor Method and step.
Compared with prior art, the technical solution of the embodiment of the present invention is in power supply state by detecting in electronic equipment Battery current residual electricity;According to current residual electricity, determines and belong to the of the corresponding rank of the current residual electricity A kind of functional unit;Battery of the control in power supply state is powered for the first kind functional unit.Therefore, at electronic equipment When power supply state, the battery of electronic equipment can be to be supplied with the first kind functional unit of battery current residual electricity corresponding level Electricity ensures that first kind functional unit can work normally, to realize the differentiated control of electric device battery, extends battery Powers duration.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
The flow chart for a kind of electronic equipment control method that Fig. 1 is provided by the embodiment of the present invention;
Another flow chart for a kind of electronic equipment control method that Fig. 2 is provided by the embodiment of the present invention;
Another flow chart for a kind of electronic equipment control method that Fig. 3 is provided by the embodiment of the present invention;
The structural schematic diagram for a kind of electronic equipment control device that Fig. 4 is provided by the embodiment of the present invention;
Another structural schematic diagram for a kind of electronic equipment control device that Fig. 5 is provided by the embodiment of the present invention;
Another structural schematic diagram for a kind of electronic equipment control device that Fig. 6 is provided by the embodiment of the present invention;
The structural schematic diagram for a kind of electronic equipment that Fig. 7 is provided by the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to solve prior art problem, an embodiment of the present invention provides a kind of electronic equipment control method, device, electronics Equipment and storage medium reduce the charge frequency of battery to extend powers duration of the battery as electronic equipment, extend electronic equipment The service life of battery.
It is introduced in a first aspect, being provided for the embodiments of the invention control method of electronic device first below.
It should be noted that a kind of electronic equipment control method that the embodiment of the present invention is provided is applied to electronic equipment In, which can be:Smart mobile phone, tablet computer, laptop, smart home product are (such as:Intelligent sound box), intelligence Energy mobile unit, intelligent wearable device, intelligent robot etc., this is all reasonable.
As shown in Figure 1, a kind of electronic equipment control method that the embodiment of the present invention is provided, includes the following steps:
S101 detects the current residual electricity of the battery in power supply state in the electronic equipment;
When electronic equipment is in running order, it is detected as the current residual electricity of the battery of power electronic equipment, is needed Illustrate can there was only one piece of battery in electronic equipment, at this point, when electronic equipment is in running order, which is in Power supply state, the i.e. battery are power electronic equipment;Electronic equipment can also have polylith battery, at this point, being in electronic equipment When working condition, one of battery is in power supply state, other batteries are in non-power supply state, wherein the polylith battery Battery capacity may be the same or different, these are all reasonable.
For example, it is assumed that electronic equipment has two pieces of batteries, respectively main battery and secondary cell, wherein the electricity of main battery Tankage both can be identical as the battery capacity of secondary cell, can also be different from the battery capacity of secondary cell.At electronic equipment It is preferentially power electronic equipment by main battery when working condition, at this point, the current residual electricity of detection main battery;If main electricity Pond because electricity less than preset value or because the other reasons such as failure cannot be power electronic equipment when, by secondary cell be electronic equipment confession Electricity, at this point, the current residual electricity of detection secondary cell.
S102 is determined according to the current residual electricity and is needed the battery powered electricity for being in power supply state The functional unit of sub- equipment, and as first kind functional unit;
It should be noted that when battery is power electronic equipment, it is abundant to allow users to experience electronic equipment Function needs all functional units that battery is electronic equipment to power, however, each functional unit of electronic equipment is for electronics There is different significance levels for the normal operation of equipment, be the functional unit of electronic equipment for this purpose, in the embodiment of the present invention Provided with different ranks, different current residual electricities corresponds to the functional unit of different stage, also, the current residual of battery Electricity is lower, and the rank of corresponding functional unit is higher.It should be noted that normal operation of the functional unit for electronic equipment For the significance level that has it is higher, corresponding rank is higher.
It is emphasized that the rank of functional unit can be default, it can also be set by user, this is all It is reasonable.Moreover, when robot is in different application scenarios or executes different tasks, the grade of same functional unit It may not change, that is to say, that in a certain application scenarios, the rank of a certain functional unit is higher, still, another In a kind of application scenarios, the rank of the functional unit may be relatively low;Alternatively, robot is when executing certain tasks, a certain function The rank of unit is higher, and when executing another task, the rank of the functional unit may be relatively low.This is all reasonable.
It will be described in detail so that electronic equipment is intelligent robot as an example below.
Optionally, in the case where the electronic equipment is intelligent robot, the first kind functional unit includes following At least one of information:Chassis, mechanical arm, movable joint, top level control plate, router, screen, security control plate, sensing Device.
It should be noted that the chassis of intelligent robot is used to that intelligent robot to be moved, and working as in battery When preceding remaining capacity is relatively low, chassis, which can force to roll back to charging pile, charges, and can be that higher grade is arranged in chassis therefore Not;
The mechanical arm of intelligent robot allows the robot to provide service to the user with movable joint, in intelligent robot Electricity it is higher when, battery can be that mechanical arm and movable joint are powered, so that intelligent robot provides service to the user;? When the electricity of intelligent robot is relatively low, battery can not be that mechanical arm is powered with movable joint, and is the chassis of intelligent robot Power supply, so that chassis can force to roll back to charging pile as battery charging, it is seen then that can be that mechanical arm is arranged with movable joint Lower rank;
For being interacted with user distress signals can in case of emergency occur for the top level control plate of intelligent robot Or therefore warning message etc. can be that top level control plate is set in the case where intelligent robot needs to interact with user Set relatively high rank;
The router of intelligent robot can allow remote management for making intelligent robot be connect with server communication Personnel read the operating status of intelligent robot, therefore, in the feelings for needing flexecutive to control intelligent robot Can be that higher rank is arranged in the router of intelligent robot under condition;
The screen of intelligent robot can be used for showing that the running state information of intelligent robot, user can therefrom obtain intelligence Therefore the operating status of energy robot can be intelligent machine when user needs to obtain the running state information of intelligent robot Higher rank is arranged in the screen of device people.
The security control plate of intelligent robot for allowing the robot to trouble free service, avoid toppling over or with other objects Collide, due to safety be to intelligent robot it is critically important, can be intelligent robot security control plate set Set highest rank so that under different current residual electricities, battery all can be security control plate be powered.
The sensor of intelligent robot is used to perceive the environment around robot, avoids toppling over or be touched with other objects It hits and leads to some safety accidents, the safety to intelligent robot is also vital, can be intelligent robot therefore Sensor higher rank is set.
For example, when intelligent robot is in running order, if the current residual electricity of the battery in power supply state Amount is 100%, then the electricity of battery of the explanation in power supply state is higher, and the battery for being now in power supply state can be machine All functional units of people are powered, and therefore, first kind functional unit can be chassis, mechanical arm, the movement pass of intelligent robot All functional units such as section, top level control plate, router, screen, security control plate, sensor;
If the current residual electricity of the battery in power supply state is 50%, illustrate working as the battery in power supply state Preceding remaining capacity is declined, at this point, the battery in power supply state can be rank higher functional unit power supply, at this time the A kind of functional unit can be chassis, top level control plate, router, screen, security control plate, the sensor etc. of intelligent robot The higher functional unit of rank, without including the lower mechanical arm of rank and movable joint, to prevent from closing because of mechanical arm and movement It saves a large amount of power consumptions and the remaining capacity of battery is caused to be consumed quickly.
If the current residual electricity of the battery in power supply state is 30%, illustrate working as the battery in power supply state Preceding remaining capacity further declines, at this point it is possible to choose other opposite functional units from the higher multiple functional units of rank For, the higher functional unit of rank, the battery in power supply state is the higher functional unit power supply of these ranks, at this time the A kind of functional unit can be top level control plate, security control plate and sensor so that intelligent robot can trouble free service, It avoids toppling over or collide with other objects, and can be interacted with user.
If the current residual electricity of the battery in power supply state is 10%, illustrate working as the battery in power supply state Preceding remaining capacity further declines, at this point, the battery in power supply state can be highest-ranking functional unit, at this point, the A kind of functional unit can be chassis, security control plate, so that in the case where ensureing intelligent robot safety, it can be with rollback It charges to charging pile.
It is emphasized that since in different situations, same functional unit has for the normal operation of robot There is different significance levels, therefore, in different situations, the corresponding first kind functional unit of same current residual electricity also may be used Can be different, this is reasonable.
In addition, the current residual electricity that battery is only illustratively enumerated in foregoing description be respectively 100%, 50%, 30%, 10% when, corresponding first kind functional unit, the embodiment of the present invention is to current residual electricity and first kind function The correspondence of unit is not specifically limited.
S103, the control battery in power supply state are powered for the first kind functional unit.
In the current residual electricity according to the battery in power supply state, it is determined that after first kind functional unit, control Battery in power supply state is powered for the first kind functional unit, such rather than the prior art, is in the electricity of power supply state Pond is that all functional units of electronic equipment are powered, and the battery of electronic equipment can be and battery current residual electricity corresponding level The first kind functional unit power supply, ensure first kind functional unit can work normally, to realize electric device battery Differentiated control extends the powers duration of battery.
For example, it is assumed that when electronic equipment is intelligent robot, if the current residual electricity of the battery in power supply state When being 100%, then the current residual electricity of battery of the explanation in power supply state is higher, at this time determining first kind functional unit Can be intelligent robot all functional units, therefore, in power supply state battery can be intelligent robot chassis, All functional unit power supplies such as mechanical arm, movable joint, top level control plate, router, screen, security control plate, sensor.
For another example if when the current residual electricity of the battery in power supply state is 30%, illustrate in power supply shape The current residual electricity of the battery of state is relatively low, and determining first kind functional unit can be the top level control of intelligent robot at this time Plate, security control plate and sensor etc. have the function of higher significance level list for the normal operation of intelligent robot Member, i.e. first kind functional unit are the higher functional unit of rank, and therefore, the battery in power supply state can be intelligence machine The not higher functional unit power supply of top level control plate, security control plate and the transducer class of people.
Compared with prior art, the technical solution of the embodiment of the present invention is in power supply state by detecting in electronic equipment Battery current residual electricity;According to current residual electricity, determines and belong to the of the corresponding rank of the current residual electricity A kind of functional unit;Battery of the control in power supply state is powered for the first kind functional unit.Therefore, at electronic equipment When power supply state, the battery of electronic equipment can be to be supplied with the first kind functional unit of battery current residual electricity corresponding level Electricity ensures that first kind functional unit can work normally, to realize the differentiated control of electric device battery, extends battery Powers duration.
Further, on the basis of embodiment shown in Fig. 1, as shown in Fig. 2, including main battery and pair electricity in electronic equipment Pond, and in power supply state battery be main battery when, the method can also include:
Main battery is switched to non-power supply state by S104 when meeting preset battery switching condition by power supply state, and Start secondary cell;
When electronic equipment includes main battery and secondary cell, when electronic equipment is in running order, either main electricity Pond is in power supply state, can also be that secondary cell is in power supply state;And the battery capacity of main battery can be with the electricity of secondary cell Tankage is identical, alternatively, in view of factors such as the volumes of electronic equipment, the battery capacity of secondary cell is less than the battery appearance of main battery Amount, these are all reasonable, and the embodiment of the present invention closes the size of the battery capacity of main battery and the battery capacity of secondary cell System is not specifically limited.
When the battery in power supply state be main battery when, when meeting preset battery switching condition, by main battery by Power supply state switches to non-power supply state, at this point, opening secondary cell, i.e., secondary cell is switched to power supply shape by non-power supply state State.
It should be noted that preset battery switching condition either main battery current residual electricity be preset value, For example, the preset value can be 10%, 5% etc., or since failure cause causes main battery that cannot be power electronic equipment, when So, preset battery switching condition can also be to cause main battery that cannot be the other conditions of power electronic equipment, the present invention couple Preset battery switching condition is not specifically limited.
S105 determines the functional unit for the electronic equipment for needing the secondary cell power supply, and as the second class function Unit;
When secondary cell switches to power supply state by non-power supply state, the second class function list for needing secondary cell to power is determined Member, it should be noted that the second class functional unit both can be identical as first kind functional unit, can also be with first kind function list First different, this is all reasonable.
It is emphasized that when the battery capacity of secondary cell is identical as the battery capacity of main electricity, it can be according to secondary electricity The current residual electricity in pond determines the second class functional unit.When the current residual electricity of secondary cell is higher, such as secondary cell When current residual electricity is 100%, the second class functional unit can be all functional units of electronic equipment;And when secondary cell When current residual electricity is relatively low, as secondary cell current residual electricity be 30% when, the second class functional unit can be for electricity The normal operation of sub- equipment has the functional unit of higher significance level, the i.e. higher functional unit of rank.
It, both can be according to the current residual electricity of secondary cell when the battery capacity of secondary cell is less than the battery capacity of main battery It measures to determine the second functional unit, can also will have the function of higher significance level list for the normal operation of electronic equipment The higher functional unit of member, i.e. rank.For example, if the battery capacity of secondary cell is the 90% of the battery capacity of main battery, Then when starting secondary cell, the second class functional unit can be all functional units of electronic equipment;Current when secondary cell remains When remaining electricity is 20%, the second class functional unit is to have the function of higher significance level list for the normal operation of electronic equipment The higher functional unit of member, i.e. rank.And if the battery capacity of secondary cell be main battery battery capacity 20%, starting When secondary cell, the second class functional unit is the functional unit for having higher significance level for the normal operation of electronic equipment, i.e., The higher functional unit of rank.
But in practical applications, it is contemplated that the volume or structure design of electronic equipment, in many cases, secondary cell Battery capacity is more much smaller than the battery capacity of main battery, and therefore, the second class functional unit is usually for the normal of electronic equipment Run the functional unit with higher significance level, the i.e. higher functional unit of rank.
It will be illustrated so that electronic equipment is intelligent robot as an example below.
Optionally, when electronic equipment is intelligent robot, the second class functional unit may include in following functions unit At least one:Top level control plate, router, screen, security control plate, sensor.
In view of the volume or structure design of intelligent robot, the battery capacity of the battery capacity of secondary cell than main battery It is much smaller, at this point, secondary cell, when switching to power supply state by non-power supply state, the second class functional unit is not electronic equipment All functional modules are powered, but have the functional unit of higher significance level, i.e. rank for the normal operation of electronic equipment Higher functional unit.
For example, due to the rank of the functional units such as top level control plate, router, screen, security control plate, sensor Higher, therefore, the second functional unit may include security control plate, advantageously ensure that robot can trouble free service, avoid inclining Or with other objects collide;Second functional unit may include top level control plate, be conducive to intelligent robot and user Interaction, and inform that the main battery of consumer electronic devices is unable to normal power supply in time.For another example the second class functional unit may include Screen, the presentation of information that can the main battery of electronic equipment be unable to normal power supply at this time enable a user in screen It checks in time.Certainly, the second class functional unit can also be top level control plate, router, screen, security control plate, sensor In any one or it is arbitrary a variety of, this is all reasonable.
S106 controls the secondary cell and powers for the second class functional unit.
When the secondary cell of electronic equipment is in power supply state, after the determination of the second class functional unit, the pair of electronic equipment Battery is powered for the second class functional unit, for example, it is assumed that the second class functional unit is top level control plate, then secondary cell is controlled for upper layer Making sheet is powered;For another example assuming that the second class functional unit is screen, then the secondary cell of electronic equipment is that the screen of electronic equipment supplies Electricity.
Compared with prior art, the technical solution of the embodiment of the present invention is in power supply state by detecting in electronic equipment Battery current residual electricity;According to current residual electricity, determines and belong to the of the corresponding rank of the current residual electricity A kind of functional unit;Battery of the control in power supply state is powered for the first kind functional unit.Therefore, at electronic equipment When power supply state, the battery of electronic equipment can be to be supplied with the first kind functional unit of battery current residual electricity corresponding level Electricity ensures that first kind functional unit can work normally, to realize the differentiated control of electric device battery, extends battery Powers duration.Moreover, when the main battery of electronic equipment cannot be normally power electronic equipment, it can also be by electronic equipment Secondary cell is power electronic equipment, to can ensure that the higher functional unit of electronic equipment rank is in running order.
Further, on the basis of embodiment shown in Fig. 2, as shown in figure 3, being described second controlling the secondary cell After the power supply of class functional unit, the method further includes:
S107 collects the current operating conditions information of the electronic equipment;
It is after the second class functional unit is powered in the secondary cell of electronic equipment, electronic equipment collects its current operating conditions Information, wherein the current running state information can include:The current residual electricity of the main battery of electronic equipment can also be The main battery of electronic equipment, which breaks down, is unable to normal power supply, or can also be emergency category information, this is all reasonable, this hair The bright content to current operating conditions information is not specifically limited.
The current operating conditions information is sent to the server communicated to connect with the electronic equipment by S108, so that It obtains the server and condition diagnosing is carried out to the electronic equipment according to the current operating conditions information.
After electronic equipment is collected into current operating conditions information, current operating conditions information is sent to and electronic equipment The server of communication connection when server receives the current running state information, examines the current running state information It is disconnected, and controlled accordingly.For example, when the current residual electricity for the main battery for judging electronic equipment is 10%, management Personnel can be that intelligent robot charges in time.
Compared with prior art, the technical solution of the embodiment of the present invention is in power supply state by detecting in electronic equipment Battery current residual electricity;According to current residual electricity, determines and belong to the of the corresponding rank of the current residual electricity A kind of functional unit;Battery of the control in power supply state is powered for the first kind functional unit.Therefore, at electronic equipment When power supply state, the battery of electronic equipment can be to be supplied with the first kind functional unit of battery current residual electricity corresponding level Electricity ensures that first kind functional unit can work normally, to realize the differentiated control of electric device battery, extends battery Powers duration.Moreover, when the main battery of electronic equipment cannot be normally power electronic equipment, it can also be by electronic equipment Secondary cell is power electronic equipment, to can ensure that the critical function unit of electronic equipment can be normal in running order, and It can ensure that the user using electronic equipment can learn that the main battery of electronic equipment is unable to normal power supply in time.Also, in electricity After the secondary cell of sub- equipment starts, the server communicated with electronic equipment can in time carry out the current operating conditions of electronics Diagnosis, is managed electronic equipment to be conducive to administrative staff.
Optionally, in an embodiment of the present invention, after the startup secondary cell, the method is also wrapped It includes:
Generate battery management notification message.
Battery management notification message refers to when main battery switches to secondary cell, and the notice main battery of generation cannot be supplied normally The message of electricity, for example, the message can be to notify that user is main battery charging.After the secondary cell of electronic equipment starts, say The current residual electricity of bright main battery at this time is relatively low or since the main batterys such as failure cause are unable to normal power supply, and electronics is set at this time It is standby to generate battery management notification message, wherein the battery management notification information can be there are many form.Specifically, second When class functional unit includes screen, which can be with text importing in the screen of electronic equipment;? When two class functional units include top level control plate, which can play back in the form of speech.Moreover, The content of the battery management notification message either simple warning message, can also be " main battery can not normal power supply, it is secondary Battery has been started up " etc. similar message.The present invention does not limit the form and particular content of battery management notification message.It is logical The technical solution of the embodiment is crossed, can be so that user is in time managed battery.For example, charging in time for main battery Deng.
Optionally, in any of the above-described embodiment of the present invention, power supply state is in the detection electronic equipment Battery current residual electricity after, the method further includes:
Judge whether the current residual electricity is less than predetermined electricity;
If it is, generating the notification message for electricity.
After detecting the current residual electricity of electronic equipment, judge whether current residual electricity is less than predetermined electricity, When judging result be when, message of giving notice, the notification message be used for prompt user be in power supply state battery it is current Remaining capacity is insufficient, so that user charges in time.
Need to illustrate when, which can be that electronic apparatus system is set, and can also be user according to itself It is set;Moreover, the size of predetermined electricity is also changeable, the present invention does not do specific limit to the size of predetermined electricity It is fixed.
Second aspect, corresponding to the embodiment of the method that above-mentioned first aspect is provided, the embodiment of the present invention additionally provides one Kind electronic appliance controlling device, as shown in figure 4, described device may include:
Electric power detection module 410, the current residual electricity for detecting the battery in power supply state in the electronic equipment Amount;
First kind functional unit determining module 420, for according to the current residual electricity, determining and described be in being needed to supply The functional unit of the battery powered electronic equipment of electricity condition, and as first kind functional unit;
First control module 430 is supplied for controlling the battery in power supply state for the first kind functional unit Electricity.
Compared with prior art, the technical solution of the embodiment of the present invention is in power supply state by detecting in electronic equipment Battery current residual electricity;According to current residual electricity, determines and belong to the of the corresponding rank of the current residual electricity A kind of functional unit;Battery of the control in power supply state is powered for the first kind functional unit.Therefore, at electronic equipment When power supply state, the battery of electronic equipment can be to be supplied with the first kind functional unit of battery current residual electricity corresponding level Electricity ensures that first kind functional unit can work normally, to realize the differentiated control of electric device battery, extends battery Powers duration.
Optionally, as shown in figure 5, described device can also include:
Secondary cell starting module 440, for including main battery and secondary cell in the electronic equipment, and it is described in power supply When the battery of state is the main battery, when meeting preset battery switching condition, the main battery is cut by power supply state Non- power supply state is shifted to, and starts the secondary cell;
Second class functional unit determining module 450, for determining the electronic equipment for needing the secondary cell to power Functional unit, and as the second class functional unit;
Second control module 460 is powered for controlling the secondary cell for the second class functional unit.
Compared with prior art, the technical solution of the embodiment of the present invention is in power supply state by detecting in electronic equipment Battery current residual electricity;According to current residual electricity, determines and belong to the of the corresponding rank of the current residual electricity A kind of functional unit;Battery of the control in power supply state is powered for the first kind functional unit.Therefore, at electronic equipment When power supply state, the battery of electronic equipment can be to be supplied with the first kind functional unit of battery current residual electricity corresponding level Electricity ensures that first kind functional unit can work normally, to realize the differentiated control of electric device battery, extends battery Powers duration.Moreover, when the main battery of electronic equipment cannot be normally power electronic equipment, it can also be by electronic equipment Secondary cell is power electronic equipment, to can ensure that the higher functional unit of electronic equipment rank is in running order.
Optionally, as shown in fig. 6, described device can also include:
Running state information collection module 470, for controlling the secondary cell as the second class functional unit power supply Later, the current operating conditions information of the electronic equipment is collected;
Running state information sending module 480 is set for being sent to the current operating conditions information with the electronics The server of standby communication connection, so that the server carries out the electronic equipment according to the current operating conditions information Condition diagnosing.
Compared with prior art, the technical solution of the embodiment of the present invention is in power supply state by detecting in electronic equipment Battery current residual electricity;According to current residual electricity, determines and belong to the of the corresponding rank of the current residual electricity A kind of functional unit;Battery of the control in power supply state is powered for the first kind functional unit.Therefore, at electronic equipment When power supply state, the battery of electronic equipment can be to be supplied with the first kind functional unit of battery current residual electricity corresponding level Electricity ensures that first kind functional unit can work normally, to realize the differentiated control of electric device battery, extends battery Powers duration.Moreover, when the main battery of electronic equipment cannot be normally power electronic equipment, it can also be by electronic equipment Secondary cell is power electronic equipment, to can ensure that the higher functional unit of electronic equipment rank is in running order.Also, After the secondary cell of electronic equipment starts, the server that is communicated with electronic equipment can in time to the current operating conditions of electronics into Row diagnosis, is managed electronic equipment to be conducive to administrative staff.
Optionally, described device can also include:
First notification message generation module, for after the startup secondary cell, generating battery management notice and disappearing Breath.
Optionally, in the case where the electronic equipment is intelligent robot, the first kind functional unit includes following At least one of functional unit:Chassis, mechanical arm, movable joint, top level control plate, router, screen, security control plate, Sensor.
Optionally, the second class functional unit includes at least one of following functions unit:Top level control plate, routing Device, screen, security control plate, sensor.
Optionally, described device can also include:
Predetermined electricity judgment module is used to be in the current of the battery of power supply state in the detection electronic equipment After remaining capacity, judge whether the current residual electricity is less than predetermined electricity;
Second notification message generation module, if judging that current residual electricity is small for the predetermined electricity judgment module When predetermined electricity, the notification message for electricity is generated.
The embodiment of the present invention additionally provides a kind of electronic equipment, as shown in fig. 7, comprises processor 701, communication interface 702, Memory 703 and communication bus 704, wherein processor 701, communication interface 702, memory 703 are complete by communication bus 704 At mutual communication,
Memory 703, for storing computer program;
Processor 701 when for executing the program stored on memory 703, realizes what the embodiment of the present invention was provided Control method of electronic device.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), can also include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
Compared with prior art, the technical solution of the embodiment of the present invention is in power supply state by detecting in electronic equipment Battery current residual electricity;According to current residual electricity, determines and belong to the of the corresponding rank of the current residual electricity A kind of functional unit;Battery of the control in power supply state is powered for the first kind functional unit.Therefore, at electronic equipment When power supply state, the battery of electronic equipment can be to be supplied with the first kind functional unit of battery current residual electricity corresponding level Electricity ensures that first kind functional unit can work normally, to realize the differentiated control of electric device battery, extends battery Powers duration.
Fourth aspect additionally provides a kind of computer readable storage medium in another embodiment provided by the invention, should It is stored with computer program in computer readable storage medium, the embodiment of the present invention is realized when computer program is executed by processor The control method of electronic device provided.
Compared with prior art, the technical solution of the embodiment of the present invention is in power supply state by detecting in electronic equipment Battery current residual electricity;According to current residual electricity, determines and belong to the of the corresponding rank of the current residual electricity A kind of functional unit;Battery of the control in power supply state is powered for the first kind functional unit.Therefore, at electronic equipment When power supply state, the battery of electronic equipment can be to be supplied with the first kind functional unit of battery current residual electricity corresponding level Electricity ensures that first kind functional unit can work normally, to realize the differentiated control of electric device battery, extends battery Powers duration.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For electronic equipment, computer readable storage medium embodiment, since it is substantially similar to the method embodiment, so the ratio of description Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of electronic equipment control method, which is characterized in that it is applied to electronic equipment, the method includes:
Detect the current residual electricity of the battery in power supply state in the electronic equipment;
Determine the functional unit for belonging to the corresponding rank of the current residual electricity, and as first kind functional unit;
The control battery in power supply state is powered for the first kind functional unit.
2. according to the method described in claim 1, it is characterized in that, the electronic equipment includes:Main battery and secondary cell, it is described Battery in power supply state is the main battery, and the method further includes:
When meeting preset battery switching condition, the main battery is switched into non-power supply state by power supply state, and start The secondary cell;
Determine the functional unit for the electronic equipment for needing the secondary cell power supply, and as the second class functional unit;
The secondary cell is controlled to power for the second class functional unit.
3. according to the method described in claim 2, it is characterized in that, being the second class functional unit controlling the secondary cell After power supply, the method further includes:
Collect the current operating conditions information of the electronic equipment;
The current operating conditions information is sent to the server communicated to connect with the electronic equipment, so that the service Device carries out condition diagnosing according to the current operating conditions information to the electronic equipment.
4. according to the method described in claim 2, it is characterized in that, after the startup secondary cell, the method is also Including:
Generate battery management notification message.
5. according to claim 2-4 any one of them methods, which is characterized in that in the electronic equipment be intelligent robot In the case of, the first kind functional unit includes at least one of following functions unit:Chassis, mechanical arm, movable joint, on Layer control panel, router, screen, security control plate, sensor.
6. according to the method described in claim 5, it is characterized in that, the second class functional unit includes in following functions unit At least one:Top level control plate, router, screen, security control plate, sensor.
7. according to the described method of any one of claim 1-4, which is characterized in that in the detection electronic equipment After the current residual electricity of the battery of power supply state, the method further includes:
Judge whether the current residual electricity is less than predetermined electricity;
If it is, generating the notification message for electricity.
8. a kind of electronic equipment control device, which is characterized in that be applied to electronic equipment, described device includes:
Electric power detection module, the current residual electricity for detecting the battery in power supply state in the electronic equipment;
First kind functional unit determining module, for according to the current residual electricity, determining and being in power supply state described in needing The battery powered electronic equipment functional unit, and as first kind functional unit;
First control module is powered for controlling the battery in power supply state for the first kind functional unit.
9. device according to claim 8, which is characterized in that described device further includes:
Secondary cell starting module, for including main battery and secondary cell in the electronic equipment, and it is described in power supply state When battery is the main battery, when meeting preset battery switching condition, the main battery is switched to not by power supply state Power supply state, and start the secondary cell;
Second class functional unit determining module, the function list for determining the electronic equipment for needing the secondary cell power supply Member, and as the second class functional unit;
Second control module is powered for controlling the secondary cell for the second class functional unit.
10. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and steps of claim 1-7.
CN201710525739.8A 2017-06-30 2017-06-30 A kind of electronic equipment control method, device, electronic equipment and storage medium Pending CN108733188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710525739.8A CN108733188A (en) 2017-06-30 2017-06-30 A kind of electronic equipment control method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710525739.8A CN108733188A (en) 2017-06-30 2017-06-30 A kind of electronic equipment control method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108733188A true CN108733188A (en) 2018-11-02

Family

ID=63940308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710525739.8A Pending CN108733188A (en) 2017-06-30 2017-06-30 A kind of electronic equipment control method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108733188A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297535A (en) * 2019-07-05 2019-10-01 Oppo(重庆)智能科技有限公司 Mobile terminal method of supplying power to, mobile terminal power supply unit and mobile terminal
CN110601292A (en) * 2019-09-17 2019-12-20 Oppo(重庆)智能科技有限公司 Battery management method, device, storage medium and electronic equipment
CN111464671A (en) * 2019-01-18 2020-07-28 青岛海信移动通信技术股份有限公司 Electronic equipment and charging method thereof
CN110177035B (en) * 2019-05-15 2021-12-14 北京猎户星空科技有限公司 Data receiving and sending method, device and data receiving and sending system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1665097A (en) * 2004-03-01 2005-09-07 宏碁股份有限公司 Power supply system for supplying power to an electronic apparatus
CN101867198A (en) * 2009-04-20 2010-10-20 龙旗科技(上海)有限公司 Realizing device and control method for standby battery of mobile phone
JP2012085238A (en) * 2010-10-14 2012-04-26 Ricoh Co Ltd Image processing device, power control method and power control program therefor, and recording medium
US20120131367A1 (en) * 2010-11-18 2012-05-24 Panasonic Corporation Device and method for controlling secondary battery
CN102638615A (en) * 2012-03-28 2012-08-15 惠州Tcl移动通信有限公司 Cellphone and control method thereof
US20120331313A1 (en) * 2011-06-24 2012-12-27 Ricoh Company, Limited Image forming apparatus, power supply control method, and computer-readable storage medium
WO2013109242A1 (en) * 2012-01-16 2013-07-25 Honeywell International Inc. Accurate determination of remaining time to battery empty in a powered air purifying respirator
CN104824927A (en) * 2015-04-30 2015-08-12 成都迈奥信息技术有限公司 Dual-power anti-lost induction-charging watchband
US20150282071A1 (en) * 2012-09-25 2015-10-01 Kyocera Corporation Portable terminal and display control method
CN106300553A (en) * 2016-09-30 2017-01-04 成都普诺思博科技有限公司 A kind of mobile power management system of robot and method
CN106797133A (en) * 2017-01-05 2017-05-31 深圳市大疆创新科技有限公司 Control method, control device and electronic installation

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1665097A (en) * 2004-03-01 2005-09-07 宏碁股份有限公司 Power supply system for supplying power to an electronic apparatus
CN101867198A (en) * 2009-04-20 2010-10-20 龙旗科技(上海)有限公司 Realizing device and control method for standby battery of mobile phone
JP2012085238A (en) * 2010-10-14 2012-04-26 Ricoh Co Ltd Image processing device, power control method and power control program therefor, and recording medium
US20120131367A1 (en) * 2010-11-18 2012-05-24 Panasonic Corporation Device and method for controlling secondary battery
US20120331313A1 (en) * 2011-06-24 2012-12-27 Ricoh Company, Limited Image forming apparatus, power supply control method, and computer-readable storage medium
WO2013109242A1 (en) * 2012-01-16 2013-07-25 Honeywell International Inc. Accurate determination of remaining time to battery empty in a powered air purifying respirator
CN102638615A (en) * 2012-03-28 2012-08-15 惠州Tcl移动通信有限公司 Cellphone and control method thereof
US20150282071A1 (en) * 2012-09-25 2015-10-01 Kyocera Corporation Portable terminal and display control method
CN104824927A (en) * 2015-04-30 2015-08-12 成都迈奥信息技术有限公司 Dual-power anti-lost induction-charging watchband
CN106300553A (en) * 2016-09-30 2017-01-04 成都普诺思博科技有限公司 A kind of mobile power management system of robot and method
CN106797133A (en) * 2017-01-05 2017-05-31 深圳市大疆创新科技有限公司 Control method, control device and electronic installation

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464671A (en) * 2019-01-18 2020-07-28 青岛海信移动通信技术股份有限公司 Electronic equipment and charging method thereof
CN110177035B (en) * 2019-05-15 2021-12-14 北京猎户星空科技有限公司 Data receiving and sending method, device and data receiving and sending system
CN110297535A (en) * 2019-07-05 2019-10-01 Oppo(重庆)智能科技有限公司 Mobile terminal method of supplying power to, mobile terminal power supply unit and mobile terminal
CN110297535B (en) * 2019-07-05 2021-08-13 Oppo(重庆)智能科技有限公司 Mobile terminal power supply method, mobile terminal power supply device and mobile terminal
CN110601292A (en) * 2019-09-17 2019-12-20 Oppo(重庆)智能科技有限公司 Battery management method, device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN108733188A (en) A kind of electronic equipment control method, device, electronic equipment and storage medium
CN106356925B (en) Mobile terminal and its battery charge controller, charge control method
CN102394974B (en) The processing method of locking terminal and device
CN103477328B (en) Terminal device, control device, malfunction determination system, and method for determining malfunction
CN105867196A (en) Express delivery cabinet and power control board
CN103514039B (en) Method of controlling operation thereof and electronic equipment
CN103902011A (en) Electronic device controlling method and electronic device
CN101714766A (en) Battery high-temperature status prevention and protection method and system
CN109755997A (en) A kind of charging method and terminal device
CN104897951B (en) A kind of warning device and method
CN101655734B (en) Computer with power saving state control and control method
CN202929415U (en) CAN bus based industrial alarm network system monitoring host
CN107371214A (en) Control method, device, storage medium and the terminal of terminal
CN205862458U (en) The self-checking system of portable power source lending system and portable power source lending system
CN106646085A (en) Electric leakage test method, device and equipment
CN203387296U (en) Three-power supply redundancy power supply device and portable device
CN106027954A (en) Safety protection equipment and power supply method thereof
CN106067222A (en) The self checking method of portable power source lending system, system and portable power source lending system
CN218352671U (en) Microphone assembly capable of automatically identifying on-off state
CN106375966A (en) Message processing method and smart terminal
CN108683031B (en) Intelligent plug, control method thereof and patch board with intelligent plug
CN105467849B (en) The monitoring method and system of intelligent air switch
CN207234519U (en) Outage detection control circuit and gas meter, flow meter
CN105870520A (en) Control method, device and system of lithium battery
CN105162241B (en) A kind of detection process method and apparatus of terminal 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