CN110225576A - A kind of start-up control method and electronic equipment - Google Patents

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

Info

Publication number
CN110225576A
CN110225576A CN201910380590.8A CN201910380590A CN110225576A CN 110225576 A CN110225576 A CN 110225576A CN 201910380590 A CN201910380590 A CN 201910380590A CN 110225576 A CN110225576 A CN 110225576A
Authority
CN
China
Prior art keywords
power supply
operating mode
power
electronic equipment
mobile phone
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
CN201910380590.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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910380590.8A priority Critical patent/CN110225576A/en
Publication of CN110225576A publication Critical patent/CN110225576A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a kind of start-up control method and electronic equipment.This method comprises: determining that the electronic equipment is in the state of being electrically charged when electronic equipment detects power-on instruction;Detection is currently the power supply capacity of the power supply unit of electronic equipment charging;The operating mode that the determining power supply capacity with the power supply unit matches;The power-on instruction is responded, with operating mode booting.In this way, electronic equipment can be selected based on the power supply capacity of power supply unit with the booting of suitable operating mode, for example in capacity of power-sourcing equipment deficiency, avoid being switched on high power consumption mode, be switched on as far as possible using low-power consumption mode, to avoid being switched on repeatedly.

Description

A kind of start-up control method and electronic equipment
Technical field
This application involves field of terminal technology more particularly to a kind of start-up control methods and electronic equipment.
Background technique
Currently, the specifications and models of power supply adaptor workable for terminal device are numerous, for example come according to voltage and current specification Dividing has 12V/2A, 12V/1A, 5V/2A, 5V/1A etc., the interface rule of the power supply adaptor of same voltage specification difference current specification Lattice very likely indifference, for example the common interface specification of power supply adaptor of voltage and current specification 12V/1A and 12V/2A is DC 5.5*2.1mm interface, the common interface specification of voltage and current specification 5V/1A and 5V/2A is all the end Micro USB for another example Mouthful.User using power supply adaptor to terminal device when being charged, it is most likely that the power supply adaptor of same-interface used with, and User is possible and ignorant for the mixed influence to terminal device of power supply adaptor.In this way, when terminal device low battery is shut down Afterwards, when being switched on by power supply adaptor to terminal device charging, if be directly entered high power consumption mode after terminal device booting, but Power supply adaptor power supply capacity is insufficient at this time, and when can not support the high power consumption mode of terminal device, terminal device can be because of power supply Adapter power supply capacity is insufficient and the charging modes of the hiccup mode by power supply adaptor are influenced, and dysfunction occurs The problems such as (for example shutting down repeatedly), reduced performance, reliability reduce.
Summary of the invention
The embodiment of the present application provides a kind of start-up control method and electronic equipment, for avoiding because terminal device is connecting Power supply unit power supply capacity it is insufficient and when being directly entered high power consumption mode after being switched on, cause the various aspects of performance of terminal device by To the problem of influence.
In a first aspect, the embodiment of the present application provides a kind of start-up control method based on power supply unit, can be applied to each Kind electronic equipment, including but not limited to mobile phone, computer, bracelet and wearable device etc. are any required to carry out setting for charging booting In standby, this method can be executed by electronic equipment, can also be executed by the processing chip in electronic equipment.This method comprises: inspection When measuring power-on instruction, however, it is determined that the electronic equipment is in the state of being electrically charged, then detects and currently fill for the electronic equipment The power supply capacity of the power supply unit of electricity;The operating mode that the determining power supply capacity with the power supply unit matches;Described in response Power-on instruction, the operating mode booting to be matched with the power supply capacity of the power supply unit.
It in the embodiment of the present application, can be according to being currently what electronic equipment charged when electronic equipment is switched on The power supply capacity selection of power supply unit is with the booting of suitable operating mode.For example, being avoided enter into capacity of power-sourcing equipment deficiency High power consumption mode causes to be switched on repeatedly;When capacity of power-sourcing equipment is enough, low-power consumption mode is avoided enter into, influences user's use Experience.
In a kind of possible design, the determining operating mode to match with the power supply capacity, comprising: when the power supply When ability is less than first threshold, the first operating mode is determined;When the power supply capacity is more than or equal to the first threshold, less than the When two threshold values, the second operating mode is determined;When the power supply capacity is more than or equal to the second threshold, third Working mould is determined Formula;Wherein, first threshold be less than second threshold, the electronic equipment in this first operative mode needed for electric energy be less than Under second operating mode needed for electric energy, the electronic equipment in the second mode of operation needed for electric energy be less than Electric energy needed under the third operating mode.I.e. in the embodiment of the present application, when the power supply capacity of power supply unit is stronger, electricity Sub- equipment can be switched on the third operating mode of higher power dissipation, avoided enter into low-power consumption mode, influenced user experience;Work as power supply When the power supply capacity of equipment is weaker, electronic equipment can be also switched on the first or second operating mode of lower power consumption, be avoided enter into High power consumption mode causes to be switched on repeatedly.
In conjunction with above-mentioned, if electronic equipment can also continue to detect the electronics after with first operating mode booting The electricity of equipment;When the electricity is greater than the first default electricity, second Working mould is switched by the first operating mode Formula;And/or the electricity be greater than the second default electricity when, by the first operating mode switch into second operating mode or Person switches into the third operating mode by the first operating mode;Wherein, the described first default electricity is less than the second default electricity Amount.
In the embodiment of the present application, if electronic equipment is switched on the first or second operating mode of lower power consumption, work as electronics Equipment be powered equipment charge it is enough to electricity when, be automatically moved back to the Working mould of normal mode of operation or higher power dissipation Formula.In this way, it helps avoid electronic equipment and is constantly in low-power consumption mode work, influence user experience.
Among the above, the third operating mode in higher power dissipation can be that can watch video, using various APP, screen The mode for the states such as brightness is higher, volume is larger, the first or second operating mode in lower power consumption can be unusable APP, the mode for being only capable of the states such as making and receiving calls, screen intensity are lower or volume is smaller.
In a kind of possible design, the power supply capacity of the power supply unit include but is not limited to be the power supply unit Export at least one of electric current, output voltage, output power.It should be understood that above-mentioned several parameters are only the confessions to power supply unit The citing of electric energy power is not to limit.Power supply unit in the embodiment of the present invention can be power supply adaptor etc. have be that electronics is set The device of standby charging.
In a kind of possible design, the power-on instruction is responded, before operating mode booting, the method is also It may include: the first prompt information of output, first prompt information is for prompting the user whether with operating mode booting; With operating mode booting, comprising: when detecting that user instructs for responding the confirmation of first prompt information, with institute State the operating mode booting that the power supply capacity of power supply unit matches.Wherein, the first prompt information can be to show on a display screen Show text or animation information, or is directly prompted by way of sound.
In the embodiment of the present application, electronic equipment is determined with before the booting of certain operating mode of lower power consumption, can be with It prompts the user whether with operating mode booting, if detecting agreement instruction, then with operating mode booting.Pass through this side Formula, electronic equipment can provide the chance of selection power on mode for user, help to promote user experience.
In a kind of possible design, after the operating mode booting to be matched with the power supply capacity of the power supply unit, Electronic equipment can also export the second prompt information, and second prompt information is for prompting the current of the electronic device works Operating mode, such as above-mentioned the first operating mode or the second operating mode or third operating mode etc..Wherein, the second prompt letter Breath can be to show text or animation information on a display screen, or directly prompt by way of sound.In this way, electronic equipment After the booting of certain operating mode, consumer electronic devices can be prompted currently to be under this kind of operating mode, help to mention Rise user experience.
In a kind of possible design, the operating mode that the determining power supply capacity with the power supply unit matches it Before, electronic equipment can also judge whether the power supply capacity of the built-in power of the electronic equipment meets filling for the electronic equipment Electricity demanding;When determining that the power supply capacity of the built-in power is unsatisfactory for the charge requirement, then execute the determining and power supply The operation for the operating mode that the power supply capacity of equipment matches.In the embodiment of the present application, electronic equipment detects power-on operation When, it can first consider the power supply capacity of built-in power, consider further that the power supply capacity of power supply unit, for example, if working as built-in power not Meet condition, then judge whether electronic equipment is currently being powered equipment charge, if so, based on power supply unit for electric energy Power selects suitable operating mode booting.
Correspondingly, electronic equipment can also meet the electricity in the power supply capacity for the built-in power for determining the electronic equipment When the charge requirement of sub- equipment, directly determine the operating mode to match with the power supply capacity of the built-in power, with it is described The operating mode booting that the power supply capacity of built-in power matches.In the embodiment of the present application, electronic equipment detects booting behaviour When making, it can first judge whether built-in power meets condition, if satisfied, electronic equipment is with the power supply capacity phase with built-in power The operating mode matched is switched on.The more flexible purpose of start-up mode so as to reach electronic equipment.
Second aspect, the embodiment of the present application also provide a kind of electronic equipment.The electronic equipment includes charging interface, at least one A processor and memory;Charging interface with power supply unit for connecting, and the memory is for storing one or more calculating Machine program;When one or more computer programs of memory storage are executed by least one described processor, so that The electronic equipment can be realized the technical solution of above-mentioned first aspect and its any possible design of first aspect.
The third aspect, the embodiment of the present application also provides a kind of electronic equipment, the electronic equipment includes executing above-mentioned the Module/unit of the method for any one possible design of one side or first aspect;These module/units can pass through Hardware realization can also execute corresponding software realization by hardware.
Fourth aspect, the embodiment of the present application also provide a kind of chip, and the chip is coupled with the memory in electronic equipment, For call the computer program stored in memory and execute the embodiment of the present application first aspect and its first aspect is any can The technical solution that can be designed;" coupling " refers to that two components combine directly or indirectly to one another in the embodiment of the present application.
5th aspect, the embodiment of the present application also provide a kind of computer readable storage medium, the computer-readable storage Medium includes computer program, when computer program is run on an electronic device, so that the electronic equipment executes the application The technical solution of embodiment first aspect and its any possible design of first aspect.
In terms of 6th, a kind of program product in the embodiment of the present application, including instruction, when described program product is set in electronics When standby upper operation, so that the electronic equipment executes the embodiment of the present application first aspect and its any possible design of first aspect Technical solution.
Detailed description of the invention
Fig. 1 is the example of application scenarios provided by the embodiments of the present application;
Fig. 2 is a kind of structural schematic diagram of mobile phone 100 provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of the start-up control method based on power supply unit provided by the embodiments of the present application;
Fig. 4 is the schematic diagram of the graphical interface of user of mobile phone 100 provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of the graphical interface of user of mobile phone 100 provided by the embodiments of the present application;
Fig. 6 is the schematic diagram of the graphical interface of user of mobile phone 100 provided by the embodiments of the present application;
Fig. 7 is the schematic diagram of the graphical interface of user of mobile phone 100 provided by the embodiments of the present application;
Fig. 8 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.
Hereinafter, the part term in the embodiment of the present application is explained, in order to those skilled in the art understand that.
The invention relates to two electronic equipments, that is, are electrically charged equipment and power supply unit, wherein being electrically charged equipment ratio It such as can be mobile phone, ipad, laptop electronic equipment, power supply unit (or referred to as charging equipment, external power supply etc. Deng the embodiment of the present application is not construed as limiting this title) be electrically charged equipment and connect, to be electrically charged equipment power supply.It retouches for convenience Equipment will be hereinafter electrically charged by, which stating, is known as electronic equipment, and power supply unit is known as power supply unit.
The invention relates to power supply unit, connect, the electric energy in power supply unit can be provided with electronic equipment Electron equipment.Power supply unit can be power supply adaptor or other equipment, all to have to electronic equipment progress charge function Equipment may be suitable for scheme provided by the embodiments of the present application.
It should be noted that technical solution provided by the present application can be applied in wired charging scene, can also apply Wireless charging scene, under wired charging scene, electronic equipment and power supply unit wirelessly (wifi, bluetooth etc.) connect It connects, under wired charging scene, electronic equipment and power supply unit are connected by wired mode (for example passing through power supply line).
It should be noted that term used in following embodiment is intended merely to for the purpose of describing particular embodiments, and It is not intended as the limitation to the application.As the description of the present application and it is used in the attached claims, Odd number expression form "one", "an", " described ", " above-mentioned ", "the" and " this " be intended to also include such as " one or more It is a " this expression-form, unless hereinafter clearly there is opposite instruction thereon.It is also understood that in the embodiment of the present application, " one or more " refer to one, two or more;"and/or", describes the incidence relation of affiliated partner, and expression can deposit In three kinds of relationships;The case where for example, A and/or B, can indicate: individualism A exists simultaneously A and B, individualism B, wherein A, B can be odd number or plural number.Character is " to be to typically represent the relationship that forward-backward correlation object is a kind of "or".
The reference " one embodiment " described in the present specification or " some embodiments " etc. mean the one of the application It include special characteristic, structure or the feature in conjunction with embodiment description in a or multiple embodiments.As a result, in the present specification Difference occur sentence " in one embodiment ", " in some embodiments ", " in some other embodiment ", " In other embodiment " etc. it is uninevitable all referring to identical embodiment, mean " one or more but not all Embodiment ", only otherwise in addition especially emphasize.The terms "include", "comprise", " having " and their deformation are all Mean " including but not limited to ", only otherwise in addition especially emphasizes.
It is hereinafter illustrated for wired charging scene by applying, certainly under wireless charging scene, is realized former It manages similar with the realization principle under wired charging scene.
It is shown in Figure 1, it is the example of two kinds of application scenarios provided by the embodiments of the present application.As shown in Fig. 1 (a), this For including electronic equipment 100 (taking the mobile phone as an example) and power supply unit 200 (by the charger of mobile phone) in scape.In the scene, electricity After sub- equipment 100 is connect with power supply unit 200, power supply unit 200 is connect with external power supply (such as household electric), and power supply is set Standby 200 obtain electric energy from household electric, then provide power to electronic equipment 100.
It should be understood that in Fig. 1 (a), it is practical by taking electronic equipment 100 is connected with power supply unit 200 by wired mode as an example On, electronic equipment 100 can also wirelessly be connect with power supply unit 200.Power supply unit 200 obtains electricity from household electric Can, then provide power to electronic equipment 100.
It include electronic equipment 100 (taking the mobile phone as an example) and power supply unit 200 as shown in Fig. 1 (b), in the scene (with charging For treasured) for.In the scene, after mobile phone is connect with charger baby, the electric energy of storage is supplied to mobile phone by charger baby.
The technical solution of the embodiment of the present application can be adapted for above two application scenarios, or other application scenarios, The embodiment of the present application is not construed as limiting.
In the embodiment of the present application, electronic equipment can be directed to user and provide the equipment of voice and/or data connectivity, example It such as may include the handheld device with wireless connecting function or the processing equipment for being connected to radio modem.The end End equipment can be communicated through wireless access network (radio access network, RAN) with core net, exchange language with RAN Sound and/or data.The terminal device may include user equipment (user equipment, UE), wireless terminal device, move eventually End equipment, subscriber unit (subscriber unit), subscriber station (subscriber station), movement station (mobile Station), mobile station (mobile), distant station (remote station), access point (access point, AP), long-range end End equipment (remote terminal), access terminal equipment (access terminal), subscriber terminal equipment (user Terminal), user agent (user agent) or user equipment (user device) etc..For example, may include mobile electricity Words (or being " honeycomb " phone), removable computer, tablet computer, personal digital assistant (personal digital Assistant, PDA), media player, smart television, wearable device (such as smartwatch, intelligent helmet or Intelligent bracelet Deng), router, set-top box, speaker, mobile phone, the combination etc. of plate etc. and above-mentioned two or two or more.Electronic equipment is also It can be onboard system, such as electric vehicle etc..
Electronic equipment 100 in scene shown in FIG. 1 introduced below, for the graphic user interface of such electronic equipment (graphical user interface, GUI) and embodiment for using such electronic equipment.It is some in the application In embodiment, electronic equipment 100 can be the portable terminal comprising internal battery, mobile phone, tablet computer etc., can also be with It is the terminal not comprising internal battery, the embodiment of the present application is not construed as limiting.The exemplary embodiment of above-mentioned electronic equipment 100 includes But it is not limited to carry the portable electronic device of iOS, Android, Microsoft or other operating systems.It is above-mentioned portable Electronic equipment is also possible to other portable electronic devices, such as digital camera.It is to be further understood that the application other one In a little embodiments, above-mentioned electronic equipment 100 may not be portable electronic device, but desktop computer etc..
Under normal conditions, electronic equipment 100 can support a variety of applications.Such as one or more in applying below: phase Machine application, instant message transrecieving application, photo management application etc..Wherein, instant message transrecieving application can there are many.Such as it is micro- Letter, chat software, Tencent (QQ), WhatsApp Messenger, connect my (Line), photo sharing (instagram), Kakao Talk, nail nail etc..User, can be by text, voice, picture, video file and other are each by instant message transrecieving application The information such as kind file are sent to other contact persons;It is contacted alternatively, user can be realized by instant message transrecieving application with other The video of people or voice-frequency telephony.
It hereafter by taking electronic equipment 100 is mobile phone 100 as an example, and is illustrated so that mobile phone has internal battery as an example, Fig. 2 shows The structural schematic diagram of mobile phone 100 is gone out.
Mobile phone 100 may include processor 110, external memory interface 120, internal storage 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, day Line 1, antenna 2, mobile communication module 150, wireless communication module 160, audio-frequency module 170, loudspeaker 170A, receiver 170B, Microphone 170C, earphone interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193 are shown Display screen 194 and Subscriber Identity Module (subscriber identification module, SIM) card interface 195 etc..Its Middle sensor module 180 may include fingerprint sensor 180H, touch sensor 180K.
Processor 110 may include one or more processing units, such as: processor 110 may include application processor (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, memory, coding and decoding video Device, digital signal processor (digital signal processor, DSP), baseband processor and/or Processing with Neural Network Device (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, Also it can integrate in one or more processors.
Wherein, controller can be nerve center and the command centre of mobile phone 100.Controller can be according to instruction operation code And clock signal, operating control signal is generated, the control completing instruction fetch and executing instruction.It can also be arranged in processor 110 Memory, for storing instruction and data.In some embodiments, the memory in processor 110 is cache memory. The memory can save the instruction or data that processor 110 is just used or is recycled.If processor 110 needs to make again With the instruction or data, can be called directly from the memory.Repeated access is avoided, the waiting of processor 110 is reduced Time, thus improve the efficiency of system.Specifically, processor 110 can run booting control provided by the embodiments of the present application Software module/code of method, control mobile phone 100 are switched on.
Usb 1 30 is the interface for meeting USB standard specification, specifically can be mini (mini) USB interface, miniature (micro) USB interface, USB Type C (USB Type C) interface etc..Usb 1 30 can be used for connecting power supply adaptor Mobile phone 100 charges, and can be used for transmitting data between mobile phone 100 and peripheral equipment.When mobile phone 100 by usb 1 30 with When power supply unit (such as power supply adaptor) connects, mobile phone 100 can transmit electric energy by usb 1 30 and power supply adaptor. Specifically, the configuration signal wire (configuration in the usb 1 30 (such as USB type-c interface) of mobile phone 100 Channel, cc) electric current that power supply adaptor is sent can be detected, realize the electric current transmission between mobile phone 100 and power supply adaptor.
It should be noted that in Fig. 1 by taking mobile phone 100 is connect by usb 1 30 with power supply adaptor as an example, in reality In, mobile phone 100 can also be connect with power supply adaptor otherwise, for example, mobile phone 100 is wirelessly (wifi, bluetooth etc.) is connect with power supply adaptor, or is connect by other type of charge interfaces with power supply adaptor.Therefore, The embodiment of the present application does not limit the connection type between mobile phone 100 and power supply adaptor.
It should be understood that when mobile phone 100 is connect by usb 1 30 with power supply adaptor, mobile phone 100 and power supply adaptor Between electric energy transmission can be realized by usb 1 30;When mobile phone 100 is charged using the mode of wireless charging, such as Mobile phone 100 is wirelessly connected by way of bluetooth connection with power supply adaptor, in this case, mobile phone 100 and power supply adaptor it Between electric energy transmission can pass through Bluetooth transmission.Electric energy transmission process between mobile phone 100 and power supply adaptor includes mobile phone 100 Identify that processes, the particular contents such as the power supply capacity of power supply adaptor are introduced later.Wherein, power supply adaptor and mobile phone 100 can To support identical agreement, such as charging (power delivery, PD) agreement etc., the embodiment of the present application is not construed as limiting.
For application scenarios, the charging process of mobile phone 100 is introduced shown in Fig. 1 (a) below.
Power supply adaptor is connect with external power supply (such as household electric etc.), at external power supply (such as household electric etc.) Electric energy is obtained, the electric energy that then will acquire is input to mobile phone 100 by usb 1 30 and (for example is input to filling in mobile phone 100 Electric management module 140).Charge management module 140 is for managing charging process.For example, charge management module 140 will for decision Power management module 141, which is supplied to, from the received electric energy of usb 1 30 is also available to battery 142.Power management module 141 The electric energy for receiving battery 142 and/or the input of charge management module 140, is processor 110, and internal storage 121 passes through outside Memory interface 120 is external memory, display screen 194, the confession of the peripheral components such as camera 193 and wireless communication module 160 Electricity.For example, power management module 141 receives the electric energy that battery 142 inputs when mobile phone 100 is not connect with power supply adaptor, it is All parts power supply.When mobile phone 100 connect and charged with power supply adaptor, power management module 141 receives charging valve The electric energy that module 140 inputs is managed, is powered for all parts, certainly, when mobile phone 100 connect and charges with power supply adaptor When, power management module 141 also can receive the electric energy of the input of battery 142, power for all parts.It should be noted that electric Source control module 141 is that all parts power supply can have sequencing, for example first power for processor 110, is then other portions Part power supply, when power management module 141 can notify power management mould after processor 110 starts for the power supply of processor 110 Block 141 is the power supply of which of other components part, or is not which component power supply etc..
Therefore, after mobile phone 100 is connect by power supply adaptor with external power supply (such as household electric), the process of charging can With as follows:
After the electric energy of power supply outside power supply adaptor reception, electric energy is inputed to by Charge Management mould by usb 1 30 Block 140.140 one side of charge management module is 142 electric power storage of battery, on the other hand provides input electricity for power management module 141 Energy;Alternatively, charge management module 140 is only 142 electric power storage of battery, it is each that power management module 141, which obtains electric energy from battery 142 again, A component (such as processor 110, internal storage 121, display screen 194, camera 193 and wireless communication module 160 etc.) supplies Electricity.
It should be noted that power management module 141 can be connected with processor 110, processor 110 can pass through power supply Which component power supply is management module 141 be determined as, for example, when mobile phone 100 is switched on the operating mode of lower power consumption, processor 110 determine that display screen 194 needs to power, and wireless communication module 160 does not need to power, then power management module 141 is display screen 194 power supplies are not the power supply of wireless communication module 160, and particular content will be introduced later.
It should be understood that when mobile phone 100 is not connected with power supply adaptor, mobile phone 100 can be by the electric energy that stores in battery 142 Come for the power supply of each device.
The wireless communication function of mobile phone 100 can pass through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160 equal realizations.Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in mobile phone 100 can be used for covering Single or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: antenna 1 can be answered With the diversity antenna for WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 150 can provide the solution of wireless communications such as including 2G/3G/4G/5G applied on mobile phone 100 Certainly scheme.Mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (low Noise amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received electromagnetic wave It is filtered, the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 150 can also be to through adjusting The modulated signal amplification of demodulation processor processed, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments, mobile logical At least partly functional module of letter module 150 can be arranged in processor 110.In some embodiments, mobile communication mould At least partly functional module of block 150 can be arranged in the same device at least partly module of processor 110.
It includes WLAN (wireless local that wireless communication module 160, which can be provided and be applied on mobile phone 100, Area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency Modulation, FM), the short distance wireless communication technology (near field communication, NFC), infrared technique The solution of wireless communications such as (infrared, IR).Wireless communication module 160 can be integrated into a few communication process mould One or more devices of block.Wireless communication module 160 receives electromagnetic wave via antenna 2, by electromagnetic wave signal frequency modulation and filter Wave processing, by treated, signal is sent to processor 110.Wireless communication module 160 can also receive pending from processor 110 The signal sent carries out frequency modulation to it, and amplification switchs to electromagenetic wave radiation through antenna 2 and goes out.
In some embodiments, the antenna 1 of mobile phone 100 and mobile communication module 150 couple, antenna 2 and radio communication mold Block 160 couples, and allowing mobile phone 100, technology is communicated with network and other equipment by wireless communication.The wireless communication Technology may include global system for mobile communications (global system for mobile communications, GSM), lead to With grouping wireless service (general packet radio service, GPRS), CDMA accesses (code division Multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division CDMA (time-division code division multiple access, TD-SCDMA), it is long Phase evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..The GNSS can To include GPS (global positioning system, GPS), Global Navigation Satellite System (global Navigation satellite system, GLONASS), Beidou satellite navigation system (beidou navigation Satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite system, QZSS) and/or Satellite-based augmentation system (satellite based augmentation systems, SBAS).
Mobile phone 100 realizes display function by GPU, display screen 194 and application processor etc..GPU is image procossing Microprocessor connects display screen 194 and application processor.GPU is calculated for executing mathematics and geometry, is rendered for figure.Place Managing device 110 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 194 is for showing image, video etc..Display screen 194 includes display panel.Display panel can use liquid Crystal display screen (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light Emitting diodes, QLED) etc..In some embodiments, mobile phone 100 may include N number of display screen 194, and N is greater than 1 Positive integer.
Camera 193 is for capturing still image or video.Camera 193 may include at least one front camera And/or at least one rear camera.
Internal storage 121 can be used for storing computer executable program code, and the executable program code includes Instruction.The instruction that processor 110 is stored in internal storage 121 by operation, is answered thereby executing the various functions of mobile phone 100 With and data processing.Internal storage 121 may include storing program area and storage data area.Wherein, storing program area can The software code etc. of storage program area and at least one application program (such as camera applications, wechat application etc.).Store number It can generated data (such as image, video etc.) etc. in 100 use process of memory mobile phone according to area.In addition, internal storage 121 May include high-speed random access memory, can also include nonvolatile memory, a for example, at least disk memory, Flush memory device, generic flash memory (universal flash storage, UFS) etc..Specifically, internal storage 121 can To store software module/code of start-up control method provided by the embodiments of the present application, when processor 110 runs the software mould When block/code, corresponding process step is executed, is specifically shown in and is introduced below.Internal storage 121 can also store predeterminated voltage, The values such as predetermined current, predetermined power (particular content will be introduced later).
External memory interface 120 can be used for connecting external memory card, such as miniature (micro) security (secure digital, SD) card, realizes the storage capacity of extended mobile phone 100.External memory card passes through external memory interface 120 communicate with processor 110, realize data storage function.Such as by music, the files such as video are stored in external memory card.
Certainly, software module/code of start-up control method provided by the embodiments of the present application also can store and deposit in outside In reservoir, processor 110 can run the software module/code by external memory interface 120, execute corresponding process Step.The values such as predeterminated voltage, predetermined current, predetermined power in mobile phone 100 (particular content will be introduced later) can also be with It is stored in external memory.
Mobile phone 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D and application processor etc. realize audio-frequency function.Such as music, recording, voice communication etc..
Fingerprint sensor 180H is for acquiring fingerprint.The fingerprint characteristic that mobile phone 100 can use acquisition realizes unlocked by fingerprint, Application lock is accessed, fingerprint is taken pictures, fingerprint incoming call answering etc..
Touch sensor 180K, also referred to as " touch panel ".Touch sensor 180K can be set in display screen 194, by touching It touches sensor 180K and display screen 194 forms touch screen, also referred to as " touch screen ".Touch sensor 180K acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 194.In further embodiments, it touches Touching sensor 180K also can be set in the surface of mobile phone 100, different from the location of display screen 194.
Certainly, sensor module 180 can also include other sensors, such as pressure sensor, gyro sensor, gas Pressure sensor, Magnetic Sensor, acceleration transducer, range sensor, close to optical sensor, temperature sensor, ambient light sensing Device, bone conduction sensor etc., the embodiment of the present application does not limit this.
Key 190 includes power button, volume key etc..Key 190 can be mechanical key, be also possible to touch-key. Mobile phone 100 can receive key-press input, generate key signals input related with the user setting of mobile phone 100 and function control. Power-on instruction, confirmation instruction in the embodiment of the present invention etc. can be inputted by safety check 190.Display screen can certainly be passed through 194 input.
Motor 191 can produce vibration prompt.Motor 191 can be used for calling vibration prompt, can be used for touching vibration Dynamic feedback.For example, acting on the touch operation of different application (such as taking pictures, audio broadcasting etc.), different vibrations can be corresponded to Feedback effects.
Indicator 192 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction and disappear Breath, missed call, notice etc..
SIM card interface 195 is for connecting SIM card.SIM card can be by being inserted into SIM card interface 195, or from SIM card interface 195 extract, and realization is contacting and separating with mobile phone 100.
It is understood that structure shown in Fig. 2 does not constitute the specific restriction to mobile phone 100.The application other In embodiment, mobile phone 100 may include showing more or fewer components than Fig. 2, perhaps combines certain components or splits certain Component or different component layouts.The component that Fig. 2 shows can be realized with hardware, the combination of software or software and hardware.
It is applied in above-mentioned mobile phone framework shown in Fig. 2 below with reference to the embodiment of the present invention, introduces the booting of mobile phone 100 Journey.It is the flow diagram of start-up control method provided by the embodiments of the present application referring to Fig. 3.Hereafter it is applied to Fig. 2 in this way Shown in mobile phone 100 for be illustrated, hereinafter, term " when ... when " can be interpreted to mean " if ... " or " ... it is rear " or " in response to determination ... " or " in response to detecting ... ".Similarly, based on context, phrase " when in determination ... " Or " if detecting (condition or event stated) " can be interpreted to mean " if it is determined that ... " or " in response to true It is fixed ... " or " when detecting (condition or event stated) " or " in response to detecting (condition or event stated) ". The process of this method includes:
S301: mobile phone 100 detects power-on instruction.Illustratively, when the key 190 (such as power button) in mobile phone 100 After detecting the operation being long pressed, instruction (such as electric signal) is sent to processor 110, which is used to indicate mobile phone 100 and opens Machine after processor 110 receives instruction, generates power-on instruction;Alternatively, electronic equipment can also receive opening for other equipment transmissions Machine instruction, such as television set can receive the power-on instruction etc. of remote controler transmission, and the embodiment of the present application is not construed as limiting this.
S302: mobile phone 100 judges whether there is built-in power, if so, executing S303 then executes S304 if it does not exist. Certain embodiment of the present invention can also skip step S302~step S304, and subsequent step is directly executed after executing the step S301 Rapid S305, that is to say, that step S302~step S304 is optional step.
In addition, mobile phone 100, which can detecte power-on instruction, just immediately executes S302, power-on instruction one can also be being detected S302 is executed again after timing is long.
For example, detect that power-on operation to complete booting, can pass through multiple stages, such as pre-add from mobile phone 100 Load stage, load phase etc..Wherein, preloading phase can be bootstrap (bootloader) load phase, also referred to as The bootloader stage.The bootloader stage can be the stage run before operating system nucleus operation.Load rank Section can be the stage of load operation kernel.Therefore, mobile phone 100 can execute S302 in preloading phase, can also load Stage executes S302, and the embodiment of the present application does not limit.
It should be understood that preloading phase also may include multiple stages, for example the bootloader stage can also be divided into:
1. various resources (frequency, input and output port module of System on Chip/SoC (system on chip, SoC) (general purpose I/O ports, GPIO), nonvolatile flash memory technology (nor flash)) carry out default configuration and initial The change stage.It should be understood that can have in the read-only memory (read-only memory, ROM) of SoC one section it is most basic Bootloader code is the place for carrying out SoC initialization after SoC is powered on, may be implemented by running this section of code to SoC's Various resources carry out default configuration and initialization.
2. after the completion of the initializing resource of SoC, to random access memory (random access memory, RAM) Initial configuration.It should be understood that after the completion of the initializing resource of SoC equipment it is possible that the RAM of access limited situation, so By the initial configuration to RAM, carry out subsequent processing can be convenient.The bootloader of 2nd stage is set to be loaded into RAM In.
3. other further initialization, such as: basic school is carried out to mirror image (such as kernel mirror image) to be loaded in next step It tests, basic status configuration is carried out to some peripheral hardwares (such as GPIO, screen).
It is the three phases in bootloader stage above, mobile phone 100 can be in any one in the above three stage Stage executes S302, for example executes in first stage or second stage, and the embodiment of the present application does not limit.
S303: it is pre- that the processor 110 in mobile phone 100 judges whether the power supply capacity of built-in power (i.e. battery 142) meets If condition, if so, S304 is executed, if it is not, then executing S305.
Illustratively, the power supply capacity of battery 142 can be the output electric current of battery 142, output voltage, output power, Remaining capacity etc..Therefore, preset condition can be one of following condition or a variety of:
Processor 110 judges whether the remaining capacity of battery 142 is in the corresponding electricity range of certain operating mode, citing For, it is assumed that there are three types of operating mode, the first operating mode, the second operating mode and third operating modes, wherein the first work altogether The corresponding electricity range of operation mode is 20%-100%, and the corresponding electricity range of the second operating mode is 10%-20%, third work The corresponding electricity range of operation mode is 5%-10%.If processor 110 determines that the remaining capacity of battery 142 is in the first Working mould Within the scope of the electricity of formula, then with the booting of the first operating mode.Certainly, the processor 110 in mobile phone 100 can also judge battery Whether 142 operating current is in the corresponding current range of certain operating mode;Alternatively, the processor 110 in mobile phone 100 is sentenced Whether the operating voltage in power-off pond 142 is in the corresponding voltage range of certain operating mode, alternatively, the processing in mobile phone 100 Device 110 judges whether the power of battery 142 is in the corresponding power bracket of certain operating mode.
It should be understood that the corresponding electricity range of every kind of operating mode, current range, voltage range, power bracket etc. can be It sets, can be stored in advance in mobile phone 100, for example, being stored in internal storage 121 or and hand before the factory of mobile phone 100 In the external memory that machine 100 connects.
When the remaining capacity of the determining battery 142 of processor 110 is not in any of the above ranges, battery is determined 142 remaining capacity is unsatisfactory for preset condition, and mobile phone 100 can select suitable Working mould based on the power supply capacity of power supply unit Formula booting.
S304: it is suitable that the processor 110 in mobile phone 100 is selected according to the power supply capacity of built-in power (i.e. battery 142) Power on mode.
It illustratively, can be there are many operating mode, by taking three kinds of operating modes as an example, for example, working normally in mobile phone 100 Mode, only charge mode, low-power consumption call mode.Wherein, under different power on mode, electric energy required for mobile phone 100 is not Together, for example, under normal mode of operation electric energy needed for mobile phone 100 it is maximum, followed by low power loss communication mode, only under charge mode Electric energy needed for mobile phone 100 gradually becomes smaller.It can store in internal storage 121 under every kind of operating mode required for mobile phone 100 Electric energy (remaining capacity, electric current, voltage, power etc.) range.Processor 110 is deposited according to the power supply capacity and inside of battery 142 Electric energy needed under the every kind of operating mode stored in reservoir 121 is matched, and the determining remaining capacity with battery 142 matches Operating mode.
For example, when the remaining capacity of battery 142 is in 5%-10% (value range is only citing, is not to limit) When interior, processor 110 is with the booting of only charge mode, and most device, which is in, under only charge mode, in mobile phone 100 closes shape State.Illustratively, processor 110 can notify power management module 141 not power for this part of devices temporarily, for example, not being The power supply such as SIM card interface 195, mobile communication module 150, wireless communication module 160, camera 193.Therefore, only charge mode Under, basic function only can be used in mobile phone 100, for example, display screen is shown, for call function, shooting function, online function The function of the high power consumptions such as energy, video playback capability, game is disabled.
For another example processor 110 is when the remaining capacity of battery 142 is in 10%-20% with low power loss communication mode Booting, under low power loss communication mode, the not starting completely of mobile phone 100, such as the part of devices unlatching in mobile phone 100, part device Part is closed.Illustratively, processor 110 can notify power management module 141 to power for SIM card interface 195, camera 193, It but is not the power supply such as mobile communication module 150, wireless communication module 160.Therefore, under low power loss communication mode, mobile phone 100 Call function, shooting function can be used, but for the function of the high power consumptions such as function of surfing the Net, video playback capability or game It is disabled.
For another example processor 110 is when the remaining capacity of battery 142 is in 20%-100% with normal mode of operation Booting, in the normal mode of operation, mobile phone 100 start completely, and the institute in mobile phone 100 is functional can be by normal use.
As can be seen from the above description, when mobile phone 100 is switched on, it may be considered that the power supply capacity of built-in power is based on in-built electrical The selection of power supply capacity provided by the remaining capacity in source is with the booting of suitable operating mode.For example, in the residue electricity of built-in power When power supply capacity deficiency provided by measuring, high power consumption mode is avoided enter into, leads to low battery shutdown quickly;In the surplus of built-in power When power supply capacity provided by remaining electricity is enough, low-power consumption mode is avoided enter into, is affected user experience.
Moreover, can first judge whether built-in power meets condition, if satisfied, then according to in-built electrical when mobile phone 100 is switched on The power supply capacity in source selects suitable operating mode booting, if mobile phone 100 is without built-in power or built-in power for electric energy When power is unsatisfactory for preset condition, mobile phone 100 selects suitable operating mode to be switched on further according to the power supply capacity of extraneous power supply unit.
Certainly, above-mentioned to have illustrated, mobile phone 100 can also be directly filled by extraneous power supply unit determining currently to be in In the case where electricity, if receive power-on instruction, directly according to the power supply capacity of extraneous power supply unit, to select suitable mould Formula booting.I.e. in further embodiments, after mobile phone 100 is switched on, it may not need the power supply capacity for considering built-in power, or Without considering whether with built-in power, and directly judge whether in the state for being powered equipment charge, if so, based on power supply The power supply capacity of equipment selects suitable operating mode booting.That is, mobile phone 100 is without executing step S302~step S304 directly executes subsequent step S305 after executing the step S301.
S305: the processor 110 in mobile phone 100 detects whether mobile phone 100 is in the state being electrically charged, for example can examine Survey usb 1 30 it is current whether exist with power supply unit is electrically connected, certainly if it is under wireless charging state, processor 110 It can detecte and whether wirelessly receive rechargeable electrical energy, if so, S306 is executed, if it is not, then without response.
Illustratively, mobile phone 100 can be connect by usb 1 30 with power supply unit, and usb 1 30, which can detecte, is No insertion power supply unit, if usb 1 30 detect power supply unit be inserted into, to processor 110 send one instruction (such as electricity Signal).
S306: the processor 110 in mobile phone 100 selects suitable operating mode according to the power supply capacity of power supply unit.
It should be understood that mobile phone 100 can also identify the power supply capacity of power supply unit before S306.Wherein power supply unit Power supply capacity can be output electric current, output voltage, output power of power supply unit etc..
Optionally, above, introducing S302 can execute in some stage in the three phases in preloading phase, Assuming that first stage or second stage of the S302 in the three phases execute, then S305 can be held in the phase III Row identifies power supply unit in the phase III.
The process that mobile phone 100 identifies the power supply capacity of power supply unit is described below.
It is carried out by usb 1 30 and power supply unit for connecting by mobile phone 100, and is that power supply is suitable with power supply unit For orchestration, when the processor 110 in mobile phone 100 detects that power supply adaptor is inserted into (such as the USB interface of usb 1 30 After 130 detect power supply adaptor insertion, send and instruct to processor 110) after, processor 110 passes through usb 1 30 and electricity Source adapter establishes communication connection, and the process for establishing communication connection includes physics handshake procedure, power adaptation after physics is shaken hands Device enters Source Attached state (in this state, power supply adaptor can send information to mobile phone 100), mobile phone 100 Sink Attached state (in this state, the information that mobile phone 100 can receive power supply adaptor transmission) can be entered.Power supply It is suitable that adapter can carry power supply to 100 transmitting capacity information of mobile phone (capabilities message), in the ability information The parameters such as the output electric current of orchestration, output voltage.In this case, after processor 100 receives ability information, electricity can be determined The output electric current of source adapter, out-put supply, output power etc. determine the power supply capacity of power supply adaptor.
It should be understood that power supply adaptor is connect with domestic power supply, since the output voltage of domestic power supply, output electric current etc. are different Fixed and mobile phone 100 electric current and voltage matches, so power supply adaptor can play the out-put supply of limitation domestic power supply, output The effect of electric current, i.e. power supply adaptor can guarantee the output voltage and output electricity of output voltage, output electric current etc. and mobile phone 100 Stream matching, prevents domestic power supply voltage or electric current is excessive causes to burn mobile phone.Therefore, it is necessary to explanation, power supply adaptor to What is carried in the ability information that mobile phone 100 is sent is output voltage, output electric current etc. of power supply adaptor, rather than domestic power supply Output voltage and output electric current.
In addition, the power supply capacity of different electrical power adapter is also variant, the power supply capacity of partial power adapter is poor (defeated Voltage or output electric current etc. are smaller out), in this case, after mobile phone 100 is switched on, if being switched on high power consumption mode, then consuming Electric energy be greater than power supply adaptor provide electric energy when, it may appear that the case where being switched on repeatedly, the embodiment of the present application is precisely in order to keep away Exempt from such case, proposes the work for determining mobile phone 100 according to the output electric current, output voltage, output power etc. of power supply adaptor Mode, and be switched on determining operating mode.
Illustratively, mobile phone 100 can there are many operating modes, by taking three kinds of operating modes as an example, for example, working normally mould Formula, only charge mode, low-power consumption call mode.Wherein, under different working modes, electric energy required for mobile phone 100 is different, For example, the maximum of electric energy needed for mobile phone 100, followed by low power loss communication mode, only charge mode assistant under normal mode of operation Electric energy needed for machine 100 gradually decreases.
It should be noted that mobile phone 100 is according to the suitable Working mould of the power supply capacity of power supply unit selection in step S306 Mobile phone 100 selects the process of operating mode can be with according to the power supply capacity of built-in power in the process of formula, with above-mentioned steps S303 It is identical, it is not repeated herein and repeats.
It is described below, mobile phone 100 determines two kinds of examples of operating mode according to the power supply capacity of power supply unit.
Example 1: mobile phone 100 determines operating mode according to the power supply capacity of power supply unit.
As an example, mobile phone 100 can determine operating mode according to the following formula.
Maxim (output power of power supply unit) > P (mode);
Wherein, mode is operating mode, and P (mode) is required power under certain operating mode, and (power supply is set ma xim Standby output power) characterization power supply unit output power maximum value, that is to say, that the output power maximum value of power supply unit When greater than power required under certain operating mode, using certain operating mode as determining operating mode.For example, just Under normal operating mode, power needed for mobile phone 100 is 40w, if the peak power output of power supply unit is more than or equal to 40w, hand Machine 100 is switched on normal mode of operation.For another example power needed for mobile phone 100 is 10w only under charge mode, if power supply unit Peak power output be greater than 10w when and be less than 40W, mobile phone 100 with only charge mode booting.
As another example, mobile phone 100 can also determine operating mode according to the following formula:
V0*Imax>P(mode);
V0 is the output voltage of power supply unit, and Imax is the maximum output current of power supply unit, and P (mode) is certain work Required power under mode.For example, under normal mode of operation, power needed for mobile phone 100 is 40w, if power supply unit Output voltage be 5V, maximum output current is 8A, i.e. the output power of power supply unit is 40w, due to the output of power supply unit Power is more than or equal to power required under normal mode of operation, then mobile phone 100 is switched on normal mode of operation.
As another example, mobile phone 100 can also determine operating mode according to the following formula:
Maxmin (output power of power supply unit) │ Vo*Imax > P (mode);
Wherein, A │ B can be " step-by-step or ", if the calculated result of " step-by-step or " operation is greater than mobile phone under certain operating mode Power needed for 100, then using certain operating mode as determining operating mode.
Example 2: mobile phone 100 can determine operating mode according to the power supply electric energy and energy conversion efficiency of power supply unit.
Wherein, energy conversion efficiency is the transfer efficiency that the electric energy of power supply unit output is converted to the electric energy of mobile phone 100.It answers Understand, the output electric energy (output electric current, output voltage, output power etc.) of power supply unit possibly can not be wholly converted into mobile phone 100 electric energy.For example, the output voltage of power supply adaptor is 5V, but only the voltage input of 3V is to mobile phone 100.Therefore, hand Machine 100 can determine operating mode according to the power supply electric energy of energy conversion efficiency and power supply unit.Wherein, power supply unit is to hand Energy conversion efficiency can be carried in the ability information that machine 100 is sent.
For example, the output voltage of power supply adaptor is 5V, and output electric current is 5A, then output power is 25W, and electric energy turns Changing efficiency is 0.9, then power of the power into 0.9*25=22.5W, then after mobile phone 100 is converted according to electric energy after electric energy is converted Determine operating mode.
It should be understood that the power range corresponding with every kind of operating mode in example 2 of above-mentioned example 1 can be identical or different.Than Such as, the corresponding power range of certain operating mode in example 2 can be the corresponding electric energy model of this kind of operating mode in example 1 It encloses and obtains power range later multiplied by energy conversion efficiency.For example, energy conversion efficiency is 0.9, the only charging in example 1 The range of the corresponding remaining capacity of mode is 5%-10%, then only the range of the corresponding remaining capacity of charge mode is in example 2 4.5%-9%.Certainly, the corresponding power range of certain operating mode can also be other values in example 2, such as less than be equal to The corresponding power range of this kind of operating mode in example 1.
It, can be according to being currently if detecting in being electrically charged state it should be noted that when mobile phone 100 is switched on The power supply capacity selection for the power supply unit that mobile phone 100 charges is with the booting of suitable operating mode.For example, in power supply unit energy It when power deficiency, avoids being switched on high power consumption mode, causes to be switched on repeatedly;When capacity of power-sourcing equipment is enough, avoid with low-power consumption Mode booting, affects user experience.
S307: the processor 110 in mobile phone 100 is switched on determining operating mode.
Assuming that the operating mode that the determining power supply capacity with power supply unit of mobile phone 100 matches is only charge mode, then hand Machine 100 is with the booting of only charge mode.Mobile phone 100 charge during, electricity can gradually increase, when mobile phone 100 electricity compared with When for abundance, only charge mode can be exited, can be exited into low power loss communication mode when the electricity of mobile phone 100 is enough Low power loss communication mode, into normal mode of operation.
Illustratively, before S307, mobile phone 100 can also export prompt information, with prompt user mobile phone 100 prepare with Corresponding operating mode booting, can also prompt in this operating mode, the available function of mobile phone 100, not available function etc. Etc. information.It should be understood that prompt information, which can be, shows text information or image information on the display screen 194 of mobile phone 100;Or Person, prompt information can also be the voice messaging exported by audio-frequency module 190;Or prompt information can also be display screen The vibration prompt that text information and motor 191 generate is shown on 194, the embodiment of the present invention is not construed as limiting here.
Several examples that mobile phone 100 exports prompt information are described below.
Example 1: as shown in Fig. 4 (a), mobile phone 100 pops up prompt information 401, and the prompt information 402 is for prompting user to work as It is preceding to be in only charge mode, only under charge mode, avoid the application using high power consumption.Certainly, mobile phone 100 can also be listed and forbid The list (or relevant information of the function being forbidden to use in application) of the application used and the letter for the application that can be used Breath (or the relevant information for the function of can be used in application).
Continuing with shown in (a) referring to fig. 4, mobile phone 100 shows the first control 402 and the second control 403, when mobile phone 100 is examined When measuring the first control 402 and being triggered, mobile phone 100 shows the information for the application that can be used;When mobile phone 100 detects the second control When part is triggered, mobile phone 100 shows the list for the application being forbidden to use.
Illustratively, continuing with shown in (a) referring to fig. 4, mobile phone 100 can also show third control 404, when third control 404 when being triggered, the details introduction of the display of mobile phone 100 only charge mode, referring to fig. 4 (b).As shown in Fig. 4 (b), mobile phone 100 is aobvious Show the details introduction of only charge mode, and shows two options of " exiting only charge mode " and " keeping only charge mode ".If The option of " exiting only charge mode " is triggered, and mobile phone 100 can exit only charge mode, into normal mode of operation, if " protecting Hold only charge mode " option be triggered, mobile phone 100 keeps only charge mode.
Example 2: as shown in figure 5, mobile phone 100 pops up prompt information, the prompt information is for prompting user mobile phone 100 to be in Low power loss communication mode avoids the application using high power consumption under low-power consumption mode.Illustratively, mobile phone 100 can also be listed The list for the application that can be used, and the list of application that cannot be used.
Example 3: as shown in fig. 6, mobile phone 100 pops up prompt information, the prompt information is for prompting user mobile phone 100 to be in Normal mode of operation, in the normal mode of operation, the institute in mobile phone 100 functional can be used normally.Certainly, mobile phone 100 into After entering normal mode of operation, prompt information can not also be exported, the embodiment of the present application is not construed as limiting.
Example 4: as described in Figure 7, after mobile phone 100 detects power-on operation, if current remaining capacity is smaller, Ke Yixian Show prompt information, the prompt information is for prompting user to select with the booting of which kind of operating mode.It is shown in Figure 7, on mobile phone 100 It shows " only charge mode " " low power loss communication mode " " normal mode of operation ".Mobile phone 100 can also recommend optimal Working mould Formula.For example, the process step of mobile phone 100 according to Fig.3, determine that optimal operating mode is only charge mode, can to Recommend only charge mode in family.
It as can be seen from the above description,, can be with when electronic equipment is switched in start-up control method provided by the embodiments of the present application The power supply capacity choosing that can be provided according to the remaining capacity of the power supply capacity of extraneous power supply unit and/or the battery of therein Appropriate working modes are selected, for example, avoiding causing to be switched on repeatedly to enter high power consumption mode booting in capacity of power-sourcing equipment deficiency; When capacity of power-sourcing equipment is enough, avoids being switched on low-power consumption mode, affect user experience.In other words, terminal device can To match the power supply adaptor of different size, different power supply capacities, for example, terminal device and some power supply adaptor connect When connecing, suitable operating mode can be selected to be switched on according to the power supply capacity of the power supply adaptor, if with another power adaptation Device connection can select suitable operating mode to be switched on, to solve terminal according to the power supply capacity of another power supply adaptor The problem of equipment can only match with matched power supply adaptor.
It should be noted that as can be seen from the above description, in the embodiment of the present application, when electronic equipment is switched on, if with power supply Equipment connection then can select suitable operating mode to be switched on, electronic equipment is avoided to be switched on according to the power supply capacity of power supply unit Afterwards, the electric energy of consumption is larger, and when power supply unit power supply capacity is weaker, it is in the presence of being switched on repeatedly.Each reality of the application The mode of applying can be arbitrarily combined, to realize different technical effects.
In above-mentioned embodiment provided by the present application, from electronic equipment (mobile phone 100) as executing subject angle to this Shen Please embodiment provide method be described.In order to realize each function in above-mentioned method provided by the embodiments of the present application, electricity Sub- equipment may include hardware configuration and/or software module, add software module with hardware configuration, software module or hardware configuration Form realize above-mentioned each function.Some function in above-mentioned each function is with hardware configuration, software module or hardware configuration The mode of software module is added to execute, the specific application and design constraint depending on technical solution.
Device provided by the embodiments of the present application is introduced, with reference to the accompanying drawing to realize the application above method embodiment.
As shown in figure 8, the application other embodiment discloses a kind of electronic equipment, which may include: Charging interface 801, one or more processors 802, memory 803, one or more computer programs 804;Above-mentioned each device It can be connected by one or more communication bus 805.Wherein, one or more of computer programs 804 are stored in It states in memory 803 and is configured as being executed by the one or more processors 802, the one or more computer program 804 Including instruction, when which is executed by one or more processors 802, it is real that Fig. 3 above-mentioned~method shown in Fig. 7 may be implemented Apply all or part of the steps recorded in example.
Wherein, processor 802 can be central processing unit (central processing unit, CPU) or specific answer With integrated circuit (application-specific integrated circuit, ASIC), it can be one or more and be used for The integrated circuit that program executes is controlled, can be baseband chip, etc..The quantity of memory 803 can be one or more, deposit Reservoir 803 can be read-only memory (read-only memory, ROM), random access memory (random access Memory, RAM) or magnetic disk storage, etc..
Electronic equipment shown in Fig. 8 can be mobile phone, ipad, laptop, smart television, wearable device (such as Smartwatch, intelligent helmet or Intelligent bracelet etc.) etc..When electronic equipment shown in Fig. 8 is mobile phone, structure may refer to figure 2, for example, charging interface 801 is usb 1 30.Memory 803 is internal storage 120.
The embodiment of the present application also provides a kind of computer readable storage medium, which can store program, should Program is performed, and electronic equipment is executed including recording in Fig. 3 as the aforementioned~embodiment of the method shown in Fig. 7 All or part of the steps.
It includes computer program product that the embodiment of the present application, which also provides a kind of, when the computer program product is set in electronics When standby upper operation, the electronic equipment is executed including recording in Fig. 3 as the aforementioned~embodiment of the method shown in Fig. 7 All or part of the steps.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line) or wireless (such as infrared, wireless, microwave etc.) mode into another web-site, computer, server or data The heart is transmitted.The computer readable storage medium can be any usable medium or include that computer can access The data storage devices such as one or more usable mediums integrated server, data center.The usable medium can be magnetism Medium, (for example, floppy disk, hard disk, tape), optical medium (such as DVD) or semiconductor medium (such as solid state hard disk) etc..
For purposes of explanation, the description of front is described by reference to specific embodiment.However, above Illustrative discuss is not intended to be the precise forms disclosed in being also not intended to for the application being restricted in detail.According to Above teaching content, many modifications and variations are all possible.Selection and description embodiment are to fully state The principle and its practical application of the application, with so that others skilled in the art can make full use of have be suitable for The application of the various modifications for the special-purpose conceived and various embodiments.

Claims (11)

1. a kind of start-up control method is applied to electronic equipment, which is characterized in that the described method includes:
When detecting power-on instruction, determine that the electronic equipment is in the state of being electrically charged;
Detection is currently the power supply capacity of the power supply unit of electronic equipment charging;
The operating mode that the determining power supply capacity with the power supply unit matches;
The power-on instruction is responded, with operating mode booting.
2. the method as described in claim 1, which is characterized in that the work that the determining power supply capacity with the power supply unit matches Operation mode, comprising:
When the power supply capacity is less than first threshold, the first operating mode is determined;
When the power supply capacity is more than or equal to the first threshold, is less than second threshold, the second operating mode is determined;
When the power supply capacity is more than or equal to the second threshold, third operating mode is determined;
Wherein, first threshold be less than second threshold, the electronic equipment in this first operative mode needed for electric energy be less than In the second mode of operation needed for electric energy, the electronic equipment in the second mode of operation needed for electric energy be less than Electric energy needed under the third operating mode.
3. method according to claim 1 or 2, which is characterized in that the power supply capacity of the power supply unit includes: the power supply At least one of the output electric current of equipment, output voltage, output power.
4. method a method according to any one of claims 1-3, which is characterized in that the power-on instruction is responded, with the operating mode Before booting, the method also includes:
Prompt information is exported, whether first prompt information is for prompting with operating mode booting;
With operating mode booting, comprising:
When detecting the confirmation instruction for responding first prompt information, with operating mode booting.
5. method according to claim 2, which is characterized in that if after with first operating mode booting, the method Further include:
Detect the electricity of the electronic equipment;
When the electricity is greater than the first default electricity, into second operating mode;And/or it is greater than second in the electricity When default electricity, into the third operating mode;
The first default electricity is less than the described second default electricity.
6. method a method as claimed in any one of claims 1 to 5, which is characterized in that after operating mode booting, further includes:
The second prompt information is exported, second prompt information is for prompting the electronic device works in the operating mode.
7. the method as described in claim 1-6 is any, which is characterized in that in the determining power supply capacity phase with the power supply unit Before matched operating mode, further include;
Determine that the power supply capacity of the built-in power of the electronic equipment is unsatisfactory for the charge requirement of the electronic equipment.
8. the method for claim 7, which is characterized in that the method also includes:
When determining that the power supply capacity of the built-in power meets the charge requirement of the electronic equipment, the determining and in-built electrical The operating mode that the power supply capacity in source matches,
The operating mode booting to be matched with the power supply capacity with the built-in power.
9. a kind of electronic equipment, which is characterized in that including charging interface, at least one processor, memory;
The charging interface, for connecting power supply unit;
The memory, for storing one or more computer programs;
When one or more computer programs of memory storage are executed by least one described processor, so that described Electronic equipment can be realized method a method as claimed in any one of claims 1-8.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes computer journey Sequence, when computer program is run on an electronic device, so that the electronic equipment is executed as described in claim 1 to 8 is any Method.
11. a kind of program product, which is characterized in that including instruction, when described instruction is run on computers, so that the meter Calculation machine executes the method according to claim 1.
CN201910380590.8A 2019-05-08 2019-05-08 A kind of start-up control method and electronic equipment Pending CN110225576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910380590.8A CN110225576A (en) 2019-05-08 2019-05-08 A kind of start-up control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910380590.8A CN110225576A (en) 2019-05-08 2019-05-08 A kind of start-up control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110225576A true CN110225576A (en) 2019-09-10

Family

ID=67820564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910380590.8A Pending CN110225576A (en) 2019-05-08 2019-05-08 A kind of start-up control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110225576A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282157A (en) * 2021-05-11 2021-08-20 深圳市乐得瑞科技有限公司 Control method of display device and display device
CN114039398A (en) * 2022-01-07 2022-02-11 深圳比特微电子科技有限公司 Control method and device of new energy camera equipment and storage medium
CN114243846A (en) * 2021-12-22 2022-03-25 歌尔光学科技有限公司 Power supply control method and system, wearable device and computer readable storage medium
CN114442778A (en) * 2020-11-02 2022-05-06 微盟电子(昆山)有限公司 Power supply access method, power supply switching method and electronic equipment
CN116054303A (en) * 2022-07-08 2023-05-02 荣耀终端有限公司 Charging method and related electronic equipment
CN116133013A (en) * 2023-04-17 2023-05-16 深圳市谨讯科技有限公司 Communication mode setting method, device, terminal equipment and storage medium
CN117134009A (en) * 2023-04-21 2023-11-28 荣耀终端有限公司 Charging method and electronic equipment

Citations (6)

* 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
CN101916127A (en) * 2010-07-21 2010-12-15 中兴通讯股份有限公司 Power supply control method for terminal equipment and terminal equipment
CN103777730A (en) * 2012-10-19 2014-05-07 纬创资通股份有限公司 Power management circuit and method thereof
US20150048837A1 (en) * 2013-08-19 2015-02-19 Samsung Electronics Co., Ltd. Method of managing state of charge and electronic device thereof
CN106959844A (en) * 2016-01-12 2017-07-18 西安中兴新软件有限责任公司 A kind of low method and device for establishing machine processing by cable
CN108363020A (en) * 2018-04-03 2018-08-03 深圳市道通智能航空技术有限公司 Determine method and apparatus, chip, battery and the aircraft of battery status

Patent Citations (6)

* 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
CN101916127A (en) * 2010-07-21 2010-12-15 中兴通讯股份有限公司 Power supply control method for terminal equipment and terminal equipment
CN103777730A (en) * 2012-10-19 2014-05-07 纬创资通股份有限公司 Power management circuit and method thereof
US20150048837A1 (en) * 2013-08-19 2015-02-19 Samsung Electronics Co., Ltd. Method of managing state of charge and electronic device thereof
CN106959844A (en) * 2016-01-12 2017-07-18 西安中兴新软件有限责任公司 A kind of low method and device for establishing machine processing by cable
CN108363020A (en) * 2018-04-03 2018-08-03 深圳市道通智能航空技术有限公司 Determine method and apparatus, chip, battery and the aircraft of battery status

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114442778A (en) * 2020-11-02 2022-05-06 微盟电子(昆山)有限公司 Power supply access method, power supply switching method and electronic equipment
CN113282157A (en) * 2021-05-11 2021-08-20 深圳市乐得瑞科技有限公司 Control method of display device and display device
CN114243846A (en) * 2021-12-22 2022-03-25 歌尔光学科技有限公司 Power supply control method and system, wearable device and computer readable storage medium
CN114039398A (en) * 2022-01-07 2022-02-11 深圳比特微电子科技有限公司 Control method and device of new energy camera equipment and storage medium
CN114039398B (en) * 2022-01-07 2022-05-17 深圳比特微电子科技有限公司 Control method and device of new energy camera equipment and storage medium
CN116054303A (en) * 2022-07-08 2023-05-02 荣耀终端有限公司 Charging method and related electronic equipment
CN116054303B (en) * 2022-07-08 2023-09-08 荣耀终端有限公司 Charging method and related electronic equipment
CN116133013A (en) * 2023-04-17 2023-05-16 深圳市谨讯科技有限公司 Communication mode setting method, device, terminal equipment and storage medium
CN117134009A (en) * 2023-04-21 2023-11-28 荣耀终端有限公司 Charging method and electronic equipment
CN117134009B (en) * 2023-04-21 2024-05-31 荣耀终端有限公司 Charging method and electronic equipment

Similar Documents

Publication Publication Date Title
CN110225576A (en) A kind of start-up control method and electronic equipment
EP4080834A1 (en) Notification processing system and method, and electronic device
WO2021052263A1 (en) Voice assistant display method and device
WO2021013156A1 (en) Bluetooth switching method and bluetooth device
WO2021115007A1 (en) Network switching method and electronic device
WO2021185105A1 (en) Method for switching between sim card and esim card, and electronic device
US20130331028A1 (en) Connection Tethering and Service Remoting
CN113497909B (en) Equipment interaction method and electronic equipment
CN110401767B (en) Information processing method and apparatus
WO2020073288A1 (en) Method for triggering electronic device to execute function and electronic device
CN114173204A (en) Message prompting method, electronic equipment and system
CN110198362B (en) Method and system for adding intelligent household equipment into contact
WO2021036830A1 (en) Method for displaying application on folding screen, and electronic device
US20230351048A1 (en) Application Permission Management Method and Apparatus, and Electronic Device
CN111371849A (en) Data processing method and electronic equipment
WO2023065931A1 (en) Method for charging electronic device, and electronic device
CN110687998A (en) Application management method and device
JP7234379B2 (en) Methods and associated devices for accessing networks by smart home devices
CN115543700A (en) Handwriting pen detection method and device and terminal equipment
CN114430543A (en) Communication control method and device of mobile terminal, storage medium and electronic equipment
CN114339698A (en) Method for establishing wireless connection through equipment touch, electronic equipment and chip
CN104219372B (en) Adjust the method and device of backlight brightness
CN113365274B (en) Network access method and electronic equipment
CN115119336B (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN114356172A (en) Data transmission method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190910

WD01 Invention patent application deemed withdrawn after publication