CN113672071A - Operating system running method and device, storage medium and terminal - Google Patents

Operating system running method and device, storage medium and terminal Download PDF

Info

Publication number
CN113672071A
CN113672071A CN202010413801.6A CN202010413801A CN113672071A CN 113672071 A CN113672071 A CN 113672071A CN 202010413801 A CN202010413801 A CN 202010413801A CN 113672071 A CN113672071 A CN 113672071A
Authority
CN
China
Prior art keywords
operating system
running
mode
uefi
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010413801.6A
Other languages
Chinese (zh)
Inventor
蒋志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN202010413801.6A priority Critical patent/CN113672071A/en
Publication of CN113672071A publication Critical patent/CN113672071A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system

Abstract

The embodiment of the application discloses an operating system running method, an operating system running device, a storage medium and a terminal, wherein the method comprises the following steps: receiving a power consumption saving mode starting instruction; the hot reboot operating system enters a Unified Extensible Firmware Interface (UEFI) stage and reads the marking information of the hot reboot; and when the mark information is determined to be the target mark information, controlling the operating system to keep running in a UEFI mode. The UEFI mode has the capabilities of system scheduling and memory allocation, some basic functions of an operating system can normally run in the UEFI mode, and other non-basic functions are closed; in the mode, the terminal is in a minimum running state, the purpose of saving power consumption is achieved under the condition that user experience is not influenced, and the standby time of the terminal is prolonged.

Description

Operating system running method and device, storage medium and terminal
Technical Field
The present application relates to the field of computer technologies, and in particular, to an operating system operating method and apparatus, a storage medium, and a terminal.
Background
With the development of society, mobile terminals have become a necessity in the work and life of adults.
The more the current mobile terminal screen is generally made, the more comprehensive the functions are, the higher the user use frequency is, the power consumption of the mobile terminal is gradually increased due to the factors, and the standby time is greatly shortened.
Aiming at the problem of shortening the standby time, the current solution is to start a power saving mode, and adaptively lower the display brightness of a terminal screen so as to save the electric quantity; or, when the remaining power of the terminal reaches the threshold, controlling to close all currently opened application programs (such as call service, short message reception, and the like). The above method has the following defects: the amount of power that can be saved by reducing the screen brightness is very limited, and automatically closing the application program brings inconvenience to subsequent use, which affects user experience.
Disclosure of Invention
The embodiment of the application provides an operating system operation method, an operating system operation device, a storage medium and a terminal, and aims of saving power consumption and prolonging standby time can be achieved under the condition that application use is not influenced. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an operating system running method, where the method includes:
receiving a power consumption saving mode starting instruction;
the hot reboot operating system enters a Unified Extensible Firmware Interface (UEFI) stage and reads the marking information of the hot reboot;
and when the mark information is determined to be the target mark information, controlling the operating system to keep running in a UEFI mode.
In a second aspect, an embodiment of the present application provides an operating system running apparatus, where the apparatus includes:
the instruction receiving module is used for receiving a power consumption saving mode starting instruction;
the mark information reading module is used for the hot restart of the operating system, entering a Unified Extensible Firmware Interface (UEFI) stage and reading the mark information of the hot restart;
and the operating system running module is used for controlling the operating system to keep running in a UEFI mode when the mark information is determined to be the target mark information.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the above methods.
In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of any one of the above methods when executing the program.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
according to the operating system operation method provided by the embodiment of the application, the terminal receives a power consumption saving mode starting instruction; the method comprises the steps that an operating system is restarted, and when entering a Unified Extensible Firmware Interface (UEFI) stage, mark information of the hot restart is read; and when the mark information is determined to be the target mark information, controlling the operating system to keep running in a UEFI mode. According to the method, the terminal performs hot restart when receiving a power saving mode starting instruction, and after determining that the reason causing the hot restart is the starting of the power saving mode at the UEFI stage, the operating system is controlled to be operated in the UEFI mode, wherein the UEFI mode has the capabilities of system scheduling and memory allocation, some basic functions of the operating system can be normally operated in the UEFI mode, and other non-basic functions are closed; in the mode, the terminal is in a minimum running state, the purpose of saving power consumption is achieved under the condition that user experience is not influenced, and the standby time of the terminal is prolonged.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an operating system running method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an operating system running method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an operating system running apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an operating system running apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an operating system running apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of a terminal structure according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The operating system operation method provided by the embodiment of the present application will be described in detail below with reference to fig. 1 to fig. 2.
Fig. 1 is a schematic flow chart of an operating system operating method according to an embodiment of the present disclosure.
As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, a power consumption saving mode starting instruction is received.
In the normal standby mode, when the terminal is started, all the application programs are in an initialized state, and a user can start and use the terminal normally. In case that the terminal does not need to be continuously used, the user may input the power saving mode on command through a virtual/physical button or voice, etc. The power consumption saving mode can reduce the energy consumption of the terminal and prolong the standby time.
The input mode of the power saving mode start instruction may specifically be: the user presses the power key twice in succession, or the voice input "turn on the power saving mode", or the like.
It should be noted that, when the power saving mode is activated by touching the physical button, the touch operation should be distinguished from the trigger operation of the conventional power saving/sleep mode. That is, when the operation of triggering the power-off saving/sleep mode is a single click of the power key, the operation of triggering the power-saving mode in the present embodiment may be set to a combination key of the power key and the volume key.
In addition, when the user cannot determine whether the terminal can be used again in a short time after the screen is turned off, the user can also preset a time threshold value according to the requirement of the actual situation, and when the screen turning-off time reaches the time threshold value, the power consumption saving mode is automatically started, and the next step is executed. The time threshold may be set, for example, to 10 minutes, etc.
And S102, the operation system is restarted by heat, and the unified extensible firmware interface UEFI stage is entered, and the marking information of the hot restart is read.
The operating system needs to pass through a Unified Extensible Firmware Interface (UEFI) stage no matter the operating system enters a normal mode or a power consumption saving mode, and the UEFI is an intermediary role when the operating system controls hardware and is responsible for hardware starting and detection during starting.
And after the power consumption saving mode is triggered, the operating system is restarted again and enters a Unified Extensible Firmware Interface (UEFI) stage. Because there are many reasons for causing the hot restart of the operating system, when entering the UEFI stage of the unified extensible firmware interface, the flag information of the hot restart needs to be read, and the hot restart reason is acquired.
Wherein, the hot restart is the self-reset start under the condition that the terminal does not need to cut off the power supply. And when the hot restart is carried out, the hot restart command carries marking information, the command is analyzed, and the hot restart reason is determined according to the marking information.
S103, when the mark information is determined to be the target mark information, controlling the operating system to keep running in a UEFI mode.
The target flag information is power consumption saving mode opening information.
Specifically, the reason for determining the hot restart by parsing is that the operating system stays in the UEFI mode when the power saving mode is turned on. The UEFI mode is a minimum operation mode of an operating system, in the UEFI mode, some basic functions can be normally used, such as short message sending and receiving and telephone calling, other functions (such as games, social applications and the like) except the basic functions are closed, and the terminal can be in a minimum operation mode under the condition that the basic functions are not lost, so that the power consumption is lowest.
The UEFI mode has system scheduling and memory allocation capabilities, so that the user can realize the most basic interaction with the terminal in the minimum operation mode.
According to the operating system operation method provided by the embodiment of the application, the terminal receives a power consumption saving mode starting instruction; the method comprises the steps that an operating system is restarted, and when entering a Unified Extensible Firmware Interface (UEFI) stage, mark information of the hot restart is read; and when the mark information is determined to be the target mark information, controlling the operating system to keep running in a UEFI mode. According to the method, the terminal performs hot restart when receiving a power saving mode starting instruction, and after determining that the reason causing the hot restart is the starting of the power saving mode at the UEFI stage, the operating system is controlled to be operated in the UEFI mode, wherein the UEFI mode has the capabilities of system scheduling and memory allocation, some basic functions of the operating system can be normally operated in the UEFI mode, and other non-basic functions are closed; in the mode, the terminal is in a minimum running state, the purpose of saving power consumption is achieved under the condition that user experience is not influenced, and the standby time of the terminal is prolonged.
Fig. 2 is a schematic flow chart of an operating system operating method according to an embodiment of the present disclosure.
As shown in fig. 2, the method of the embodiment of the present application may include the steps of:
s201, a power consumption saving mode starting instruction is received.
In the normal standby mode, when the terminal is started, all the application programs are in an initialized state, and a user can start and use the terminal normally. In case that the terminal does not need to be continuously used, the user may input the power saving mode on command through a virtual/physical button or voice, etc. The power consumption saving mode can reduce the energy consumption of the terminal and prolong the standby time.
The input mode of the power saving mode start instruction may specifically be: the user presses the power key twice in succession, or the voice input "turn on the power saving mode", or the like.
It should be noted that, when the power saving mode is activated by touching the physical button, the touch operation should be distinguished from the trigger operation of the conventional power saving/sleep mode. That is, when the operation of triggering the power-off saving/sleep mode is a single click of the power key, the operation of triggering the power-saving mode in the present embodiment may be set to a combination key of the power key and the volume key.
In addition, when the user cannot determine whether the terminal can be used again in a short time after the screen is turned off, the user can also preset a time threshold value according to the requirement of the actual situation, and when the screen turning-off time reaches the time threshold value, the power consumption saving mode is automatically started, and the next step is executed. The time threshold may be set, for example, to 10 minutes, etc.
S202, determining the currently running service or process; and storing the data generated in the running process of the service or the process, and closing the service or the process.
Therefore, after receiving the power saving mode starting instruction, the embodiment also needs to store the data generated by the currently running service and process, and after the data is successfully stored, the service or process is controlled to be closed.
The service is automatically completed by the system and does not need a program interacting with the user; when a service or application program actually runs, the operating system allocates resources such as memory for the service or application program, and thus a process is formed.
Before the warm restart, the data generated by the running service or process is stored, so that the problem that the data cannot be recovered due to data loss can be avoided.
S203, determining a peripheral driver, and removing the peripheral driver.
In addition to the services or processes, there may be peripheral drivers running, which may be, for example, audio drivers, touch screen drivers, and the like.
And when determining that the running peripheral drivers exist, unloading and removing the peripheral drivers.
When the user suddenly leaves, the current video playing software and the current audio playing software automatically store the watching record or the listening record of the user, so that the removal processing can be directly carried out when the running peripheral driver is determined to exist.
S204, reserving the target operation program, and controlling to close other operation programs except the target operation program.
The target operation program refers to some of the most basic operation programs, such as dialing a phone call, editing a short message, and the like. Before the warm restart, the terminal must also reserve the target operating program for use in the power saving mode, and other operating programs except the target operating program should be in a shutdown state.
Specifically, target memory resources are reserved, and other memory resources except the target memory resources are released; or keeping the running states of the baseband and the central processing unit unchanged, and turning off the rest processors except the central processing unit.
The remaining processors include, but are not limited to, a graphics processor GPU, a neural network processor NPU, and the like.
S205, the operating system is restarted by heat, and the unified extensible firmware interface UEFI stage is entered, and the marking information of the hot restart is read.
And after the steps are finished, the operating system is restarted again, and the unified extensible firmware interface UEFI stage is entered. Because there are many reasons for causing the hot restart of the operating system, when entering the UEFI stage of the unified extensible firmware interface, the flag information of the hot restart needs to be read, and the hot restart reason is acquired.
Wherein, the hot restart is the self-reset start under the condition that the terminal does not need to cut off the power supply. And when the hot restart is carried out, the hot restart command carries marking information, the command is analyzed, and the hot restart reason is determined according to the marking information.
And S206, when the mark information is determined to be the target mark information, controlling the operating system to keep running in a UEFI mode.
Specifically, the reason for determining the hot restart by parsing is that the operating system stays in the UEFI mode when the power saving mode is turned on. The UEFI mode is a minimum operation mode of an operating system, in the UEFI mode, some basic functions can be normally used, such as short message sending and receiving and telephone calling, other functions (such as games, social applications and the like) except the basic functions are closed, and the terminal can be in a minimum operation mode under the condition that the basic functions are not lost, so that the power consumption is lowest.
The UEFI mode has system scheduling and memory allocation capabilities, so that the user can realize the most basic interaction with the terminal in the minimum operation mode.
S207, a power saving mode off instruction is received.
After entering the power saving mode, if the user wants to return to the normal operation mode, the power saving mode closing instruction can be input in a virtual/physical button or voice mode.
The step S201 is referred to where this step is not described in detail, and is not described herein again.
And S208, controlling the operating system to enter a normal mode, and restoring the service or the process to the running state before the hot restart according to data generated in the running process of the service or the process.
And when the terminal is switched to the normal mode, the terminal restores the running state of the service or the process according to the stored data and continues to finish the previous running task.
The saved data prevents the service or process from running from scratch again, saving time for the user.
In the operating system operating method provided by this embodiment, a terminal receives a power saving mode start instruction, saves and unloads data generated by a running service or process to remove a peripheral drive device, and only retains some basic operations, and then performs a warm restart of an operating system, and reads flag information of the warm restart when entering a Unified Extensible Firmware Interface (UEFI) stage; and when the mark information is determined to be the target mark information, controlling the operating system to keep running in a UEFI mode. In addition, if the user wants to switch from the power saving mode to the normal mode, the terminal can quickly restore the service or the process to the previous running state based on the stored data, and the task progress of the service or the process is not affected.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 3 is a schematic structural diagram of an operating system running apparatus according to an exemplary embodiment of the present application. The operating system running device can be realized by software, hardware or a combination of the software and the hardware to be all or part of the terminal, and can also be integrated on a server as an independent module. The operating system running device in the embodiment of the present application is applied to a terminal, and the device 1 includes an instruction receiving module 11, a tag information reading module 12, and an operating system running module 13, where:
an instruction receiving module 11, configured to receive a power saving mode starting instruction;
the tag information reading module 12 is configured to read tag information of a hot reboot in a unified extensible firmware interface UEFI stage of the hot reboot operation system;
and the operating system running module 13 is configured to control the operating system to keep running in the UEFI mode when it is determined that the flag information is the target flag information.
Fig. 4 is a schematic structural diagram of an operating system running apparatus according to an exemplary embodiment of the present application.
Optionally, as shown in fig. 4, the operating system running apparatus 1 provided in the embodiment of the present application further includes:
a service or process shutdown module 14, configured to determine a currently running service or process; storing data generated in the running process of the service or the process, and closing the service or the process;
a driver removing module 15, configured to determine a peripheral driver and remove the peripheral driver;
and an operation program closing module 16, configured to reserve the target operation program and control to close other operation programs except the target operation program.
Fig. 5 is a schematic structural diagram of an operating system running apparatus according to an exemplary embodiment of the present application.
Optionally, as shown in fig. 5, the operating program shutdown module 16 in the operating system running device 1 according to the embodiment of the present application is specifically configured to:
reserving target memory resources and releasing other memory resources except the target memory resources; or
Keeping the running states of a baseband and a central processing unit unchanged, and closing the other processors except the central processing unit;
the device 1 further comprises:
a running state recovery module 17 configured to receive a power saving mode off instruction; and controlling the operating system to enter a normal mode, and restoring the service or the process to the running state before the hot restart according to data generated in the running process of the service or the process.
It should be noted that, when the operating system running apparatus provided in the foregoing embodiment executes the operating system running method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed to different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above. In addition, the operating system running device and the operating system running method provided by the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
According to the operating system running device provided by the embodiment of the application, the terminal receives a power consumption saving mode starting instruction; the method comprises the steps that an operating system is restarted, and when entering a Unified Extensible Firmware Interface (UEFI) stage, mark information of the hot restart is read; and when the mark information is determined to be the target mark information, controlling the operating system to keep running in a UEFI mode. According to the method, the terminal performs hot restart when receiving a power saving mode starting instruction, and after determining that the reason causing the hot restart is the starting of the power saving mode at the UEFI stage, the operating system is controlled to be operated in the UEFI mode, wherein the UEFI mode has the capabilities of system scheduling and memory allocation, some basic functions of the operating system can be normally operated in the UEFI mode, and other non-basic functions are closed; in the mode, the terminal is in a minimum running state, the purpose of saving power consumption is achieved under the condition that user experience is not influenced, and the standby time of the terminal is prolonged.
The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the method of any one of the foregoing embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
The embodiment of the present application further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the steps of any of the above-mentioned embodiments of the method are implemented.
Please refer to fig. 6, which is a block diagram of a terminal according to an embodiment of the present disclosure.
As shown in fig. 6, the terminal 100 includes: a processor 601 and a memory 602.
In this embodiment, the processor 601 is a control center of a computer system, and may be a processor of an entity machine or a processor of a virtual machine. The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments of the present application, a non-transitory computer readable storage medium in the memory 602 is used to store at least one instruction for execution by the processor 601 to implement a method in embodiments of the present application.
In some embodiments, the terminal 100 further includes: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a display screen 604, a camera 605, and an audio circuit 606.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments of the present application, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments of the present application, any one or both of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on separate chips or circuit boards. The embodiment of the present application is not particularly limited to this.
The display screen 604 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 604 is a touch display screen, the display screen 604 also has the ability to capture touch signals on or over the surface of the display screen 604. The touch signal may be input to the processor 601 as a control signal for processing. At this point, the display screen 604 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments of the present application, the display screen 604 may be one, and is provided as a front panel of the terminal 600; in other embodiments of the present application, the display screens 604 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folding design; in still other embodiments of the present application, the display 604 may be a flexible display disposed on a curved surface or a folded surface of the terminal 100. Even further, the display screen 604 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 604 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera 605 is used to capture images or video. Optionally, the camera 605 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments of the present application, camera 605 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 606 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing. The microphones may be provided in plural, respectively at different portions of the terminal 100 for the purpose of stereo sound collection or noise reduction. The microphone may also be an array microphone or an omni-directional pick-up microphone.
Power supply 607 is used to provide power to the various components in terminal 100. The power supply 607 may be ac, dc, disposable or rechargeable. When power supply 607 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
The block diagram of the terminal structure shown in the embodiments of the present application does not constitute a limitation to the terminal 100, and the terminal 100 may include more or less components than those shown, or combine some components, or adopt a different arrangement of components.
In this application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or order; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, it is to be understood that the terms "upper", "lower", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or unit must have a specific direction, be configured and operated in a specific orientation, and thus, should not be construed as limiting the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Accordingly, all equivalent changes made by the claims of this application are intended to be covered by this application.

Claims (10)

1. An operating system running method, the method comprising:
receiving a power consumption saving mode starting instruction;
the hot reboot operating system enters a Unified Extensible Firmware Interface (UEFI) stage and reads the marking information of the hot reboot;
and when the mark information is determined to be the target mark information, controlling the operating system to keep running in a UEFI mode.
2. The method of claim 1, wherein after receiving the power saving mode on command, further comprising:
determining a currently running service or process;
and storing the data generated in the running process of the service or the process, and closing the service or the process.
3. The method of claim 1, wherein after receiving the power saving mode on command, further comprising:
determining a peripheral driver and removing the peripheral driver.
4. The method of claim 1, wherein after receiving the power saving mode on command, further comprising:
and reserving the target operation program, and controlling to close other operation programs except the target operation program.
5. The method of claim 4, wherein said reserving the target operating program and controlling the shutdown of the remaining operating programs other than the target operating program comprises:
reserving the target memory resource and releasing the rest memory resources except the target memory resource.
6. The method of claim 4, wherein said reserving the target operating program and controlling the shutdown of the remaining operating programs other than the target operating program comprises:
keeping the running states of the baseband and the central processing unit unchanged, and turning off the other processors except the central processing unit.
7. The method of claim 2, wherein after the controlling the operating system to run in the UEFI mode, further comprising:
receiving a power saving mode close instruction;
and controlling the operating system to enter a normal mode, and restoring the service or the process to the running state before the hot restart according to data generated in the running process of the service or the process.
8. An operating system execution apparatus, comprising:
the instruction receiving module is used for receiving a power consumption saving mode starting instruction;
the mark information reading module is used for the hot restart of the operating system, entering a Unified Extensible Firmware Interface (UEFI) stage and reading the mark information of the hot restart;
and the operating system running module is used for controlling the operating system to keep running in a UEFI mode when the mark information is determined to be the target mark information.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
10. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-7 are implemented when the program is executed by the processor.
CN202010413801.6A 2020-05-15 2020-05-15 Operating system running method and device, storage medium and terminal Pending CN113672071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010413801.6A CN113672071A (en) 2020-05-15 2020-05-15 Operating system running method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010413801.6A CN113672071A (en) 2020-05-15 2020-05-15 Operating system running method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN113672071A true CN113672071A (en) 2021-11-19

Family

ID=78537728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010413801.6A Pending CN113672071A (en) 2020-05-15 2020-05-15 Operating system running method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN113672071A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356064A (en) * 2022-01-11 2022-04-15 北京国网富达科技发展有限责任公司 Power supply management method and system
CN116149759A (en) * 2023-04-20 2023-05-23 深圳市吉方工控有限公司 UEFI (unified extensible firmware interface) drive unloading method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714624A (en) * 2015-03-23 2015-06-17 深圳市欧珀通信软件有限公司 Method and device for reducing power dissipation for mobile terminal
CN106571954A (en) * 2016-10-24 2017-04-19 上海斐讯数据通信技术有限公司 Abnormal restart reason detecting method and device of AP equipment
CN109450079A (en) * 2018-12-26 2019-03-08 广州供电局有限公司 Method of supplying power to and device using super capacitor as backup power supply
KR102043946B1 (en) * 2019-05-13 2019-11-12 보은전자방송통신(주) Electronic desk system with power saving mode switching function and idle time automatic fault diagnosis function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714624A (en) * 2015-03-23 2015-06-17 深圳市欧珀通信软件有限公司 Method and device for reducing power dissipation for mobile terminal
CN106571954A (en) * 2016-10-24 2017-04-19 上海斐讯数据通信技术有限公司 Abnormal restart reason detecting method and device of AP equipment
CN109450079A (en) * 2018-12-26 2019-03-08 广州供电局有限公司 Method of supplying power to and device using super capacitor as backup power supply
KR102043946B1 (en) * 2019-05-13 2019-11-12 보은전자방송통신(주) Electronic desk system with power saving mode switching function and idle time automatic fault diagnosis function

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356064A (en) * 2022-01-11 2022-04-15 北京国网富达科技发展有限责任公司 Power supply management method and system
CN114356064B (en) * 2022-01-11 2024-03-19 北京国网富达科技发展有限责任公司 Power supply management method and system
CN116149759A (en) * 2023-04-20 2023-05-23 深圳市吉方工控有限公司 UEFI (unified extensible firmware interface) drive unloading method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
WO2010139169A1 (en) Electricity-saving method and device for terminal
JP5741095B2 (en) Wireless communication apparatus and power saving control method
KR20150033505A (en) Method for performing a power save mode on an electronic device and the electronic device therefor
CN107566609B (en) Download task processing method, device, terminal and storage medium
CN113672071A (en) Operating system running method and device, storage medium and terminal
WO2015154376A1 (en) Power saving method and device for terminal, terminal, computer program and carrier
WO2022262434A1 (en) Power optimization method and electronic device
US20230345227A1 (en) Switch module, terminal device, method for controlling terminal device
JP5504247B2 (en) Electronic device and timer time setting method
CN107734148A (en) Application display method, device, terminal and computer-readable recording medium
US8826053B2 (en) Coordination operation method and mobile communication terminal
CN110853644A (en) Voice wake-up method, device, equipment and storage medium
US20080253357A1 (en) Computer system with internet phone functionality
CN111381996B (en) Memory exception handling method and device
CN105549857A (en) Control method for electronic terminal and electronic terminal
CN106249843B (en) A kind of course control method, device and mobile device
CN116578422A (en) Resource allocation method and electronic equipment
CN111831100B (en) Electronic device control method and device, storage medium and electronic device
WO2021115257A1 (en) Application switching method and apparatus, storage medium and electronic device
WO2023160126A1 (en) Communication method and electronic device
CN115543500A (en) Window processing method and electronic equipment
JP2013121266A (en) Electronic apparatus and electronic apparatus state control method
CN111198785A (en) Data backup method and device, storage medium and terminal
CN110880303A (en) Backlight brightness adjusting method and system, storage medium and electronic equipment
CN116055443B (en) Method for identifying social scene, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination