WO2019119912A1 - Terminal booting method and device, storage medium and electronic device - Google Patents

Terminal booting method and device, storage medium and electronic device Download PDF

Info

Publication number
WO2019119912A1
WO2019119912A1 PCT/CN2018/107345 CN2018107345W WO2019119912A1 WO 2019119912 A1 WO2019119912 A1 WO 2019119912A1 CN 2018107345 W CN2018107345 W CN 2018107345W WO 2019119912 A1 WO2019119912 A1 WO 2019119912A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
display
target information
information
read
Prior art date
Application number
PCT/CN2018/107345
Other languages
French (fr)
Chinese (zh)
Inventor
豆明明
曹峰
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019119912A1 publication Critical patent/WO2019119912A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device

Definitions

  • the present disclosure relates to, but is not limited to, the field of communications.
  • Embodiments of the present disclosure provide a method and apparatus for booting a terminal, a storage medium, and an electronic device.
  • a method for booting a terminal including: determining whether a battery voltage of the terminal is less than a preset threshold after the power-on operation of the terminal is triggered, wherein the preset threshold includes one or The voltage value initiated by the plurality of hardware modules; in the case that the battery voltage of the terminal is less than a preset threshold, enabling the specified hardware module in one or more hardware modules on the terminal to be started, and reading the pre-stored target information ; Display the read target information to the display of the terminal.
  • a booting device for a terminal including: a determining module, configured to determine, after a booting operation of the triggering terminal, whether a battery voltage of the terminal is less than a preset threshold, wherein the preset threshold includes enabling a voltage value initiated by one or more hardware modules of the terminal; the reading module configured to enable a specified hardware module of one or more hardware modules on the terminal to be performed when the battery voltage of the terminal is less than a preset threshold Start up and read the pre-stored target information; the display module is configured to display the read target information to the display screen of the terminal.
  • a storage medium including a stored program, wherein the booting method of the terminal is executed when the program is running.
  • an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the booting method of the terminal by a computer program.
  • the terminal in a case where the battery voltage of the current terminal is less than a preset threshold, wherein the preset threshold includes a startup voltage value capable of causing one or more hardware modules on the terminal, the terminal can still enable the terminal to be The specified hardware module in one or more hardware modules is started, and the pre-stored target information is read, thereby solving the problem that the terminal battery voltage is too low to be normally turned on in the related art, and the effect of improving the user experience is achieved.
  • the preset threshold includes a startup voltage value capable of causing one or more hardware modules on the terminal
  • FIG. 1 is a block diagram showing a hardware structure of a mobile terminal of a method for booting a terminal according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a booting method of a terminal according to an embodiment of the present disclosure
  • FIG. 3 is a structural block diagram of a booting device of a terminal according to an embodiment of the present disclosure
  • FIG. 4 is a block diagram 1 of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure
  • FIG. 5 is a block diagram 2 of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure
  • FIG. 6 is a block diagram 3 of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure
  • FIG. 7 is a structural block diagram of an apparatus for starting a low voltage according to an embodiment of the present disclosure.
  • FIG. 8 is a flow chart of a method of operating a low voltage boot in accordance with an embodiment of the present disclosure
  • FIG. 9 is a flowchart of a method of preset setting content to be displayed in a low voltage power on state according to an embodiment of the present disclosure.
  • FIG. 10 is a flowchart of a power on/off method of a low power mode of operation in accordance with an embodiment of the present disclosure
  • FIG. 11 is a flow chart of an encryption method for low power on, in accordance with an embodiment of the present disclosure.
  • FIG. 1 is a hardware structural block diagram of a mobile terminal of a method for booting a terminal according to an embodiment of the present disclosure.
  • mobile terminal 10 may include one or more (only one shown) processor 102 (processor 102 may include, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA), etc.
  • the processing device may include, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA), etc.
  • the processing device the memory 104 configured to store data
  • the transmission device 106 configured as a communication function.
  • the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 104 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the booting method of the terminal in the embodiment of the present disclosure, and the processor 102 executes by executing a software program and a module stored in the memory 104.
  • application software such as program instructions/modules corresponding to the booting method of the terminal in the embodiment of the present disclosure
  • the processor 102 executes by executing a software program and a module stored in the memory 104.
  • Various functional applications and data processing, that is, the above methods are implemented.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is configured to receive or transmit data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 2 is a flowchart of a method for booting a terminal according to an embodiment of the present disclosure. As shown in FIG. 2, the process includes the following steps:
  • Step S202 after triggering the power-on operation of the terminal, determining whether the battery voltage of the terminal is less than a preset threshold, where the preset threshold includes a voltage value capable of enabling one or more hardware modules on the terminal to be activated;
  • Step S204 in the case that the battery voltage of the terminal is less than a preset threshold, enabling the specified hardware module in one or more hardware modules on the terminal to be started, and reading the pre-stored target information;
  • Step S206 displaying the read target information to the display screen of the terminal.
  • the preset threshold includes a starting voltage value of one or more hardware modules on the terminal, and the terminal can still be able to enable the terminal to perform the above steps S202 to S206.
  • the specified hardware module of the one or more hardware modules on the terminal is started, and the pre-stored target information is read, thereby solving the problem that the terminal battery voltage is too low to be normally turned on in the related art, and the user is improved. The effect of the experience.
  • a preset threshold that includes a voltage value that enables one or more hardware modules on the terminal to be activated is preferably a hardware module that can be used to enable the terminal to boot normally.
  • the starting voltage value that is, the voltage value initiated by the one or more hardware modules is preferably one or more hardware module starting voltage values required for the terminal to be normally powered on.
  • the preset threshold is also commonly referred to as the lowest terminal.
  • the starting voltage value which is the minimum voltage value required to complete the power-on action, is typically between 3.3V and 3.6V in this embodiment.
  • the hardware that needs to be started for the normal booting involved in the embodiment includes at least: a power management circuit, a single core in a central processing unit (CPU), a memory, a memory, and a display; It is to be noted that, in the specific embodiment of the embodiment, in the case where the battery voltage of the terminal involved in the step S204 is greater than a preset threshold, it is preferably a single in the power management circuit and the multi-core CPU in the terminal. Multiple hardware modules of the core, memory, memory, and display are initialized and powered.
  • the terminal can still read and display the target information stored in advance, that is, without shortening the normality of the terminal.
  • the user can also obtain the target information stored in advance when the terminal battery voltage is too low to be normally turned on, thereby solving the related art method of reserving part of the power amount for the terminal as the normal power-on state again.
  • the user mistakenly believes that the current display power before the shutdown is a power that can be continuously used, resulting in a problem that the user experience is not good, and the effect of improving the user experience is achieved.
  • execution body of the above steps may be a terminal or the like, but is not limited thereto.
  • the pre-stored target information involved in the embodiment of the present disclosure includes, but is not limited to, application information of one or any combination of the following: a phone book, a notepad, information, and a photo. That is, the pre-stored application involved in the embodiment is preferentially an application related to text information, and an application related to a picture.
  • the foregoing pre-stored application is merely an example and is not limited thereto.
  • Other applications related to text information, and applications related to the image may also be applications, such as a bookkeeping book. Calendar and more.
  • the battery voltage in the smartphone is lower than the minimum startup voltage (preset threshold), and the low power boot process continues. Power-on and initialization of power management circuits, some CPUs (single cores in multi-core CPUs), memory, and memory in the Android Phone's Secondary Boot Loader (SBL) phase, on Android smartphones
  • SBL Secondary Boot Loader
  • the lk stage initializes the display, it does not continue to initialize many hardware, and does not continue to jump to the kernel and its later boot process. Instead, it enters the low after the screen initialization in the aboot init process of the lk phase.
  • the voltage starts up and remains in the lk phase, entering the display of pre-stored application information. Because the current required for the lk phase is many times lower than the maximum current required for the subsequent boot process, the smartphone can also be used for a longer period of time at low voltages.
  • the manner in which the read target information is displayed on the display screen of the terminal in step S206 of the embodiment may be: according to the reading order of the read target information and Corresponding relationship between the type of the target information and the preset display mode, and the read target information is displayed to the display screen, wherein the customized format is read and displayed in the optional embodiment of the present embodiment.
  • Display and read for the way of swiping the picture that is, reading the picture content in a custom format and writing it directly to the display. That is to say, the manner of displaying the target in step S206 of the present embodiment is all preset in advance.
  • the following takes the type of the target information as the text information and the picture information as an example to display the read target information to the display screen according to the reading order of the reading target information and the correspondence between the type of the target information and the display mode. The way to explain.
  • the method displays the read text information according to the reading order of the read text information, the font size of the text information set in advance, and the number of lines of the text information displayed. To the display;
  • the method is: displaying the read text information to the display screen according to the reading order of the read picture information and the customized picture display format.
  • the information of the application program needs to be displayed under low voltage power-on in this embodiment, it is required to determine the pre-stored target information when the battery voltage of the terminal is greater than or equal to the preset threshold; and the determined target is to be determined.
  • the information is stored in an available partition; wherein the stored target information includes: information before and/or after the application update.
  • the format of the displayed target information corresponds to the format of the target information stored in the newly created backup partition.
  • the terminal is normally powered on (the battery voltage is greater than or equal to the preset threshold), it is necessary to preset which target information is stored, and the stored target information needs to be stored in the newly created backup partition or the existing available partition. In order to read these target information smoothly at low voltage.
  • the target information uses the target information as the application information for storing the address book, the text information, and the picture as an example, and what is set as the application preset under the normal booting, and also needs to store the information determined to be the previously stored application in the newly created An example of how to back up a partition or an existing available partition;
  • the storage operation is completed after the normal boot. After the normal boot, you can create a new backup partition, start a storage service, and write data to the partition by opening /OPEN, writing /WRITE, etc.
  • a corresponding operational interface is provided at the application layer to invoke the hardware abstraction layer/HAL layer implementation for use when needed.
  • the method in this embodiment may further include: adopting a preset virtual key of the terminal and/or Or the physical button controls the display state of the target information. That is to say, in the present embodiment, the displayed target information can be controlled by virtual keys and/or physical keys.
  • the target information to be displayed on the next screen is called up through the upper volume key of the terminal, and the lower volume button is used to call up the previous screen.
  • the target information to be displayed; or, the lower volume key is used to call up the target information to be displayed on the next screen, and the upper volume key is used to call up the target information to be displayed on the previous screen. That is, in the case of the low-voltage power-on, the information for the application with the display can be adjusted through the volume key of the terminal.
  • the following can be:
  • long press the volume button to quickly refresh the data, in order to quickly find the target content. In this way, the user can conveniently and quickly read and display the information of the application to be displayed.
  • the method in this embodiment may further include: displaying the target information at the current time. If the display time exceeds the first preset threshold, the display screen is turned off; if the display time of the current display target information exceeds the second preset threshold, receiving an instruction for triggering the terminal to perform the shutdown operation to perform the shutdown operation; The second preset threshold is greater than the first preset threshold.
  • the first preset threshold is preferably 30s, and the second preset threshold is preferentially 5min.
  • the values of the first preset threshold and the second preset threshold may be based on actual conditions. The setting is not limited to the above values.
  • a booting device for a terminal is also provided, and the device is configured to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram of a booting device of a terminal according to an embodiment of the present disclosure. As shown in FIG. 3, the device includes:
  • the determining module 32 is configured to determine, after the power-on operation of the triggering terminal, whether the battery voltage of the terminal is less than a preset threshold, where the preset threshold includes a voltage value that enables one or more hardware modules on the terminal to be activated;
  • the reading module 34 is coupled to the determining module 32 and configured to enable a specified hardware module of one or more hardware modules on the terminal to be started and read if the battery voltage of the terminal is less than a preset threshold. Pre-stored target information;
  • the display module 36 is coupled to the reading module 34 and configured to display the read target information to the display screen of the terminal.
  • the terminal in a case where the battery voltage of the current terminal is less than the startup voltage value of the hardware module required to enable the terminal to be normally turned on, the terminal can still read and display the target information stored in advance, that is, In the case that the terminal's normal battery life is not shortened, the user can also obtain the target information stored in advance when the terminal battery voltage is too low to be normally turned on, and solve the related art by reserving part of the power for the terminal as normal again.
  • the way the power is turned on causes the user to think that the current display power before the shutdown is the power that can be continuously used, resulting in a problem of poor user experience, and the effect of improving the user experience is achieved. .
  • the display module 36 involved in this embodiment is further configured to read the read order according to the read order of the read target information and the correspondence between the type of the target information and the preset display manner.
  • the target information is displayed to the display.
  • the display module 36 includes: a first display unit configured to read the read order of the text information, and a font size of the preset text information and The number of lines of text information displayed, the read text information is displayed to the display screen; and/or, the second display unit is configured to read the order of the read picture information, and a customized picture display format, The read text message is displayed on the display.
  • FIG. 4 is a block diagram of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure. As shown in FIG. 4 , the device includes: a determining module 42 and a display module 36 in addition to the modules included in FIG. 3 . a coupling link configured to determine pre-stored target information if a battery voltage of the terminal is greater than or equal to a preset threshold;
  • the storage module 44 is coupled with the determining module 42 to store the determined target information into the available partition, wherein the stored target information includes: information before and/or after the application update.
  • the format of the application information displayed by the display module 36 in the present embodiment corresponds to the format of the target information stored in the available partition by the storage module 44.
  • the device may further include: a control module 52, and a display, in addition to the module of FIG.
  • the module 36 is coupled to the link, and configured to receive, after the display module displays the information of the read application to the display screen of the terminal, the virtual key and/or the physical button triggered by the preset terminal to be used to indicate that the adjustment is currently displayed.
  • the instruction of the target information and sends the instruction to the display module;
  • the control module triggers an instruction for calling up the application information to be displayed on the next screen through the upper volume key of the volume key, and triggers an application for instructing to call up the previous screen to be displayed through the lower volume key of the volume key.
  • the instruction of the program information; or, by the lower volume key, an instruction for instructing to call up the application information of the next screen to be displayed, and an instruction for instructing to call up the application information of the previous screen to be displayed by the upper volume key is triggered. .
  • FIG. 6 is a block diagram 3 of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure.
  • the device may further include: a shutdown module 62 in addition to the modules of FIG. 3 and FIG. 5 described above.
  • a shutdown module 62 in addition to the modules of FIG. 3 and FIG. 5 described above.
  • the shutdown module 64 is coupled to the display module 36 and configured to receive the shutdown for triggering the terminal when the display time of the current display target information exceeds the second preset threshold and the button operation is not detected.
  • the instructions of the operation are to perform a shutdown operation.
  • the hardware involved in the embodiment includes at least: a power management circuit, a single core in a multi-core CPU, a memory, a memory, and a display screen; the application program involved in this embodiment includes: a phone. This, notebook, information, photos.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • an Android smartphone is taken as an example for illustration.
  • the user is provided with the required information and functions in the early booting phase of the Android smartphone.
  • the reason for implementing the function of the scheme at an earlier stage has two advantages: (1) achievable at this stage; (2) the current consumption current at this stage is greater than the maximum supply current required for the entire boot process. A lot smaller. This will ensure that the user can use the function smoothly.
  • FIG. 7 is a structural block diagram of a low voltage booting device according to an embodiment of the present disclosure. As shown in FIG. 7, the device includes:
  • the storage module 702 (corresponding to the storage module 44 in the embodiment 2) is configured to store information such as an address book, a notebook, and important information in a power-on state;
  • the startup module 704 (corresponding to the determination module 32 in the embodiment 2) is configured to be suspended when the battery voltage is lower than the normal minimum startup voltage, that is, when the battery is low, and at this time, at an earlier stage (such as the lk phase of the Android system). Continue to boot.
  • the startup module 704 does not complete the boot process.
  • the technical solution is also implemented at an early stage of booting. At this time, only part of the CPU, the memory, and the screen are initialized.
  • the read module 706 (corresponding to the read module 34 in Embodiment 2) is configured to read the contents of the storage module 702 at an earlier stage based on the boot module 704.
  • the control module 708 (corresponding to the control module 52 in the embodiment 2) is configured to output the information to the screen after the storage content is obtained based on the reading module 706, and can scroll through the keys or the like.
  • the shutdown module 710 (corresponding to the shutdown module 64 in the embodiment 2) is configured to be powered off by long pressing the power button after the user finishes using the information.
  • the low-voltage booting process of the present embodiment is described in detail in conjunction with the low-power operation of the present embodiment.
  • the user can trigger the booting process to enter a low-power operation after the battery is powered off. Mode, reading and outputting important information that users need.
  • the starting current and running current of this mode are significantly less than the normal starting current and running current, which can ensure that the user can smoothly enter the low-power operating mode after the battery is powered off.
  • FIG. 8 is a flowchart of a method for operating a low voltage boot according to an embodiment of the present disclosure. As shown in FIG. 8, the steps of the method include:
  • Step S801 The user triggers the boot process
  • Step S802 At an earlier stage of the boot process, such as the lk phase initiated by the Android system, it is determined whether the battery voltage is lower than the normal boot voltage. If it is lower than the normal startup voltage, it will jump to S804; if it is higher than the normal startup voltage, it will jump to S803.
  • the minimum turn-on voltage refers to the minimum voltage required to complete the boot operation, usually between 3.3V and 3.6V.
  • Step S803 The battery voltage is higher than the normal startup voltage, and the normal startup process is continued.
  • Step S804 the battery voltage is lower than the normal startup voltage, and the low power startup process is continued.
  • the power management circuit, part of the CPU, memory and memory hardware are powered on and initialized in the SBL stage.
  • the hardware After the display is initialized in the lk stage, the hardware is not initialized and the normal jump is no longer continued. Go to the kernel and its later boot process, but after the screen initialization in the aboot init process of the lk stage, it maintains the lk phase and enters specific important information (corresponding to the applications in the above embodiments 1 and 2).
  • the information shows that the current required by the lk phase is many times lower than the maximum current required for the subsequent boot process, so it can be used for a long time.
  • Step S805 In the lk stage, the important contents such as the phone book, the notebook, the information, and the picture stored by the user are read by an existing function such as MMC_READ.
  • Step S806 The read content is output to the display screen in sequence by the printing function, wherein the size of the font and the number of lines displayed per screen are fixed, and the format of the read and display content is corresponding to the format when the content is stored. To ensure the user experience.
  • the content of the image format can be displayed in a brushed manner.
  • Step S807 It is judged whether the upper volume key is pressed, and if it is pressed, step S808 is performed; otherwise, the current state is maintained. Press and hold the volume button to quickly refresh the data to quickly find the target content.
  • Step S808 Output the next screen data of the read content to the display screen, wherein if the read content has been outputted, it remains unchanged.
  • Step S809 It is judged whether the lower volume key is pressed, and if it is pressed, step S810 is performed; otherwise, the current state is maintained.
  • Step S810 Outputting the previous screen data of the read content to the display screen, wherein if the foremost read content has been displayed, it remains unchanged.
  • Step S811 If the display screen is always on, and there is no key operation within 30 seconds, it is considered to be a display timeout state, and then step S812 is performed.
  • Step S812 The display screen is turned off to save power.
  • Step S813 If it is detected that the display screen has been extinguished for five minutes, it is considered to be a black screen running timeout state, and then step S814 is performed.
  • Step S814 Perform a shutdown operation to save power.
  • the changed information is re-stored in the corresponding partition after each boot or when other important information such as an address book or a notepad changes.
  • FIG. 9 is a flowchart of a method for preset setting content to be displayed in a low voltage power-on state according to an embodiment of the present disclosure. As shown in FIG. 9, the steps of the method include:
  • Step S901 trigger the terminal to start normally.
  • Step S902 After detecting that the content of the address book, the notebook or other important information changes after the normal power-on, the changed data is re-stored, wherein all of the data may be re-stored, or the changed part may be re-stored.
  • Step S903 Start a data storage process.
  • the storage operation is completed after the normal boot.
  • a corresponding operational interface is provided at the application layer to invoke the hardware abstraction layer/HAL layer implementation for use when needed.
  • Step S904 storing an address book
  • the address book VCF/CSF file is accessed, and the content is simply processed and then transferred to the custom backup partition or the existing available partition through the interface provided in step S903.
  • a carriage return character is stored as the end mark of the article.
  • several carriage return characters are stored as the overall end mark. Of course, you can also customize other storage and reading rules.
  • Step S905 storing text information
  • the content is simply processed and then transferred to the custom backup partition or the existing available partition through the interface provided by S903.
  • Step S906 storing a picture
  • an on/off scene in a low power operation mode and an encryption scene in a low power on state are also provided.
  • FIG. 10 is a flowchart of a power on/off method of a low power operation mode according to an embodiment of the present disclosure. As shown in FIG. 10, the steps of the method include:
  • Step S1001 triggering a low power on operation
  • Step S1002 At an earlier stage, it is checked whether a charging device is connected. If the charging device is connected, the process is adjusted to S1003, otherwise step S1004 is performed;
  • Step S1003 connecting the charging device to go to the normal booting process
  • Step S1004 If the charging device is not connected, the power-on process is performed
  • Step S1005 determining whether the shutdown condition is satisfied, including a timeout timeout during low power operation and a user active button shutdown. If yes, step S1006 is performed, otherwise step S1007 is performed.
  • Step S1006 Continue the shutdown operation.
  • Step S1007 Maintaining a low power running state. If a charging device is detected, the normal boot process begins.
  • FIG. 11 is a flowchart of an encryption method for low power on according to an embodiment of the present disclosure. As shown in FIG. 11, the steps of the method include:
  • Step S1101 Normally booting.
  • Step S1102 Enter a low-power power-on password preset interface to perform four-digit password preset.
  • password there are many ways to password, including but not limited to biological information, digital information, and the like.
  • Step S1103 Start a low power boot process.
  • Step S1104 A four-digit password is input. If the matching is successful, step S1105 is performed, otherwise step S1106 is performed.
  • Step S1105 The password verification is successful, and the content is displayed.
  • Step S1106 Count the number of consecutively entered incorrect passwords. If an error is entered three times in succession, step S1107 is performed, otherwise step S1104 is performed.
  • Step S1107 inputting an error three times in succession, and directly performing a shutdown operation.
  • the information about the user is involved in this embodiment.
  • the user is required to input a password, and the content is displayed after the verification is passed.
  • Embodiments of the present disclosure also provide a storage medium including a stored program, wherein the program runs to perform the method of any of the above.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the preset threshold comprises a voltage value capable of enabling one or more hardware modules on the terminal to be activated
  • the foregoing storage medium may include, but is not limited to, a U disk, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • Embodiments of the present disclosure also provide an electronic device including a memory and a processor having a computer program stored therein, the processor being configured to perform the steps of any of the above methods by a computer program.
  • the foregoing program is used to perform the following steps:
  • the preset threshold includes a voltage value capable of enabling one or more hardware modules on the terminal to be activated
  • modules or steps of the present disclosure described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. As such, the disclosure is not limited to any specific combination of hardware and software.

Abstract

Provided are a terminal booting method and device, a storage medium and an electronic device, wherein the method includes: after the booting operation of the terminal is triggered, determining whether the battery voltage of the terminal is less than a preset threshold, wherein the preset threshold includes a voltage value that enables one or more hardware modules on the terminal to be activated; in the case that the battery voltage of the terminal is less than the preset threshold, activating the specified hardware module of one or more hardware modules on the terminal, and reading the pre-stored target information; displaying the read target information on the display of the terminal.

Description

终端的开机方法及装置、存储介质和电子装置Terminal booting method and device, storage medium and electronic device
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201711363413.6、申请日为2017年12月18日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 18, 2017, the filing date of which is hereby incorporated by reference.
技术领域Technical field
本公开涉及但不限于通信领域。The present disclosure relates to, but is not limited to, the field of communications.
背景技术Background technique
目前智能终端已经非常普及,但是其续航时间依然受限,大多智能手机维持在一天一充的状态。由于其耗电比较快,很多用户会遇到在有急事儿的时候,智能手机却由于低电关机了。在这种场景下,用户如果没有熟记通讯录、便签等信息,且智能终端已关机的情况下,用户无法通过重新开机获取通讯录、便签等信息。At present, smart terminals have become very popular, but their battery life is still limited, and most smartphones are maintained in a state of one day. Because of its relatively fast power consumption, many users will encounter a smartphone that is shut down due to low power when there is an emergency. In this scenario, if the user does not memorize the information such as the address book, the note, and the smart terminal is turned off, the user cannot obtain the information such as the address book and the note by rebooting.
针对相关技术中的上述问题,目前尚未存在有效的解决方案。In view of the above problems in the related art, there is currently no effective solution.
发明内容Summary of the invention
本公开实施例提供了一种终端的开机方法及装置、存储介质和电子装置。Embodiments of the present disclosure provide a method and apparatus for booting a terminal, a storage medium, and an electronic device.
根据本公开的一个实施例,提供了一种终端的开机方法,包括:在触发终端的开机操作后,判断终端的电池电压是否小于预设阈值,其中,预设阈值包括能够使终端的一个或多个硬件模块启动的电压值;在终端的电池电压小于预设阈值的情况下,对能够使得终端上的一个或多个硬件模块中的指定硬件模块进行启动,并读取预先存储的目标信息;将读取到的目标信息显示到终端的显示屏。According to an embodiment of the present disclosure, a method for booting a terminal is provided, including: determining whether a battery voltage of the terminal is less than a preset threshold after the power-on operation of the terminal is triggered, wherein the preset threshold includes one or The voltage value initiated by the plurality of hardware modules; in the case that the battery voltage of the terminal is less than a preset threshold, enabling the specified hardware module in one or more hardware modules on the terminal to be started, and reading the pre-stored target information ; Display the read target information to the display of the terminal.
根据本公开的另一个方面,提供了一种终端的开机装置,包括:判断模块,配置为在触发终端的开机操作后,判断终端的电池电压是否小于预设阈值,其中预设阈值包括能够使终端的一个或多个硬件模块启动的电压值;读取模块,配置为在终端的电池电压小于预设阈值的情况下,对能够使得终端上的一个或多个硬件模块中的指定硬件模块进行启动,并读取预先存储的目标信息;显示模块,配置为将读取到的目标信息显示到终端的显示屏。According to another aspect of the present disclosure, a booting device for a terminal is provided, including: a determining module, configured to determine, after a booting operation of the triggering terminal, whether a battery voltage of the terminal is less than a preset threshold, wherein the preset threshold includes enabling a voltage value initiated by one or more hardware modules of the terminal; the reading module configured to enable a specified hardware module of one or more hardware modules on the terminal to be performed when the battery voltage of the terminal is less than a preset threshold Start up and read the pre-stored target information; the display module is configured to display the read target information to the display screen of the terminal.
根据本公开的再一个方面,提供了一种存储介质,存储介质包括存储的程序,其中,程序运行时执行上述终端的开机方法。According to still another aspect of the present disclosure, a storage medium is provided, the storage medium including a stored program, wherein the booting method of the terminal is executed when the program is running.
根据本公开的又一个方面,提供了一种电子装置,包括存储器和处理器,其中,存储器中存储有计算机程序,处理器被设置为通过计算机程序执行上述终端的开机方法。According to still another aspect of the present disclosure, an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the booting method of the terminal by a computer program.
通过本公开,在当前终端的电池电压小于预设阈值的情况下,其中,该预设阈值包括能够使终端上的一个或多个硬件模块的启动电压值,终端依然可以对能够使得所述终端上的一个或多个硬件模块中的指定硬件模块进行启动,并读取预先存储的目标信息,从而解决了相关技术中终端电池电压过低无法正常开机的问题,达到了提高用户体验的效果。With the present disclosure, in a case where the battery voltage of the current terminal is less than a preset threshold, wherein the preset threshold includes a startup voltage value capable of causing one or more hardware modules on the terminal, the terminal can still enable the terminal to be The specified hardware module in one or more hardware modules is started, and the pre-stored target information is read, thereby solving the problem that the terminal battery voltage is too low to be normally turned on in the related art, and the effect of improving the user experience is achieved.
附图说明DRAWINGS
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开。在附图中:The accompanying drawings, which are set forth in the claims In the drawing:
图1是本公开实施例的终端的开机方法的移动终端的硬件结构框图;1 is a block diagram showing a hardware structure of a mobile terminal of a method for booting a terminal according to an embodiment of the present disclosure;
图2是根据本公开实施例的终端的开机方法的流程图;2 is a flowchart of a booting method of a terminal according to an embodiment of the present disclosure;
图3是根据本公开实施例的终端的开机装置的结构框图;3 is a structural block diagram of a booting device of a terminal according to an embodiment of the present disclosure;
图4是根据本公开实施例的终端的开机装置的可选结构框图一;4 is a block diagram 1 of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure;
图5是根据本公开实施例的终端的开机装置的可选结构框图二;5 is a block diagram 2 of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure;
图6是根据本公开实施例的终端的开机装置的可选结构框图三;6 is a block diagram 3 of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure;
图7是根据本公开实施例的低电压开机的装置的结构框图;7 is a structural block diagram of an apparatus for starting a low voltage according to an embodiment of the present disclosure;
图8是根据本公开实施例的低电压开机的运行方法流程图;8 is a flow chart of a method of operating a low voltage boot in accordance with an embodiment of the present disclosure;
图9是根据本公开实施例的预设设置低电压开机状态下待显示的内容的方法流程图;9 is a flowchart of a method of preset setting content to be displayed in a low voltage power on state according to an embodiment of the present disclosure;
图10是根据本公开实施例的低电运行模式的开关机方法的流程图;10 is a flowchart of a power on/off method of a low power mode of operation in accordance with an embodiment of the present disclosure;
图11是根据本公开实施例的低电开机的加密方法的流程图。11 is a flow chart of an encryption method for low power on, in accordance with an embodiment of the present disclosure.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present disclosure will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second", and the like in the specification and claims of the present disclosure are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
本申请实施例一所提供的方法实施例可以在移动终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本公开实施例的终端的开机方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器(MCU)或可编程逻辑器件(FPGA)等的处理装置)、配置为存储数据的存储器104、以及配置为通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal or a similar computing device. Taking a mobile terminal as an example, FIG. 1 is a hardware structural block diagram of a mobile terminal of a method for booting a terminal according to an embodiment of the present disclosure. As shown in FIG. 1, mobile terminal 10 may include one or more (only one shown) processor 102 (processor 102 may include, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA), etc. The processing device), the memory 104 configured to store data, and the transmission device 106 configured as a communication function. It will be understood by those skilled in the art that the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device. For example, the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
存储器104可配置为存储应用软件的软件程序以及模块,如本公开实施例中的终端的开机方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102 远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the booting method of the terminal in the embodiment of the present disclosure, and the processor 102 executes by executing a software program and a module stored in the memory 104. Various functional applications and data processing, that is, the above methods are implemented. Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置106配置为经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,简称为RF)模块,其配置为通过无线方式与互联网进行通讯。Transmission device 106 is configured to receive or transmit data via a network. The above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
在本实施例中提供了一种运行于上述移动终端的开机方法,图2是根据本公开实施例的终端的开机方法的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a method for booting the mobile terminal is provided. FIG. 2 is a flowchart of a method for booting a terminal according to an embodiment of the present disclosure. As shown in FIG. 2, the process includes the following steps:
步骤S202,在触发终端的开机操作后,判断终端的电池电压是否小于预设阈值,其中,预设阈值包括能够使终端上的一个或多个硬件模块启动的电压值;Step S202, after triggering the power-on operation of the terminal, determining whether the battery voltage of the terminal is less than a preset threshold, where the preset threshold includes a voltage value capable of enabling one or more hardware modules on the terminal to be activated;
步骤S204,在终端的电池电压小于预设阈值的情况下,对能够使得终端上的一个或多个硬件模块中的指定硬件模块进行启动,并读取预先存储的目标信息;Step S204, in the case that the battery voltage of the terminal is less than a preset threshold, enabling the specified hardware module in one or more hardware modules on the terminal to be started, and reading the pre-stored target information;
步骤S206,将读取到的目标信息显示到终端的显示屏。Step S206, displaying the read target information to the display screen of the terminal.
通过上述步骤S202至步骤S206,在当前终端的电池电压小于预设阈值的情况下,其中,该预设阈值包括能够使终端上的一个或多个硬件模块的启动电压值,终端依然可以对能够使得所述终端上的一个或多个硬件模块中的指定硬件模块进行启动,并读取预先存储的目标信息,从而解决了相关技术中终端电池电压过低无法正常开机的问题,达到了提高用户体验的效果。If the battery voltage of the current terminal is less than a preset threshold, the preset threshold includes a starting voltage value of one or more hardware modules on the terminal, and the terminal can still be able to enable the terminal to perform the above steps S202 to S206. The specified hardware module of the one or more hardware modules on the terminal is started, and the pre-stored target information is read, thereby solving the problem that the terminal battery voltage is too low to be normally turned on in the related art, and the user is improved. The effect of the experience.
需要说明的是,本实施例中涉及到的包括能够使终端上的一个或多个硬件模块启动的电压值的预设阈值,在本实施例中优选为能够使终端正常开机所需的硬件模块的启动电压值,即该一个或多个硬件模块启动的电压值优选为终端正常开机所需要的一个或多个硬件模块启动电压值,换句话 说,上述预设阈值也就是通常俗称的终端最低开机电压值,该最低开机电压值指的是完成开机动作需要的最低电压值,在本实施例中通常在3.3V~3.6V之间。It should be noted that, in this embodiment, a preset threshold that includes a voltage value that enables one or more hardware modules on the terminal to be activated is preferably a hardware module that can be used to enable the terminal to boot normally. The starting voltage value, that is, the voltage value initiated by the one or more hardware modules is preferably one or more hardware module starting voltage values required for the terminal to be normally powered on. In other words, the preset threshold is also commonly referred to as the lowest terminal. The starting voltage value, which is the minimum voltage value required to complete the power-on action, is typically between 3.3V and 3.6V in this embodiment.
而对于本实施例中涉及到的正常开机所需要启动的硬件至少包括:电源管理电路、多核中央处理器(Central Processing Unit,简称为CPU)中的单核、内存、存储器、显示屏;也就是说,对于步骤S204中涉及到的在终端的电池电压大于预设阈值的情况下,在本实施例的具体实施方式中优选为会对终端中的电源管理电路、多核中央处理器CPU中的单核、内存、存储器、显示屏的多个硬件模块进行初始化上电。The hardware that needs to be started for the normal booting involved in the embodiment includes at least: a power management circuit, a single core in a central processing unit (CPU), a memory, a memory, and a display; It is to be noted that, in the specific embodiment of the embodiment, in the case where the battery voltage of the terminal involved in the step S204 is greater than a preset threshold, it is preferably a single in the power management circuit and the multi-core CPU in the terminal. Multiple hardware modules of the core, memory, memory, and display are initialized and powered.
可见,在当前终端的电池电压小于能够使终端正常开机所需的硬件模块的启动电压值的情况下,终端依然可以读取并显示事先存储的目标信息,也就是说,在不缩短终端正常的续航时间的情况下,还能使用户在终端电池电压过低无法正常开机的情况下获取事先存储的目标信息,解决了相关技术中通过为终端预留部分电量作为再次正常开机电量的方式,造成用户误以为在关机之前的当前显示电量是能够持续使用的电量,导致用户体验效果不佳的问题,达到了提高用户体验的效果。It can be seen that, in the case that the battery voltage of the current terminal is less than the starting voltage value of the hardware module required to enable the terminal to be normally turned on, the terminal can still read and display the target information stored in advance, that is, without shortening the normality of the terminal. In the case of the endurance time, the user can also obtain the target information stored in advance when the terminal battery voltage is too low to be normally turned on, thereby solving the related art method of reserving part of the power amount for the terminal as the normal power-on state again. The user mistakenly believes that the current display power before the shutdown is a power that can be continuously used, resulting in a problem that the user experience is not good, and the effect of improving the user experience is achieved.
需要说明的是,上述步骤的执行主体可以为终端等,但不限于此。It should be noted that the execution body of the above steps may be a terminal or the like, but is not limited thereto.
另外,本公开实施例中涉及到的预先存储的目标信息包括但不限于以下之一或任意组合的应用程序信息:电话本、记事本、信息、照片。也即在本实施例中涉及到的预先存储的应用程序优先为与文本信息相关的应用程序,以及与图片相关的应用程序。但需要说明的是,上述预先存储的应用程序仅仅是举例说明,并不对其构成限定,其他与文本信息相关的应用程序,以及与图片相关的应用程序也可以是应用程序,例如记账本,日历等等。In addition, the pre-stored target information involved in the embodiment of the present disclosure includes, but is not limited to, application information of one or any combination of the following: a phone book, a notepad, information, and a photo. That is, the pre-stored application involved in the embodiment is preferentially an application related to text information, and an application related to a picture. However, it should be noted that the foregoing pre-stored application is merely an example and is not limited thereto. Other applications related to text information, and applications related to the image may also be applications, such as a bookkeeping book. Calendar and more.
下面以安卓智能手机为例对上述本实施例的方式进行说明;The following describes the manner of the foregoing embodiment by using an Android smartphone as an example;
在智能手机的电池电压低于最低开机电压(预设阈值),继续低电开机流程。在安卓手机的辅助启动加速(Secondary Boot Loader,简称为SBL)阶段对电源管理电路、部分CPU(多核CPU中的单核)、内存和存储器等硬件进行上电和初始化工作,在安卓智能手机的lk阶段对显示屏进行初始 化后,不再继续众多硬件进行初始化,不再继续正常的跳转到kernel及其后期的开机流程,而是在lk阶段的aboot init过程中在屏初始化后,进入低电压开机机,并一直维持在lk阶段,进入预先存储的应用程序信息的显示环节。因为lk阶段所需要的电流比后面的开机流程所需要的最大电流会低很多倍,所以在低电压状态下智能手机也能使用较长时间。The battery voltage in the smartphone is lower than the minimum startup voltage (preset threshold), and the low power boot process continues. Power-on and initialization of power management circuits, some CPUs (single cores in multi-core CPUs), memory, and memory in the Android Phone's Secondary Boot Loader (SBL) phase, on Android smartphones After the lk stage initializes the display, it does not continue to initialize many hardware, and does not continue to jump to the kernel and its later boot process. Instead, it enters the low after the screen initialization in the aboot init process of the lk phase. The voltage starts up and remains in the lk phase, entering the display of pre-stored application information. Because the current required for the lk phase is many times lower than the maximum current required for the subsequent boot process, the smartphone can also be used for a longer period of time at low voltages.
在lk阶段通过MMC_READ等现有函数读取用户存储的电话本、记事本、信息和图片等重要内容。In the lk stage, important contents such as phone book, notebook, information, and pictures stored by the user are read by an existing function such as MMC_READ.
在本实施例的一个可选实施方式中,本实施例步骤S206中涉及到的将读取到的目标信息显示到终端的显示屏的方式,可以为:根据读取目标信息的读取顺序以及目标信息的类型与预先设置的显示方式之间的对应关系,将读取到的目标信息显示到显示屏,其中,该自定义的格式读取并显示在本实施例的可选实施方式中优选为刷图的方式进行显示和读取,即通过自定义的格式读取图片内容,并直接写到显示屏上。也就是说,在本实施例的步骤S206中显示目标的方式都是事先预设的。In an optional implementation manner of this embodiment, the manner in which the read target information is displayed on the display screen of the terminal in step S206 of the embodiment may be: according to the reading order of the read target information and Corresponding relationship between the type of the target information and the preset display mode, and the read target information is displayed to the display screen, wherein the customized format is read and displayed in the optional embodiment of the present embodiment. Display and read for the way of swiping the picture, that is, reading the picture content in a custom format and writing it directly to the display. That is to say, the manner of displaying the target in step S206 of the present embodiment is all preset in advance.
下面以目标信息的类型为文字信息和图片信息为例对上述根据读取目标信息的读取顺序以及目标信息的类型与显示方式之间的对应关系,将读取到的目标信息显示到显示屏的方式进行说明。The following takes the type of the target information as the text information and the picture information as an example to display the read target information to the display screen according to the reading order of the reading target information and the correspondence between the type of the target information and the display mode. The way to explain.
在目标信息为文字信息的情况下,该方式为:根据读取文字信息的读取顺序,以及预先设置的文字信息的字体大小以及文字信息的显示的行数,将读取到的文字信息显示到显示屏;When the target information is text information, the method displays the read text information according to the reading order of the read text information, the font size of the text information set in advance, and the number of lines of the text information displayed. To the display;
在目标信息为图片信息的情况下,该方式为:根据读取图片信息的读取顺序,以及自定义的图片显示格式,将读取到的文字信息显示到显示屏。In the case where the target information is picture information, the method is: displaying the read text information to the display screen according to the reading order of the read picture information and the customized picture display format.
由于在本实施例需要对应用程序的信息在低电压开机下进行显示,因此,需要在在终端的电池电压大于或等于预设阈值的情况下,确定预先存储的目标信息;并将确定的目标信息存储到可用分区中;其中,存储的目标信息包括:应用程序更新之前和/或更新之后的信息。为了能够在低电压下读取和显示信息正常,该显示的目标信息的格式与存储到新建备份分区中的目标信息的格式相对应。Since the information of the application program needs to be displayed under low voltage power-on in this embodiment, it is required to determine the pre-stored target information when the battery voltage of the terminal is greater than or equal to the preset threshold; and the determined target is to be determined. The information is stored in an available partition; wherein the stored target information includes: information before and/or after the application update. In order to be able to read and display information at a low voltage, the format of the displayed target information corresponds to the format of the target information stored in the newly created backup partition.
可见,在终端正常开机(电池电压大于或等于预设阈值)的情况下, 需要预设存储哪些目标信息,而且还需要将存储的目标信息存储在新建的备份分区或现有可用的分区中,以便在低电压开机下能够顺利的读取到这些目标信息。It can be seen that, in the case that the terminal is normally powered on (the battery voltage is greater than or equal to the preset threshold), it is necessary to preset which target information is stored, and the stored target information needs to be stored in the newly created backup partition or the existing available partition. In order to read these target information smoothly at low voltage.
下面以目标信息为存储通讯录、文本信息以及图片的应用程序信息为例,对上述正常开机下预设设置哪些为应用程序,而且还需要将确定为事先存储的应用程序的信息存储在新建的备份分区或现有可用的分区中的方式进行举例说明;The following uses the target information as the application information for storing the address book, the text information, and the picture as an example, and what is set as the application preset under the normal booting, and also needs to store the information determined to be the previously stored application in the newly created An example of how to back up a partition or an existing available partition;
在正常开机操作过程中,检测到了通讯录、记事本或者其他重要信息的内容发生变化时,需要重新存储一遍这些数据,可以是全部重新存储,也可以是将变化的部分重新存储。During the normal boot operation, when the content of the address book, notebook, or other important information is detected to change, the data needs to be re-stored, either all of them may be re-stored, or the changed portion may be re-stored.
存储操作是在正常开机后完成的。正常开机后可以新建一个backup分区,启动一个存储服务,通过对文件的打开/OPEN、写/WRITE等操作实现将数据写到分区里。在应用层提供用来调用硬件抽象层/HAL层实现的相应操作接口,供需要之时使用。The storage operation is completed after the normal boot. After the normal boot, you can create a new backup partition, start a storage service, and write data to the partition by opening /OPEN, writing /WRITE, etc. A corresponding operational interface is provided at the application layer to invoke the hardware abstraction layer/HAL layer implementation for use when needed.
(1)存储通讯录,访问通讯录VCF/CSF文件,将内容简单处理后通过接口,转存到自定义backup分区或者现有可用的分区内。每一条通讯录存储完后,再存储一个回车字符,作为该条结束标志。所有内容存储完,再存储若干个回车字符,作为整体结束标志。当然也可以自定义其他的存储、读取规则。(1) Store the address book, access the address book VCF/CSF file, and simply transfer the content to the custom backup partition or the existing available partition through the interface. After each address book is stored, a carriage return character is stored as the end mark of the article. After all the content is stored, several carriage return characters are stored as the overall end mark. Of course, you can also customize other storage and reading rules.
(2)存储文本信息,访问记事本等其他重要信息文件,将内容简单处理后通过上述操作接口,转存到自定义backup分区或者现有可用的分区内。(2) Store text information, access other important information files such as Notepad, and simply process the content and transfer it to the custom backup partition or the existing available partition through the above operation interface.
(3)存储图片,选择图片存入到backup分区。(3) Store the picture and select the picture to save to the backup partition.
在本实施例的另一个可选实施方式中,在本实施例的步骤S206显示读取到的应用程序的信息之后,本实施例的方法还可以包括:通过预先设置的终端的虚拟键和/或实体按键控制目标信息的显示状态。也就是说,在本实施例中可以通过虚拟键和/或实体按键对显示的目标信息进行控制。In another optional implementation manner of this embodiment, after the information of the read application is displayed in step S206 of the embodiment, the method in this embodiment may further include: adopting a preset virtual key of the terminal and/or Or the physical button controls the display state of the target information. That is to say, in the present embodiment, the displayed target information can be controlled by virtual keys and/or physical keys.
在通过实体按键对目标信息的显示状态进行控制的情况下,在本实施例中可以是:通过终端的上音量键调出下一屏待显示的目标信息,以及下 音量键调出上一屏待显示的目标信息;或,通过下音量键调出下一屏待显示的目标信息,以及上音量键调出上一屏待显示的目标信息。也即,在低电压开机的情况下,用于可以通过终端的音量键来调整带显示的应用程序的信息,在本实施例的具体应用场景中可以是:In the case that the display state of the target information is controlled by the physical button, in this embodiment, the target information to be displayed on the next screen is called up through the upper volume key of the terminal, and the lower volume button is used to call up the previous screen. The target information to be displayed; or, the lower volume key is used to call up the target information to be displayed on the next screen, and the upper volume key is used to call up the target information to be displayed on the previous screen. That is, in the case of the low-voltage power-on, the information for the application with the display can be adjusted through the volume key of the terminal. In the specific application scenario of this embodiment, the following can be:
判断终端的上音量键是否被按下,若被按下,输出读取内容的下一屏数据到显示屏上;其中如果已经将读取的内容输出完毕了,则维持显示屏上显示的内容不变;否则,维持目前状态不变,即输出读取内容的下一屏数据到显示屏上。判断下音量键是否被按下,若被按下,输出读取内容的上一屏数据到显示屏上,其中如果已经显示了最前面的读取到的内容,则维持显示屏上显示的内容不变;否则,维持目前状态不变,即输出读取内容的上一屏数据到显示屏上。其中,长按音量键可以快速刷新数据,以达到快速找到目标内容的目的。通过该方式,用户能够方便快捷的读取和显示待显示的应用程序的信息。Determining whether the upper volume key of the terminal is pressed, and if pressed, outputting the next screen data of the read content to the display screen; wherein if the read content has been outputted, the content displayed on the display is maintained No change; otherwise, the current state is maintained, that is, the next screen data of the read content is output to the display. Determine whether the volume key is pressed. If it is pressed, output the previous screen data of the read content to the display. If the content read at the front is already displayed, the content displayed on the display is maintained. No change; otherwise, keep the current state unchanged, that is, output the previous screen data of the read content to the display. Among them, long press the volume button to quickly refresh the data, in order to quickly find the target content. In this way, the user can conveniently and quickly read and display the information of the application to be displayed.
在本实施例的再一个可选实施方式中,在本实施例的步骤S206将读取到的目标信息显示到终端的显示屏之后,本实施例的方法还可以包括:在当前显示目标信息的显示时间超过第一预设阈值的情况下,关闭显示屏;在当前显示目标信息的显示时间超过第二预设阈值的情况下,接收用于触发终端执行关机操作的指令以执行关机操作;其中,第二预设阈值大于第一预设阈值。In still another optional implementation manner of this embodiment, after the read target information is displayed on the display screen of the terminal in step S206 of the embodiment, the method in this embodiment may further include: displaying the target information at the current time. If the display time exceeds the first preset threshold, the display screen is turned off; if the display time of the current display target information exceeds the second preset threshold, receiving an instruction for triggering the terminal to perform the shutdown operation to perform the shutdown operation; The second preset threshold is greater than the first preset threshold.
需要说明的是,上述第一预设阈值在本实施例中优选为30s,而第二预设阈值优先为5min,当然上述第一预设阈值和第二预设阈值的取值可以根据实际情况进行设定,并不限定于上述取值。It should be noted that, in the embodiment, the first preset threshold is preferably 30s, and the second preset threshold is preferentially 5min. Of course, the values of the first preset threshold and the second preset threshold may be based on actual conditions. The setting is not limited to the above values.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(Read-Only Memory,简称为ROM)/随机存取存储器(Random Access Memory,简称为RAM)、磁碟、光盘)中,包括若干指令用以使得一台终 端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, portions of the technical solution of the present disclosure that contribute in essence or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a read-only memory (Read-Only). Memory, referred to as ROM)/Random Access Memory (RAM), disk, CD-ROM, includes a number of instructions to make a terminal device (can be a mobile phone, computer, server, or network device) The method of the various embodiments of the present disclosure is performed.
实施例2Example 2
在本实施例中还提供了一种终端的开机装置,该装置配置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a booting device for a terminal is also provided, and the device is configured to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本公开实施例的终端的开机装置的结构框图,如图3所示,该装置包括:FIG. 3 is a structural block diagram of a booting device of a terminal according to an embodiment of the present disclosure. As shown in FIG. 3, the device includes:
判断模块32,配置为在触发终端的开机操作后,判断终端的电池电压是否小于预设阈值,其中,预设阈值包括能够使所述终端上的一个或多个硬件模块启动的电压值;The determining module 32 is configured to determine, after the power-on operation of the triggering terminal, whether the battery voltage of the terminal is less than a preset threshold, where the preset threshold includes a voltage value that enables one or more hardware modules on the terminal to be activated;
读取模块34,与判断模块32耦合链接,配置为在终端的电池电压小于预设阈值的情况下,对能够使得终端上的一个或多个硬件模块中的指定硬件模块进行启动,并读取预先存储的目标信息;The reading module 34 is coupled to the determining module 32 and configured to enable a specified hardware module of one or more hardware modules on the terminal to be started and read if the battery voltage of the terminal is less than a preset threshold. Pre-stored target information;
显示模块36,与读取模块34耦合链接,配置为将读取到的目标信息显示到终端的显示屏。The display module 36 is coupled to the reading module 34 and configured to display the read target information to the display screen of the terminal.
通过本实施例的上述装置,在当前终端的电池电压小于能够使终端正常开机所需的硬件模块的启动电压值的情况下,终端依然可以读取并显示事先存储的目标信息,也就是说,在不缩短终端正常的续航时间的情况下,还能使用户在终端电池电压过低无法正常开机的情况下获取事先存储的目标信息,解决了相关技术中通过为终端预留部分电量作为再次正常开机电量的方式,造成用户误以为在关机之前的当前显示电量是能够持续使用的电量,导致用户体验效果不佳的问题,达到了提高用户体验的效果。。With the above device of the embodiment, in a case where the battery voltage of the current terminal is less than the startup voltage value of the hardware module required to enable the terminal to be normally turned on, the terminal can still read and display the target information stored in advance, that is, In the case that the terminal's normal battery life is not shortened, the user can also obtain the target information stored in advance when the terminal battery voltage is too low to be normally turned on, and solve the related art by reserving part of the power for the terminal as normal again. The way the power is turned on causes the user to think that the current display power before the shutdown is the power that can be continuously used, resulting in a problem of poor user experience, and the effect of improving the user experience is achieved. .
可选地,本实施例中涉及到的显示模块36,还配置为将根据读取目标信息的读取顺序以及目标信息的类型与预先设置的显示方式之间的对应关系,将读取到的目标信息显示到显示屏。Optionally, the display module 36 involved in this embodiment is further configured to read the read order according to the read order of the read target information and the correspondence between the type of the target information and the preset display manner. The target information is displayed to the display.
进一步地,在目标信息包括但不限于文字信息和/或图片信息,显示模块36包括:第一显示单元,配置为根据读取文字信息的读取顺序,以及预先设置的文字信息的字体大小以及文字信息的显示的行数,将读取到的文字信息显示到显示屏;和/或,第二显示单元,配置为根据读取图片信息的读取顺序,以及自定义的图片显示格式,将读取到的文字信息显示到显示屏。Further, in the target information, including but not limited to the text information and/or the picture information, the display module 36 includes: a first display unit configured to read the read order of the text information, and a font size of the preset text information and The number of lines of text information displayed, the read text information is displayed to the display screen; and/or, the second display unit is configured to read the order of the read picture information, and a customized picture display format, The read text message is displayed on the display.
图4是根据本公开实施例的终端的开机装置的可选结构框图一,如图4所示,该装置除了上述图3所包括的模块之外,还包括:确定模块42,与显示模块36耦合链接,配置为在终端的电池电压大于或等于预设阈值的情况下,确定预先存储的目标信息;FIG. 4 is a block diagram of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure. As shown in FIG. 4 , the device includes: a determining module 42 and a display module 36 in addition to the modules included in FIG. 3 . a coupling link configured to determine pre-stored target information if a battery voltage of the terminal is greater than or equal to a preset threshold;
存储模块44,与确定模块42耦合链接,将确定的目标信息存储到可用分区中,其中,存储的目标信息包括:应用程序更新之前和/或更新之后的信息。The storage module 44 is coupled with the determining module 42 to store the determined target information into the available partition, wherein the stored target information includes: information before and/or after the application update.
基于上述图3和图4,本实施例中涉及到的显示模块36显示的应用程序信息的格式与存储模块44存储到可用分区中的目标信息的格式相对应。Based on the above-described FIG. 3 and FIG. 4, the format of the application information displayed by the display module 36 in the present embodiment corresponds to the format of the target information stored in the available partition by the storage module 44.
图5是根据本公开实施例的终端的开机装置的可选结构框图二,如图5所示,该装置除了包括上述图3的模块之外,该装置还可以包括:控制模块52,与显示模块36耦合链接,配置为在显示模块将读取到的应用程序的信息显示到终端的显示屏之后,接收通过预先设置的终端的虚拟键和/或实体按键触发的用于指示调整当前所显示的目标信息的指令,并将该指令发送到显示模块;5 is a block diagram of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure. As shown in FIG. 5, the device may further include: a control module 52, and a display, in addition to the module of FIG. The module 36 is coupled to the link, and configured to receive, after the display module displays the information of the read application to the display screen of the terminal, the virtual key and/or the physical button triggered by the preset terminal to be used to indicate that the adjustment is currently displayed. The instruction of the target information and sends the instruction to the display module;
其中,该控制模块通过音量键的上音量键触发用于指示调出下一屏待显示的应用程序信息的指令,通过音量键的下音量键触发用于指示调出上一屏待显示的应用程序信息的指令;或,通过下音量键触发用于指示调出下一屏待显示的应用程序信息的指令,通过上音量键触发用于指示调出上一屏待显示的应用程序信息的指令。The control module triggers an instruction for calling up the application information to be displayed on the next screen through the upper volume key of the volume key, and triggers an application for instructing to call up the previous screen to be displayed through the lower volume key of the volume key. The instruction of the program information; or, by the lower volume key, an instruction for instructing to call up the application information of the next screen to be displayed, and an instruction for instructing to call up the application information of the previous screen to be displayed by the upper volume key is triggered. .
图6是根据本公开实施例的终端的开机装置的可选结构框图三,如图6所示,该装置除了包括上述图3和图5的模块之外,该装置还可以包括:关闭模块62,与显示模块36耦合链接,配置为在显示模块将读取到的目标 信息显示到终端的显示屏之后,在当前显示目标信息的显示时间超过第一预设阈值且未检测到按键操作的情况下,关闭显示屏;关机模块64,与显示模块36耦合链接,配置为在当前显示目标信息的显示时间超过第二预设阈值且未检测到按键操作的情况下,接收用于触发终端执行关机操作的指令以执行关机操作。6 is a block diagram 3 of an optional structure of a booting device of a terminal according to an embodiment of the present disclosure. As shown in FIG. 6, the device may further include: a shutdown module 62 in addition to the modules of FIG. 3 and FIG. 5 described above. And coupled to the display module 36, configured to display, after the display module displays the read target information to the display screen of the terminal, when the display time of the current display target information exceeds the first preset threshold and the button operation is not detected The shutdown module 64 is coupled to the display module 36 and configured to receive the shutdown for triggering the terminal when the display time of the current display target information exceeds the second preset threshold and the button operation is not detected. The instructions of the operation are to perform a shutdown operation.
需要说明的是,本实施例中涉及到的部分硬件至少包括:电源管理电路、多核中央处理器CPU中的单核、内存、存储器、显示屏;本实施例中涉及到的应用程序包括:电话本、记事本、信息、照片。It should be noted that the hardware involved in the embodiment includes at least: a power management circuit, a single core in a multi-core CPU, a memory, a memory, and a display screen; the application program involved in this embodiment includes: a phone. This, notebook, information, photos.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
下面结合具体实施例3对本公开进行详细说明;The present disclosure will be described in detail below in conjunction with the specific embodiment 3.
实施例3Example 3
在本实施例中以安卓智能手机为例进行举例说明。In the embodiment, an Android smartphone is taken as an example for illustration.
在本实施例中通过修改开机流程,在安卓智能手机的较早开机阶段给用户提供所需信息和功能。之所以在较早阶段实现该方案的功能,有两个方面的优势:(1)在这个阶段是可以实现的;(2)在这个阶段耗电电流比整个开机过程所需要的最大供电电流要小很多。这样能保证用户可以顺利使用该功能。In the embodiment, by modifying the boot process, the user is provided with the required information and functions in the early booting phase of the Android smartphone. The reason for implementing the function of the scheme at an earlier stage has two advantages: (1) achievable at this stage; (2) the current consumption current at this stage is greater than the maximum supply current required for the entire boot process. A lot smaller. This will ensure that the user can use the function smoothly.
本实施例提供了一种低电压开机的装置,图7是根据本公开实施例的低电压开机的装置的结构框图,如图7所示,该装置包括:The embodiment provides a low voltage booting device, and FIG. 7 is a structural block diagram of a low voltage booting device according to an embodiment of the present disclosure. As shown in FIG. 7, the device includes:
存储模块702(对应于实施例2中的存储模块44),配置为在开机状态下,将通讯录、记事本、重要信息等信息存储起来;The storage module 702 (corresponding to the storage module 44 in the embodiment 2) is configured to store information such as an address book, a notebook, and important information in a power-on state;
启动模块704(对应于实施例2中的判断模块32),配置为在电池电压低于正常最低开机电压时,即低电开机时,此时在较早阶段(如Android系统的lk阶段)暂停继续开机。The startup module 704 (corresponding to the determination module 32 in the embodiment 2) is configured to be suspended when the battery voltage is lower than the normal minimum startup voltage, that is, when the battery is low, and at this time, at an earlier stage (such as the lk phase of the Android system). Continue to boot.
因为在正常开机流程里,较早阶段后面的流程会耗费大量电量,再电 池电压低于正常最低开机电压时,一般无法完成完整的开机流程。其中,启动模块704并没有完成开机过程,本技术方案也是在开机的较早阶段实现的,此时只有部分CPU、存储器和屏幕等进行了初始化工作。Because in the normal boot process, the process behind the earlier stage will consume a lot of power, and when the battery voltage is lower than the normal minimum boot voltage, the complete boot process cannot be completed. The startup module 704 does not complete the boot process. The technical solution is also implemented at an early stage of booting. At this time, only part of the CPU, the memory, and the screen are initialized.
读取模块706(对应于实施例2中的读取模块34),配置为基于启动模块704,在较早阶段读取存储模块702存下来的内容。The read module 706 (corresponding to the read module 34 in Embodiment 2) is configured to read the contents of the storage module 702 at an earlier stage based on the boot module 704.
其中,在读取的时候,需要注意的是要按照存储的时候约定的规则来读取,以便后续的使用。Among them, when reading, it is necessary to note that it should be read according to the rules agreed upon when stored for subsequent use.
控制模块708(对应于实施例2中的控制模块52),配置为基于读取模块706,获得存储内容后将信息输出到屏幕上,并可以通过按键等方式滚动阅读。The control module 708 (corresponding to the control module 52 in the embodiment 2) is configured to output the information to the screen after the storage content is obtained based on the reading module 706, and can scroll through the keys or the like.
关机模块710(对应于实施例2中的关机模块64),配置为在用户使用完信息后,可以通过长按电源键等方式关机。The shutdown module 710 (corresponding to the shutdown module 64 in the embodiment 2) is configured to be powered off by long pressing the power button after the user finishes using the information.
下面结合本实施例的低电运行开机的方法,对本实施例进行低电压开机过程进行详细描述,通过本实施例能实现用户在电池低电关机后,再次触发开机流程进入到一种低电运行模式,读取并输出用户所需要的重要信息。该模式的启动电流和运行电流相对于正常开机电流和运行电流会大幅度较少,从而能保证用户在电池低电关机后能顺利地进入低电运行模式。In the following, the low-voltage booting process of the present embodiment is described in detail in conjunction with the low-power operation of the present embodiment. In this embodiment, the user can trigger the booting process to enter a low-power operation after the battery is powered off. Mode, reading and outputting important information that users need. The starting current and running current of this mode are significantly less than the normal starting current and running current, which can ensure that the user can smoothly enter the low-power operating mode after the battery is powered off.
图8是根据本公开实施例的低电压开机的运行方法流程图,如图8所示,该方法的步骤包括:FIG. 8 is a flowchart of a method for operating a low voltage boot according to an embodiment of the present disclosure. As shown in FIG. 8, the steps of the method include:
步骤S801:用户触发开机流程;Step S801: The user triggers the boot process;
其中,在具体应用场景中优选为通过按电源键触发的。Among them, it is preferably triggered by pressing the power button in a specific application scenario.
步骤S802:在开机流程的较早阶段,比如Android系统启动的lk阶段,判断此时电池电压是否低于正常开机电压。若低于正常开机电压,则跳至S804;若高于正常开机电压,则跳至S803。最低开机电压指的是完成开机动作需要的最低电压,通常在3.3V~3.6V之间。Step S802: At an earlier stage of the boot process, such as the lk phase initiated by the Android system, it is determined whether the battery voltage is lower than the normal boot voltage. If it is lower than the normal startup voltage, it will jump to S804; if it is higher than the normal startup voltage, it will jump to S803. The minimum turn-on voltage refers to the minimum voltage required to complete the boot operation, usually between 3.3V and 3.6V.
步骤S803:电池电压高于正常开机电压,继续正常开机流程。Step S803: The battery voltage is higher than the normal startup voltage, and the normal startup process is continued.
步骤S804:电池电压低于正常开机电压,继续低电开机流程。Step S804: the battery voltage is lower than the normal startup voltage, and the low power startup process is continued.
其中,在SBL阶段对电源管理电路、部分CPU、内存和存储器等硬件 进行上电和初始化工作,在lk阶段对显示屏进行初始化后,不再继续众多硬件进行初始化,不再继续正常的跳转到kernel及其后期的开机流程,而是在lk阶段的aboot init过程中在屏初始化后,一直维持在lk阶段,进入特定的重要信息(对应于上述实施例1和实施例2中的应用程序的信息)显示环节,lk阶段所需要的电流比后面的开机流程所需要的最大电流会低很多倍,所以能使用较长时间。Among them, the power management circuit, part of the CPU, memory and memory hardware are powered on and initialized in the SBL stage. After the display is initialized in the lk stage, the hardware is not initialized and the normal jump is no longer continued. Go to the kernel and its later boot process, but after the screen initialization in the aboot init process of the lk stage, it maintains the lk phase and enters specific important information (corresponding to the applications in the above embodiments 1 and 2). The information shows that the current required by the lk phase is many times lower than the maximum current required for the subsequent boot process, so it can be used for a long time.
步骤S805:在lk阶段通过MMC_READ等现有函数读取用户存储的电话本、记事本、信息和图片等重要内容。Step S805: In the lk stage, the important contents such as the phone book, the notebook, the information, and the picture stored by the user are read by an existing function such as MMC_READ.
步骤S806:通过打印函数将读取的内容按照顺序输出到显示屏上,其中字体的大小和每屏显示的行数是固定的,读取和显示内容的格式是和存储内容的时候格式相应的,以确保用户体验。图片格式的内容可以刷图方式进行显示。Step S806: The read content is output to the display screen in sequence by the printing function, wherein the size of the font and the number of lines displayed per screen are fixed, and the format of the read and display content is corresponding to the format when the content is stored. To ensure the user experience. The content of the image format can be displayed in a brushed manner.
步骤S807:判断上音量键是否被按下,若被按下,则执行步骤S808;否则,维持目前状态不变。长按音量键可以快速刷新数据,以达到快速找到目标内容的目的。Step S807: It is judged whether the upper volume key is pressed, and if it is pressed, step S808 is performed; otherwise, the current state is maintained. Press and hold the volume button to quickly refresh the data to quickly find the target content.
步骤S808:输出读取内容的下一屏数据到显示屏上,其中如果已经将读取的内容输出完毕了,则维持不变。Step S808: Output the next screen data of the read content to the display screen, wherein if the read content has been outputted, it remains unchanged.
步骤S809:判断下音量键是否被按下,若被按下,则执行步骤S810;否则,维持目前状态不变。Step S809: It is judged whether the lower volume key is pressed, and if it is pressed, step S810 is performed; otherwise, the current state is maintained.
步骤S810:输出读取内容的上一屏数据到显示屏上,其中如果已经显示了最前面的读取到的内容,则维持不变。Step S810: Outputting the previous screen data of the read content to the display screen, wherein if the foremost read content has been displayed, it remains unchanged.
步骤S811:如果显示屏一直亮着,并且30秒之内没有按键操作,则认为是显示超时状态,则执行步骤S812。Step S811: If the display screen is always on, and there is no key operation within 30 seconds, it is considered to be a display timeout state, and then step S812 is performed.
步骤S812:将显示屏灭掉,以节省电量。Step S812: The display screen is turned off to save power.
步骤S813:如果检测到显示屏已经被灭掉五分钟后,则认为是黑屏运行超时状态,则执行步骤S814。Step S813: If it is detected that the display screen has been extinguished for five minutes, it is considered to be a black screen running timeout state, and then step S814 is performed.
步骤S814:执行关机操作,以节省电量。Step S814: Perform a shutdown operation to save power.
而在本实施例的步骤S801至步骤S814之前,为了能够准确地显示特 定的重要信息,需要在正常开机后预先设置哪些信息是特定的重要信息。该实施例中,在正常开机过程中,在每一次开机后或者通讯录、记事本等其他重要信息发生变化时,将变化的信息重新存储到相应分区里。Before the step S801 to the step S814 of the present embodiment, in order to accurately display the specific important information, it is necessary to set in advance which information is specific important information after the normal power-on. In this embodiment, during normal booting, the changed information is re-stored in the corresponding partition after each boot or when other important information such as an address book or a notepad changes.
图9是根据本公开实施例的预设设置低电压开机状态下待显示的内容的方法流程图,如图9所示,该方法的步骤包括:9 is a flowchart of a method for preset setting content to be displayed in a low voltage power-on state according to an embodiment of the present disclosure. As shown in FIG. 9, the steps of the method include:
步骤S901:触发终端正常开机。Step S901: trigger the terminal to start normally.
步骤S902:在正常开机后,检测到了通讯录、记事本或者其他重要信息的内容发生变化时,重新存储变化的数据,其中,可以是全部重新存储,也可以将变化的部分重新存储。Step S902: After detecting that the content of the address book, the notebook or other important information changes after the normal power-on, the changed data is re-stored, wherein all of the data may be re-stored, or the changed part may be re-stored.
步骤S903:开始数据存储流程。Step S903: Start a data storage process.
其中,存储操作是在正常开机后完成的。正常开机后可以新建一个backup分区,启动一个存储服务,通过对文件的打开/OPEN、写/WRITE等操作实现将数据写到分区里。在应用层提供用来调用硬件抽象层/HAL层实现的相应操作接口,供需要之时使用。Among them, the storage operation is completed after the normal boot. After the normal boot, you can create a new backup partition, start a storage service, and write data to the partition by opening /OPEN, writing /WRITE, etc. A corresponding operational interface is provided at the application layer to invoke the hardware abstraction layer/HAL layer implementation for use when needed.
步骤S904:存储通讯录;Step S904: storing an address book;
其中,访问通讯录VCF/CSF文件,将内容简单处理后通过步骤S903提供的接口,转存到自定义backup分区或者现有可用的分区内。每一条通讯录存储完后,再存储一个回车字符,作为该条结束标志。所有内容存储完,再存储若干个回车字符,作为整体结束标志。当然也可以自定义其他的存储、读取规则。The address book VCF/CSF file is accessed, and the content is simply processed and then transferred to the custom backup partition or the existing available partition through the interface provided in step S903. After each address book is stored, a carriage return character is stored as the end mark of the article. After all the content is stored, several carriage return characters are stored as the overall end mark. Of course, you can also customize other storage and reading rules.
步骤S905:存储文本信息;Step S905: storing text information;
其中,访问记事本等其他重要信息文件,将内容简单处理后通过S903提供的接口,转存到自定义backup分区或者现有可用的分区内。Among them, access to other important information files such as Notepad, the content is simply processed and then transferred to the custom backup partition or the existing available partition through the interface provided by S903.
步骤S906:存储图片;Step S906: storing a picture;
其中,选择图片存入到backup分区。Among them, select the image to be saved to the backup partition.
为了能够更加提高用户的体验效果,在本实施例中还提供了在低电运行模式的开关机场景,和低电开机的加密场景。In order to further improve the user experience, in the embodiment, an on/off scene in a low power operation mode and an encryption scene in a low power on state are also provided.
其中,图10是根据本公开实施例的低电运行模式的开关机方法的流程图,如图10,该方法的步骤包括:10 is a flowchart of a power on/off method of a low power operation mode according to an embodiment of the present disclosure. As shown in FIG. 10, the steps of the method include:
步骤S1001:触发低电开机操作;Step S1001: triggering a low power on operation;
步骤S1002:在较早阶段,检查是否连接了充电设备。如连接了充电设备,调至S1003,否则执行步骤S1004;Step S1002: At an earlier stage, it is checked whether a charging device is connected. If the charging device is connected, the process is adjusted to S1003, otherwise step S1004 is performed;
步骤S1003:连接了充电设备则走正常的开机流程;Step S1003: connecting the charging device to go to the normal booting process;
步骤S1004:没有连接充电设备则走低电开机流程;Step S1004: If the charging device is not connected, the power-on process is performed;
步骤S1005:判断关机条件是否满足,包括低电运行时的灭屏超时和用户主动按键关机。若满足,则执行步骤S1006,否则执行步骤S1007。Step S1005: determining whether the shutdown condition is satisfied, including a timeout timeout during low power operation and a user active button shutdown. If yes, step S1006 is performed, otherwise step S1007 is performed.
步骤S1006:继续关机操作。Step S1006: Continue the shutdown operation.
步骤S1007:维持低电运行状态。如果检测到了充电设备,则开始正常的开机流程。Step S1007: Maintaining a low power running state. If a charging device is detected, the normal boot process begins.
图11是根据本公开实施例的低电开机的加密方法的流程图,如图11所示,该方法的步骤包括:11 is a flowchart of an encryption method for low power on according to an embodiment of the present disclosure. As shown in FIG. 11, the steps of the method include:
步骤S1101:正常开机。Step S1101: Normally booting.
步骤S1102:进入低电开机密码预设界面进行四位密码预设。Step S1102: Enter a low-power power-on password preset interface to perform four-digit password preset.
其中,密码的方式有很多种,包括但不限于生物信息、数字信息等。Among them, there are many ways to password, including but not limited to biological information, digital information, and the like.
步骤S1103:启动低电开机流程。Step S1103: Start a low power boot process.
步骤S1104:输入四位密码,如果匹配成功,则执行步骤S1105,否则执行步骤S1106。Step S1104: A four-digit password is input. If the matching is successful, step S1105 is performed, otherwise step S1106 is performed.
步骤S1105:密码验证成功,开始显示内容。Step S1105: The password verification is successful, and the content is displayed.
步骤S1106:统计连续输入错误的密码次数,如果连续三次输入错误,则执行步骤S1107,否则执行步骤S1104。Step S1106: Count the number of consecutively entered incorrect passwords. If an error is entered three times in succession, step S1107 is performed, otherwise step S1104 is performed.
步骤S1107:连续三次输入错误,直接进行关机操作。Step S1107: inputting an error three times in succession, and directly performing a shutdown operation.
可见,该实施例中涉及到用户的信息安全,在低电开机的时候,要求用户输入密码,验证通过后才显示内容。It can be seen that the information about the user is involved in this embodiment. When the device is powered on, the user is required to input a password, and the content is displayed after the verification is passed.
实施例4Example 4
本公开的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项的方法。Embodiments of the present disclosure also provide a storage medium including a stored program, wherein the program runs to perform the method of any of the above.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,断终端的电池电压是否小于预设阈值,其中,预设阈值包括能够使所述终端上的一个或多个硬件模块启动的电压值;S1, whether the battery voltage of the disconnect terminal is less than a preset threshold, wherein the preset threshold comprises a voltage value capable of enabling one or more hardware modules on the terminal to be activated;
S2,在所述终端的电池电压小于预设阈值的情况下,对能够使得所述终端上的一个或多个硬件模块中的指定硬件模块进行启动,并读取预先存储的目标信息;S2, in a case that the battery voltage of the terminal is less than a preset threshold, enabling a specified hardware module in one or more hardware modules on the terminal to be started, and reading pre-stored target information;
S3,将读取到的目标信息显示到终端的显示屏。S3, displaying the read target information to the display screen of the terminal.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、ROM、RAM、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to, a U disk, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
本公开的实施例还提供了一种电子装置,包括存储器和处理器,存储器中存储有计算机程序,处理器被设置为通过计算机程序执行上述任一项方法中的步骤。Embodiments of the present disclosure also provide an electronic device including a memory and a processor having a computer program stored therein, the processor being configured to perform the steps of any of the above methods by a computer program.
可选地,在本实施例中,上述程序用于执行以下步骤:Optionally, in this embodiment, the foregoing program is used to perform the following steps:
S1,在触发终端的开机操作后,判断终端的电池电压是否小于预设阈值,其中,预设阈值包括能够使所述终端上的一个或多个硬件模块启动的电压值;S1, after triggering the power-on operation of the terminal, determining whether the battery voltage of the terminal is less than a preset threshold, where the preset threshold includes a voltage value capable of enabling one or more hardware modules on the terminal to be activated;
S2,在所述终端的电池电压小于预设阈值的情况下,对能够使得所述终端上的正常开机所需的一个或多个硬件模块中的部分指定硬件模块进行启动,并读取预先存储的目标信息;S2. In a case that the battery voltage of the terminal is less than a preset threshold, start a part of the specified hardware module of one or more hardware modules required to enable normal booting on the terminal, and read pre-storage Target information;
S3,将读取到的目标信息显示到终端的显示屏。S3, displaying the read target information to the display screen of the terminal.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present disclosure described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. As such, the disclosure is not limited to any specific combination of hardware and software.
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above description is only a preferred embodiment of the present disclosure, and is not intended to limit the disclosure, and various changes and modifications may be made to the present disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the scope of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (16)

  1. 一种终端的开机方法,包括:A method for booting a terminal, comprising:
    在触发终端的开机操作后,判断所述终端的电池电压是否小于预设阈值,其中,所述预设阈值包括能够使所述终端上的一个或多个硬件模块启动的电压值;After the power-on operation of the terminal is triggered, determining whether the battery voltage of the terminal is less than a preset threshold, where the preset threshold includes a voltage value capable of enabling one or more hardware modules on the terminal to be activated;
    在所述终端的电池电压小于预设阈值的情况下,对能够使得所述终端上的一个或多个硬件模块中的指定硬件模块进行启动,并读取预先存储的目标信息;And in a case that the battery voltage of the terminal is less than a preset threshold, enabling a specified hardware module in one or more hardware modules on the terminal to be started, and reading pre-stored target information;
    将读取到的目标信息显示到所述终端的显示屏。The read target information is displayed to the display screen of the terminal.
  2. 根据权利要求1所述的方法,其中,所述将读取到的目标信息显示到所述终端的显示屏包括:The method of claim 1, wherein the displaying the read target information to the display screen of the terminal comprises:
    根据读取所述目标信息的读取顺序以及目标信息的类型与预先设置的显示方式之间的对应关系,将读取到的所述目标信息显示到所述显示屏。The read target information is displayed on the display screen according to a reading order in which the reading of the target information is read and a correspondence between a type of the target information and a display manner set in advance.
  3. 根据权利要求2所述的方法,其中,所述目标信息包括文字信息和/或图片信息,所述根据读取所述目标信息的读取顺序以及目标信息的类型与显示方式之间的对应关系,将读取到的所述目标信息显示到所述显示屏包括:The method according to claim 2, wherein the target information includes text information and/or picture information, the correspondence between the reading order of reading the target information and the type of the target information and the display mode. Displaying the read target information to the display screen includes:
    根据读取所述文字信息的读取顺序,以及预先设置的文字信息的字体大小以及文字信息的显示的行数,将读取到的所述文字信息显示到所述显示屏;和/或,Displaying the read text information to the display screen according to a reading order of reading the text information, a font size of the preset text information, and a number of lines of display of the text information; and/or,
    根据读取所述图片信息的读取顺序,以及自定义的图片显示格式,将读取到的所述文字信息显示到所述显示屏。The read text information is displayed to the display screen according to a reading order in which the picture information is read, and a customized picture display format.
  4. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    在所述终端的电池电压大于或等于所述预设阈值的情况下,确定预先存储的目标信息;Determining the pre-stored target information if the battery voltage of the terminal is greater than or equal to the preset threshold;
    将确定的目标信息存储到可用分区中,其中,存储的应用程序的信息包括:所述目标信息更新之前和/或更新之后的信息。The determined target information is stored in an available partition, wherein the stored information of the application includes: information before and/or after the update of the target information.
  5. 根据权利要求1所述的方法,其中,在将读取到的应用程序的信息显示到所述终端的显示屏之后,所述方法还包括:The method of claim 1, wherein after displaying the information of the read application to the display screen of the terminal, the method further comprises:
    通过预先设置的所述终端的虚拟键和/或实体按键控制所述目标信息的显示状态。The display state of the target information is controlled by a virtual key and/or a physical button of the terminal set in advance.
  6. 根据权利要求5所述的方法,其中,通过预先设置的实体按键控制所述目标信息的显示状态包括:The method according to claim 5, wherein controlling the display state of the target information by a preset physical button comprises:
    通过所述终端的上音量键调出下一屏待显示的目标信息,以及下音量键调出上一屏待显示的目标信息;或,通过下音量键调出下一屏待显示的目标信息,以及上音量键调出上一屏待显示的目标信息。The upper volume key of the terminal is used to call up the target information to be displayed on the next screen, and the lower volume key is used to call up the target information to be displayed on the previous screen; or, the lower volume key is used to call up the target information to be displayed on the next screen. And the up volume button calls up the target information to be displayed on the previous screen.
  7. 根据权利要求1或5所述的方法,其中,在将读取到的目标信息显示到所述终端的显示屏之后,所述方法还包括:The method according to claim 1 or 5, wherein after displaying the read target information to the display screen of the terminal, the method further comprises:
    在当前显示目标信息的显示时间超过第一预设阈值且未检测到按键操作的情况下,关闭所述显示屏;Turning off the display screen when the display time of the current display target information exceeds the first preset threshold and the key operation is not detected;
    在当前显示所述目标信息的显示时间超过第二预设阈值且未检测到按键操作的情况下,接收用于触发所述终端执行关机操作的指令以执行关机操作;Receiving an instruction for triggering the terminal to perform a shutdown operation to perform a shutdown operation when the display time of the target information is currently displayed to exceed a second preset threshold and no key operation is detected;
    其中,所述第二预设阈值大于所述第一预设阈值。The second preset threshold is greater than the first preset threshold.
  8. 一种终端的开机装置,包括:A booting device for a terminal, comprising:
    判断模块,配置为在触发终端的开机操作后,判断所述终端的电池电压是否小于预设阈值,其中,所述预设阈值包括能够使所述终端上的一个或多个硬件模块启动的电压值;The determining module is configured to determine, after the power-on operation of the triggering terminal, whether the battery voltage of the terminal is less than a preset threshold, where the preset threshold includes a voltage that enables one or more hardware modules on the terminal to be activated. value;
    读取模块,配置为在所述终端的电池电压小于预设阈值的情况下,对能够使得所述终端上的一个多个硬件模块中的指定硬件模块进行启动,并读取预先存储的目标信息;a reading module configured to enable a specified hardware module of one of the plurality of hardware modules on the terminal to be activated and read the pre-stored target information if the battery voltage of the terminal is less than a preset threshold ;
    显示模块,配置为将读取到的目标信息显示到所述终端的显示屏。a display module configured to display the read target information to a display screen of the terminal.
  9. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein
    所述显示模块,还配置为根据读取所述目标信息的读取顺序以及目标信息的类型与预先设置的显示方式之间的对应关系,将读取到的所述目标信息显示到所述显示屏。The display module is further configured to display the read target information to the display according to a reading order of reading the target information and a correspondence between a type of the target information and a preset display manner. Screen.
  10. 根据权利要求9所述的装置,其中,在所述目标信息包括文字信息和/或图片信息,所述显示模块包括:The apparatus according to claim 9, wherein the target information comprises text information and/or picture information, and the display module comprises:
    第一显示单元,配置为根据读取所述文字信息的读取顺序,以及预先设置的文字信息的字体大小以及文字信息的显示的行数,将读取到的所述文字信息显示到所述显示屏;和/或,The first display unit is configured to display the read text information to the reading according to a reading order of reading the text information, a font size of the preset text information, and a number of lines of the text information displayed. Display; and/or,
    第二显示单元,配置为根据读取所述图片信息的读取顺序,以及自定义的图片显示格式,将读取到的所述文字信息显示到所述显示屏。The second display unit is configured to display the read text information to the display screen according to a reading order of reading the picture information and a customized picture display format.
  11. 根据权利要求8所述的装置,其中,所述装置还包括:The apparatus of claim 8 wherein said apparatus further comprises:
    确定模块,配置为在所述终端的电池电压大于或等于所述预设阈值的情况下,确定预先存储的目标信息;Determining a module, configured to determine pre-stored target information if a battery voltage of the terminal is greater than or equal to the preset threshold;
    存储模块,配置为将确定的目标信息存储到可用分区中,其中,存储的应用程序的信息包括:目标信息更新之前和/或更新之后的信息。And a storage module configured to store the determined target information into an available partition, wherein the stored information of the application includes: information before and/or after the update of the target information.
  12. 根据权利要求11所述的装置,其中,所述装置还包括:The apparatus of claim 11 wherein said apparatus further comprises:
    控制模块,配置为在所述显示模块将读取到的应用程序的信息显示到所述终端的显示屏之后,接收通过预先设置的所述终端的虚拟键和/或实体按键触发的用于指示调整当前所显示的目标信息的指令,并将该指令发送到所述显示模块。a control module, configured to: after the display module displays the information of the read application to the display screen of the terminal, receive the indication by using a preset virtual key and/or a physical button of the terminal An instruction to adjust the currently displayed target information and send the instruction to the display module.
  13. 根据权利要求12所述的装置,其中,The device according to claim 12, wherein
    所述控制模块,配置为通过所述终端的上音量键触发用于指示调出下一屏待显示的目标信息的指令,通过所述终端的下音量键触发用于指示调出上一屏待显示的目标信息的指令;或,通过所述终端的下 音量键触发用于指示调出下一屏待显示的目标信息的指令,通过所述终端上音量键触发用于指示调出上一屏待显示的目标信息的指令。The control module is configured to trigger, by using an upper volume key of the terminal, an instruction for prompting to call out target information to be displayed on the next screen, and triggering, by using a lower volume key of the terminal, to indicate that the previous screen is to be called up. An instruction to display the target information; or, by using a lower volume key of the terminal, an instruction for instructing to call up the target information to be displayed on the next screen is triggered by the volume key on the terminal for instructing to call up the previous screen. The instruction of the target information to be displayed.
  14. 根据权利要求8或12所述的装置,其中,所述装置还包括:The device of claim 8 or 12, wherein the device further comprises:
    关闭模块,配置为在所述显示模块将读取到的应用程序的信息显示到所述终端的显示屏之后,在当前显示目标信息的显示时间超过第一预设阈值且未检测到按键操作的情况下,关闭所述显示屏;Close the module, configured to display, after the display module displays the information of the read application to the display screen of the terminal, the display time of the current display target information exceeds a first preset threshold and no key operation is detected In case, the display screen is turned off;
    关机模块,配置为在当前显示目标信息的显示时间超过第二预设阈值且未检测到按键操作的情况下,接收用于触发所述终端执行关机操作的指令以执行关机操作;a shutdown module configured to receive an instruction for triggering the terminal to perform a shutdown operation to perform a shutdown operation if a display time of the current display target information exceeds a second preset threshold and no key operation is detected;
    其中,所述第二预设阈值大于所述第一预设阈值。The second preset threshold is greater than the first preset threshold.
  15. 一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至7中任一项所述的方法。A storage medium, the storage medium comprising a stored program, wherein the program is executed to perform the method of any one of claims 1 to 7.
  16. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至7任一项中所述的方法。An electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to perform the method of any one of claims 1 to 7 by the computer program.
PCT/CN2018/107345 2017-12-18 2018-09-25 Terminal booting method and device, storage medium and electronic device WO2019119912A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711363413.6A CN108093136A (en) 2017-12-18 2017-12-18 Starting-up method and device, the storage medium and electronic device of terminal
CN201711363413.6 2017-12-18

Publications (1)

Publication Number Publication Date
WO2019119912A1 true WO2019119912A1 (en) 2019-06-27

Family

ID=62176950

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/107345 WO2019119912A1 (en) 2017-12-18 2018-09-25 Terminal booting method and device, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN108093136A (en)
WO (1) WO2019119912A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093136A (en) * 2017-12-18 2018-05-29 中兴通讯股份有限公司 Starting-up method and device, the storage medium and electronic device of terminal
WO2020103017A1 (en) * 2018-11-21 2020-05-28 深圳市欢太科技有限公司 Power-on process control method, power-on process control apparatus and terminal device
CN116054303B (en) * 2022-07-08 2023-09-08 荣耀终端有限公司 Charging method and related electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616217A (en) * 2009-08-12 2009-12-30 中兴通讯股份有限公司 A kind of method and apparatus that shows key message
CN105847554A (en) * 2016-03-24 2016-08-10 维沃移动通信有限公司 Data processing method during abnormal shutdown of mobile terminal and mobile terminal
CN108093136A (en) * 2017-12-18 2018-05-29 中兴通讯股份有限公司 Starting-up method and device, the storage medium and electronic device of terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616217A (en) * 2009-08-12 2009-12-30 中兴通讯股份有限公司 A kind of method and apparatus that shows key message
CN105847554A (en) * 2016-03-24 2016-08-10 维沃移动通信有限公司 Data processing method during abnormal shutdown of mobile terminal and mobile terminal
CN108093136A (en) * 2017-12-18 2018-05-29 中兴通讯股份有限公司 Starting-up method and device, the storage medium and electronic device of terminal

Also Published As

Publication number Publication date
CN108093136A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN110023941B (en) System on chip and method for realizing switching of safety operation system
WO2019119912A1 (en) Terminal booting method and device, storage medium and electronic device
KR102042022B1 (en) System operation method and intelligent terminal
EP3089311B1 (en) Method for preventing battery swelling and electronic device thereof
US10318328B2 (en) Method for managing operating system and electronic device supporting the same
US10191811B2 (en) Dual boot computer system
CN108604190B (en) Electronic device for controlling applications and method of operating the same
US10095527B2 (en) Method for managing device and electronic device supporting the same
US10481917B2 (en) Method and apparatus for hibernation operation in multiple operating system environments
CN109905770B (en) Terminal starting method and device and terminal
KR20160136441A (en) User selectable operating systems
CN105335178B (en) Starting control method and device
WO2014187341A1 (en) Terminal configuration method and device, terminal, and storage medium
CN108804138A (en) application operating optimization method, device, storage medium and terminal device
CN116266467A (en) Memory device with secure boot update and auto-restore
CN108469962A (en) Mobile terminal based on cellphone shield and cellphone shield management method
KR20090004406A (en) Electronic device, electronic device system and control method thereof
US20140298222A1 (en) Method, system and computer program product for dynamic user interface switching
US20120311312A1 (en) Fast Boot Via State Recreation
ES2728679T3 (en) Operating system establishment procedure and device
WO2013167010A2 (en) Mobile terminal and startup method therefor
BR112017017461B1 (en) METHOD, DEVICE AND TERMINAL FOR PROCESSING THE FINGERPRINT EVENT
EP3073406A1 (en) Method for connecting local communication and electronic device supporting the same
EP4271124A1 (en) Switch module in a dual sim terminal
JP6192089B2 (en) Information processing apparatus, control method and control program for information processing apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18892903

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.10.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18892903

Country of ref document: EP

Kind code of ref document: A1