CN113886144A - Starting control method and device of electronic equipment, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN113886144A
CN113886144A CN202111228063.9A CN202111228063A CN113886144A CN 113886144 A CN113886144 A CN 113886144A CN 202111228063 A CN202111228063 A CN 202111228063A CN 113886144 A CN113886144 A CN 113886144A
Authority
CN
China
Prior art keywords
file
operation authority
authority file
permission
electronic device
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
CN202111228063.9A
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.)
Shanghai Wingtech Information Technology Co Ltd
Original Assignee
Shanghai Wingtech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wingtech Information Technology Co Ltd filed Critical Shanghai Wingtech Information Technology Co Ltd
Priority to CN202111228063.9A priority Critical patent/CN113886144A/en
Publication of CN113886144A publication Critical patent/CN113886144A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a startup control method and device for electronic equipment, the electronic equipment and a storage medium. The starting control method of the electronic equipment comprises the following steps: detecting whether the first operation authority file is abnormal or not in the starting process of the electronic equipment; and when detecting that the first operation authority file is normal, starting the computer based on the first operation authority file, otherwise, loading a second operation authority file, and starting the computer based on the second operation authority file, wherein the second operation authority file is obtained by backing up the normal first operation authority file in advance. According to the method and the device, the second operation authority file is backed up for the electronic equipment, so that when the starting failure is caused by the abnormality of the first operation authority file used in the starting process of the electronic equipment, the backed-up second operation authority file can be called to realize the normal starting of the electronic equipment, further, the system stability and reliability of the electronic equipment are improved, and the abnormal starting is effectively reduced or even avoided.

Description

Starting control method and device of electronic equipment, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and an apparatus for controlling power-on of an electronic device, and a storage medium.
Background
In the related art, when an electronic device, such as a smart phone with an Android system, is frequently and repeatedly turned on and turned off, especially when power is forcibly turned off, a phenomenon of power failure easily occurs, for example: and the card always reports errors in a starting animation interface or after starting in the starting process.
When the power-on fails, the current method is to export a running-permission file runtime-permission of the smart phone through a log checked by a maintenance person and an adb instruction entering a shell system of the smart phone, and determine the reason of the power-on failure through the runtime-permission, so that the stability and reliability of the electronic equipment are not high, and the user is not satisfied.
Disclosure of Invention
The inventor finds that: the problem of the boot failure is caused by the exception of the operation authority file, however, in the related art, the solution is to add an exception protection action when the analysis of the operation authority file fails, but this way is only when the analysis fails, that is: and the operation authority file is damaged. However, the inventor finds that the reason for the power failure may also be caused by the missing of the operation authority file, and in the case of the missing of the operation authority file, the reason can be successfully analyzed, so that the stability and reliability of the electronic device cannot be effectively improved in the current manner.
In view of the foregoing, it is desirable to provide a method and an apparatus for controlling power on of an electronic device, and a storage medium.
An embodiment of a first aspect of the present application provides a power-on control method for an electronic device, including:
detecting whether the first operation authority file is abnormal or not in the starting process of the electronic equipment;
and when detecting that the first operation authority file is normal, starting the computer based on the first operation authority file, otherwise, loading a second operation authority file, and starting the computer based on the second operation authority file, wherein the second operation authority file is obtained by backing up the normal first operation authority file in advance.
In some examples, the detecting whether the first operation authority file is abnormal includes:
detecting whether the structure of the first operation authority file is damaged and whether the first operation authority file is complete;
and if the structure of the first operation authority file is damaged and/or the first operation authority file is incomplete, determining that the first operation authority file is abnormal.
In some examples, after booting based on the second operation authority file, the method further includes:
and repairing the first operation authority file based on the second operation authority file so as to enable the first operation authority file to be normal.
In some examples, in a case that the electronic device is powered on and the first operation right file is normal, the method further includes:
and updating the backed-up second operation permission file based on the permission change condition in the first operation permission file after the permission in the first operation permission file is changed.
In some examples, the updating the backed-up second operation permission file based on the permission change condition in the first operation permission file includes:
and updating the backed-up second operation permission file based on the permission change condition in the first operation permission file when the charging equipment is charged and/or the electronic equipment is restarted.
In some examples, after the updating the backed-up second operation permission file based on the permission change condition in the first operation permission file, the method further includes: setting an updating identifier as a first identifier, wherein the first identifier indicates that the second operation permission file is the latest operation permission file;
after the authority in the first operation authority file is changed, the method further comprises the following steps: and setting the updating identifier as a second identifier, wherein the second identifier indicates that the second operation authority file needs to be updated to the latest operation authority file.
An embodiment of a second aspect of the present application provides a boot control apparatus for an electronic device, including:
the detection module is used for detecting whether the first operation authority file is abnormal or not in the starting process of the electronic equipment;
and the control module is used for starting the computer based on the first operation authority file when detecting that the first operation authority file is normal, otherwise loading a second operation authority file and starting the computer based on the second operation authority file, wherein the second operation authority file is obtained by backing up the normal first operation authority file in advance.
An embodiment of the third aspect of the present application provides an electronic device, including a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the instruction, the program, the code set, or the set of instructions is loaded and executed by the processor to implement the steps of the power-on control method for an electronic device provided in the embodiment of the first aspect of the present application.
An embodiment of a fourth aspect of the present application provides a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the steps of the power-on control method for an electronic device provided in the foregoing embodiment of the first aspect of the present application.
An embodiment of the fifth aspect of the present application provides a computer program product, where instructions in the computer program product, when executed by a processor of a mobile terminal, enable the mobile terminal to execute steps of a power-on control method for an electronic device, where the steps are provided in the foregoing embodiment of the first aspect of the present application.
The startup control method and device for the electronic equipment, the electronic equipment and the storage medium back up a second operation permission file for the electronic equipment, so that when the startup fails due to the abnormality of the first operation permission file used in the startup process of the electronic equipment, the backed-up second operation permission file can be called to realize the normal startup of the electronic equipment, further, the system stability and reliability of the electronic equipment are improved, and the occurrence of startup abnormality is effectively reduced or even avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flowchart illustrating a method for controlling booting of an electronic device according to an embodiment;
FIG. 2 is a flowchart illustrating a boot control method of an electronic device according to another embodiment;
FIG. 3 is a block diagram of a power-on control apparatus of an electronic device according to another embodiment;
FIG. 4 is a diagram illustrating an internal structure of an electronic device in one embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in 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 invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The following describes a boot control method and apparatus for an electronic device, and a storage medium according to embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart of a power-on control method of an electronic device according to an embodiment of the present invention. As shown in fig. 1, a power-on control method of an electronic device according to an embodiment of the present invention includes the following steps:
s101: and detecting whether the first operation authority file is abnormal or not in the starting process of the electronic equipment.
The electronic device is, but not limited to, a portable device such as a smart phone, a tablet computer, and an electronic book.
Taking a smart phone with an Android system as an example, when the smart phone is frequently turned on and off, especially when forced power down occurs, a power failure is likely to occur, and the inventor finds that the reason causing the power failure is generally caused by abnormal running permission files (runtime-permission) used for power on, and the reason causing the power failure is that the running permission files used for power on are likely to be abnormal in the frequent turning on and off process of the smart phone, especially when forced power down occurs due to factors such as stability of storage devices (such as EMMC) inside the smart phone, so that the power failure is further caused.
Therefore, in the embodiment of the present invention, when the smart phone is powered on, it is first detected whether a running-permission file (runtime-permission) used for powering on is abnormal, that is: when the operation authority file used during startup is abnormal, the smart phone usually fails to start.
In the above example, the running-permission file (running-permission) used for booting refers to the first running-permission file, that is: the first operation authority file is stored in an EMMC storage device of the smart phone, and when the smart phone is started, the first operation authority file is called to start. As shown in fig. 2, the Android system is booted, and then the first operation permission file is detected.
In an embodiment of the present invention, detecting whether the first operation authority file is abnormal includes:
(1) and detecting whether the structure of the first operation authority file is damaged and whether the first operation authority file is complete.
(2) And if the structure of the first operation authority file is damaged and/or the first operation authority file is incomplete, determining that the first operation authority file is abnormal.
That is, the first operation authority file exception is divided into an exception caused by file damage and an exception caused by file loss. And when one of the two exists, the first operation authority file is abnormal.
For the exception caused by file damage, it can be determined in the process of parsing the first operation permission file, that is: if the analysis fails, the structural damage of the first operation authority file is explained, so that the analysis fails.
For the exception caused by file deletion, a plurality of operation authorities which may cause boot failure can be predetermined, that is: the multiple operation permissions which may cause the boot failure refer to: if any operation authority is lacked, normal startup cannot be carried out, so that whether the first operation authority file has the operation authorities or not can be detected, and if part of the operation authorities are lacked, startup failure can be caused. In other words, if it is detected that part of the critical operation permission in the first operation permission file is lost (i.e., the parsing is successful but lacks part of the critical operation permission), the boot will also fail.
In the above example, the operation authority in the first operation authority file includes but is not limited to: system mui related permissions are lost, corrupted, etc., system level app permissions are lost, corrupted, etc.
It is understood that, in the above description, the smartphone with the android system installed is taken as an example for explanation, but the same is applicable to electronic devices such as a smartphone with a non-android system installed, a tablet computer, and an electronic book.
S102: and when the first operation authority file is detected to be normal, starting the computer based on the first operation authority file, otherwise, loading a second operation authority file, and starting the computer based on the second operation authority file, wherein the second operation authority file is obtained by backing up the normal first operation authority file in advance.
As shown in fig. 2, when detecting that the first operation permission file is normal, the computer is started based on the first operation permission file, that is: and if the detection is passed, continuing to start the computer according to the first operation authority file, and loading the second operation authority file when the detection is failed, namely the first operation authority file is abnormal, and starting the computer based on the second operation authority file.
In this example, the second operation permission file is obtained by pre-backing up based on the normal first operation permission file, that is: the method can be used for backing up an operation authority file, namely a second operation authority file, according to the normal first operation authority file in advance, so that when the electronic equipment is started and under the condition that the currently used first operation authority file is abnormal, the backed-up second operation authority file can be quickly called, and even if the currently used first operation authority file is abnormal, the electronic equipment can be normally started through the backed-up second operation authority file.
If the first operation permission file is abnormal and the backed-up second operation permission file is called to start the electronic device, at the moment, after the electronic device is started successfully, the first operation permission file can be repaired according to the second operation permission file, so that the first operation permission file is recovered to be normal. The repairing can be that the two are compared, the inconsistent or missing part in the first operation authority file is provided for the first operation authority file by the second operation authority file, and the first operation authority file is repaired to be a normal first operation authority file. Of course, the second operation permission file may be copied as a whole, and then the previous abnormal first operation permission file is replaced to obtain a new, i.e., normal, first operation permission file, so that the boot-up may be realized again according to the first operation permission file used under the normal condition after the boot-up is performed next time.
According to the starting control method of the electronic equipment, the second operation authority file is backed up for the electronic equipment, so that when the starting of the electronic equipment fails due to the fact that the first operation authority file used in the starting process of the electronic equipment is abnormal, the backed-up second operation authority file can be called to achieve normal starting of the electronic equipment, further, the system stability and reliability of the electronic equipment are improved, and the abnormal starting is effectively reduced or even avoided.
In an embodiment of the present invention, if the electronic device is started according to the backed-up second operation permission file, it indicates that the first operation permission file is abnormal, and after the electronic device is started, the first operation permission file can be repaired through the second operation permission file, so that the first operation permission file is restored to be normal. At this time, the second operation authority file can be backed up and updated in real time according to the first operation authority file after the operation authority is changed. Namely: under the condition that the electronic equipment is started and the first operation authority file is normal, the method further comprises the following steps: and updating the backed-up second operation permission file based on the permission change condition in the first operation permission file after the permission in the first operation permission file is changed.
However, when the operation authority of the first operation authority file changes, in order to reduce energy consumption of the electronic device, in an embodiment of the present invention, a corresponding update policy may be set to reduce energy consumption of the backup, and specifically, updating the backed-up second operation authority file based on the authority change condition in the first operation authority file includes: and updating the backed-up second operation permission file based on the permission change condition in the first operation permission file when the charging equipment is charged and/or the electronic equipment is restarted.
More specifically, after updating the backed-up second operation permission file based on the permission change condition in the first operation permission file, the method further includes: setting an updating identifier as a first identifier, wherein the first identifier indicates that the second operation permission file is the latest operation permission file; after the authority in the first operation authority file is changed, the method further comprises the following steps: and setting the updating identifier as a second identifier, wherein the second identifier indicates that the second operation authority file needs to be updated to the latest operation authority file.
As a specific example, the update policy includes:
(1) when the electronic equipment is detected to be charged, automatically triggering the updating service of the background, namely triggering RunPerUpdateservice, comparing the second operation permission file with the first operation permission file, then performing backup updating on the second operation permission file, and after the updating is finished, setting an updating identifier RunPerUpdateFlag as true, namely: the first identity true.
(2) If the user is manually powered off and restarted, judging the updating identifier RunPerUpdateFlag, if the user is false, namely the second identifier false, triggering an updating service RunPerUpdateservice to perform backup updating on the second operation permission file, and after the updating is finished, setting the updating identifier RunPerUpdateFlag to true.
In the above description, when the rights in the first operation rights file are changed, the update identifier RunPerUpdateFlag is set to the second identifier false, that is: indicating that an update exists.
According to the startup control method of the electronic equipment, the second operation permission file can be backed up and updated at a proper time, so that the problems of power consumption and large memory occupation caused by frequent updating are solved, the consistency of the backed-up second operation permission file and the backed-up first operation permission file can be effectively ensured, and the stability and the reliability of the startup of the electronic equipment are improved.
Fig. 3 is a block diagram of a configuration of a power-on control apparatus of an electronic device according to an embodiment of the present invention. As shown in fig. 3, the boot control apparatus of an electronic device according to an embodiment of the present invention includes: a detection module 310 and a control module 320, wherein:
the detection module 310 is configured to detect whether the first operation permission file is abnormal or not in a process of starting up the electronic device;
the control module 320 is configured to start up based on the first operation permission file when detecting that the first operation permission file is normal, otherwise load a second operation permission file, and start up based on the second operation permission file, where the second operation permission file is obtained by backing up in advance based on the normal first operation permission file.
According to the starting control device of the electronic equipment, the second operation authority file is backed up for the electronic equipment, so that when the starting of the electronic equipment fails due to the abnormality of the first operation authority file used in the starting process of the electronic equipment, the backed-up second operation authority file can be called to realize the normal starting of the electronic equipment, further, the system stability and reliability of the electronic equipment are improved, and the abnormal starting is effectively reduced or even avoided.
For specific limitations of the power-on control device of the electronic device, reference may be made to the above limitations of the power-on control method of the electronic device, and details thereof are not repeated herein. All or part of the modules in the starting control device of the electronic equipment can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an electronic device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 4. The electronic device comprises a processor, a memory, a communication interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, Near Field Communication (NFC) or other technologies. The computer program is executed by a processor to implement a power-on control method of an electronic device. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the power-on control apparatus of the electronic device provided in the present application may be implemented in a form of a computer program, and the computer program may be run on the electronic device as shown in fig. 4. The memory of the electronic device may store various program modules constituting the power-on control device of the electronic device, such as the detection module 310 and the control module 320 shown in fig. 3. The computer program constituted by the program modules causes the processor to execute the steps of the startup control method of the electronic device according to the embodiments of the present application described in the present specification.
At least one instruction, at least one section of program, a code set, or an instruction set is stored in a memory of the electronic device, and the instruction, the program, the code set, or the instruction set is loaded and executed by the processor to implement the power-on control method of the electronic device according to any one of the above embodiments. For example, in the process of starting up the electronic equipment, detecting whether the first operation authority file is abnormal; and when detecting that the first operation authority file is normal, starting the computer based on the first operation authority file, otherwise, loading a second operation authority file, and starting the computer based on the second operation authority file, wherein the second operation authority file is obtained by backing up the normal first operation authority file in advance.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: detecting whether the first operation authority file is abnormal or not in the starting process of the electronic equipment; and when detecting that the first operation authority file is normal, starting the computer based on the first operation authority file, otherwise, loading a second operation authority file, and starting the computer based on the second operation authority file, wherein the second operation authority file is obtained by backing up the normal first operation authority file in advance.
In one embodiment, a computer program product is provided, the instructions in which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the steps of: detecting whether the first operation authority file is abnormal or not in the starting process of the electronic equipment; and when detecting that the first operation authority file is normal, starting the computer based on the first operation authority file, otherwise, loading a second operation authority file, and starting the computer based on the second operation authority file, wherein the second operation authority file is obtained by backing up the normal first operation authority file in advance.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM is available in many forms, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), and the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A startup control method of an electronic device is characterized by comprising the following steps:
detecting whether the first operation authority file is abnormal or not in the starting process of the electronic equipment;
and when detecting that the first operation authority file is normal, starting the computer based on the first operation authority file, otherwise, loading a second operation authority file, and starting the computer based on the second operation authority file, wherein the second operation authority file is obtained by backing up the normal first operation authority file in advance.
2. The method for controlling booting of an electronic device according to claim 1, wherein the detecting whether the first operation permission file is abnormal includes:
detecting whether the structure of the first operation authority file is damaged and whether the first operation authority file is complete;
and if the structure of the first operation authority file is damaged and/or the first operation authority file is incomplete, determining that the first operation authority file is abnormal.
3. The boot control method of the electronic device according to claim 1 or 2, further comprising, after booting based on the second operation permission file:
and repairing the first operation authority file based on the second operation authority file so as to enable the first operation authority file to be normal.
4. The boot control method of an electronic device according to claim 1, wherein when the electronic device is booted and the first operation permission file is normal, the method further comprises:
and updating the backed-up second operation permission file based on the permission change condition in the first operation permission file after the permission in the first operation permission file is changed.
5. The boot control method of the electronic device according to claim 4, wherein the updating the backed-up second operation permission file based on the permission change condition in the first operation permission file comprises:
and updating the backed-up second operation permission file based on the permission change condition in the first operation permission file when the charging equipment is charged and/or the electronic equipment is restarted.
6. The power-on control method of an electronic device according to claim 5,
after the updating of the backed-up second operation permission file based on the permission change condition in the first operation permission file, the method further includes: setting an updating identifier as a first identifier, wherein the first identifier indicates that the second operation permission file is the latest operation permission file;
after the authority in the first operation authority file is changed, the method further comprises the following steps: and setting the updating identifier as a second identifier, wherein the second identifier indicates that the second operation authority file needs to be updated to the latest operation authority file.
7. A power-on control apparatus for an electronic device, comprising:
the detection module is used for detecting whether the first operation authority file is abnormal or not in the starting process of the electronic equipment;
and the control module is used for starting the computer based on the first operation authority file when detecting that the first operation authority file is normal, otherwise loading a second operation authority file and starting the computer based on the second operation authority file, wherein the second operation authority file is obtained by backing up the normal first operation authority file in advance.
8. An electronic device comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the instruction, the program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the power-on control method of the electronic device according to any one of claims 1-6.
9. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the power-on control method of an electronic device according to any one of claims 1-6.
10. A computer program product, characterized in that instructions in the computer program product, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the power-on control method of an electronic device according to any of claims 1-6.
CN202111228063.9A 2021-10-21 2021-10-21 Starting control method and device of electronic equipment, electronic equipment and storage medium Pending CN113886144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111228063.9A CN113886144A (en) 2021-10-21 2021-10-21 Starting control method and device of electronic equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111228063.9A CN113886144A (en) 2021-10-21 2021-10-21 Starting control method and device of electronic equipment, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113886144A true CN113886144A (en) 2022-01-04

Family

ID=79004140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111228063.9A Pending CN113886144A (en) 2021-10-21 2021-10-21 Starting control method and device of electronic equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113886144A (en)

Similar Documents

Publication Publication Date Title
US9146839B2 (en) Method for pre-testing software compatibility and system thereof
CN106020865B (en) System upgrading method and device
KR101515198B1 (en) Apparatus and method for firmware upgrade in mobile device
CN106775610B (en) Electronic equipment starting method and electronic equipment
US20160132420A1 (en) Backup method, pre-testing method for environment updating and system thereof
CN105138347A (en) Difference upgrade patch generating method, software upgrading method and corresponding apparatus
US20070174689A1 (en) Computer platform embedded operating system backup switching handling method and system
CN113254048B (en) Method, device and equipment for updating boot program and computer readable medium
CN112416406A (en) Terminal equipment upgrading method and device, terminal equipment and medium
CN111552592A (en) Double-backup starting method and system
US8516506B2 (en) Method and system for restoring an application in a dynamically linked environment
CN111651304A (en) Software recovery method and device based on double-core intelligent electric meter and computer equipment
CN111078469A (en) Data processing method and data processing equipment
CN105094873A (en) Handheld terminal system switching method and device
US20230087221A1 (en) Detection fields of view
CN110908722B (en) Method and device applied to starting of operating system, electronic equipment and storage medium
CN111984195A (en) Method and device for improving stability of embedded Linux system
CN113886144A (en) Starting control method and device of electronic equipment, electronic equipment and storage medium
CN114356658A (en) Processing method of firmware upgrading exception, computer equipment and readable storage medium
CN114153503A (en) BIOS control method, device and medium
CN112667444A (en) System upgrading method, storage medium and terminal equipment
CN112527343A (en) Firmware updating method and device, computer equipment and storage medium
US9766928B1 (en) Recycling tool using scripts to stop middleware instances and restart services after snapshots are taken
CN104216797A (en) Embedded system set value setting system and method and electronic device
KR20140032071A (en) Apparatus and method for managing file system of a computing device

Legal Events

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