CN104166561A - Electronic device system start method and electronic device - Google Patents
Electronic device system start method and electronic device Download PDFInfo
- Publication number
- CN104166561A CN104166561A CN201410362377.1A CN201410362377A CN104166561A CN 104166561 A CN104166561 A CN 104166561A CN 201410362377 A CN201410362377 A CN 201410362377A CN 104166561 A CN104166561 A CN 104166561A
- Authority
- CN
- China
- Prior art keywords
- firmware
- electronic device
- electronic equipment
- starting
- upgrading
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses an electronic device system start method. The method includes the steps of running a guide program, obtaining start state zone bit information of a storage medium of an electronic device through the guide program, judging whether the previous time of electronic device system starting is successful or not according to the start state zone bit information, if yes, setting the start state zone bit information as an initial value through the guide program, starting an electronic device system from the storage medium and modifying the start state zone bit information according to the result of this time of starting, and if not, starting an electronic device backup system from the storage medium. By means of the electronic device system start method, it can be ensured that a user can still enter the backup system to normally work even when the electronic device system is damaged. The invention further provides the electronic device.
Description
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method for starting an electronic device system and an electronic device.
Background
Traditional electronic equipment, such as a router, is more and more abundantly used, and many users can actively upgrade an electronic equipment system by adopting a firmware upgrading mode, so that the functions of the electronic equipment are more comprehensive, and the performance is more stable. However, when the electronic device system is upgraded by using the firmware upgrade method, the electronic device system is often damaged due to unstable power supply, power failure or other illegal memory operations, so that the electronic device cannot be normally used.
When the electronic device system is damaged, it is usually required to be returned to the factory for maintenance. Certainly, for a router with a network interface, a user may use a computer to connect the router by wire, and set a static IP (Internet Protocol) address by wire to upgrade the firmware of the router, but the method is not very convenient and requires that the user has certain computer use skills; moreover, not all electronic devices are provided with network interfaces, and the method is not highly versatile.
Disclosure of Invention
Accordingly, it is desirable to provide a method for starting an electronic device system and an electronic device, which can solve the problem that the electronic device cannot be used due to the damage of the electronic device system.
An electronic device system booting method, the method comprising:
running a bootstrap program, and acquiring starting state flag bit information from a storage medium of the electronic equipment through the bootstrap program;
judging whether the electronic equipment system is started up successfully at the previous time according to the start-up state flag bit information;
if so, setting the starting state flag bit information as an initial value through the bootstrap program, starting the electronic equipment system from the storage medium and modifying the starting state flag bit information according to the starting result;
if not, starting the electronic equipment backup system from the storage medium.
An electronic device, comprising:
the boot module is used for running a boot program and acquiring starting state zone bit information from a storage medium of the electronic equipment through the boot program;
the judging module is used for judging whether the electronic equipment system is started successfully at the previous time according to the starting state flag bit information;
a first judgment result processing module, configured to set the start state flag information as an initial value through the bootstrap program if it is judged that the electronic device system was started last time successfully, start the electronic device system from the storage medium, and modify the start state flag information according to a current start result;
and the second judgment result processing module is used for starting the electronic equipment backup system from the storage medium if the electronic equipment system is judged to be failed to be started last time.
According to the electronic equipment system starting method and the electronic equipment, the starting state zone bit information is obtained through the running bootstrap program, and whether the electronic equipment system is started last time successfully is judged according to the starting state zone bit information, so that whether the electronic equipment system is damaged can be checked. When the previous starting failure is judged, the electronic equipment backup system is started, so that the electronic equipment can enter the backup system to normally work even if the electronic equipment system is damaged. And when the previous starting is judged to be successful, the starting state flag bit information is set as an initial value through a bootstrap program, the operation of starting the electronic equipment system at this time is carried out, the starting state flag bit information is modified according to the starting result at this time, the electronic equipment system is convenient to use next time, and the electronic equipment can be ensured to always adopt the starting method of the electronic equipment system to ensure the normal work in the subsequent use.
Drawings
FIG. 1 is a flowchart illustrating a system booting method of an electronic device according to an embodiment;
FIG. 2 is a flowchart illustrating steps of booting an electronic device system from a storage medium and modifying boot status flag information according to a boot result in one embodiment;
FIG. 3 is a block diagram of an electronic device in one embodiment;
FIG. 4 is a block diagram of the first determination result processing module shown in FIG. 3;
fig. 5 is a block diagram showing the structure of an electronic device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, in an embodiment, a system booting method for an electronic device is provided, where the electronic device includes, but is not limited to, a router, a mobile phone, a television box, a set-top box, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion Picture Experts Group Audio Layer 3) or MP4(Moving Picture Experts Group Audio Layer IV, motion Picture Experts Group Audio Layer 4) player, a POS terminal, a vehicle-mounted computer, and other electronic devices adopting a firmware upgrade mode. The electronic device system is a software system for driving the electronic device to normally operate. The electronic equipment system starting method specifically comprises the following steps:
step 102, running a bootstrap program, and acquiring the start state flag bit information from the storage medium of the electronic device through the bootstrap program.
The bootstrap program is a program for booting the system of the electronic device, and available bootstrap programs include UBOOT, Boot Loader and the like. For example, for a router, the starting process is as follows: operating a bootstrap program UBOOT, starting a kernel (kernel), and loading a file system; wherein, the process of starting the kernel and loading the file system is the process of starting the electronic equipment system. If the situation of loading the file system fails, the router can only enter the boot program UBOOT and cannot enter the kernel of the electronic equipment system, or stays in the kernel and cannot enter the file system, so that the router cannot normally work.
After the electronic equipment is powered on, the electronic equipment runs the bootstrap program, so that the start-up state flag bit information is acquired from the storage medium of the electronic equipment through the bootstrap program. Specifically, the start status flag bit information is used to indicate whether a process of starting the electronic device system at one time is successful, and here is used to indicate whether the process of starting the electronic device system at the previous time is successful. The starting state zone bit information is stored in a certain preset address interval of a storage medium of the electronic equipment, and the preset interval is a preset zone bit partition which can be set by a user and is specially used for storing the starting state zone bit information.
The storage medium of the electronic device may be a Flash Memory (Flash Memory), such as a NOR type or a NAND type Flash Memory. The NOR type flash memory is preferable because the activation status flag bit information occupies a small storage space and requires repeated erasing, and the NOR type flash memory operates in units of bytes and has a longer life span than the NAND type flash memory using block erasing.
And step 104, judging whether the electronic equipment system is started successfully in the previous time according to the starting state flag bit information. If the determination is successful, step 106 is executed, and if the determination is unsuccessful, step 108 is executed.
Specifically, the acquired startup state identification information may be compared with preset startup state identification information indicating that startup is successful. If the comparison result is that the two are consistent, the electronic equipment system is judged to be successfully started at the previous time; and if the comparison result is that the two are not consistent, judging that the system of the electronic equipment started last time fails to be started. The previous time here refers to a time of electronic device system startup operation before the electronic device system startup method is executed this time.
And 106, setting the starting state flag bit information as an initial value through a bootstrap program, starting the electronic equipment system from the storage medium, and modifying the starting state flag bit information according to the starting result.
And after judgment, successfully starting the electronic equipment system for the previous time, and setting the starting state flag bit information as an initial value through a bootstrap program, wherein the initial value is not preset starting state identification information representing successful starting. The initial value is used for indicating that the bootstrap program is successfully run; meanwhile, if the electronic device system is not started successfully, the initial value may be retained, so that the start state flag bit information obtained when the electronic device system starting method is executed next time is the initial value, and it is determined that the electronic device system is started this time to fail, and step 108 is executed next time. Therefore, the electronic equipment system starting method can be ensured to be continuously used each time the electronic equipment system needs to be started.
And the electronic equipment starts the electronic equipment system from the storage medium and modifies the starting state zone bit information according to the starting result. Specifically, the electronic device reads data from an address of a storage medium for storing system firmware corresponding to the electronic device system through a boot program so as to start the electronic device system; after the system of the electronic equipment is successfully started, the electronic equipment modifies the starting state flag bit information in the storage medium from an initial value to preset starting state identification information which represents the successful starting. If the electronic equipment fails to be started, the electronic equipment can keep the initial value of the start state flag bit information or modify the initial value into preset start state identification information indicating the start failure.
Step 108, the electronic device backup system is started from the storage medium.
Specifically, the storage medium of the electronic device stores not only system firmware corresponding to the electronic device system, but also backup firmware corresponding to the electronic device backup system, which is implemented when the firmware is produced in the production stage of the electronic device. The backup firmware may be the same as the system firmware described above, or may be a simplified firmware with firmware upgrade functionality. When it is determined that the electronic device system is failed to be started last time, step 108 specifically includes: and reading data from the address for storing the backup firmware in the storage medium so as to start the electronic equipment backup system. The electronic device thus enters the electronic device backup system.
The electronic equipment takes the factors of subsequent firmware upgrading into consideration during production, the storage space is large enough, the original system firmware can be stored, and the backup firmware can be stored without increasing the production cost. Taking an electronic device as an example of a router, if an electronic device system is an OpenWrt system (an embedded Linux-based system), the size of system firmware is varied from 4 to 16M (megabytes) due to different applications included in the system. When selecting the capacity of the storage medium, the manufacturer selects the capacity according to the size of the system firmware. In order to compress the cost, the system firmware smaller than 4M generally uses a storage medium with a capacity of 4M, the system firmware larger than 4M and smaller than 8M uses a storage medium with a capacity of 8M, and similarly, the system firmware larger than 8M and smaller than 16M selects a storage medium with a capacity of 16M, so that a part of the storage space of the storage medium of the router remains, for example, the system firmware larger than 8M needs to use a storage medium with a capacity of 16M, and the remaining space is generally larger than 4M, and the space of 4M is sufficient to store a complete OpenWrt backup system with a firmware upgrade function. Preferably, the backup firmware stored in the storage medium is read-only, so that the backup firmware is not damaged, and as long as the electronic device can run the boot program, the electronic device can at least enter the electronic device backup system, thereby ensuring that the electronic device can normally operate.
According to the electronic equipment system starting method, the starting state flag bit information is obtained through the running bootstrap program, and whether the electronic equipment system is started in the previous time is judged according to the starting state flag bit information, so that whether the electronic equipment system is damaged can be checked. When the previous starting failure is judged, the electronic equipment backup system is started, so that the electronic equipment can enter the backup system to normally work even if the electronic equipment system is damaged. And when the previous starting is judged to be successful, setting the starting state zone bit information as an initial value through a bootstrap program, then carrying out the operation of starting the electronic equipment system this time, and modifying the starting state zone bit information according to the starting result this time, so as to be convenient for use when starting the electronic equipment system next time, and ensure that the electronic equipment can always adopt the starting method of the electronic equipment system to ensure the normal work in the subsequent use.
The electronic equipment system starting method can be applied to starting of the electronic equipment system for the second time and any time after the second time. In one embodiment, the startup status flag bit information in the storage medium may be set to preset startup status identification information indicating that the startup was successful at the time of production of the electronic device. The electronic device system booting method in this example embodiment can be applied to any number of times of booting of the electronic device system including the first time.
In another embodiment, before step 102, the electronic device directly sets the start status flag information to an initial value through the boot program when the electronic device is started for the first time to run the boot program, and starts the electronic device system from the storage medium and modifies the start status flag information according to the start result. Or the start-up status flag information in the storage medium is set to the initial value when the electronic device is produced, before step 102, the electronic device directly starts up the electronic device system from the storage medium when the electronic device is started up for the first time and runs the boot program, and modifies the start-up status flag information according to the start-up result. The electronic device system starting method in this embodiment may also be applied to starting of an electronic device system at any time including the first time.
In an embodiment, the step of starting the electronic device system from the storage medium and modifying the start status flag information according to the current start result specifically includes: and starting the electronic equipment system in stages, and modifying the starting state zone bit information according to the starting result of each stage.
Specifically, the electronic device system can be started in stages, so that when the start of each stage is finished, if the start of the stage is successful, the start state flag bit information is modified into preset start state identification information indicating that the start of the stage is successful; if the stage fails to start, the start state flag bit information is not modified or modified to be the preset start state identification information indicating the stage fails to start. And then starting the next stage, and continuously modifying the starting state zone bit information according to the starting result of the next stage until all the starting stages are finished.
In this embodiment, step 104 specifically includes: comparing the obtained starting state identification information with preset starting state identification information which represents that the starting at the last stage is successful; if the electronic equipment system is consistent with the preset electronic equipment system, judging that the electronic equipment system is started successfully for the previous time; if the electronic equipment is inconsistent with the system starting method, the system starting failure of the electronic equipment started last time is judged.
In this embodiment, the electronic device system is started in stages and the start status flag bit information is modified according to the start result of each stage, which is convenient for locating problems and is helpful for analyzing which stage of the electronic device system has a problem when started.
As shown in fig. 2, in an embodiment, the step of starting the electronic device system from the storage medium and modifying the start status flag information according to the current start result, or the step of starting the electronic device system in stages and modifying the start status flag information according to the start result of each stage respectively includes the following steps:
step 202, starting a kernel of the electronic device system, and modifying the start state flag bit information into first preset flag information when the kernel is successfully started.
For an electronic device such as a router, after running a bootstrap program, the electronic device system is started in two stages, namely, a kernel for starting the electronic device system and a file system for loading the electronic device system, where the electronic device system refers to the kernel and the file system. And if the kernel is successfully started, modifying the starting state zone bit information in the zone bit partition from the initial value to first preset zone information, wherein the first preset zone information represents that the kernel is successfully started at this time.
And step 204, loading a file system of the electronic equipment system, and modifying the start state flag bit information into second preset flag information when the file system is successfully loaded.
After the electronic device successfully starts the kernel, the file system of the electronic device system continues to be loaded to complete the start of the electronic device system, where the loading of the file system of the electronic device system is the last stage of starting the electronic device system. And when the file system is successfully loaded, modifying the starting state zone bit information in the zone bit partition from the first preset zone bit information to second preset zone bit information, wherein the second preset zone bit information represents that the file system is successfully loaded.
In this embodiment, step 104 specifically includes: comparing the acquired starting state identification information with second preset mark information; if the electronic equipment system is consistent with the preset electronic equipment system, judging that the electronic equipment system is started successfully for the previous time; if the electronic equipment is inconsistent with the system starting method, the system starting failure of the electronic equipment started last time is judged.
The initial value, the first preset mark information and the second preset mark information are different values respectively and can be defined by a user. For example, the initial value may be "success", the first preset flag information may be "success 1", and the second preset flag information may be "success 2".
In this embodiment, the electronic device starts the kernel and loads two start stages of the file system, and the start state flag bit information is modified according to the start result of each stage, so that the problem is conveniently located, and it is helpful to analyze which stage of the electronic device system has a problem when being started.
In one embodiment, the electronic device system booting method further includes: when the step 106 is executed successfully to start the electronic device system, the upgrade firmware is automatically acquired or in response to the received firmware upgrade request, and the electronic device system is upgraded according to the upgrade firmware.
Specifically, when the electronic device system is successfully started, the electronic device system can normally work, but at this time, the electronic device system may have a lower version or a smaller number of functions, which may not meet the user use requirement, and the user may actively perform firmware upgrade on the electronic device system. The electronic equipment can be provided with a button specially used for triggering the firmware upgrading request, and the firmware upgrading request can be triggered by pressing the button by a user; or the electronic device may provide a web page or an interface through a display device connected to the electronic device, and the user operates the web page or the interface to trigger the firmware upgrade request. And the electronic equipment receives the firmware upgrading request, responds to the firmware upgrading request and acquires the upgraded firmware, so that the electronic equipment system is upgraded according to the upgraded firmware. The upgrade firmware refers to firmware for firmware upgrade of the electronic device system. The firmware upgrade may be an upgrade to a kernel and a file system of the electronic device, and the upgrade firmware may be a kernel and a file system for upgrade. Or the electronic equipment can automatically detect whether the upgrading firmware with the version number higher than the version number of the system firmware corresponding to the current electronic equipment system exists or not, and automatically acquire the upgrading firmware when the upgrading firmware is detected, so that the electronic equipment system is upgraded according to the upgrading firmware.
In one embodiment, the electronic device system booting method further includes: after the electronic device backup system is started by executing step 108, the upgrade firmware is automatically obtained or in response to the received firmware upgrade request, and the firmware of the electronic device system is upgraded according to the upgrade firmware.
Specifically, after it is determined that the electronic device starts the electronic device backup system after the previous start of the electronic device system fails, the electronic device may automatically obtain the upgrade firmware so as to upgrade the firmware of the electronic device system according to the upgrade firmware. Or the electronic equipment can send a prompt after the electronic equipment backup system is started to prompt a user that the electronic equipment system is damaged and firmware upgrading is needed. And the electronic equipment responds to the firmware upgrading request to acquire the upgrading firmware after receiving the firmware upgrading request, and upgrades the firmware of the electronic equipment system according to the upgrading firmware.
In the above embodiment, after the electronic device system is normally started, the firmware of the electronic device system can be upgraded according to the user requirement, and after the electronic device system is damaged and enters the electronic device backup system, the firmware of the electronic device system can be upgraded automatically or triggered by the user, so that the damaged electronic device system is recovered to be normal.
In an embodiment, the step of obtaining the upgraded firmware automatically or in response to the received firmware upgrade request in the above embodiment specifically includes: in response to a received firmware upgrading request, obtaining upgrading firmware uploaded through a webpage; or automatically or in response to a received firmware upgrade request, acquiring backup firmware in the storage medium as upgrade firmware; or automatically or in response to a received firmware upgrade request, obtaining upgraded firmware from an external storage device connected to the electronic device.
Specifically, a network-enabled electronic device, such as a router, may be connected to a computer, including a direct connection or a network connection, and a user may access a web page provided by the electronic device through the computer, thereby uploading the upgraded firmware to the electronic device through the web page. The electronic equipment acquires the uploaded upgrading firmware, so that the upgrading firmware replaces system firmware stored in a storage medium of the electronic equipment, and the firmware of the electronic equipment system is upgraded.
The electronic equipment can also be stored with backup firmware in advance, and at the moment, the backup firmware is obtained as upgrading firmware, so that the system firmware stored in the storage medium of the electronic equipment is replaced by the upgrading firmware, and the firmware of the electronic equipment system is upgraded. The backup firmware may be the same as or different from the backup firmware corresponding to the electronic device backup system in the above embodiments.
The electronic device may also be connected to an external storage device, such as a flash disk or a hard disk, through a USB (Universal Serial Bus) interface. The electronic device scans the external storage device, and specifically may scan a file with a file name of a preset file name in the external storage device to obtain the upgrade firmware, or scan a file with a folder name of the preset folder name to obtain the upgrade firmware.
In this embodiment, the electronic device automatically or in response to the received firmware upgrade request may acquire the upgrade firmware in multiple ways to upgrade the firmware of the electronic device system, so that the electronic device system may more easily implement firmware upgrade, thereby improving operation convenience.
In one embodiment, step 104 specifically includes: comparing the acquired starting state identification information with second preset mark information; if the electronic equipment system is consistent with the preset electronic equipment system, judging that the electronic equipment system is started successfully for the previous time; if the electronic equipment is inconsistent with the system starting method, the system starting failure of the electronic equipment started last time is judged. Then, after step 108, the electronic device may further determine whether the obtained start state flag bit information is consistent with the first preset flag information, if so, may obtain an upgrade firmware only including a file system to perform firmware upgrade on the electronic device system, and if not, may obtain a complete upgrade firmware including a kernel and the file system to perform firmware upgrade on the electronic device system. The embodiment can only upgrade the firmware of the damaged part of the system firmware, and can improve the starting efficiency. In this embodiment, if the application in the upgrade firmware that only includes the file system is not associated with the underlying driver in the kernel, only the file system may be upgraded without upgrading the kernel.
In one embodiment, the electronic device is a router, and the file system of the electronic device is a main stream router firmware dd-wrt system, a tomato system or an openwrt system.
As shown in fig. 3, in an embodiment, an electronic device is provided for implementing the electronic device system starting method of the above embodiments, and the electronic device includes, but is not limited to, a router, a mobile phone, a television box, a set-top box, an e-book reader, an MP3 or MP4 player, a POS terminal, a vehicle-mounted computer, and the like. The electronic device includes a guiding module 302, a determining module 304, a first determining result processing module 306, and a second determining result processing module 308.
The boot module 302 is configured to run a boot program, and obtain the start status flag information from the storage medium of the electronic device through the boot program.
After the electronic device is powered on, the boot module 302 is configured to run a boot program first, so as to obtain the start status flag information from the storage medium of the electronic device through the boot program. Specifically, the start status flag bit information is used to indicate whether a process of starting the electronic device system at one time is successful, and here is used to indicate whether the process of starting the electronic device system at the previous time is successful. The starting state zone bit information is stored in a certain preset address interval of a storage medium of the electronic equipment, and the preset interval is a preset zone bit partition which can be set by a user and is specially used for storing the starting state zone bit information.
The storage medium of the electronic device may be a Flash Memory (Flash Memory), such as a NOR type or a NAND type Flash Memory. The NOR type flash memory is preferable because the activation status flag bit information occupies a small storage space and requires repeated erasing, and the NOR type flash memory operates in units of bytes and has a longer life span than the NAND type flash memory using block erasing.
The judging module 304 is configured to judge whether the electronic device system was started last time successfully according to the start status flag bit information.
Specifically, the determining module 304 may be configured to compare the acquired startup state identification information with preset startup state identification information indicating that the startup is successful. If the judgment result of the judgment module 304 is that the two are consistent, the electronic equipment system is judged to be successfully started at the previous time; on the contrary, if the determination result of the determining module 304 is that the two are not consistent, it is determined that the system start of the electronic device was failed in the previous time. The previous time here refers to a time of electronic device system startup operation before the electronic device system startup method is executed this time.
The first determination result processing module 306 is configured to set the start state flag information as an initial value through a bootstrap program if it is determined that the electronic device system was started last time successfully, start the electronic device system from the storage medium, and modify the start state flag information according to the current start result.
The determining module 304 determines that the electronic device system was successfully started last time, and at this time, the first determining result processing module 306 is configured to set the start state flag bit information to an initial value through the bootstrap program, where the initial value is not the preset start state identification information indicating that the start is successful. The initial value is used for indicating that the bootstrap program is successfully run; meanwhile, if the electronic device system is not started successfully, the initial value may be retained, so that the start state flag bit information obtained when the electronic device system is started next time is the initial value, and it is determined that the electronic device system is not started this time next time, and the second determination result processing module 308 operates. Therefore, the electronic equipment can work normally when the electronic equipment system needs to be started every time.
The first judgment result processing module 306 is configured to start the electronic device system from the storage medium and modify the start status flag information according to the start result. Specifically, the first determination result processing module 306 is configured to read data from an address of the storage medium, where the address is used for storing system firmware corresponding to the electronic device system, through a boot program, so as to start the electronic device system; after the system of the electronic device is successfully started, the first determination result processing module 306 is configured to modify the start state flag bit information in the storage medium from an initial value to preset start state identification information indicating that the start is successful. If the electronic device fails to be started, the first determination result processing module 306 may be configured to retain an initial value of the start state flag bit information, or modify the initial value into preset start state identification information indicating the start failure.
The second determination result processing module 308 is configured to start the electronic device backup system from the storage medium if it is determined that the electronic device system was not started last time.
Specifically, the storage medium of the electronic device stores not only system firmware corresponding to the electronic device system, but also backup firmware corresponding to the electronic device backup system, which is implemented when the firmware is produced in the production stage of the electronic device. The backup firmware may be the same as the system firmware described above, or may be a simplified firmware with firmware upgrade functionality. When it is determined that the electronic device system is failed to be started last time, the second determination result processing module 308 is specifically configured to read data from an address of the storage medium where the backup firmware is stored, so as to start the electronic device backup system. The electronic device thus enters the electronic device backup system.
The electronic equipment takes the factors of subsequent firmware upgrading into consideration during production, the storage space is large enough, the original system firmware can be stored, and the backup firmware can be stored without increasing the production cost. Taking an electronic device as an example of a router, if an electronic device system is an OpenWrt system, the size of system firmware is different from 4M to 16M due to different applications. When selecting the capacity of the storage medium, the manufacturer selects the capacity according to the size of the system firmware. In order to compress the cost, the system firmware smaller than 4M generally uses a storage medium with a capacity of 4M, the system firmware larger than 4M and smaller than 8M uses a storage medium with a capacity of 8M, and similarly, the system firmware larger than 8M and smaller than 16M selects a storage medium with a capacity of 16M, so that a part of the storage space of the storage medium of the router remains, for example, the system firmware larger than 8M needs to use a storage medium with a capacity of 16M, and the remaining space is generally larger than 4M, and the space of 4M is sufficient to store a complete OpenWrt backup system with a firmware upgrade function. Preferably, the backup firmware stored in the storage medium is read-only, so that the backup firmware is not damaged, and as long as the electronic device can run the boot program, the electronic device can at least enter the electronic device backup system, thereby ensuring that the electronic device can normally operate.
The electronic equipment firstly obtains the starting state flag bit information through the running bootstrap program, and judges whether the electronic equipment system is started successfully at the previous time according to the starting state flag bit information, so that whether the electronic equipment system is damaged can be checked. When the previous starting failure is judged, the electronic equipment backup system is started, so that the electronic equipment can enter the backup system to normally work even if the electronic equipment system is damaged. And when the previous starting is judged to be successful, setting the starting state zone bit information as an initial value through a bootstrap program, then carrying out the operation of starting the electronic equipment system this time, and modifying the starting state zone bit information according to the starting result this time, so as to be convenient for use when starting the electronic equipment system next time, and ensure that the electronic equipment can always adopt the starting method of the electronic equipment system to ensure the normal work in the subsequent use.
The electronic equipment can ensure that the electronic equipment can normally work in the second and any subsequent electronic equipment system starting. In one embodiment, the startup status flag bit information in the storage medium may be set to preset startup status identification information indicating that the startup was successful at the time of production of the electronic device. The electronic device in this example embodiment may implement any number of electronic device system boots, including the first boot.
In another embodiment, the boot module 302 is configured to set the start status flag information to an initial value directly through the boot program when the boot program is executed after the boot program is first started, and start the electronic device system from the storage medium and modify the start status flag information according to a result of the start. Or the start-up status flag information in the storage medium is set to an initial value when the electronic device is produced, the boot module 302 is configured to start up the electronic device system directly from the storage medium when the boot program is first started to run and modify the start-up status flag information according to the start-up result. The electronic device in this embodiment can implement any number of times of starting of the electronic device system including the first time.
In one embodiment, the first determination result processing module 306 is further configured to start the electronic device system in stages, and modify the start status flag information according to the start result of each stage.
Specifically, the electronic device system may be started in stages, such that the first determination result processing module 306 is configured to modify, when the start of each stage is completed, if the start of the stage is successful, the start state flag bit information to be the preset start state identification information indicating that the start of the stage is successful; if the stage fails to start, the start state flag bit information is not modified or modified to be the preset start state identification information indicating the stage fails to start. Then the first judgment result processing module 306 is used to perform the next stage of starting again, and continue to modify the start status flag bit information according to the start result of the next stage until all the start stages are finished.
In this embodiment, the determining module 304 is specifically configured to compare the obtained start state identification information with preset start state identification information indicating that the start at the last stage is successful; if the electronic equipment system is consistent with the preset electronic equipment system, judging that the electronic equipment system is started successfully for the previous time; if the electronic equipment is inconsistent with the system starting method, the system starting failure of the electronic equipment started last time is judged.
In this embodiment, the electronic device system is started in stages and the start status flag bit information is modified according to the start result of each stage, which is convenient for locating problems and is helpful for analyzing which stage of the electronic device system has a problem when started.
As shown in fig. 4, in an embodiment, the first determination result processing module 306 includes: a kernel boot module 306a and a file system load module 306 b.
The kernel starting module 306a is configured to start a kernel of the electronic device system, and modify the start status flag bit information to be first preset flag information when the kernel is successfully started.
For an electronic device such as a router, after running a bootstrap program, the electronic device system is started in two stages, namely, a kernel for starting the electronic device system and a file system for loading the electronic device system, where the electronic device system refers to the kernel and the file system. The kernel starting module 306a is configured to modify the start state flag information in the flag partition from an initial value to first preset flag information if the kernel is successfully started, where the first preset flag information indicates that the kernel is successfully started this time.
And the file system loading module 306b is configured to load a file system of the electronic device system, and modify the start-up status flag information to be the second preset flag information when the file system is successfully loaded.
After the kernel booting module 306a successfully boots the kernel, the file system loading module 306 is configured to continue loading the file system of the electronic device system to complete booting the electronic device system, where loading the file system of the electronic device system is a final stage of booting the electronic device system. The file system loading module 306 is configured to modify, when the file system is successfully loaded, the start state flag information in the flag partition from the first preset flag information to second preset flag information, where the second preset flag information indicates that the file system is successfully loaded.
In this embodiment, the determining module 304 is specifically configured to compare the obtained start state identifier information with second preset flag information; if the electronic equipment system is consistent with the preset electronic equipment system, judging that the electronic equipment system is started successfully for the previous time; if the electronic equipment is inconsistent with the system starting method, the system starting failure of the electronic equipment started last time is judged.
The initial value, the first preset mark information and the second preset mark information are different values respectively and can be defined by a user. For example, the initial value may be "success", the first preset flag information may be "success 1", and the second preset flag information may be "success 2".
In this embodiment, the electronic device starts the kernel and loads two start stages of the file system, and the start state flag bit information is modified according to the start result of each stage, so that the problem is conveniently located, and it is helpful to analyze which stage of the electronic device system has a problem when being started.
As shown in FIG. 5, in one embodiment, the electronic device also includes a firmware upgrade module 310.
In one embodiment, the firmware upgrade module 310 is configured to, when the electronic device system is successfully booted, automatically or in response to the received firmware upgrade request, obtain the upgraded firmware, and perform firmware upgrade on the electronic device system according to the upgraded firmware.
Specifically, when the electronic device system is successfully started, the electronic device system can normally work, but at this time, the version of the electronic device system is low or the functions are few, and the use requirement of the user cannot be met, the user can actively upgrade the firmware of the electronic device system, or the firmware upgrading module 310 can be used for automatically upgrading the firmware of the electronic device system. The electronic equipment can be provided with a button specially used for triggering the firmware upgrading request, and the firmware upgrading request can be triggered by pressing the button by a user; or the electronic device may provide a web page or an interface through a display device connected to the electronic device, and the user operates the web page or the interface to trigger the firmware upgrade request. The firmware upgrading module 310 is configured to receive the firmware upgrading request, and obtain upgraded firmware in response to the firmware upgrading request, so as to upgrade the firmware of the electronic device system according to the upgraded firmware. The upgrade firmware refers to firmware for firmware upgrade of the electronic device system. The firmware upgrade may be an upgrade to a kernel and a file system of the electronic device, and the upgrade firmware may be a kernel and a file system for upgrade.
In one embodiment, the firmware upgrade module 310 is configured to, after the electronic device backup system is started, automatically or in response to a received firmware upgrade request, obtain upgrade firmware, and perform firmware upgrade on the electronic device system according to the upgrade firmware.
Specifically, when the determining module 304 determines that the electronic device starts the electronic device backup system after the electronic device system is failed to be started last time, the firmware upgrading module 310 may be configured to automatically obtain the upgrade firmware so as to upgrade the firmware of the electronic device system according to the upgrade firmware. Or the firmware upgrading module 310 may be configured to send a prompt after the electronic device backup system is started, so as to prompt the user that the electronic device system is damaged and firmware upgrading is required. The firmware upgrading module 310 is configured to, after receiving the firmware upgrading request, obtain an upgraded firmware in response to the firmware upgrading request, and upgrade the firmware of the electronic device system according to the upgraded firmware. Or the firmware upgrade module 310 may be configured to automatically detect whether an upgrade firmware with a version number higher than a version number of a system firmware corresponding to the current electronic device system exists, and automatically acquire the upgrade firmware when the upgrade firmware is detected, so as to upgrade the firmware of the electronic device system accordingly. In the above embodiment, after the electronic device system is normally started, the firmware of the electronic device system can be upgraded according to the user requirement, and after the electronic device system is damaged and enters the electronic device backup system, the firmware of the electronic device system can be upgraded automatically or triggered by the user, so that the damaged electronic device system is recovered to be normal.
In one embodiment, the firmware upgrade module 310 is further configured to obtain upgraded firmware uploaded through a web page in response to the received firmware upgrade request; or automatically or in response to a received firmware upgrade request, acquiring backup firmware in the storage medium as upgrade firmware; or automatically or in response to a received firmware upgrade request, obtaining upgraded firmware from an external storage device connected to the electronic device.
Specifically, a network-enabled electronic device, such as a router, may be connected to a computer, including a direct connection or a network connection, and a user may access a web page provided by the electronic device through the computer, thereby uploading the upgraded firmware to the electronic device through the web page. The firmware upgrading module 310 is configured to obtain the uploaded upgrading firmware, so as to replace the system firmware stored in the storage medium of the electronic device with the upgrading firmware, thereby upgrading the firmware of the electronic device system.
The electronic device may further pre-store backup firmware, and the firmware upgrading module 310 is configured to obtain the backup firmware as an upgrading firmware, so as to replace system firmware stored in a storage medium of the electronic device with the upgrading firmware, so as to upgrade firmware of a system of the electronic device. The backup firmware may be the same as or different from the backup firmware corresponding to the electronic device backup system in the above embodiments.
The electronic device may also be connected to an external storage device, such as a flash disk or a hard disk, through a USB (Universal Serial Bus) interface. The firmware upgrading module 310 is configured to obtain upgraded firmware by scanning the external storage device, specifically, scanning a file with a file name of a preset file name in the external storage device, or scanning a file with a folder name of a preset folder name to obtain upgraded firmware.
In this embodiment, the electronic device may obtain the upgrade firmware in multiple ways to upgrade the firmware of the electronic device system in response to the received firmware upgrade request, so that the electronic device system may more easily implement firmware upgrade, thereby improving operation convenience.
In an embodiment, the determining module 304 is specifically configured to compare the obtained start state identification information with second preset flag information; if the electronic equipment system is consistent with the preset electronic equipment system, judging that the electronic equipment system is started successfully for the previous time; if the electronic equipment is inconsistent with the system starting method, the system starting failure of the electronic equipment started last time is judged. The firmware upgrade module 310 may further be configured to determine whether the obtained start state flag bit information is consistent with the first preset flag information, if so, the firmware upgrade module 310 may be configured to obtain upgrade firmware that only includes a file system to perform firmware upgrade on the electronic device system, and if not, the firmware upgrade module 310 may be configured to obtain complete upgrade firmware that includes a kernel and a file system to perform firmware upgrade on the electronic device system. The embodiment can only upgrade the firmware of the damaged part of the system firmware, and can improve the starting efficiency. In this embodiment, if the application in the upgrade firmware that only includes the file system is not associated with the underlying driver in the kernel, only the file system may be upgraded without upgrading the kernel.
In one embodiment, the electronic device is a router, and the file system of the electronic device is a main stream router firmware dd-wrt system, a tomato system or an openwrt system.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. An electronic device system booting method, the method comprising:
running a bootstrap program, and acquiring starting state flag bit information from a storage medium of the electronic equipment through the bootstrap program;
judging whether the electronic equipment system is started up successfully at the previous time according to the start-up state flag bit information;
if so, setting the starting state flag bit information as an initial value through the bootstrap program, starting the electronic equipment system from the storage medium and modifying the starting state flag bit information according to the starting result;
if not, starting the electronic equipment backup system from the storage medium.
2. The method according to claim 1, wherein the booting the electronic device system from the storage medium and modifying the boot status flag information according to the boot result comprises:
and starting the electronic equipment system in stages, and modifying the starting state zone bit information according to the starting result of each stage.
3. The method according to claim 1, wherein the booting the electronic device system from the storage medium and modifying the boot status flag information according to the boot result comprises:
starting a kernel of the electronic equipment system, and modifying the starting state zone bit information into first preset zone bit information when the kernel is successfully started;
and loading a file system of the electronic equipment system, and modifying the starting state flag bit information into second preset flag information when the file system is successfully loaded.
4. The method of claim 1, wherein when the electronic device system is successfully booted, automatically or in response to a received firmware upgrade request, obtaining upgrade firmware, and performing firmware upgrade on the electronic device system according to the upgrade firmware;
or,
and after the electronic equipment backup system is started, automatically or in response to a received firmware upgrading request, acquiring upgrading firmware, and upgrading the firmware of the electronic equipment system according to the upgrading firmware.
5. The method of claim 4, wherein automatically or in response to a received firmware upgrade request, obtaining upgraded firmware comprises:
in response to a received firmware upgrading request, obtaining upgrading firmware uploaded through a webpage; or,
automatically or in response to a received firmware upgrade request, acquiring backup firmware in the storage medium as upgrade firmware; or,
and automatically or in response to the received firmware upgrading request, acquiring the upgraded firmware from an external storage device connected with the electronic equipment.
6. An electronic device, comprising:
the boot module is used for running a boot program and acquiring starting state zone bit information from a storage medium of the electronic equipment through the boot program;
the judging module is used for judging whether the electronic equipment system is started successfully at the previous time according to the starting state flag bit information;
a first judgment result processing module, configured to set the start state flag information as an initial value through the bootstrap program if it is judged that the electronic device system was started last time successfully, start the electronic device system from the storage medium, and modify the start state flag information according to a current start result;
and the second judgment result processing module is used for starting the electronic equipment backup system from the storage medium if the electronic equipment system is judged to be failed to be started last time.
7. The electronic device according to claim 6, wherein the first determination result processing module is further configured to start the electronic device system in stages, and modify the start status flag information according to a start result of each stage.
8. The electronic device according to claim 6, wherein the first determination result processing module includes:
the kernel starting module is used for starting a kernel of the electronic equipment system, and modifying the starting state zone bit information into first preset zone bit information when the kernel is successfully started;
and the file system loading module is used for loading the file system of the electronic equipment system, and modifying the starting state flag bit information into second preset flag information when the file system is successfully loaded.
9. The electronic device of claim 6, further comprising a firmware upgrade module;
the firmware upgrading module is used for automatically or responding to a received firmware upgrading request to obtain upgrading firmware when the electronic equipment system is successfully started, and upgrading the firmware of the electronic equipment system according to the upgrading firmware;
or,
the firmware upgrading module is used for automatically acquiring upgrading firmware or responding to a received firmware upgrading request after the electronic equipment backup system is started, and upgrading the firmware of the electronic equipment system according to the upgrading firmware.
10. The electronic device of claim 9, wherein the firmware upgrade module is further configured to obtain, in response to the received firmware upgrade request, upgraded firmware uploaded through a web page; or the firmware upgrading module is further configured to, automatically or in response to the received firmware upgrading request, acquire the backup firmware in the storage medium as an upgraded firmware; or, the firmware upgrading module is further configured to obtain upgraded firmware from an external storage device connected to the electronic device automatically or in response to the received firmware upgrading request.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410362377.1A CN104166561B (en) | 2014-07-25 | 2014-07-25 | Electronic equipment system starting method and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410362377.1A CN104166561B (en) | 2014-07-25 | 2014-07-25 | Electronic equipment system starting method and electronic equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104166561A true CN104166561A (en) | 2014-11-26 |
| CN104166561B CN104166561B (en) | 2017-11-07 |
Family
ID=51910395
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410362377.1A Active CN104166561B (en) | 2014-07-25 | 2014-07-25 | Electronic equipment system starting method and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104166561B (en) |
Cited By (26)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104834542A (en) * | 2015-04-20 | 2015-08-12 | 成都亿盟恒信科技有限公司 | Method for starting double systems based on embedded Linux equipment |
| CN104834574A (en) * | 2015-04-29 | 2015-08-12 | 青岛海信移动通信技术股份有限公司 | Method and device for solving damage of system partition |
| CN104991805A (en) * | 2015-07-30 | 2015-10-21 | 北京奇虎科技有限公司 | Intelligent device and system disaster recovery backup control method thereof |
| CN105472418A (en) * | 2015-12-28 | 2016-04-06 | 深圳创维数字技术有限公司 | Abnormal state recovery method of set-top box system and set-top box |
| CN105516806A (en) * | 2015-12-08 | 2016-04-20 | 广东长虹电子有限公司 | A method for automatically making and upgrading firmware for TV chips |
| CN105791136A (en) * | 2016-02-26 | 2016-07-20 | 上海斐讯数据通信技术有限公司 | Router system upgrading method and routing device |
| CN105791514A (en) * | 2014-12-22 | 2016-07-20 | 阿里巴巴集团控股有限公司 | Application starting monitoring method and device |
| CN106325916A (en) * | 2016-01-27 | 2017-01-11 | 上海华测导航技术股份有限公司 | System upgrading method of GNSS (Global Navigation Satellite System) receiver |
| CN106775610A (en) * | 2016-03-22 | 2017-05-31 | 新华三技术有限公司 | A kind of electronic equipment starts method and a kind of electronic equipment |
| CN107257293A (en) * | 2017-05-27 | 2017-10-17 | 上海斐讯数据通信技术有限公司 | The apparatus and method that a kind of utilization router LED positions brush machine |
| CN109582372A (en) * | 2018-11-12 | 2019-04-05 | 青岛海信电器股份有限公司 | A kind of starting method and device of system |
| CN109614056A (en) * | 2018-12-28 | 2019-04-12 | 杭州迪普科技股份有限公司 | A kind of method and apparatus for coping with memory natural aging |
| CN109815061A (en) * | 2019-01-31 | 2019-05-28 | 深兰科技(上海)有限公司 | A kind of method, apparatus, equipment and the medium of the anti-brick of embedded system |
| CN109947445A (en) * | 2019-02-21 | 2019-06-28 | 广州小鹏汽车科技有限公司 | A kind of firmware upgrade method and system |
| CN111742297A (en) * | 2019-07-23 | 2020-10-02 | 深圳市大疆创新科技有限公司 | Firmware booting method, device and computer-readable storage medium |
| CN111736908A (en) * | 2020-06-24 | 2020-10-02 | 上海麦腾物联网技术有限公司 | A control method for staged startup in an embedded dual system |
| CN111752749A (en) * | 2020-05-08 | 2020-10-09 | 广州南方卫星导航仪器有限公司 | CORS terminal host, automatic backup and recovery method and storage device |
| CN112527400A (en) * | 2020-12-21 | 2021-03-19 | 世邦通信股份有限公司 | System starting method and device, electronic equipment and storage medium |
| CN112912855A (en) * | 2018-12-05 | 2021-06-04 | 深圳市欢太科技有限公司 | Power-on detection method, power-on detection device and mobile terminal |
| CN112988465A (en) * | 2021-03-26 | 2021-06-18 | 东莞市峰谷科技有限公司 | Method for automatically recovering operation of single chip microcomputer in upgrading failure |
| CN113672302A (en) * | 2021-08-20 | 2021-11-19 | 四川长虹网络科技有限责任公司 | Router starting method and device, router and storage medium |
| CN114185606A (en) * | 2021-12-14 | 2022-03-15 | 上海华信长安网络科技有限公司 | Method and device for improving system operation reliability based on embedded system |
| CN114265723A (en) * | 2021-12-02 | 2022-04-01 | 深圳市友华通信技术有限公司 | Crash-proof system starting method, device, equipment and storage medium |
| CN115543368A (en) * | 2022-01-10 | 2022-12-30 | 荣耀终端有限公司 | A kind of operating system upgrade method and electronic equipment |
| CN115576750A (en) * | 2022-09-16 | 2023-01-06 | 超聚变数字技术有限公司 | Out-of-band power-off method, computer device and storage medium |
| CN117493057A (en) * | 2023-11-07 | 2024-02-02 | 上海合芯数字科技有限公司 | Debugging method, equipment and medium for probabilistic startup failure of system |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101030140A (en) * | 2006-03-02 | 2007-09-05 | 中兴通讯股份有限公司 | Device and method for on-line updating fastener programm |
| CN101354659A (en) * | 2008-09-12 | 2009-01-28 | 成都市华为赛门铁克科技有限公司 | Method, controller and control system for controlling BIOS start-up of electronic apparatus |
| CN103488492A (en) * | 2012-06-14 | 2014-01-01 | 中兴通讯股份有限公司 | Reader equipment and firmware update method and device thereof |
| CN103760950A (en) * | 2014-01-09 | 2014-04-30 | 北京奇虎科技有限公司 | Wireless routing equipment management method and device |
| CN103761124A (en) * | 2014-01-06 | 2014-04-30 | 武汉烽火富华电气有限责任公司 | Method for starting embedded-type Linux system used for protection measuring and controlling device |
-
2014
- 2014-07-25 CN CN201410362377.1A patent/CN104166561B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101030140A (en) * | 2006-03-02 | 2007-09-05 | 中兴通讯股份有限公司 | Device and method for on-line updating fastener programm |
| CN101354659A (en) * | 2008-09-12 | 2009-01-28 | 成都市华为赛门铁克科技有限公司 | Method, controller and control system for controlling BIOS start-up of electronic apparatus |
| CN103488492A (en) * | 2012-06-14 | 2014-01-01 | 中兴通讯股份有限公司 | Reader equipment and firmware update method and device thereof |
| CN103761124A (en) * | 2014-01-06 | 2014-04-30 | 武汉烽火富华电气有限责任公司 | Method for starting embedded-type Linux system used for protection measuring and controlling device |
| CN103760950A (en) * | 2014-01-09 | 2014-04-30 | 北京奇虎科技有限公司 | Wireless routing equipment management method and device |
Cited By (36)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105791514A (en) * | 2014-12-22 | 2016-07-20 | 阿里巴巴集团控股有限公司 | Application starting monitoring method and device |
| CN105791514B (en) * | 2014-12-22 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Application starting monitoring method and device |
| CN104834542A (en) * | 2015-04-20 | 2015-08-12 | 成都亿盟恒信科技有限公司 | Method for starting double systems based on embedded Linux equipment |
| CN104834542B (en) * | 2015-04-20 | 2017-12-22 | 成都亿盟恒信科技有限公司 | A kind of startup method based on embedded type Linux equipment dual system |
| CN104834574A (en) * | 2015-04-29 | 2015-08-12 | 青岛海信移动通信技术股份有限公司 | Method and device for solving damage of system partition |
| CN104834574B (en) * | 2015-04-29 | 2019-01-29 | 青岛海信移动通信技术股份有限公司 | A method and device for solving system partition damage |
| CN104991805A (en) * | 2015-07-30 | 2015-10-21 | 北京奇虎科技有限公司 | Intelligent device and system disaster recovery backup control method thereof |
| CN104991805B (en) * | 2015-07-30 | 2019-03-05 | 北京奇虎科技有限公司 | Smart machine and its system calamity are for control method |
| CN105516806A (en) * | 2015-12-08 | 2016-04-20 | 广东长虹电子有限公司 | A method for automatically making and upgrading firmware for TV chips |
| CN105472418A (en) * | 2015-12-28 | 2016-04-06 | 深圳创维数字技术有限公司 | Abnormal state recovery method of set-top box system and set-top box |
| CN105472418B (en) * | 2015-12-28 | 2018-07-03 | 深圳创维数字技术有限公司 | A kind of set-top-box system abnormality restoration methods and set-top box |
| CN106325916A (en) * | 2016-01-27 | 2017-01-11 | 上海华测导航技术股份有限公司 | System upgrading method of GNSS (Global Navigation Satellite System) receiver |
| CN105791136A (en) * | 2016-02-26 | 2016-07-20 | 上海斐讯数据通信技术有限公司 | Router system upgrading method and routing device |
| CN106775610A (en) * | 2016-03-22 | 2017-05-31 | 新华三技术有限公司 | A kind of electronic equipment starts method and a kind of electronic equipment |
| CN106775610B (en) * | 2016-03-22 | 2021-11-12 | 新华三技术有限公司 | Electronic equipment starting method and electronic equipment |
| CN107257293A (en) * | 2017-05-27 | 2017-10-17 | 上海斐讯数据通信技术有限公司 | The apparatus and method that a kind of utilization router LED positions brush machine |
| CN109582372A (en) * | 2018-11-12 | 2019-04-05 | 青岛海信电器股份有限公司 | A kind of starting method and device of system |
| CN112912855A (en) * | 2018-12-05 | 2021-06-04 | 深圳市欢太科技有限公司 | Power-on detection method, power-on detection device and mobile terminal |
| CN109614056A (en) * | 2018-12-28 | 2019-04-12 | 杭州迪普科技股份有限公司 | A kind of method and apparatus for coping with memory natural aging |
| CN109614056B (en) * | 2018-12-28 | 2021-11-23 | 杭州迪普科技股份有限公司 | Method and device for coping with natural aging of memory |
| CN109815061A (en) * | 2019-01-31 | 2019-05-28 | 深兰科技(上海)有限公司 | A kind of method, apparatus, equipment and the medium of the anti-brick of embedded system |
| CN109947445A (en) * | 2019-02-21 | 2019-06-28 | 广州小鹏汽车科技有限公司 | A kind of firmware upgrade method and system |
| CN111742297A (en) * | 2019-07-23 | 2020-10-02 | 深圳市大疆创新科技有限公司 | Firmware booting method, device and computer-readable storage medium |
| CN111752749B (en) * | 2020-05-08 | 2025-01-03 | 广州南方测绘科技股份有限公司 | CORS terminal host, automatic backup and recovery method, and storage device |
| CN111752749A (en) * | 2020-05-08 | 2020-10-09 | 广州南方卫星导航仪器有限公司 | CORS terminal host, automatic backup and recovery method and storage device |
| CN111736908A (en) * | 2020-06-24 | 2020-10-02 | 上海麦腾物联网技术有限公司 | A control method for staged startup in an embedded dual system |
| CN112527400A (en) * | 2020-12-21 | 2021-03-19 | 世邦通信股份有限公司 | System starting method and device, electronic equipment and storage medium |
| CN112988465A (en) * | 2021-03-26 | 2021-06-18 | 东莞市峰谷科技有限公司 | Method for automatically recovering operation of single chip microcomputer in upgrading failure |
| CN113672302A (en) * | 2021-08-20 | 2021-11-19 | 四川长虹网络科技有限责任公司 | Router starting method and device, router and storage medium |
| CN114265723A (en) * | 2021-12-02 | 2022-04-01 | 深圳市友华通信技术有限公司 | Crash-proof system starting method, device, equipment and storage medium |
| CN114185606B (en) * | 2021-12-14 | 2023-11-28 | 上海华信长安网络科技有限公司 | Method and device for improving system operation reliability based on embedded system |
| CN114185606A (en) * | 2021-12-14 | 2022-03-15 | 上海华信长安网络科技有限公司 | Method and device for improving system operation reliability based on embedded system |
| CN115543368A (en) * | 2022-01-10 | 2022-12-30 | 荣耀终端有限公司 | A kind of operating system upgrade method and electronic equipment |
| CN115543368B (en) * | 2022-01-10 | 2023-05-23 | 荣耀终端有限公司 | Operating system upgrading method and electronic equipment |
| CN115576750A (en) * | 2022-09-16 | 2023-01-06 | 超聚变数字技术有限公司 | Out-of-band power-off method, computer device and storage medium |
| CN117493057A (en) * | 2023-11-07 | 2024-02-02 | 上海合芯数字科技有限公司 | Debugging method, equipment and medium for probabilistic startup failure of system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104166561B (en) | 2017-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104166561B (en) | Electronic equipment system starting method and electronic equipment | |
| CN105094927B (en) | Equipment firmware upgrading method and device | |
| US8751783B2 (en) | Booting computing devices with EFI aware operating systems | |
| EP2998861B1 (en) | Implementing and deleting method and device for intelligent terminal multi-operation system | |
| CN102799484B (en) | The method and device of running of mobile terminal multiple operating system | |
| CN106909362B (en) | Method and device for generating BMC (baseboard management controller) firmware and method and device for starting BMC system | |
| US20150154033A1 (en) | Computer system and boot method thereof | |
| CN103514065B (en) | Tool automatically detects and recovers electronic installation and the method for function | |
| CN108829449B (en) | A method, device, device and medium for BIOS to start operating system | |
| CN108174255B (en) | Smart TV booting method, smart TV and computer-readable storage medium | |
| CN103593281A (en) | Test system and test method | |
| CN108874459B (en) | Quick start method and device based on virtualization technology | |
| KR20130142073A (en) | Method and terminal for using mobile memory card to boot up mobile phone operating system | |
| CN106325911A (en) | Method and device for implementing BOOTROM upgrade | |
| CN102609290B (en) | The method for upgrading software of electronic product | |
| CN104536841B (en) | A kind of android system Data subregions self-repair method and system | |
| CN107087164A (en) | Method and device for starting equipment | |
| CN103634668A (en) | System upgrading method and device in smart television | |
| EP2835737A1 (en) | Data terminal running mode switching method, device, and data terminal | |
| WO2018049798A1 (en) | Method and apparatus for reconstructing cache partition | |
| CN110399168A (en) | Majority according to disk storage server system start method, device and equipment | |
| CN111742297A (en) | Firmware booting method, device and computer-readable storage medium | |
| CN110908722B (en) | Method and device applied to starting of operating system, electronic equipment and storage medium | |
| CN113396391B (en) | Application startup method, device, electronic device and storage medium | |
| CN109976958B (en) | Method and device for improving firmware test efficiency and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C41 | Transfer of patent application or patent right or utility model | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20160513 Address after: 518000, Guangdong, Nanshan District hi tech Industrial Park, No. 1, No. 8 financial base, 5 floor, E, F, Shenzhen Applicant after: SHENZHEN DAMAI TECHNOLOGY CO., LTD. Address before: 518057, Guangdong, Nanshan District Province, Shenzhen Road, No. 8 financial services technology innovation base, 8 floor, A, B, C, D, E,, F1 Applicant before: Shenzhen jiangbolong Electronic Co., Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |