CN114430565A - Starting method and device of equipment and storage medium - Google Patents

Starting method and device of equipment and storage medium Download PDF

Info

Publication number
CN114430565A
CN114430565A CN202011104676.7A CN202011104676A CN114430565A CN 114430565 A CN114430565 A CN 114430565A CN 202011104676 A CN202011104676 A CN 202011104676A CN 114430565 A CN114430565 A CN 114430565A
Authority
CN
China
Prior art keywords
identifier
file
equipment
starting
storage area
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.)
Granted
Application number
CN202011104676.7A
Other languages
Chinese (zh)
Other versions
CN114430565B (en
Inventor
徐理明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202011104676.7A priority Critical patent/CN114430565B/en
Publication of CN114430565A publication Critical patent/CN114430565A/en
Application granted granted Critical
Publication of CN114430565B publication Critical patent/CN114430565B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • 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/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Retry When Errors Occur (AREA)

Abstract

The application provides a starting method and device of equipment and a storage medium, and belongs to the technical field of mobile communication. Wherein, the method comprises the following steps: after the equipment is powered on, acquiring a first identifier of the position of a target starting file currently used for indicating the equipment; acquiring a target starting file from a first storage area indicated by a first identifier, and configuring an identifier for indicating the position of the target starting file of the equipment as a second identifier, wherein a backup starting file is stored in a second storage area indicated by the second identifier; running a target starting file and monitoring the starting process of the equipment; and if the starting is abnormal, the equipment is triggered to be restarted, and the backup starting file is acquired from the second storage area so as to restart the equipment. Therefore, by the starting method of the equipment, when the equipment is abnormally started, a normal starting file can be self-adaptively selected to finish starting, so that the probability that the equipment cannot be normally started is reduced, and the running stability of the equipment is improved.

Description

Starting method and device of equipment and storage medium
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for starting a device, and a storage medium.
Background
Communication base station operation requires high stability and the base station deployment area is often an inconvenient place away from technicians. For convenience of building, debugging and maintaining a base station, it is usually necessary to ensure that the base station equipment is in a networking operation state, so that the base station equipment can be remotely operated in a networking manner, thereby avoiding the base station from being abnormal and being in a network loss state.
In the related art, when the base station equipment is abnormal, if the system starting data is damaged, the upgrading process of the system starting data is interrupted due to reasons such as temporary network interruption and temporary instability of a power supply, the base station equipment cannot be normally started, so that the base station equipment cannot be remotely checked and repaired, and the operation stability of the base station equipment is influenced.
Disclosure of Invention
The application provides a starting method and device of equipment and a storage medium, which are used for solving the problems that in the related art, when base station equipment is abnormal, if system starting data are damaged, the upgrading process of the system starting data is interrupted due to reasons such as temporary network interruption, temporary instability of a power supply and the like, the base station equipment cannot be normally started, so that the base station equipment cannot be remotely checked and repaired, and the operation stability of the base station equipment is influenced.
An embodiment of an aspect of the present application provides a method for starting a device, including: after the equipment is powered on, acquiring a first identifier which is currently used for indicating the position of a target starting file of the equipment; acquiring a target starting file from a first storage area indicated by the first identifier, and configuring an identifier for indicating the position of the target starting file of the equipment as a second identifier, wherein a backup starting file is stored in a second storage area indicated by the second identifier; running the target starting file and monitoring the starting process of the equipment; and if the starting is abnormal, the equipment is triggered to be restarted, and the backup starting file is acquired from the second storage area so as to restart the equipment.
Optionally, in a possible implementation manner of the embodiment of the first aspect of the present application, after the monitoring the start-up process of the device, the method further includes:
and if the equipment is normally started, resetting the identifier used for indicating the position of the target starting file of the equipment as the first identifier.
Optionally, in another possible implementation manner of the embodiment of the first aspect of the present application, after the start exception, the method further includes:
marking the first identification as an invalid state.
Optionally, in yet another possible implementation manner of the embodiment of the first aspect of the present application, after the obtaining the backup boot file from the second storage area to restart the device, the method further includes:
and if the equipment is normally started, replacing the target starting file in the first storage area by using the backup starting file.
Optionally, in another possible implementation manner of the embodiment of the first aspect of the present application, the obtaining a first identifier for indicating a location of a target start-up file of the device includes:
and acquiring a first identifier for indicating the position of a target starting file of the equipment from a preset storage area of the equipment.
Optionally, in another possible implementation manner of the embodiment of the first aspect of the present application, the method further includes:
acquiring a starting file upgrading instruction, wherein the upgrading instruction comprises a starting file to be upgraded;
determining a second identifier for indicating the position of a backup starting file of the equipment;
and writing the starting file to be upgraded into a second storage area indicated by the second identifier.
Optionally, in another possible implementation manner of the embodiment of the first aspect of the present application, after writing the boot file to be upgraded into the second storage area indicated by the second identifier, the method further includes:
and if the upgrading of the starting file in the second storage area is successful, setting the identifier for indicating the position of the target starting file of the equipment as the second identifier.
Optionally, in yet another possible implementation manner of the embodiment of the first aspect of the present application, after setting, as the second identifier, the identifier for indicating the location of the target boot file of the device, the method further includes:
when the equipment is powered on, acquiring the upgraded starting file from a second storage area indicated by the second identifier, and configuring an identifier for indicating the position of a target starting file of the equipment as a first identifier;
and running the upgraded starting file, and resetting the identifier for indicating the position of the target starting file of the equipment as the second identifier if the equipment is started normally.
The embodiment of another aspect of the present application provides an apparatus, including: a memory, a transceiver, a processor; a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations: after the equipment is powered on, acquiring a first identifier which is currently used for indicating the position of a target starting file of the equipment; acquiring a target starting file from a first storage area indicated by the first identifier, and configuring an identifier for indicating the position of the target starting file of the equipment as a second identifier, wherein a backup starting file is stored in a second storage area indicated by the second identifier; running the target starting file and monitoring the starting process of the equipment; and if the starting is abnormal, the equipment is triggered to be restarted, and the backup starting file is acquired from the second storage area so as to restart the equipment.
Optionally, in a possible implementation manner of the embodiment of the second aspect of the present application, after the monitoring the start-up process of the device, the method further includes:
and if the equipment is normally started, resetting the identifier used for indicating the position of the target starting file of the equipment as the first identifier.
Optionally, in another possible implementation manner of the embodiment of the second aspect of the present application, after the start exception, the method further includes:
marking the first identification as an invalid state.
Optionally, in another possible implementation manner of the embodiment of the second aspect of the present application, after the obtaining the backup boot file from the second storage area to restart the device, the method further includes:
and if the equipment is normally started, replacing the target starting file in the first storage area by using the backup starting file.
Optionally, in another possible implementation manner of the embodiment of the second aspect of the present application, the obtaining a first identifier for indicating a location of a target start-up file of the device includes:
and acquiring a first identifier for indicating the position of a target starting file of the equipment from a preset storage area of the equipment.
Optionally, in another possible implementation manner of the embodiment of the second aspect of the present application, the processor is further configured to perform the following operations:
acquiring a starting file upgrading instruction, wherein the upgrading instruction comprises a starting file to be upgraded;
determining a second identifier for indicating the position of a backup starting file of the equipment;
and writing the starting file to be upgraded into a second storage area indicated by the second identifier.
Optionally, in another possible implementation manner of the embodiment of the second aspect of the present application, after writing the boot file to be upgraded into the second storage area indicated by the second identifier, the method further includes:
and if the upgrading of the starting file in the second storage area is successful, setting the identifier for indicating the position of the target starting file of the equipment as the second identifier.
Optionally, in yet another possible implementation manner of the embodiment of the second aspect of the present application, after setting, as the second identifier, the identifier for indicating the location of the target boot file of the device, the method further includes:
when the equipment is powered on, acquiring the upgraded starting file from a second storage area indicated by the second identifier, and configuring an identifier for indicating the position of a target starting file of the equipment as a first identifier;
and running the upgraded starting file, and resetting the identifier for indicating the position of the target starting file of the equipment as the second identifier if the equipment is started normally.
In another aspect, an embodiment of the present application provides a starting apparatus for a device, including: the first obtaining unit is used for obtaining a first identifier which is used for indicating the position of a target starting file of the equipment at present after the equipment is powered on; a second obtaining unit, configured to obtain a target boot file from a first storage area indicated by the first identifier, and configure an identifier indicating a location of the target boot file of the device as a second identifier, where a backup boot file is stored in a second storage area indicated by the second identifier; the monitoring unit is used for operating the target starting file and monitoring the starting process of the equipment; and the restarting unit is used for triggering the equipment to be restarted if the equipment is abnormally started, and acquiring the backup starting file from the second storage area so as to restart the equipment.
A processor-readable storage medium is provided, on which a computer program is stored, wherein the computer program is configured to enable the processor to execute the method for starting the device as described above.
According to the starting method and device for the device and the readable storage medium of the processor, after the device is powered on, according to a first identifier indicating a position of a target starting file of the device, the target starting file is obtained from a first storage area indicated by the first identifier, and the identifier indicating the position of the target starting file of the device is configured as a second identifier, wherein a backup starting file is stored in a second storage area indicated by the second identifier, then the target starting file is operated, the starting process of the device is monitored, and further, when the device is abnormally started, the device is triggered to be restarted, and the backup starting file is obtained from the second storage area, so that the device is restarted. Therefore, the two starting partitions are arranged to store the starting files respectively, the starting data on one starting partition is selected in a self-adaptive mode to finish starting according to the set starting file selection identification in the starting stage of the equipment, the starting file selection identification is changed in the whole starting stage of the equipment according to the starting state of the equipment, so that a normal starting file can be selected in a self-adaptive mode to finish starting when the equipment is abnormally started, the probability that the equipment cannot be started normally is reduced, and the running stability of the equipment is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a method for starting a device according to an embodiment of the present disclosure;
FIG. 2 is a diagram of a flash partition of a device;
FIG. 3 is a flowchart illustrating a variation of the start-up file selection flag during the device start-up process;
fig. 4 is a schematic flowchart of another method for starting the device according to the embodiment of the present application;
FIG. 5 is a state diagram of the security protection at the start-up file upgrade stage of the device;
FIG. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a starting apparatus of a device according to an embodiment of the present application.
Detailed Description
In the embodiment of the present application, the term "and/or" describes an association relationship of associated objects, and means that there may be three relationships, for example, 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.
In the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a starting method and a starting device of equipment, which are used for solving the problems that in the related art, when base station equipment is abnormal, if system starting data are damaged, the upgrading process of the system starting data is interrupted due to reasons such as temporary network interruption, temporary instability of a power supply and the like, the base station equipment cannot be normally started, so that the base station equipment cannot be remotely checked and repaired, and the running stability of the base station equipment is influenced.
The method and the device are based on the same application concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
According to the starting method of the device provided by the embodiment of the application, after the device is powered on, according to the first identifier of the position of the target starting file used for indicating the device, the target starting file is obtained from the first storage area indicated by the first identifier, and the identifier of the position of the target starting file used for indicating the device is configured as the second identifier, wherein the backup starting file is stored in the second storage area indicated by the second identifier, then the target starting file is operated, the starting process of the device is monitored, and therefore when the device is abnormally started, the device is triggered to be restarted, and the backup starting file is obtained from the second storage area, so that the device is restarted. Therefore, the target starting file and the backup starting file are respectively stored in the two starting partitions, the starting data on one starting partition is adaptively selected to finish starting according to the set starting file selection identification in the starting stage of the equipment, and the starting file selection identification is changed according to the starting state of the equipment in the whole stage of starting the equipment, so that a normal starting file can be adaptively selected to finish starting when the equipment is abnormally started, the probability that the equipment cannot be normally started is reduced, and the running stability of the equipment is improved.
The following describes a method, an apparatus, an electronic device, a storage medium, and a computer program for starting a device provided in the present application in detail with reference to the drawings.
Fig. 1 is a schematic flowchart of a method for starting a device according to an embodiment of the present disclosure.
As shown in fig. 1, the starting method of the device includes the following steps:
step 101, after the device is powered on, acquiring a first identifier of a location where a target start-up file currently used for indicating the device is located.
In practical use, the method for starting the device according to the embodiment of the present application may be executed by the starting apparatus of the device according to the embodiment of the present application. The starting apparatus of the device in the embodiment of the present application may be configured in any device, and the embodiment of the present application does not limit this. For example, the starting apparatus of the device in the embodiment of the present application may be configured in a base station, so that the base station may be started by the starting method of the device in the embodiment of the present application.
The target boot file refers to system boot data that needs to be read and used when the device is booted.
The first identifier is a preset startup file selection identifier used for indicating the storage location of the target startup file. It should be noted that the first identifier is one specific value of the start file selection identifier, and may be a preset letter, number, or other symbol.
As a possible implementation, the first identification may be pre-stored in a specific area in a storage medium of the device. That is, in a possible implementation form of the embodiment of the present application, the step 101 may include:
the method comprises the steps of obtaining a first identifier used for indicating the position of a target starting file of the equipment from a preset storage area of the equipment.
In the embodiment of the application, the flash of the device can be subjected to area planning, a partition used for storing the startup file selection identifier is arranged in the flash of the device and serves as a preset storage area, and a specific value of the startup file selection identifier is stored in the preset storage area. Therefore, after the device is powered on, the preset storage area in the flash can be accessed first, and the content stored in the preset storage area is determined as the first identifier.
Step 102, acquiring a target boot file from a first storage area indicated by a first identifier, and configuring an identifier for indicating a position of the target boot file of the device as a second identifier, wherein a second storage area indicated by the second identifier stores a backup boot file.
The first storage area refers to a storage area in a storage medium of the device for storing the target boot file.
The backup starting file refers to a backup file of the target starting file. It should be noted that the backup start file and the target start file are backup of each other, and both of them can be used for starting the device.
The second identifier is a preset startup file selection identifier for indicating the storage location of the backup startup file. It should be noted that the second identifier is another specific value opposite to the first identifier of the start file selection identifier, and may also be a preset symbol such as a letter or a number. For example, the value of the start file selection identifier includes a and B, and if the first identifier is a, the second identifier is B; when the first mark is B, the second mark is A.
In the embodiment of the application, the flash of the device can be subjected to area planning, two data storage areas are arranged in the flash and are respectively used for starting files, the starting files of the two data storage areas are backups of each other, and different identifications are configured for the two data storage areas; for example, the identifier corresponding to one data storage area is configured as a, and the identifier corresponding to another data storage area is configured as B. It should be noted that after the two storage areas are planned, the identifier corresponding to one of the data storage areas may be determined as an initial value (hereinafter referred to as an initial storage file selection identifier) of an identifier indicating a location of a target startup file of the device (i.e., an initial first identifier), and written into a preset storage area in the flash, so that when the device is started for the first time, the startup file in the data storage area corresponding to the first identifier may be acquired by default and started as the target startup file.
For example, as shown in FIG. 2, a diagram of a flash partition of a device is shown. The flash of the device may include a storage area (210) corresponding to a boot loader (e.g., UBOOT), a data storage area a (220) (used for storing a boot file), a data storage area B (230) (used for storing a boot file), a preset storage area (240) (used for storing a specific value of a boot file selection identifier), a storage area (250) corresponding to log data, and other partitions (260). For example, an identifier corresponding to the data storage area a is written into a preset storage area (250) as an initial first identifier, when the device is started for the first time, the data storage area a is determined as a first storage area according to the first identifier a in the preset storage area, and a start file in the data storage area a is acquired as a target start file; correspondingly, at this time, the second identifier is an opposite value B of the first identifier a, that is, the data storage area B is a second storage area, and the start file stored in the data storage area B is a backup start file.
In the embodiment of the application, after a first identifier indicating a first storage area is acquired, a boot loader (bootloader) program starts to run, and the first storage area is searched from a flash of equipment according to the first identifier so as to acquire a target boot file from the first storage area; and before bootloader prepares to guide, the value of the starting file selection identifier is changed from the first identifier to the second identifier. For example, when the start file selection identifier is stored in a preset storage area of the flash, the content stored in the preset storage area may be modified to the second identifier. Therefore, in the process of starting the device, if the device cannot be started due to an abnormal condition, the backup start file can be acquired according to the second identifier (namely, the new first identifier) in the process of restarting the device, and the backup start file can be used as a new target start file to start the device.
For example, as shown in fig. 3, a flow chart of a change of the identifier is selected for the boot file during the device boot process. The solid arrow represents the change process of the starting file selection identifier when the device is normally started, and the dotted arrow represents the change process of the starting file selection identifier when the device is failed to start. If the identifier corresponding to the data storage area a is a, and the identifier corresponding to the data storage area B is B, as can be seen from fig. 3, if the obtained first identifier is a, that is, the first storage area is the data storage area a, the first identifier may be modified to B at a time before bootloader prepares to boot, so that when the device is abnormally started, a backup boot file may be obtained from the data storage area B as a target boot file to be started according to the new first identifier B during restart; if the acquired first identifier B, that is, the first storage area is the data storage area B, the first identifier may be modified by a at a time before bootloader prepares for booting, so that when the device is abnormally started, the backup start file may be acquired from the data storage area a according to the new first identifier a for starting when the device is restarted.
Step 103, running the target start-up file and monitoring the start-up process of the device.
In the embodiment of the application, after the target startup file is acquired, the content of the target startup file can be sequentially read to start the device, and the starting process of the device is monitored in real time in the starting process, so that the device is restarted in time when the device is abnormally started.
As a possible implementation manner, if the device is successfully started, the start file selection identifier may be modified to the first identifier again. That is, in a possible implementation form of the embodiment of the present application, after the step 103, the method may further include:
if the device is started normally, resetting the identifier for indicating the position of the target starting file of the device to be the first identifier.
In this embodiment of the application, if the device is normally started, it may be determined that the target startup file stored in the first storage area is normal, so that the startup file selection identifier may be reset to the first identifier by the second identifier, so that the device may still obtain the target startup file from the first storage area indicated by the first identifier when being started next time, and start up the device, thereby ensuring normal startup of the device.
For example, as shown in fig. 3, if the service software in the target start file is normally started, it may be determined that the device is normally started, and therefore, if the first identifier obtained when the device is powered on is a, it may be determined that the service software is normally started at the time of determining that the service software is normally started, and the first identifier may be modified from B to a; if the first identifier B is obtained when the device is powered on, the first identifier B may be modified from a to B when it is determined that the service software is normally started at the time of judging that the service software is normally started.
And 104, if the starting is abnormal, triggering the equipment to be restarted, and acquiring the backup starting file from the second storage area to restart the equipment.
In the embodiment of the application, if the device is abnormally started, the device may be restarted, so that the device can obtain the value of the start software selection identifier again. Since the first identifier is already configured as the second identifier corresponding to the second storage area in step 102, when the device is restarted, the device may acquire a normal backup boot file from the second storage area (the new first storage area) according to the stored second identifier (i.e., the new first identifier), and start the backup boot file as the target boot file, so as to ensure normal startup of the device.
Further, after the abnormal starting of the device is monitored, the first storage area for storing the target starting file can be processed, so that the abnormal starting file cannot be acquired from the first storage area when the device is started again, and the normal starting of the device is ensured. Specifically, the first storage area may be processed in the following two ways:
in a first mode
The first identification is marked as invalid.
As a possible implementation manner, when the device fails to start according to the target start-up file in the first storage area, the first identifier corresponding to the first storage area may be marked as an invalid state, so that the device cannot acquire an abnormal start-up file from the first storage area temporarily during subsequent start-up, thereby avoiding abnormal start-up of the device.
Mode two
And if the equipment is normally started, replacing the target starting file in the first storage area by using the backup starting file.
As a possible implementation manner, if the device is normally started according to the backup start file stored in the second storage area, it indicates that the backup start file is normal, so that the backup start file may be used to replace the target start file in the first storage area, so as to restore the storage file in the first storage area to normal. Therefore, if the device is abnormally started in the subsequent starting process according to the backup storage file in the second storage area, the device can be started according to the target starting file which is restored to be normal in the first storage area when the device is restarted, so that the probability of abnormal starting of the device is further reduced, and the running stability of the device is further improved.
According to the starting method of the device provided by the embodiment of the application, after the device is powered on, according to the first identifier of the position of the target starting file used for indicating the device, the target starting file is obtained from the first storage area indicated by the first identifier, and the identifier of the position of the target starting file used for indicating the device is configured as the second identifier, wherein the backup starting file is stored in the second storage area indicated by the second identifier, then the target starting file is operated, the starting process of the device is monitored, and therefore when the device is abnormally started, the device is triggered to be restarted, and the backup starting file is obtained from the second storage area, so that the device is restarted. Therefore, the two starting partitions are arranged to store the starting files respectively, the starting data on one starting partition is selected in a self-adaptive mode to finish starting according to the set starting file selection identification in the starting stage of the equipment, the starting file selection identification is changed in the whole starting stage of the equipment according to the starting state of the equipment, so that a normal starting file can be selected in a self-adaptive mode to finish starting when the equipment is abnormally started, the probability that the equipment cannot be started normally is reduced, and the running stability of the equipment is improved.
In a possible implementation form of the present application, the backup boot file in the second storage area may also be upgraded, and normal reading of the target boot file in the first storage area is ensured in the upgrading process, so that the device may also be started normally in the boot file upgrading process, and the stability of the device operation is further improved.
The method for starting the device provided by the embodiment of the present application is further described below with reference to fig. 4.
Fig. 4 is a schematic flowchart of another device startup method according to an embodiment of the present application.
As shown in fig. 4, the method for starting the device includes the following steps:
step 301, after the device is powered on, acquiring a first identifier of a location where a target boot file currently used for indicating the device is located.
Step 302, obtaining a target boot file from a first storage area indicated by a first identifier, and configuring an identifier indicating a location of the target boot file of the device as a second identifier, where a second storage area indicated by the second identifier stores a backup boot file.
Step 303, running the target start-up file and monitoring the start-up process of the device.
Step 304, if the startup is abnormal, the device is triggered to be restarted, and the backup startup file is acquired from the second storage area to restart the device.
The detailed implementation process and principle of steps 301 to 304 can refer to the detailed description of the above embodiments, and are not described herein again.
Step 305, a start file upgrading instruction is obtained, wherein the upgrading instruction comprises a start file to be upgraded.
The starting file upgrading instruction can be sent by equipment maintenance personnel according to actual needs.
In the embodiment of the application, after the device is normally started, the start-up file can be upgraded according to actual needs, so that the device can acquire the start-up file upgrade instruction in real time after being normally started, and upgrade the start-up file in the first storage area or the second storage area according to the start-up file to be upgraded included in the start-up file upgrade instruction.
In step 306, a second identifier indicating a location of the backup initiation file of the device is determined.
In the embodiment of the application, because the target startup file used when the device operates cannot be changed when the device operates normally, so that abnormal operation of the device is avoided, and thus when the startup file upgrading instruction is obtained, the backup startup file which is not used when the device operates can be upgraded. In addition, since the storage area corresponding to the target startup file is specified by the first identifier, and the first identifier can be stored in the preset storage area of the flash, after the startup file upgrade instruction is acquired, the first identifier in the preset storage area can be acquired, and the opposite value of the first identifier is determined as the second identifier.
For example, the value of the start file selection identifier includes a and B, and when the first identifier in the preset storage area of the flash of the device is a, the second identifier is determined to be B.
And 307, writing the starting file to be upgraded into a second storage area indicated by the second identifier.
In the embodiment of the application, after the second identifier for indicating the second storage area corresponding to the backup start file is determined, the flash of the device can be searched according to the second identifier to determine the second storage area in the flash, and the start file to be upgraded is written into the second storage area, so that the backup start file in the second storage area is upgraded.
And 308, if the starting file in the second storage area is upgraded successfully, setting the identifier of the position of the target starting file for indicating the equipment as a second identifier.
In the embodiment of the application, after the backup boot file is upgraded successfully, the target boot file in use when the device operates is no longer the same as the boot file upgraded latest, so that the device can be booted using the upgraded boot file when being booted next time, and thus, after the boot file in the second storage area is upgraded successfully, the identifier indicating the location of the target boot file of the device is set as the second identifier corresponding to the second storage area, that is, the first identifier is configured as an opposite value. Therefore, the equipment can start the upgraded starting data as the target starting data according to the first identification when starting next time.
For example, as shown in fig. 5, it is a security protection state diagram of the device in the stage of starting file upgrade, in which a solid arrow is used to indicate a process in which upgrade is successful, and a dotted arrow is used to indicate a process in which upgrade fails. Assuming that the identifier corresponding to the data storage area a is a, and the identifier corresponding to the data storage area B is B, as shown in fig. 5, if the upgrade instruction of the start-up file is acquired, the first identifier in the preset storage area is a, that is, the data storage area of the currently running system is the data storage area a, it may be determined that the second identifier is B, that is, the location of the backup start-up file is the data storage area B; therefore, the starting file to be upgraded can be written into the data storage area B, and after the starting file in the data storage area B is upgraded successfully, the first identifier in the preset storage area is modified to be B, so that when the equipment is started next time, the upgraded starting file can be obtained from the data storage area B and used as a target starting file to be started; if the upgrade fails, the upgrade is not modified, and the first identifier is still A.
Correspondingly, if the first identifier in the preset storage area is B when the start file upgrade instruction is obtained, that is, the data storage area of the currently operating system is the data storage area B, it may be determined that the second identifier is a, that is, the location of the backup start file is the data storage area a; therefore, the starting file to be upgraded can be written into the data storage area A, and after the starting file in the data storage area A is upgraded successfully, the first identifier in the preset storage area is modified to A, so that when the equipment is started next time, the upgraded starting file can be obtained from the data storage area A and used as a target starting file for starting; if the upgrade fails, the upgrade is not modified, and the first identifier is still B.
Step 309, when the device is powered on, obtaining the upgraded boot file from the second storage area indicated by the second identifier, and configuring an identifier indicating a location where the target boot file of the device is located as the first identifier.
In the embodiment of the application, after the start-up file is successfully upgraded, when the device is powered on again, the identifier indicating the position of the target start-up file is set as the second identifier, so that the upgraded start-up file can be obtained from the second storage area indicated by the second identifier and started; and setting the mark indicating the position of the target starting file as a counter value of the second mark, namely the first mark, so that in the starting process of the equipment, if the starting cannot be carried out due to abnormal conditions, the starting file can be obtained according to the first storage area indicated by the first mark in the restarting process to be started.
It should be noted that, the specific implementation process and principle of configuring the identifier of the location where the target start file of the pointing device is located as the first identifier may refer to the specific description of step 102, and are not described herein again.
And step 310, running the upgraded starting file, and resetting the identifier indicating the position of the target starting file of the device to be the second identifier if the device is started normally.
In the embodiment of the application, after the upgraded starting file is obtained, the contents of the upgraded starting file can be sequentially read so as to start the equipment, and the starting process of the equipment is monitored in real time in the starting process so as to restart the equipment in time when the equipment is abnormally started.
Specifically, if the device is normally started, it may be determined that the upgraded start-up file is normal, so that the identifier indicating the location of the target start-up file of the device may be reset to the second identifier, that is, the identifier of the storage area storing the upgraded start-up file, so that the device may still obtain the upgraded start-up file from the second storage area indicated by the second identifier when the device is started next time, and start the device, thereby ensuring normal start of the device.
Correspondingly, if the device is abnormally started, the device can be restarted, so that the device can obtain the value of the identifier indicating the position of the target starting file again. Since the identifier indicating the location of the target boot file has been configured as the first identifier in step 309, when the device is restarted, the device may obtain a normal backup boot file from the storage area indicated by the first identifier, and start the backup boot file as the target boot file, so as to ensure normal startup of the device.
It should be noted that other specific implementation processes and principles when the device is abnormally started may refer to the detailed description of the above embodiments, and are not described herein again.
The method, the device and the processor-readable storage medium for starting the device provided by the embodiment of the application determine the second identifier for indicating the position of the backup start file of the device when the start file upgrade instruction is acquired, writing the starting file to be upgraded into the second storage area indicated by the second identifier, and when the upgrading of the starting file in the second storage area is successful, setting the identifier for indicating the location of the target start-up file of the device as the second identifier, and then when the equipment is powered on, the upgraded starting file is obtained from the second storage area indicated by the second identifier, configuring the mark of the position of the target starting file for indicating the equipment as a first mark, operating the upgraded starting file, and if the device is started normally, resetting the identifier for indicating the position of the target starting file of the device as the second identifier. Therefore, the two starting partitions are arranged to store the starting files respectively, the starting data on one starting partition is selected in a self-adaptive mode to complete starting according to the set starting file selection identification in the starting stage of the equipment, the backup starting file which is not used currently by the equipment is upgraded in the upgrading process, normal operation of the equipment cannot be guaranteed in upgrading, the starting file selection identification is changed in the whole starting stage of the equipment according to the starting state of the equipment, the normal starting file can be selected in a self-adaptive mode to complete starting when the equipment is abnormally started, the probability of abnormality of the equipment in the starting and upgrading processes is reduced, and the operation stability of the equipment is further improved.
In order to realize the above embodiment, the present application also provides an apparatus.
Fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present disclosure.
As shown in fig. 6, the apparatus includes: transceiver 500, processor 510, memory 520.
Wherein, the memory 520 is used for storing computer programs; a transceiver 500 for transceiving data under the control of the processor 510; a processor 510 for reading the computer program in the memory 520 and performing the following operations:
after the equipment is powered on, acquiring a first identifier of the position of a target starting file currently used for indicating the equipment;
acquiring a target starting file from a first storage area indicated by a first identifier, and configuring an identifier for indicating the position of the target starting file of the equipment as a second identifier, wherein a backup starting file is stored in a second storage area indicated by the second identifier;
running a target starting file and monitoring the starting process of the equipment;
and if the starting is abnormal, the equipment is triggered to be restarted, and the backup starting file is acquired from the second storage area so as to restart the equipment.
A transceiver 500 for receiving and transmitting data under the control of a processor 510.
Where in fig. 6, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 510, and various circuits, represented by memory 520, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 500 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium including wireless channels, wired channels, fiber optic cables, and the like. The processor 510 is responsible for managing the bus architecture and general processing, and the memory 520 may store data used by the processor 510 in performing operations.
The processor 510 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and may also have a multi-core architecture.
In a possible implementation form of the present application, after the start-up process of the monitoring device, the method further includes:
and if the equipment is normally started, resetting the identifier for indicating the position of the target starting file of the equipment to be the first identifier.
Further, in another possible implementation form of the present application, after the starting exception, the method further includes:
the first identification is marked as invalid.
Further, in another possible implementation form of the present application, after the obtaining the backup start file from the second storage area to restart the device, the method further includes:
and if the equipment is normally started, replacing the target starting file in the first storage area by using the backup starting file.
Further, in another possible implementation form of the present application, the obtaining a first identifier of a location where a target start-up file for a pointing device is located includes:
the method comprises the steps of obtaining a first identifier used for indicating the position of a target starting file of the equipment from a preset storage area of the equipment.
Further, in another possible implementation form of the present application, the processor 510 is further configured to perform the following operations:
acquiring a starting file upgrading instruction, wherein the upgrading instruction comprises a starting file to be upgraded;
determining a second identifier for indicating the position of a backup starting file of the equipment;
and writing the starting file to be upgraded into a second storage area indicated by the second identifier.
Further, in another possible implementation form of the present application, after writing the boot file to be upgraded into the second storage area indicated by the second identifier, the method further includes:
and if the starting file in the second storage area is upgraded successfully, setting the mark of the position of the target starting file for indicating the equipment as a second mark.
Further, in another possible implementation form of the present application, after setting the identifier of the location where the target boot file for indicating the device is located as the second identifier, the method further includes:
when the equipment is powered on, acquiring the upgraded starting file from a second storage area indicated by a second identifier, and configuring an identifier for indicating the position of a target starting file of the equipment as a first identifier;
and running the upgraded starting file, and resetting the identifier for indicating the position of the target starting file of the equipment as the second identifier if the equipment is started normally.
It should be noted that the apparatus provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
In order to realize the above embodiments, the present application also provides a starting apparatus of the device.
Fig. 7 is a schematic structural diagram of a starting apparatus of a device according to an embodiment of the present application.
As shown in fig. 7, the starting apparatus 60 of the apparatus includes:
the first obtaining unit 61 is configured to obtain, after the device is powered on, a first identifier of a location where a target start-up file currently used for indicating the device is located;
a second obtaining unit 62, configured to obtain a target boot file from a first storage area indicated by the first identifier, and configure an identifier, used for indicating a location of the target boot file of the device, as a second identifier, where a backup boot file is stored in a second storage area indicated by the second identifier;
the monitoring unit 63 is used for running a target starting file and monitoring the starting process of the equipment;
and a restarting unit 64, configured to trigger restarting of the device if the startup is abnormal, and retrieve the backup startup file from the second storage area to restart the device.
In a possible implementation form of the present application, the starting apparatus 60 of the above device further includes:
and the resetting unit is used for resetting the mark for indicating the position of the target starting file of the equipment to be the first mark when the equipment is normally started.
Further, in another possible implementation form of the present application, the starting apparatus 60 of the above apparatus further includes:
and the marking unit is used for marking the first identification as an invalid state.
Further, in another possible implementation form of the present application, the starting device 60 of the above apparatus further includes:
and the replacing unit is used for replacing the target starting file in the first storage area by using the backup starting file when the equipment is normally started.
Further, in another possible implementation form of the present application, the first obtaining unit 61 includes:
the obtaining subunit is configured to obtain, from a preset storage area of the device, a first identifier indicating a location of a target start-up file of the device.
Further, in another possible implementation form of the present application, the starting apparatus 60 of the above apparatus further includes:
the third acquisition unit is used for acquiring an upgrading instruction of the starting file, wherein the upgrading instruction comprises the starting file to be upgraded;
the determining unit is used for determining a second identifier used for indicating the position of a backup starting file of the equipment;
and the writing unit is used for writing the starting file to be upgraded into the second storage area indicated by the second identifier.
Further, in another possible implementation form of the present application, the starting apparatus 60 of the above apparatus further includes:
and the setting unit is used for setting the mark of the position of the target starting file for indicating the equipment as the second mark when the starting file in the second storage area is upgraded successfully.
Further, in another possible implementation form of the present application, the starting device 60 of the above apparatus further includes:
the fourth obtaining unit is used for obtaining the upgraded starting file from the second storage area indicated by the second identifier when the equipment is powered on, and configuring the identifier for indicating the position of the target starting file of the equipment as the first identifier;
and the operation unit is used for operating the upgraded starting file, and resetting the identifier for indicating the position of the target starting file of the equipment to be the second identifier if the equipment is normally started.
It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a processor readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that the apparatus provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
In order to implement the above embodiments, the present application also proposes a processor-readable storage medium.
The processor-readable storage medium stores a computer program for causing the processor to execute the method for starting the device according to the embodiment of the present application.
The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the processor-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (18)

1. A method for starting up a device, comprising:
after the equipment is powered on, acquiring a first identifier which is currently used for indicating the position of a target starting file of the equipment;
acquiring a target starting file from a first storage area indicated by the first identifier, and configuring an identifier for indicating the position of the target starting file of the equipment as a second identifier, wherein a backup starting file is stored in a second storage area indicated by the second identifier;
running the target starting file and monitoring the starting process of the equipment;
and if the starting is abnormal, the equipment is triggered to be restarted, and the backup starting file is acquired from the second storage area so as to restart the equipment.
2. The method of claim 1, further comprising, after the monitoring a boot process of the device:
and if the equipment is normally started, resetting the identifier used for indicating the position of the target starting file of the equipment as the first identifier.
3. The method of claim 1, after the boot exception, further comprising:
marking the first identification as an invalid state.
4. The method of claim 1, wherein after the retrieving the backup boot file from the second storage area to reboot the device, further comprising:
and if the equipment is normally started, replacing the target starting file in the first storage area by using the backup starting file.
5. The method of claim 1, wherein obtaining a first identifier indicating a location of a target boot file for the device comprises:
and acquiring a first identifier for indicating the position of a target starting file of the equipment from a preset storage area of the equipment.
6. The method of any of claims 1-5, further comprising:
acquiring a starting file upgrading instruction, wherein the upgrading instruction comprises a starting file to be upgraded;
determining a second identifier for indicating the position of a backup starting file of the equipment;
and writing the starting file to be upgraded into a second storage area indicated by the second identifier.
7. The method of claim 6, wherein after the writing the boot file to be upgraded to the second storage area indicated by the second identifier, further comprising:
and if the upgrading of the starting file in the second storage area is successful, setting the identifier for indicating the position of the target starting file of the equipment as the second identifier.
8. The method of claim 7, wherein after setting the identifier indicating the location of the target boot file of the device to the second identifier, further comprising:
when the equipment is powered on, acquiring the upgraded starting file from a second storage area indicated by the second identifier, and configuring an identifier for indicating the position of a target starting file of the equipment as a first identifier;
and running the upgraded starting file, and resetting the identifier for indicating the position of the target starting file of the equipment as the second identifier if the equipment is started normally.
9. An apparatus, comprising a memory, a transceiver, a processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
after the equipment is powered on, acquiring a first identifier which is currently used for indicating the position of a target starting file of the equipment;
acquiring a target starting file from a first storage area indicated by the first identifier, and configuring an identifier for indicating the position of the target starting file of the equipment as a second identifier, wherein a backup starting file is stored in a second storage area indicated by the second identifier;
running the target starting file and monitoring the starting process of the equipment;
and if the starting is abnormal, the equipment is triggered to be restarted, and the backup starting file is acquired from the second storage area so as to restart the equipment.
10. The apparatus of claim 9, further comprising, after the monitoring a start-up procedure of the device:
and if the equipment is normally started, resetting the identifier used for indicating the position of the target starting file of the equipment as the first identifier.
11. The apparatus of claim 9, further comprising, after the start-up exception:
marking the first identification as an invalid state.
12. The apparatus as claimed in claim 9, wherein after said retrieving said backup boot file from said second storage area to reboot said device, further comprising:
and if the equipment is normally started, replacing the target starting file in the first storage area by using the backup starting file.
13. The apparatus of claim 9, wherein the obtaining a first identifier indicating a location of a target boot file for the device comprises:
and acquiring a first identifier for indicating the position of a target starting file of the equipment from a preset storage area of the equipment.
14. The apparatus of any of claims 9-13, further comprising:
acquiring a starting file upgrading instruction, wherein the upgrading instruction comprises a starting file to be upgraded;
determining a second identifier for indicating the position of a backup starting file of the equipment;
and writing the starting file to be upgraded into a second storage area indicated by the second identifier.
15. The apparatus as claimed in claim 14, wherein after said writing the boot file to be upgraded into the second storage area indicated by the second identifier, further comprising:
and if the upgrading of the starting file in the second storage area is successful, setting the identifier for indicating the position of the target starting file of the equipment as the second identifier.
16. The apparatus of claim 15, wherein after setting the identifier indicating the location of the target boot file of the device to the second identifier, further comprising:
when the equipment is powered on, acquiring the upgraded starting file from a second storage area indicated by the second identifier, and configuring an identifier for indicating the position of a target starting file of the equipment as a first identifier;
and running the upgraded starting file, and resetting the identifier for indicating the position of the target starting file of the equipment as the second identifier if the equipment is started normally.
17. An apparatus starting device, comprising:
the first obtaining unit is used for obtaining a first identifier which is used for indicating the position of a target starting file of the equipment at present after the equipment is powered on;
a second obtaining unit, configured to obtain a target boot file from a first storage area indicated by the first identifier, and configure an identifier indicating a location of the target boot file of the device as a second identifier, where a backup boot file is stored in a second storage area indicated by the second identifier;
the monitoring unit is used for operating the target starting file and monitoring the starting process of the equipment;
and the restarting unit is used for triggering the equipment to be restarted if the equipment is abnormally started, and acquiring the backup starting file from the second storage area so as to restart the equipment.
18. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing a processor to perform the method of any one of claims 1 to 8.
CN202011104676.7A 2020-10-15 2020-10-15 Method and device for starting equipment and storage medium Active CN114430565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011104676.7A CN114430565B (en) 2020-10-15 2020-10-15 Method and device for starting equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011104676.7A CN114430565B (en) 2020-10-15 2020-10-15 Method and device for starting equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114430565A true CN114430565A (en) 2022-05-03
CN114430565B CN114430565B (en) 2023-10-17

Family

ID=81309938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011104676.7A Active CN114430565B (en) 2020-10-15 2020-10-15 Method and device for starting equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114430565B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130808A (en) * 2016-09-07 2016-11-16 深圳创维数字技术有限公司 A kind of method and system of WIFI device upgrade
CN107168734A (en) * 2017-04-27 2017-09-15 纳瓦电子(上海)有限公司 A kind of embedded system upgrading backup method
CN109032846A (en) * 2018-08-08 2018-12-18 京信通信系统(中国)有限公司 Equipment remote backup upgrade method, device, computer storage medium and equipment
CN109446012A (en) * 2018-11-01 2019-03-08 郑州云海信息技术有限公司 A kind of method for energizing and starting of target component, device and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130808A (en) * 2016-09-07 2016-11-16 深圳创维数字技术有限公司 A kind of method and system of WIFI device upgrade
WO2018045958A1 (en) * 2016-09-07 2018-03-15 深圳创维数字技术有限公司 Method and system for upgrading wireless fidelity (wi-fi) device
CN107168734A (en) * 2017-04-27 2017-09-15 纳瓦电子(上海)有限公司 A kind of embedded system upgrading backup method
CN109032846A (en) * 2018-08-08 2018-12-18 京信通信系统(中国)有限公司 Equipment remote backup upgrade method, device, computer storage medium and equipment
CN109446012A (en) * 2018-11-01 2019-03-08 郑州云海信息技术有限公司 A kind of method for energizing and starting of target component, device and equipment

Also Published As

Publication number Publication date
CN114430565B (en) 2023-10-17

Similar Documents

Publication Publication Date Title
CN106020865B (en) System upgrading method and device
CN110083374B (en) Upgrade rollback method, system and terminal equipment
US20140310698A1 (en) Apparatus and method for upgrading firmware of mobile terminal
CN110209405B (en) Automatic upgrading method and device for distributed system
CN111316235A (en) Method for starting system, electronic device and machine-readable storage medium
CN110597545A (en) Hot patch intelligent upgrading method and system based on OTA component
CN109375953B (en) Operating system starting method and device
US20230087221A1 (en) Detection fields of view
CN117130672A (en) Server start flow control method, system, terminal and storage medium
CN114430565B (en) Method and device for starting equipment and storage medium
CN111984287A (en) Equipment upgrading method and system
CN106528114A (en) Android firmware application, android firmware and firmware upgrading method
CN111309388A (en) Automatic rollback system and method for system software version of device
CN110928726A (en) Embedded system self-recovery method and system based on watchdog and PXE
CN116126379A (en) BIOS firmware upgrading method, device, equipment and storage medium
CN114237722A (en) System starting method, device, equipment and engineering vehicle
CN107967160B (en) Method and device for updating operating system file through Boot Loader
CN113010266A (en) Cloud service restarting method and device
CN115437674B (en) Firmware upgrading method, device, medium and electronic equipment
CN107015827B (en) Embedded system and method for automatically operating third-party extension program thereof
CN111930405A (en) Upgrading method and system of magnetic bearing control equipment and electronic equipment
CN116340957B (en) Program starting method, device, server and nonvolatile storage medium
CN114546456B (en) Upgrading method and device and electronic equipment
KR20220046986A (en) System and method for restoring software of vehicle
CN107341065B (en) Method and device for outputting debugging information

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
GR01 Patent grant
GR01 Patent grant