CN104657188B - A kind of start-up control method, device and electronic equipment - Google Patents

A kind of start-up control method, device and electronic equipment Download PDF

Info

Publication number
CN104657188B
CN104657188B CN201510129331.XA CN201510129331A CN104657188B CN 104657188 B CN104657188 B CN 104657188B CN 201510129331 A CN201510129331 A CN 201510129331A CN 104657188 B CN104657188 B CN 104657188B
Authority
CN
China
Prior art keywords
electronic equipment
battery capacity
early warning
user
warning threshold
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.)
Active
Application number
CN201510129331.XA
Other languages
Chinese (zh)
Other versions
CN104657188A (en
Inventor
陈实
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510129331.XA priority Critical patent/CN104657188B/en
Publication of CN104657188A publication Critical patent/CN104657188A/en
Application granted granted Critical
Publication of CN104657188B publication Critical patent/CN104657188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

Start-up control method, device and electronic equipment disclosed in the present application boot up pretreatment to electronic equipment in the power-on instruction for receiving user;The battery capacity of electronic equipment is obtained after executing booting pretreatment, and is based on battery capacity numerical value, and corresponding booting control is carried out to electronic equipment.It can be seen that, it is different from the prior art, the application obtains battery capacity in user's start process, before the os starting of equipment, and the actual numerical value according to battery capacity, booting control needed for carrying out to electronic equipment such as when practical application the application, can be carried out electricity early warning based on the battery capacity value of acquisition, stop low establishing the bootings such as machine control by cable, it avoids low machine of establishing by cable to adversely affect equipment bring, while the user experience is improved.

Description

A kind of start-up control method, device and electronic equipment
Technical field
The invention belongs to the electric-quantity monitoring of mobile device and booting control technology fields more particularly to a kind of booting controlling party Method, device and electronic equipment.
Background technique
Current mobile device can only terminate in user's booting, the operating system of equipment (such as android system) has started Cheng Hou could detect battery capacity, and early warning is carried out when electricity is lower, actively be shut down by user, or continue consumption extremely in electricity Automatic shutdown when system operates normally the minimum threshold values of institute's electricity demand.
As it can be seen that existing mobile device can not know battery capacity in start process, and in low battery to equipment into Row electricity early warning, stop it is low establish by cable the bootings such as machine control, certain adverse effect can be generated to equipment itself, meanwhile, electricity Booting → shutdown process when measuring lower also reduces user experience.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of start-up control method, device and electronic equipments, it is intended to solve Existing equipment can not know battery capacity in start process, and carry out required booting to equipment based on battery capacity and control this One problem.
For this purpose, the present invention is disclosed directly below technical solution:
A kind of start-up control method is applied to electronic equipment, which comprises
When receiving the power-on instruction of user, pretreatment is booted up to electronic equipment;
Obtain the battery capacity of electronic equipment;
Based on the battery capacity, control is booted up to electronic equipment.
The above method, it is preferable that when the power-on instruction for receiving user, pretreatment packet is booted up to electronic equipment It includes:
System start-up loading device is loaded and executes, to initialize the hardware system of electronic equipment, establish in electronic equipment Deposit space reflection figure;
Execute quick start primary control program.
The above method, it is preferable that it is described obtain electronic equipment battery capacity include:
It calls and executes preset battery charge sensor driver, to drive battery charge sensor to work normally, The calling code of the battery charge sensor driver is embedded in the quick start primary control program;
The battery capacity of electronic equipment is obtained by the battery charge sensor.
The above method, it is preferable that described to be based on the battery capacity, booting up control to electronic equipment includes:
Judge whether the battery capacity is lower than preset electricity early warning threshold values;
If the determination result is YES, then it prompts user to charge, and shutdown is executed to electronic equipment.
The above method, it is preferable that the electricity early warning threshold values is stored in preset partition holding, in the partition holding It is stored with the quick start primary control program.
The above method, it is preferable that further include:
If judging result is no, guidance and start-up operation system.
The above method, it is preferable that further include:
It receives user and is based on the operating system, to electricity number set by the electricity early warning threshold values in the partition holding Value;
It is SOC values set by user by the electricity early warning threshold value update.
A kind of start-up control device, is applied to electronic equipment, and described device includes:
Preprocessing module, for booting up pretreatment to electronic equipment in the power-on instruction for receiving user;
Module is obtained, for obtaining the battery capacity of electronic equipment;
Control module boots up control to electronic equipment for being based on the battery capacity.
Above-mentioned apparatus, it is preferable that the preprocessing module includes:
First execution unit, for loading and executing system start-up loading device, with initialize electronic equipment hardware system, Establish the memory headroom mapping graph of electronic equipment;
Second execution unit, for executing quick start primary control program.
Above-mentioned apparatus, it is preferable that the acquisition module includes:
Call unit, for calling and executing preset battery charge sensor driver, to drive battery capacity to pass Sensor works normally, and the calling code of the battery charge sensor driver is embedded in the quick start primary control program In;
Acquiring unit, for obtaining the battery capacity of electronic equipment by the battery charge sensor.
Above-mentioned apparatus, it is preferable that the control module includes:
Judging unit, for judging whether the battery capacity is lower than preset electricity early warning threshold values;
Shut down unit, is to prompt user's charging, and to electronic equipment when being for the judging result in the judging unit Execute shutdown.
Above-mentioned apparatus, it is preferable that the control module further include:
Start unit, for the judging result in the judging unit be it is no when, guide and start-up operation system.
Above-mentioned apparatus, it is preferable that further include setup module, the setup module includes:
Receiving unit is based on the operating system for receiving user, to electricity set by the electricity early warning threshold values Numerical value;The electricity early warning threshold values is stored in preset partition holding, and the quick start is stored in the partition holding Primary control program;
Updating unit, for being SOC values set by user by the electricity early warning threshold value update.
A kind of electronic equipment, including start-up control device as described above.
As it can be seen from the above scheme start-up control method disclosed in the present application, device and electronic equipment, are receiving user's When power-on instruction, pretreatment is booted up to electronic equipment;The battery electricity of electronic equipment is obtained after executing booting pretreatment Amount, and it is based on battery capacity numerical value, corresponding booting control is carried out to electronic equipment.As it can be seen that being different from the prior art, the application In user's start process, battery capacity, and the actual numerical value according to battery capacity are obtained before the os starting of equipment, Booting control needed for being carried out to electronic equipment, such as when practical application the application, can be carried out based on the battery capacity value of acquisition Electricity early warning, stop it is low establish by cable the bootings such as machine control, avoid it is low establish by cable machine to equipment bring adversely affect, improve simultaneously User experience.
Detailed description of the invention
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 technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of start-up control method embodiment one provided by the present application;
Fig. 2 is a kind of flow chart of start-up control method embodiment two provided by the present application;
Fig. 3 is a kind of flow chart of start-up control method embodiment three provided by the present application;
Fig. 4 is a kind of flow chart of start-up control method example IV provided by the present application;
Fig. 5 is a kind of structural schematic diagram of start-up control device embodiment five provided by the present application;
Fig. 6 is a kind of structural schematic diagram of start-up control device embodiment six provided by the present application;
Fig. 7 is a kind of structural schematic diagram of start-up control device embodiment seven provided by the present application;
Fig. 8 is a kind of structural schematic diagram of start-up control device embodiment eight provided by the present application.
Specific embodiment
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 description, 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.
Embodiment one
With reference to Fig. 1, Fig. 1 is a kind of flow chart of start-up control method embodiment one provided by the present application, and the method can Applied to electronic equipments such as smart phone, Pad (portable android device, tablet computer), as shown in Figure 1, described Method may comprise steps of:
S101: when receiving the power-on instruction of user, pretreatment is booted up to electronic equipment.
In the application, when user presses the power on button of electronic equipment, is powered on for electronic equipment, electronic equipment is received The power-on instruction that user is triggered by pressing power on button, and carry out following booting pretreatment immediately: it loads and executes and be System start-up loading device, with the memory headroom mapping graph for initializing the hardware system of electronic equipment, establishing electronic equipment;It executes quick Start primary control program.
By taking Android (Android) equipment as an example, when user, which is powered on, to be switched on, equipment can be by loading and executing Bootloader (system start-up loading device), which is realized, to be initialized hardware, establishes memory headroom mapping graph, formats flash subarea etc. Opening initialization function, and fastboot (quick start) primary control program is executed, it is subsequent to be embodied as into fastboot mode The acquisition and booting control of battery capacity provide indispensable soft and hardware environmental basis.
S102: the battery capacity of electronic equipment is obtained.
Battery capacity can be known before the os starting of equipment to realize, the application is in advance in fastboot The calling code and battery capacity that battery charge sensor driver is embedded in primary control program obtain code, and simultaneously will be electric Pond electrical quantity sensor driver is stored in current known subregion --- and i.e. storage has fastboot primary control program In fastboot subregion, thus, successfully to call battery charge sensor driver to provide before os starting It supports.
In fastboot primary control program implementation procedure, generation can be called by its embedded battery charge sensor driver Code calls battery charge sensor driver out of fastboot subregion, and loads, executes the program, to drive battery electric Quantity sensor works normally.Later, it executes battery capacity and obtains code, obtain battery charge sensor battery electricity detected Amount.
S103: it is based on the battery capacity, control is booted up to electronic equipment.
After the battery capacity for obtaining electronic equipment, battery capacity numerical value can be carried out from preset different control strategies Mapping realizes that the booting needed for carrying out to electronic equipment controls.
As it can be seen from the above scheme start-up control method disclosed in the present application, in the power-on instruction for receiving user, to electricity Sub- equipment boots up pretreatment;The battery capacity of electronic equipment is obtained after executing booting pretreatment, and based on battery electricity Numerical quantity carries out corresponding booting control to electronic equipment.As it can be seen that being different from the prior art, the application is in user's start process In, before the os starting of equipment obtain battery capacity, and the actual numerical value according to battery capacity, electronic equipment is carried out Required booting control, such as when practical application the application, it can be low based on the battery capacity value of acquisition progress electricity early warning, stopping It establishes the bootings such as machine control by cable, avoids low machine of establishing by cable and equipment bring is adversely affected, while the user experience is improved.
Embodiment two
With reference to Fig. 2, Fig. 2 is a kind of flow chart of start-up control method embodiment two provided by the present application, in the present embodiment, The step S103 can be realized by following steps:
S201: judge whether the battery capacity is lower than preset electricity early warning threshold values;
S202: it if the determination result is YES, then prompts user to charge, and shutdown is executed to electronic equipment.
For the present embodiment after obtaining battery capacity, the path for continuing according to agreement obtains is stored in fastboot subregion in advance Interior electricity early warning threshold values, and battery capacity is compared with the electricity early warning threshold values.It is lower than the electricity in battery capacity When measuring early warning threshold values, the display driving of loading equipemtn carries out electricity early warning, prompts user's charging, and enter shutdown process immediately Shutdown is executed, low electric switch on condition is avoided.
Wherein, the display driving of equipment is equally stored in fastboot subregion.
In practical application scene, the electricity early warning threshold values is generally greater than the minimum electricity valve needed for system operates normally Value, for example, it is assumed that minimum electricity threshold values needed for system normal boot-strap, operation is 2% (percentage for accounting for battery total capacity), then The electricity early warning threshold values can be set as the numerical value greater than 2% such as 8% or 9%, low electric protection is carried out to electronic equipment to realize.
Embodiment three
With reference to Fig. 3, Fig. 3 is a kind of flow chart of start-up control method embodiment three provided by the present application, the present embodiment base The scheme described in embodiment two, as shown in figure 3, the method can also include:
S301: if judging result is no, guidance and start-up operation system.
If battery capacity is not less than the electricity early warning threshold values, characterizing battery capacity can satisfy the normal of device systems Operation, and will not have an adverse effect to equipment, therefore controllable device enters normal Booting sequence.
It, can be in fastboot master control journey when battery capacity is not less than electricity early warning threshold values still by taking Android device as an example Under the guidance of sequence (subregion where guidance to Android operation system), the image file of android system is loaded and runs, i.e., Boot.img file, to realize the guidance and starting of Android operation system.
Example IV
With reference to Fig. 4, Fig. 4 is a kind of flow chart of start-up control method example IV provided by the present application, the present embodiment base The scheme described in embodiment three, as shown in figure 4, start-up control method described in the present embodiment can also include following step It is rapid:
S401: it receives user and is based on the operating system, to set by the electricity early warning threshold values in the partition holding SOC values;
S402: being SOC values set by user by the electricity early warning threshold value update.
In the present embodiment, when battery capacity is not less than preset electricity early warning threshold values, the operating system of equipment normally starts Afterwards, user can the operating system based on operation sets itself is carried out to the electricity early warning threshold values that is stored in fastboot subregion.
In practical application scene, device systems can be used the form of application and provide the setting function of electricity early warning threshold values for user Can, with user-friendly.
Embodiment five
With reference to Fig. 5, Fig. 5 is a kind of structural schematic diagram of start-up control device embodiment five provided by the present application, the dress It sets and can be applied to the electronic equipments such as smart phone, Pad, as shown in figure 5, the apparatus may include preprocessing module 100, obtaining Module 200 and control module 300.
Preprocessing module 100, for booting up pretreatment to electronic equipment in the power-on instruction for receiving user.
The module includes the first execution unit and the second execution unit.Wherein, the first execution unit, for loading and executing System start-up loading device, with the memory headroom mapping graph for initializing the hardware system of electronic equipment, establishing electronic equipment;Second holds Row unit, for executing quick start primary control program.
In the application, when user presses the power on button of electronic equipment, is powered on for electronic equipment, electronic equipment is received The power-on instruction that user is triggered by pressing power on button, and pretreatment is booted up immediately.
By taking Android (Android) equipment as an example, when user, which is powered on, to be switched on, equipment can be by loading and executing Bootloader (system start-up loading device), which is realized, to be initialized hardware, establishes memory headroom mapping graph, formats flash subarea etc. Opening initialization function, and fastboot (quick start) primary control program is executed, it is subsequent to be embodied as into fastboot mode The acquisition and booting control of battery capacity provide indispensable soft and hardware environmental basis.
Module 200 is obtained, for obtaining the battery capacity of electronic equipment.
The module includes call unit and acquiring unit.Call unit is passed for calling and executing preset battery capacity Sensor driver, to drive battery charge sensor to work normally, the calling generation of the battery charge sensor driver Code is embedded in the quick start primary control program;Acquiring unit is set for obtaining electronics by the battery charge sensor Standby battery capacity.
Battery capacity can be known before the os starting of equipment to realize, the application is in advance in fastboot The calling code and battery capacity that battery charge sensor driver is embedded in primary control program obtain code, and simultaneously will be electric Pond electrical quantity sensor driver and electricity early warning threshold values are stored in current known subregion --- and i.e. storage has fastboot master In the fastboot subregion for controlling program, thus, successfully to call battery charge sensor to drive journey before os starting Sequence and successfully obtain electricity early warning threshold values provide support.
In fastboot primary control program implementation procedure, generation can be called by its embedded battery charge sensor driver Code calls battery charge sensor driver out of fastboot subregion, and loads, executes the program, to drive battery electric Quantity sensor works normally.Later, it executes battery capacity and obtains code, obtain battery charge sensor battery electricity detected Amount.
Control module 300 boots up control to electronic equipment for being based on the battery capacity.
After the battery capacity for obtaining electronic equipment, battery capacity numerical value can be carried out from preset different control strategies Mapping realizes that the booting needed for carrying out to electronic equipment controls.
As it can be seen from the above scheme start-up control device disclosed in the present application, in the power-on instruction for receiving user, to electricity Sub- equipment boots up pretreatment;The battery capacity of electronic equipment is obtained after executing booting pretreatment, and based on battery electricity Numerical quantity carries out corresponding booting control to electronic equipment.As it can be seen that being different from the prior art, the application is in user's start process In, before the os starting of equipment obtain battery capacity, and the actual numerical value according to battery capacity, electronic equipment is carried out Required booting control, such as when practical application the application, it can be low based on the battery capacity value of acquisition progress electricity early warning, stopping It establishes the bootings such as machine control by cable, avoids low machine of establishing by cable and equipment bring is adversely affected, while the user experience is improved.
Embodiment six
With reference to Fig. 6, Fig. 6 is a kind of structural schematic diagram of start-up control device embodiment six provided by the present application, this implementation In example, the control module 300 may include judging unit 301 and shutdown unit 302.
Judging unit 301, for judging whether the battery capacity is lower than preset electricity early warning threshold values;
Shut down unit 302, is to prompt user's charging, and to electricity when being for the judging result in the judging unit 301 Sub- equipment executes shutdown.
For the present embodiment after obtaining battery capacity, the path for continuing according to agreement obtains is stored in fastboot subregion in advance Interior electricity early warning threshold values, and battery capacity is compared with the electricity early warning threshold values.It is lower than the electricity in battery capacity When measuring early warning threshold values, the display driving of loading equipemtn carries out electricity early warning, prompts user's charging, and enter shutdown process immediately Shutdown is executed, low electric switch on condition is avoided.
Wherein, the display driving of equipment is equally stored in fastboot subregion.
In practical application scene, the electricity early warning threshold values is generally greater than the minimum electricity valve needed for system operates normally Value, for example, it is assumed that minimum electricity threshold values needed for system normal boot-strap, operation is 2% (percentage for accounting for battery total capacity), then The electricity early warning threshold values can be set as the numerical value greater than 2% such as 8% or 9%, low electric protection is carried out to electronic equipment to realize.
Embodiment seven
With reference to Fig. 7, Fig. 7 is a kind of structural schematic diagram of start-up control device embodiment seven provided by the present application, this implementation Example is based on scheme described in embodiment six, as shown in fig. 7, the control module 300 of described device can also include start unit 303, for the judging result in the judging unit 301 be it is no when, guide and start-up operation system.
If battery capacity is not less than the electricity early warning threshold values, device systems can be can satisfy by characterizing battery capacity It operates normally, and will not have an adverse effect to equipment, therefore controllable device enters normal Booting sequence.
It, can be in fastboot master control journey when battery capacity is not less than electricity early warning threshold values still by taking Android device as an example Under the guidance of sequence (subregion where guidance to Android operation system), the image file of android system is loaded and runs, i.e., Boot.img file, to realize the guidance and starting of Android operation system.
Embodiment eight
With reference to Fig. 8, Fig. 8 is a kind of structural schematic diagram of start-up control device embodiment eight provided by the present application, this implementation In example, described device can also include setup module 400, which includes receiving unit 401 and updating unit 402.
Receiving unit 401 is based on the operating system for receiving user, to electricity set by the electricity early warning threshold values Numerical quantity;The electricity early warning threshold values is stored in preset partition holding, is stored with and described is quickly opened in the partition holding Dynamic primary control program.
Updating unit 402, for being SOC values set by user by the electricity early warning threshold value update.
In the present embodiment, when battery capacity is not less than preset electricity early warning threshold values, the operating system of equipment normally starts Afterwards, user can the operating system based on operation sets itself is carried out to the electricity early warning threshold values that is stored in fastboot subregion.
In practical application scene, device systems can be used the form of application and provide the setting function of electricity early warning threshold values for user Can, with user-friendly.
Embodiment nine
The present embodiment discloses a kind of electronic equipment, and the electronic equipment includes such as embodiment five to any implementation of embodiment eight Start-up control device provided by example, the electronic equipment can be the equipment such as smart phone, Pad.
As it can be seen from the above scheme electronic equipment disclosed in the present application sets electronics in the power-on instruction for receiving user It is standby to boot up pretreatment;The battery capacity of electronic equipment is obtained after executing booting pretreatment, and is based on battery capacity number Value carries out corresponding booting control to electronic equipment.As it can be seen that be different from the prior art, the application in user's start process, set Battery capacity, and the actual numerical value according to battery capacity are obtained before standby os starting, needed for carrying out to electronic equipment Booting control, such as when practical application the application, electricity early warning can be carried out based on the battery capacity value of acquisition, stops low establishing by cable The bootings such as machine control avoids low machine of establishing by cable and adversely affects to equipment bring, while the user experience is improved.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For convenience of description, it describes to be divided into various modules when system above with function or unit describes respectively.Certainly, exist Implement to realize the function of each unit in the same or multiple software and or hardware when the application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the certain of each embodiment of the application or embodiment Method described in part.
Finally, it is to be noted that, herein, such as first, second, third and fourth or the like relational terms It is only used to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying these There are any actual relationship or orders between entity or operation.Moreover, the terms "include", "comprise" or its is any Other variants are intended to non-exclusive inclusion, so that including the process, method, article or equipment of a series of elements Include not only those elements, but also including other elements that are not explicitly listed, or further includes for this process, side Method, article or the intrinsic element of equipment.In the absence of more restrictions, limited by sentence "including a ..." Element, it is not excluded that there is also other identical elements in the process, method, article or apparatus that includes the element.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (12)

1. a kind of start-up control method, which is characterized in that be applied to electronic equipment, which comprises
When receiving the power-on instruction of user, pretreatment is booted up to electronic equipment, to enter fastboot mode;
The battery capacity of electronic equipment is obtained in fastboot mode;
It is based on the battery capacity in fastboot mode, control is booted up to electronic equipment;
Wherein, described that the battery capacity is based in fastboot mode, control is booted up to electronic equipment, comprising: In the case that the battery capacity is not less than preset electricity early warning threshold values, is guided in fastboot mode and starting electronics is set Standby operating system.
2. the method according to claim 1, wherein being set when the power-on instruction for receiving user to electronics Include: for pretreatment is booted up
System start-up loading device is loaded and executes, with the memory sky for initializing the hardware system of electronic equipment, establishing electronic equipment Between mapping graph;
Execute quick start primary control program.
3. according to the method described in claim 2, it is characterized in that, the battery capacity for obtaining electronic equipment includes:
Preset battery charge sensor driver is called and executes, it is described to drive battery charge sensor to work normally The calling code of battery charge sensor driver is embedded in the quick start primary control program;
The battery capacity of electronic equipment is obtained by the battery charge sensor.
4. according to the method described in claim 3, it is characterized in that, described be based on the battery capacity, to electronic equipment progress Booting control further include:
In the case where the battery capacity is lower than the electricity early warning threshold values, user's charging is prompted, and execute to electronic equipment Shutdown.
5. according to the method described in claim 4, it is characterized in that, the electricity early warning threshold values is stored in preset partition holding It is interior, the quick start primary control program is stored in the partition holding.
6. according to the method described in claim 5, it is characterized by further comprising:
It receives user and is based on the operating system, to SOC values set by the electricity early warning threshold values in the partition holding;
It is SOC values set by user by the electricity early warning threshold value update.
7. a kind of start-up control device, which is characterized in that be applied to electronic equipment, described device includes:
Preprocessing module, for booting up pretreatment to electronic equipment in the power-on instruction for receiving user, to enter Fastboot mode;
Module is obtained, for obtaining the battery capacity of electronic equipment in fastboot mode;
Control module boots up control to electronic equipment for being based on the battery capacity in fastboot mode;
Wherein, the control module includes start unit, for being not less than preset electricity early warning threshold values in the battery capacity In the case where, the operating system of electronic equipment is guided and started in fastboot mode.
8. device according to claim 7, which is characterized in that the preprocessing module includes:
First execution unit, for loading and executing system start-up loading device, to initialize the hardware system of electronic equipment, establish The memory headroom mapping graph of electronic equipment;
Second execution unit, for executing quick start primary control program.
9. device according to claim 8, which is characterized in that the acquisition module includes:
Call unit, for calling and executing preset battery charge sensor driver, to drive battery charge sensor It works normally, the calling code of the battery charge sensor driver is embedded in the quick start primary control program;
Acquiring unit, for obtaining the battery capacity of electronic equipment by the battery charge sensor.
10. device according to claim 9, which is characterized in that the control module further include:
Shut down unit, for prompting user's charging, and right in the case where the battery capacity is lower than the electricity early warning threshold values Electronic equipment executes shutdown.
11. device according to claim 10, which is characterized in that further include setup module, the setup module includes:
Receiving unit is based on the operating system for receiving user, to SOC values set by the electricity early warning threshold values; The electricity early warning threshold values is stored in preset partition holding, and the quick start master control journey is stored in the partition holding Sequence;
Updating unit, for being SOC values set by user by the electricity early warning threshold value update.
12. a kind of electronic equipment, which is characterized in that including the start-up control device as described in claim 7-11 any one.
CN201510129331.XA 2015-03-24 2015-03-24 A kind of start-up control method, device and electronic equipment Active CN104657188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510129331.XA CN104657188B (en) 2015-03-24 2015-03-24 A kind of start-up control method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510129331.XA CN104657188B (en) 2015-03-24 2015-03-24 A kind of start-up control method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN104657188A CN104657188A (en) 2015-05-27
CN104657188B true CN104657188B (en) 2019-01-15

Family

ID=53248367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510129331.XA Active CN104657188B (en) 2015-03-24 2015-03-24 A kind of start-up control method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN104657188B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105022649B (en) * 2015-07-23 2018-04-27 广东欧珀移动通信有限公司 A kind of starting up of terminal method and apparatus based on quickboot patterns
CN106959844A (en) * 2016-01-12 2017-07-18 西安中兴新软件有限责任公司 A kind of low method and device for establishing machine processing by cable
CN107273274A (en) * 2016-04-07 2017-10-20 中兴通讯股份有限公司 Display methods, device and the terminal of terminal
CN107528962A (en) * 2016-06-22 2017-12-29 中兴通讯股份有限公司 Mobile terminal quick start method and device
CN106130093A (en) * 2016-06-28 2016-11-16 努比亚技术有限公司 A kind of battery charge controller and method
CN107515746B (en) * 2017-08-09 2021-05-04 广州视源电子科技股份有限公司 Startup initialization method and device, electronic equipment and computer storage medium
CN107515749A (en) * 2017-08-15 2017-12-26 北京小米移动软件有限公司 Starting-up method, device and the electronic equipment of electronic equipment
CN108121431B (en) * 2017-12-22 2021-04-13 联想(北京)有限公司 Power supply control method and electronic equipment
CN108228298A (en) * 2018-01-02 2018-06-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN109992085A (en) * 2019-04-02 2019-07-09 山东超越数控电子股份有限公司 A kind of computer electric power management system, method and terminating machine
CN111176742B (en) * 2019-12-31 2021-10-22 联想(北京)有限公司 Processing method of initialization data and electronic equipment
CN111796877B (en) * 2020-07-14 2021-10-15 北京元心科技有限公司 Starting method of operating system, electronic device and computer readable storage medium
CN115113719A (en) * 2022-07-07 2022-09-27 南京微智新科技有限公司 Low-power startup method, device, equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996242A (en) * 2006-01-05 2007-07-11 英业达股份有限公司 Booting system in low-power mode and method therefor
CN101330696A (en) * 2008-07-29 2008-12-24 中兴通讯股份有限公司 Method and apparatus for managing terminal equipment battery electric quantity

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002199062A (en) * 2000-12-25 2002-07-12 Hitachi Ltd Portable terminal equipment
CN1690959A (en) * 2004-04-22 2005-11-02 上海迪比特实业有限公司 Portable information terminal and startup method thereof
CN101202555A (en) * 2006-12-11 2008-06-18 中兴通讯股份有限公司 System and method for managing mobile telephone power supply

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996242A (en) * 2006-01-05 2007-07-11 英业达股份有限公司 Booting system in low-power mode and method therefor
CN101330696A (en) * 2008-07-29 2008-12-24 中兴通讯股份有限公司 Method and apparatus for managing terminal equipment battery electric quantity

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Fastboot强刷救砖——救砖不用愁;jijixu03121;《http://bbs.gfan.com/android-6326440-1-1.html》;20130614;全文
XT928在Fastboot模式下USB不能连接电脑;prokingsz;《http://bbs.gfan.com/android-3801013-1-1.html》;20120309;全文

Also Published As

Publication number Publication date
CN104657188A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
CN104657188B (en) A kind of start-up control method, device and electronic equipment
US10592254B2 (en) Technologies for fast low-power startup of a computing device
EP3352325B1 (en) Charging control method and electronic device for supporting the same
CN106655396B (en) Charge control method, device and terminal
CN102799484B (en) The method and device of running of mobile terminal multiple operating system
CN103491248B (en) A kind of method of low electricity start and subscriber equipment
EP3376634A1 (en) Charge control method and electronic device based on voltage of battery
CN101663634A (en) Connection to a USB device
CN106532882A (en) Charging control method and device
CN103905603A (en) Mobile phone powering-on method and mobile phone powering-on system
CN105791999A (en) Control method and device of turn-on guidance program of intelligent television
WO2017121023A1 (en) Method and device for low power power-on processing
KR20130142073A (en) Method and terminal for using mobile memory card to boot up mobile phone operating system
CN103019758A (en) Electronic device starting-up acceleration method and related electronic device
CN107562448A (en) terminal initialization method and device
CN108196892B (en) Method and device for customizing system starting process and mobile terminal
CN105094911B (en) A key upgrade method and a key upgrading tool for wireless communication module
CN106919423B (en) Firmware upgrading method and device
CN107678871B (en) Electronic equipment starting method and electronic equipment
CN103167255B (en) A kind of method and system realizing quick start of smart TV
CN107423083A (en) A kind of installation method and device for pre-installing application
CN102681872A (en) Automatic cold boot method of notebook computer
CN103345454A (en) Peripheral device connection method of mobile terminal
CN107885548B (en) System starting method and device
KR101498756B1 (en) Embedded device for managing battery, software installation device and method thereof

Legal Events

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