CN114430565B - Method and device for starting equipment and storage medium - Google Patents

Method and device for starting equipment and storage medium Download PDF

Info

Publication number
CN114430565B
CN114430565B CN202011104676.7A CN202011104676A CN114430565B CN 114430565 B CN114430565 B CN 114430565B CN 202011104676 A CN202011104676 A CN 202011104676A CN 114430565 B CN114430565 B CN 114430565B
Authority
CN
China
Prior art keywords
identifier
equipment
file
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.)
Active
Application number
CN202011104676.7A
Other languages
Chinese (zh)
Other versions
CN114430565A (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

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

Abstract

The application provides a method and a device for starting equipment and a storage medium, and belongs to the technical field of mobile communication. Wherein the method comprises the following steps: after the device is powered on, a first identifier for indicating the position of a target starting file of the device is obtained; 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; operating a target starting file and monitoring the starting process of the equipment; and if the starting is abnormal, triggering to restart the equipment, and acquiring the backup starting file from the second storage area to restart the equipment. By the method for starting the equipment, a normal starting file can be adaptively selected to finish starting when the equipment is started abnormally, so that the probability that the equipment cannot be started normally is reduced, and the running stability of the equipment is improved.

Description

Method and device for starting equipment and storage medium
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method and apparatus for starting a device, and a storage medium.
Background
Communication base stations require high stability in operation and the base station deployment area is often an inconvenient place away from technicians. For convenience of base station building, debugging and maintenance, the base station equipment is usually required to be ensured to be in a networking running state, so that the base station equipment can be remotely operated in a networking way, and the base station is prevented from being abnormal and is in a network disconnection 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 started normally, so that the base station equipment cannot be checked and repaired remotely, and the operation stability of the base station equipment is affected.
Disclosure of Invention
The method, the device and the storage medium for starting the equipment are used for solving the problems that in the related art, when the base station equipment is abnormal, if system starting data are damaged, the upgrading process of the system starting data is interrupted due to temporary network interruption, temporary instability of a power supply and the like, the base station equipment cannot be started normally, so that the base station equipment cannot be checked and repaired remotely, and the operation stability of the base station equipment is affected.
The starting method of the equipment provided by the embodiment of the application comprises the following steps: after the equipment is powered on, a first identifier which is currently used for indicating the position of a target starting file of the equipment is obtained; 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; operating the target starting file and monitoring the starting process of the equipment; and if the starting is abnormal, triggering to restart the equipment, and acquiring the backup starting file from the second storage area to restart the equipment.
Optionally, in a possible implementation manner of the embodiment of the first aspect of the present application, after the monitoring a starting procedure of the device, the method further includes:
and if the equipment is started normally, resetting the identifier 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 starting exception, the method further includes:
And marking the first mark as an invalid state.
Optionally, in a further possible implementation manner of the embodiment of the first aspect 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 started normally, replacing the target starting file in the first storage area by using the backup starting file.
Optionally, in a further 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 boot file of the device includes:
and acquiring a first identifier for indicating the position of the target starting file of the equipment from a preset storage area of the equipment.
Optionally, in a further 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 the backup starting file of the device;
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 the writing the startup 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 successfully upgraded, setting the identifier for indicating the position of the target starting file of the equipment as the second identifier.
Optionally, in a further possible implementation manner of the embodiment of the first aspect of the present application, after the setting, as the second identifier, the identifier that indicates a location of the target boot file of the device, the method further includes:
when the equipment is powered on, acquiring an 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 operating 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 apparatus provided in an embodiment of the present application includes: a memory, transceiver, 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, a first identifier which is currently used for indicating the position of a target starting file of the equipment is obtained; 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; operating the target starting file and monitoring the starting process of the equipment; and if the starting is abnormal, triggering to restart the equipment, and acquiring the backup starting file from the second storage area to restart the equipment.
Optionally, in a possible implementation manner of the embodiment of the second aspect of the present application, after the monitoring a starting procedure of the device, the method further includes:
and if the equipment is started normally, resetting the identifier 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 starting exception, the method further includes:
and marking the first mark as an invalid state.
Optionally, in a further possible implementation manner of the embodiment of the second aspect 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 started normally, replacing the target starting file in the first storage area by using the backup starting file.
Optionally, in a further 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 boot file of the device includes:
and acquiring a first identifier for indicating the position of the target starting file of the equipment from a preset storage area of the equipment.
Optionally, in a further 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 the backup starting file of the device;
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 startup 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 successfully upgraded, setting the identifier for indicating the position of the target starting file of the equipment as the second identifier.
Optionally, in a further possible implementation manner of the embodiment of the second aspect of the present application, after the setting, as the second identifier, the identifier that indicates a location of the target boot file of the device, the method further includes:
when the equipment is powered on, acquiring an 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 operating 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 still another aspect, an apparatus for starting a device according to an embodiment of the present application includes: the first acquisition unit is used for acquiring a first identifier which is currently used for indicating the position of a target starting file of the equipment after the equipment is electrified; the second acquisition unit is used for 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; the monitoring unit is used for running the target starting file and monitoring the starting process of the equipment; and the restarting unit is used for triggering restarting the equipment if the starting is abnormal, and acquiring the backup starting file from the second storage area so as to restart the equipment.
In yet another aspect, the embodiment of the present application provides a processor readable storage medium, on which a computer program is stored, where the computer program is configured to cause the processor to perform a method for starting up a device as described above.
According to the starting method, the device and the processor readable storage medium of the equipment, after the equipment is powered on, the target starting file is acquired from the first storage area indicated by the first identifier according to the first identifier for indicating the position of the target starting file of the equipment, the identifier for indicating the position of the target starting file of the equipment is configured as the second identifier, 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 equipment is monitored, and further when the starting is abnormal, the restarting equipment is triggered, and the backup starting file is acquired from the second storage area, so that the equipment is restarted. Therefore, the two starting partitions are set to store starting files respectively, 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, and the starting file selection identification is changed according to the starting state of the equipment in the whole starting stage of the equipment, so that a normal starting file can be selected in a self-adaptive mode to finish starting when the equipment is started abnormally, 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 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 application.
Drawings
The foregoing and/or additional aspects and advantages of the application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flow chart of a method for starting up a device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a flash partition of a device;
FIG. 3 is a flow chart of a variation of the startup file selection identifier during the startup of the device;
fig. 4 is a flowchart of another method for starting up a device according to an embodiment of the present application;
FIG. 5 is a security protection state diagram of the boot file upgrade phase of the device;
FIG. 6 is a schematic diagram of an apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a device for starting an apparatus according to an embodiment of the present application.
Detailed Description
In the embodiment of the application, the term "and/or" describes the association relation of the association objects, which means that three relations can exist, for example, a and/or B can be expressed as follows: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The term "plurality" in embodiments of the present application means two or more, and other adjectives are similar.
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The embodiment of the application provides a method and a device for starting equipment, which are used for solving the problems that in the related art, when base station equipment is abnormal, such as system starting data is destroyed, the upgrading process of the system starting data is interrupted due to temporary network interruption, temporary instability of a power supply and the like, the base station equipment cannot be started normally, so that the base station equipment cannot be checked and repaired remotely, and the operation stability of the base station equipment is affected.
The method and the device are based on the same application, and because the principles of solving the problems by the method and the device are similar, the implementation of the device and the method can be referred to each other, and the repetition is not repeated.
According to the starting method of the equipment, after the equipment is electrified, the target starting file is acquired from the first storage area indicated by the first identifier according to the first identifier for indicating the position of the target starting file of the equipment, the identifier for indicating the position of the target starting file of the equipment is configured as the second identifier, 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 equipment is monitored, and further when the starting is abnormal, the equipment is restarted, and the backup starting file is acquired from the second storage area, so that the equipment is restarted. Therefore, the target starting file and the backup starting file are respectively stored by setting the two starting partitions, 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 starting stage of the equipment, so that the 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 method, apparatus, electronic device, storage medium and computer program for starting up the device provided by the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flow chart of a method for starting up a device according to an embodiment of the present application.
As shown in fig. 1, the method for starting the device includes the following steps:
step 101, after the device is powered on, a first identifier currently used for indicating the position of a target start file of the device is obtained.
In actual 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 device of the device according to the embodiment of the present application may be configured in any device, which is not limited in the embodiment of the present application. For example, the starting device of the apparatus of the embodiment of the present application may be configured in a base station, so that the base station may be started by using the starting method of the apparatus of the embodiment of the present application.
The target startup file refers to system startup data that needs to be read and used when the device is started.
The first identifier is a preset starting file selection identifier for indicating a target starting file storage position. It should be noted that, the first identifier refers to one specific value of the startup file selection identifier, and may be a preset symbol such as a letter, a number, etc.
As a possible implementation, the first identification may be pre-stored in a specific area in the storage medium of the device. That is, in one possible implementation manner of the embodiment of the present application, the step 101 may include:
and acquiring a first identifier for indicating the position of the target starting file of the equipment from a preset storage area of the equipment.
In the embodiment of the application, the flash of the equipment can be subjected to area planning, a partition for storing the starting file selection identifier is arranged in the flash of the equipment and used as a preset storage area, and the specific value of the starting file selection identifier is stored in the preset storage area. Thus, after the device is powered on, a preset storage area in the flash may be accessed first, and content stored in the preset storage area is determined as the first identifier.
Step 102, obtaining the target startup file from the first storage area indicated by the first identifier, and configuring the identifier for indicating the position of the target startup file of the device as a second identifier, wherein the backup startup file is stored in the second storage area indicated by the second identifier.
The first storage area refers to a storage area used for storing a target start file in a storage medium of the device.
The backup starting file refers to a backup file of the target starting file. It should be noted that, the backup start-up file and the target start-up file are backup to each other, and can be used for starting the device.
The second identifier is a preset starting file selection identifier for indicating a storage position of the backup starting file. It should be noted that, the second identifier refers to another specific value opposite to the first identifier of the start file selection identifier, and may be a preset symbol such as a letter or a number. For example, if the values of the startup file selection identifiers include a and B, the first identifier is a, and 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 equipment can be subjected to area planning, two data storage areas are respectively arranged in the flash and used for starting files, the starting files of the two data storage areas are mutually backed up, and different identifications are configured for the two data storage areas; for example, an identifier corresponding to one data storage area is configured as a, and an identifier corresponding to another data storage area is configured as B. It should be noted that after two storage areas are planned, an identifier corresponding to one of the data storage areas may be determined as an initial value of an identifier indicating a location of a target boot file of the device (hereinafter referred to as a boot storage file selection identifier), that is, an initial first identifier, and written into a preset storage area in the flash, so that when the device is first started, a boot file in the data storage area corresponding to the first identifier may be obtained by default and used as the target boot file to perform the startup.
For example, as shown in fig. 2, a flash partition diagram of a device is shown. The flash of the device may include a storage area (210) corresponding to a boot loader (such as UBOOT), a data storage area a (220) (for storing a boot file), a data storage area B (230) (for storing a boot file), a preset storage area (240) (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, the identifier corresponding to the data storage area a is written into the 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 to be the first storage area according to the first identifier a in the preset storage area, and a starting file in the data storage area a is obtained as a target starting file; correspondingly, at this time, the second identifier is the opposite value B of the first identifier a, that is, the data storage area B is the second storage area, and the start file stored in the data storage area B is the backup start file.
In the embodiment of the application, after a first identifier indicating a first storage area is acquired, starting to run a boot loader (bootloader) program, and searching the first storage area from flash of equipment according to the first identifier so as to acquire a target boot file from the first storage area; and modifying the value of the startup file selection identifier from the first identifier to the second identifier at the moment before the bootloader prepares for booting. For example, when the startup 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 equipment starting process, if abnormal conditions occur and the equipment cannot be started, the backup starting file can be obtained according to the second identifier (namely the new first identifier) in the restarting process, and the backup starting file is used as a new target starting file for starting.
For example, as shown in fig. 3, a flowchart of a change of the startup file selection identifier in the startup process of the device is shown. Wherein, the solid arrow represents the change process of the startup file selection identifier when the device is started normally, and the dotted arrow represents the change process of the startup file selection identifier when the device is failed to start. 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 can be seen from fig. 3, if the acquired first identifier is a, that is, the first storage area is the data storage area a, then the first identifier may be modified to B at the moment before bootloader prepares for booting, so that when the device is started abnormally, a backup start file may be acquired from the data storage area B as a target start file according to the new first identifier B for starting during restarting; if the obtained first identifier B, that is, the first storage area is the data storage area B, the first identifier may be modified by a before bootloader prepares to boot, so that when an abnormality occurs in the device start, a backup start file may be obtained from the data storage area a according to the new first identifier a to start.
And 103, running the target starting file and monitoring the starting process of the equipment.
In the embodiment of the application, after the target starting file is acquired, the content of the target starting file can be sequentially read 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 started abnormally.
As a possible implementation, if the device is started successfully, the startup file selection identifier may be modified to the first identifier again. That is, in one possible implementation manner of the embodiment of the present application, after the step 103, the method may further include:
if the device is started normally, resetting the identification of the position of the target starting file for indicating the device as a first identification.
In the embodiment of the application, if the equipment is started normally, the target startup file stored in the first storage area can be determined to be normal, so that the startup file selection identifier can be reset to the first identifier from the second identifier, the target startup file can still be acquired from the first storage area indicated by the first identifier for startup when the equipment is started next time, and the normal startup of the equipment is further ensured.
For example, as shown in fig. 3, if the service software in the target startup file is started normally, it may be determined that the device is started normally, so if the first identifier obtained when the device is powered on is a, when it is determined that the service software is started normally at the time of judging that the service software is started normally, 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 A can be modified to B when the normal starting of the service software is determined at the normal starting judging moment of the service software.
Step 104, if the starting is abnormal, triggering restarting the equipment, and acquiring a backup starting file from the second storage area to restart the equipment.
In the embodiment of the application, if the equipment is started abnormally, the equipment can be restarted, so that the equipment can acquire the value of the starting software selection identifier again. Because the first identifier is configured as the second identifier corresponding to the second storage area in step 102, when the device is restarted, a normal backup start file can be obtained from the second storage area (new first storage area) according to the stored second identifier (i.e. new first identifier), and the backup start file is started as a target start file, so that normal start of the device is ensured.
Further, after the device starting abnormality is detected, the first storage area storing the target starting file may be further processed, so that the abnormal starting file cannot be obtained from the first storage area when the device is started again, so as to ensure that the device is started normally. Specifically, the first storage area may be processed in the following two ways:
mode one
The first flag is marked as invalid.
As a possible implementation manner, when the device fails to start according to the target start 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 temporarily acquire the abnormal start file from the first storage area during subsequent start, and abnormal start of the device is avoided.
Mode two
If the device is started normally, the backup starting file is used for replacing the target starting file in the first storage area.
As a possible implementation manner, if the device is started normally according to the backup start file stored in the second storage area, it is indicated that the backup start file is normal, so that the target start file in the first storage area can be replaced by the backup start file, so that the storage file in the first storage area is restored to be normal. Therefore, if the equipment is started abnormally according to the backup storage file in the second storage area in the subsequent starting process, the equipment can be started according to the target starting file which is recovered to be normal in the first storage area in restarting, so that the abnormal starting probability of the equipment is further reduced, and the running stability of the equipment is further improved.
According to the starting method of the equipment, after the equipment is electrified, the target starting file is acquired from the first storage area indicated by the first identifier according to the first identifier for indicating the position of the target starting file of the equipment, the identifier for indicating the position of the target starting file of the equipment is configured as the second identifier, 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 equipment is monitored, and further when the starting is abnormal, the equipment is restarted, and the backup starting file is acquired from the second storage area, so that the equipment is restarted. Therefore, the two starting partitions are set to store starting files respectively, 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, and the starting file selection identification is changed according to the starting state of the equipment in the whole starting stage of the equipment, so that a normal starting file can be selected in a self-adaptive mode to finish starting when the equipment is started abnormally, the probability that the equipment cannot be started normally is reduced, and the running stability of the equipment is improved.
In one possible implementation form of the application, the backup starting file in the second storage area can be upgraded, and the normal reading of the target starting file in the first storage area is ensured in the upgrading process, so that the equipment can be started normally in the starting file upgrading process, and the running stability of the equipment is further improved.
The method for starting the device according to the embodiment of the present application is further described below with reference to fig. 4.
Fig. 4 is a flowchart of another method for starting up a device 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, a first identifier currently used for indicating a location of a target start file of the device is obtained.
Step 302, a target startup file is obtained from a first storage area indicated by the first identifier, and an identifier for indicating a location of the target startup file of the device is configured as a second identifier, where a backup startup file is stored in a second storage area indicated by the second identifier.
Step 303, running the target startup file and monitoring the startup process of the device.
Step 304, if the starting is abnormal, triggering restarting the device, and acquiring a backup starting file from the second storage area to restart the device.
The specific implementation and principles of steps 301-304 may refer to the detailed description of the above embodiments, and will not be repeated here.
Step 305, obtaining an upgrade instruction of the start file, wherein the upgrade instruction includes the start file to be upgraded.
The file upgrading instruction can be sent by equipment maintenance personnel according to actual needs.
In the embodiment of the application, after the equipment is normally started, the starting file can be updated according to actual needs, so that the equipment can acquire the starting file updating instruction in real time after the equipment is normally started, and the starting file in the first storage area or the second storage area is updated according to the starting file to be updated contained in the starting file updating instruction.
Step 306, determining a second identifier for indicating a location of the backup start file of the device.
In the embodiment of the application, the target starting file used by the equipment in the running process can not be changed when the equipment is in normal running, so that the abnormal running of the equipment is avoided, and when the starting file upgrading instruction is acquired, the backup starting file which is not used by the equipment in the running process can be upgraded. And, because the storage area corresponding to the target startup file is designated by the first identifier, and the first identifier can be stored in the preset storage area of the flash, after the startup file upgrading 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, if the values of the boot file selection identifiers include a and B, 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.
Step 307, writing the startup file to be upgraded into the 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 upgrade 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 device as a second identifier.
In the embodiment of the application, after the backup start-up file is successfully upgraded, the target start-up file which is being used by the equipment in running is not the same as the latest upgraded start-up file, so that the equipment can be started by using the upgraded start-up file when being started next time, and after the start-up file in the second storage area is successfully upgraded, the identifier for indicating the position of the target start-up file of the equipment is set as the second identifier corresponding to the second storage area, namely the first identifier is configured as the opposite value. Therefore, the device can be started by taking the updated starting data as target starting data according to the first identifier when being started next time.
For example, as shown in fig. 5, a security protection state diagram of a startup file upgrade stage of a device is shown, where solid arrows are used to indicate a process of upgrade success and dashed arrows are used to indicate a process of upgrade failure. 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 a startup file upgrading instruction is acquired, a first identifier in a preset storage area is a, that is, the data storage area of the current running system is the data storage area a, a second identifier may be determined to be B, that is, the location where the backup startup file is located is the data storage area B; the method comprises the steps that a starting file to be upgraded is written into a data storage area B, and after the starting file in the data storage area B is successfully upgraded, a first mark in a preset storage area is modified into B, so that when 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 for starting; 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 starting file upgrading instruction is acquired, namely the data storage area of the current running system is the data storage area B, the second identifier can be determined to be A, namely the position where the backup starting file is located is the data storage area A; the method comprises the steps that a starting file to be upgraded is written into a data storage area A, and after the starting file in the data storage area A is successfully upgraded, a first mark in a preset storage area is modified into A, so that when 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, the upgraded start-up file is obtained from the second storage area indicated by the second identifier, and the identifier for indicating the location of the target start-up file of the device is configured as the first identifier.
In the embodiment of the application, after the starting file is successfully upgraded, when the equipment is electrified again, the identifier indicating the position of the target starting file is set as the second identifier, so that the upgraded starting file can be acquired from the second storage area indicated by the second identifier for starting; and the mark indicating the position of the target starting file is set as the opposite value of the second mark, namely the first mark, so that the starting file can be acquired to start according to the first storage area indicated by the first mark in the restarting process if abnormal conditions occur in the starting process of the equipment.
It should be noted that, the specific implementation process and principle of configuring the identifier for indicating the location of the target boot file of the device as the first identifier may refer to the specific description of step 102, which is not repeated herein.
And 310, 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 the embodiment of the application, after the updated starting file is obtained, the content of the updated starting file can be sequentially read 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 started normally, it may be determined that the updated startup file is normal, so that the identifier indicating the location of the target startup file of the device may be reset to a second identifier, that is, the identifier of the storage area storing the updated startup file, so that the device may still obtain the updated startup file from the second storage area indicated by the second identifier when starting next time, and start the device, thereby ensuring normal startup of the device.
Correspondingly, if the device is started abnormally, the device can be restarted, so that the device can acquire 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 is already configured as the first identifier in step 309, when the device is restarted, the normal backup boot file may be obtained from the storage area indicated by the first identifier, and the backup boot file is started as the target boot file, so as to ensure the normal startup of the device.
It should be noted that, for other specific implementation processes and principles when the device is started abnormally, reference may be made to the detailed description of the above embodiments, which are not repeated herein.
According to the starting method, the device and the processor readable storage medium of the equipment, when the starting file upgrading instruction is acquired, the second identifier for indicating the position of the backup starting file of the equipment is determined, the starting file to be upgraded is written into the second storage area indicated by the second identifier, then when the starting file in the second storage area is successfully upgraded, the identifier for indicating the position of the target starting file of the equipment is set as the second identifier, further when the equipment is powered on, the upgraded starting file is acquired from the second storage area indicated by the second identifier, the identifier for indicating the position of the target starting file of the equipment is configured as the first identifier, the upgraded starting file is operated, and if the equipment is started normally, the identifier for indicating the position of the target starting file of the equipment is reset to the second identifier. Therefore, the starting files are respectively stored by setting the two starting partitions, 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, the backup starting files which are not used currently by the equipment are upgraded in upgrading, normal operation of the equipment cannot be guaranteed in upgrading, the starting file selection identification is changed according to the starting state of the equipment in the whole stage of equipment starting, and therefore the normal starting file can be adaptively selected to finish starting when the equipment is started abnormally, the probability of abnormality of the equipment in the starting and upgrading processes is reduced, and the running stability of the equipment is further improved.
In order to realize the embodiment, the application also provides a device.
Fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
As shown in fig. 6, the apparatus includes: transceiver 500, processor 510, memory 520.
Wherein the memory 520 is used for storing a computer program; 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 device is powered on, a first identifier for indicating the position of a target starting file of the device is obtained;
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;
operating a target starting file and monitoring the starting process of the equipment;
and if the starting is abnormal, triggering to restart the equipment, and acquiring a backup starting file from the second storage area to restart the equipment.
A transceiver 500 for receiving and transmitting data under the control of a processor 510.
Where in FIG. 6, a bus architecture may comprise any number of interconnected buses and bridges, with various circuits of the one or more processors, as represented by processor 510, and the memory, as represented by memory 520, being linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. Transceiver 500 may be a number of elements, including a transmitter and a receiver, providing a means for communicating with various other apparatus over a transmission medium, including wireless channels, wired channels, optical cables, etc. 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 (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA) or a complex programmable logic device (Complex Programmable Logic Device, CPLD), or it may employ a multi-core architecture.
In one possible implementation form of the present application, after the starting process of the monitoring device, the method further includes:
and if the equipment is started normally, resetting the identifier for indicating the position of the target starting file of the equipment as the first identifier.
Further, in another possible implementation manner of the present application, after the starting exception, the foregoing method further includes:
the first flag is marked as invalid.
Further, in still another possible implementation manner of the present application, after the acquiring the backup start file from the second storage area to restart the device, the method further includes:
if the device is started normally, the backup starting file is used for replacing the target starting file in the first storage area.
Further, in still another possible implementation manner of the present application, the obtaining the first identifier for indicating the location of the target boot file of the device includes:
and acquiring a first identifier for indicating the position of the target starting file of the equipment from a preset storage area of the equipment.
Further, in still another possible implementation form of the present application, the processor 510 is further configured to perform the following operations:
acquiring a startup file upgrading instruction, wherein the upgrading instruction comprises a startup file to be upgraded;
Determining a second identifier for indicating the position of the backup starting file of the device;
and writing the starting file to be upgraded into a second storage area indicated by the second identifier.
Further, in another possible implementation manner 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:
if the upgrade of the starting file in the second storage area is successful, the identifier for indicating the position of the target starting file of the device is set as a second identifier.
Further, in still another possible implementation form of the present application, after setting the identifier of the location of the target boot file for the pointing device to the second identifier, the method further includes:
when the equipment is powered on, acquiring an 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 if the equipment is started normally, resetting the identifier for indicating the position of the target starting file of the equipment as the second identifier.
It should be noted that, the above device provided in the embodiment of the present application can implement all the method steps implemented in the method embodiment and achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those in the method embodiment in this embodiment are omitted.
In order to realize the embodiment, the application further provides a starting device of the equipment.
Fig. 7 is a schematic structural diagram of a device for starting an apparatus according to an embodiment of the present application.
As shown in fig. 7, the starting device 60 of the apparatus includes:
a first obtaining unit 61, configured to obtain, after the device is powered on, a first identifier currently used to indicate a location where a target start file of the device is located;
a second obtaining unit 62, configured to obtain the target startup file from a first storage area indicated by the first identifier, and configure an identifier for indicating a location of the target startup file of the device as a second identifier, where a backup startup file is stored in a second storage area indicated by the second identifier;
a monitoring unit 63, configured to run a target startup file and monitor a startup process of the device;
and a restarting unit 64, configured to trigger restarting the device if the startup is abnormal, and acquire the backup startup file from the second storage area, so as to restart the device.
In one possible implementation form of the present application, the starting device 60 of the apparatus further includes:
and the resetting unit is used for resetting the identifier for indicating the position of the target starting file of the equipment as the first identifier when the equipment is started normally.
Further, in another possible implementation form of the present application, the starting device 60 of the apparatus further includes:
and the marking unit is used for marking the first mark as an invalid state.
Further, in still another possible implementation form of the present application, the starting device 60 of the 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 started normally.
Further, in still another possible implementation form of the present application, the first obtaining unit 61 includes:
the acquisition subunit is used for acquiring a first identifier for indicating the position of the target starting file of the device from the preset storage area of the device.
Further, in still another possible implementation form of the present application, the starting device 60 of the apparatus further includes:
the third acquisition unit is used for acquiring a startup file upgrading instruction, wherein the upgrading instruction comprises a startup file to be upgraded;
the determining unit is used for determining a second identifier for indicating the position of the 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 device 60 of the apparatus further includes:
and the setting unit is used for setting the identifier for indicating the position of the target starting file of the equipment as a second identifier when the starting file in the second storage area is successfully upgraded.
Further, in still another possible implementation form of the present application, the starting device 60 of the apparatus further includes:
a fourth obtaining unit, configured to obtain, when the device is powered on, an upgraded startup file from a second storage area indicated by the second identifier, and configure an identifier for indicating a location of a target startup file of the device as a 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 started normally.
It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice. In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) 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: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that, the above device provided in the embodiment of the present application can implement all the method steps implemented in the method embodiment and achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those in the method embodiment in this embodiment are omitted.
To achieve 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 may be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic storage (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical storage (e.g., CD, DVD, BD, HVD, etc.), semiconductor storage (e.g., ROM, EPROM, EEPROM, nonvolatile storage (NAND FLASH), solid State Disk (SSD)), and the like.
It will be appreciated by those skilled in the art that 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, magnetic 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (16)

1. A method of starting up a device, comprising:
after the device is powered on, a first identifier for indicating the position of a target starting file of the device is obtained from a preset storage area of the device;
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, and the second identifier is a value opposite to the first identifier;
Operating the target starting file and monitoring the starting process of the equipment;
and if the starting is abnormal, triggering restarting the equipment so that the equipment acquires the second identifier of a second storage area storing the backup starting file from the preset storage area, and acquiring the backup starting file from the second storage area indicated by the second identifier to restart the equipment.
2. The method of claim 1, further comprising, after said monitoring the start-up procedure of the device:
and if the equipment is started normally, resetting the identifier for indicating the position of the target starting file of the equipment as the first identifier.
3. The method of claim 1, further comprising, after the start-up exception:
and marking the first mark as an invalid state.
4. The method of claim 1, further comprising, after said retrieving said backup initiation file from said second storage area indicated by said second identification to restart said device:
and if the equipment is started normally, replacing the target starting file in the first storage area by using the backup starting file.
5. The method of any one of claims 1-4, 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 the backup starting file of the device;
and writing the starting file to be upgraded into a second storage area indicated by the second identifier.
6. The method of claim 5, further comprising, after writing the boot file to be upgraded to the second storage area indicated by the second identifier:
and if the starting file in the second storage area is successfully upgraded, setting the identifier for indicating the position of the target starting file of the equipment as the second identifier.
7. The method of claim 6, further comprising, after setting the identifier indicating the location of the target boot file of the device to the second identifier:
when the equipment is powered on, acquiring an 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 operating 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.
8. An apparatus comprising a memory, a transceiver, and 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, a first identifier for indicating the position of a target starting file of the equipment is obtained from a preset storage area 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, and the second identifier is a value opposite to the first identifier;
operating the target starting file and monitoring the starting process of the equipment;
and if the starting is abnormal, triggering restarting the equipment so that the equipment acquires the second identifier of a second storage area storing the backup starting file from the preset storage area, and acquiring the backup starting file from the second storage area indicated by the second identifier to restart the equipment.
9. The apparatus of claim 8, further comprising, after the monitoring the start-up procedure of the device:
and if the equipment is started normally, resetting the identifier for indicating the position of the target starting file of the equipment as the first identifier.
10. The apparatus of claim 8, further comprising, after the start-up exception:
and marking the first mark as an invalid state.
11. The apparatus of claim 8, further comprising, after said retrieving said backup start file from said second storage area to restart said device:
and if the equipment is started normally, replacing the target starting file in the first storage area by using the backup starting file.
12. The apparatus of any one of claims 8-11, 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 the backup starting file of the device;
and writing the starting file to be upgraded into a second storage area indicated by the second identifier.
13. The apparatus of claim 12, further comprising, after writing the boot file to be upgraded to the second storage area indicated by the second identifier:
and if the starting file in the second storage area is successfully upgraded, setting the identifier for indicating the position of the target starting file of the equipment as the second identifier.
14. The apparatus of claim 13, further comprising, after the setting, as the second identifier, an identifier indicating a location of a target boot file of the device:
when the equipment is powered on, acquiring an 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 operating 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.
15. A device for starting up an apparatus, comprising:
the first acquisition unit is used for acquiring a first identifier for indicating the position of a target starting file of the equipment from a preset storage area of the equipment after the equipment is electrified;
The second obtaining unit is used for obtaining the target starting file from the first storage area indicated by the first identifier, and configuring the identifier for indicating the position of the target starting file of the equipment as a second identifier, wherein the backup starting file is stored in a second storage area indicated by the second identifier, and the second identifier is a value opposite to the first identifier;
the monitoring unit is used for running the target starting file and monitoring the starting process of the equipment;
and the restarting unit is used for triggering restarting the equipment if the starting is abnormal, so that the equipment acquires the second identifier of the second storage area storing the backup starting file from the preset storage area, and acquires the backup starting file from the second storage area indicated by the second identifier, so as to restart the equipment.
16. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing the processor to perform the method of any one of claims 1 to 7.
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 CN114430565A (en) 2022-05-03
CN114430565B true 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
CN114430565A (en) 2022-05-03

Similar Documents

Publication Publication Date Title
CN106020865B (en) System upgrading method and device
CN110083374B (en) Upgrade rollback method, system and terminal equipment
US20160132420A1 (en) Backup method, pre-testing method for environment updating and system thereof
CN109840095A (en) Starting method, energy storage device and the storage medium of energy-storage system
CN109062598A (en) A kind of safe OTA upgrade method and 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
CN111767172A (en) Self-repairing method for set top box based on watchdog and bootloader
CN105045640A (en) Software upgrading method and device and intelligent equipment
CN114911500A (en) Terminal upgrading method, terminal and system
CN109375953B (en) Operating system starting method and device
CN114430565B (en) Method and device for starting equipment and storage medium
CN115543429A (en) Project environment building method, electronic equipment and computer readable storage medium
CN115827046A (en) Method and device for realizing OTA (over the air) upgrade of SPL (shortest Path first) partition, terminal equipment and chip
CN111381932B (en) Method, device, electronic equipment and storage medium for triggering application program change
CN113010266A (en) Cloud service restarting method and device
CN107967160B (en) Method and device for updating operating system file through Boot Loader
CN112559349A (en) Program running method and device
CN111930405A (en) Upgrading method and system of magnetic bearing control equipment and electronic equipment
CN115437674B (en) Firmware upgrading method, device, medium and electronic equipment
CN111443951A (en) System starting method and system starting device
CN116340957B (en) Program starting method, device, server and nonvolatile storage medium
CN112783522B (en) File loading method, file loading device and electronic equipment
CN113938238B (en) Time synchronization method and system
CN113407217B (en) Chip program upgrading method, communication device and computer readable storage medium

Legal Events

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