CN111142952A - Electronic equipment and operating system starting method - Google Patents

Electronic equipment and operating system starting method Download PDF

Info

Publication number
CN111142952A
CN111142952A CN201911376146.5A CN201911376146A CN111142952A CN 111142952 A CN111142952 A CN 111142952A CN 201911376146 A CN201911376146 A CN 201911376146A CN 111142952 A CN111142952 A CN 111142952A
Authority
CN
China
Prior art keywords
area
starting
boot
operating system
storage areas
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911376146.5A
Other languages
Chinese (zh)
Inventor
李聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201911376146.5A priority Critical patent/CN111142952A/en
Publication of CN111142952A publication Critical patent/CN111142952A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • G06F11/326Display of status information by lamps or LED's for error or online/offline status

Landscapes

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

Abstract

The present specification proposes an electronic device and an operating system boot method, where the electronic device at least includes a BIOS module and at least two boot file storage areas; the at least two storage areas use different types of storage media and store the same operating system starting file; the BIOS module is used for determining a starting area for starting at this time in the at least two storage areas under the condition that the electronic equipment is powered on and trying to start an operating system from the area; if the attempt to boot fails, in the other storage area, the boot area is redetermined, and the operating system is attempted to boot in the redetermined boot area. The electronic equipment provided by the specification has strong compatibility, and can be selected to be restarted in other storage areas after one-time starting failure, so that the electronic equipment has strong fault handling capability, and the fault can be quickly checked without carrying out global fault checking on the electronic equipment.

Description

Electronic equipment and operating system starting method
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to an electronic device and an operating system booting method.
Background
With the development of electronic information technology, the application of electronic equipment is very wide and popular at present, an operating system is an important component in the electronic equipment, is positioned between bottom hardware and a user and is a bridge for communication between the bottom hardware and the user, the user can input commands through a user interface of the operating system, and the operating system interprets the commands, drives the hardware equipment and realizes user requirements. Therefore, after the electronic device is powered on, the user can successfully start the operating system on the premise that the user can use the functions provided by the electronic device, in the electronic device applied at present, the operating system starting file is stored in a storage area, and after the electronic device is powered on, the BIOS module (basic input output system) can start the operating system in the storage area. The existing electronic equipment only comprises one operating system starting file storage area, if the BIOS module cannot start the operating system in the starting file storage area, a user cannot use functions provided by the electronic equipment, and therefore the existing electronic equipment is poor in compatibility and poor in fault handling capacity.
Disclosure of Invention
In view of the above technical problems, the present specification provides an electronic device and an operating system starting method, and the technical scheme is as follows:
according to a first aspect of the present description, an electronic device is provided, where the electronic device at least includes a BIOS module and at least two boot file storage areas; the at least two storage areas use different types of storage media and store the same operating system starting file;
the BIOS module is used for determining a starting area for starting at this time in the at least two storage areas under the condition that the electronic equipment is powered on and trying to start an operating system from the area;
if the attempt to boot fails, in the other storage area, the boot area is redetermined, and the operating system is attempted to boot in the redetermined boot area.
According to a second aspect of the present specification, there is provided an operating system boot method, applied to a BIOS module in an electronic device, where the electronic device at least includes the BIOS module and at least two boot file storage areas; the at least two storage areas use different types of storage media and store the same operating system starting file; the method comprises the following steps:
under the condition that the electronic equipment is powered on, determining a starting area for starting at the time in the at least two storage areas, and trying to start an operating system from the area;
if the attempt to boot fails, in the other storage area, the boot area is redetermined, and the operating system is attempted to boot in the redetermined boot area.
Based on the technical scheme of the specification, the electronic device at least comprises two boot file storage areas, wherein different types of storage media are used in the storage areas, and the same operating system boot files are stored in the storage areas. After the electronic device is powered on, the BOIS module may determine a boot area for the current boot from at least two boot file storage areas, attempt to boot from the boot area, and if the attempt to boot fails, may select a new boot area from another storage area, and try to boot again until the boot is successful. The electronic equipment provided by the specification has strong compatibility and strong fault handling capability, cannot enable a user to use the electronic equipment under the condition of one-time starting failure, and can also start an operating system in other storage areas, so that the use requirement of the user is met. After the attempted start fails, if the start is successful in the new start area, the failure occurs in the original start area, and the failure is not used for carrying out global failure troubleshooting on the electronic equipment, so that the failure can be rapidly troubleshot.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the specification.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic structural diagram of a conventional electronic device shown in this specification;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present specification;
fig. 3 is a schematic structural diagram of another electronic device according to an embodiment of the present specification;
fig. 4 is a flowchart illustrating an operating system booting method according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions in the embodiments of the present disclosure better understood by those skilled in the art, the technical solutions in the embodiments of the present disclosure will be described in detail below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification should be within the scope of protection.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present specification. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
With the development of electronic information technology, the application of electronic equipment is very wide and popular at present, an operating system is an important component in the electronic equipment, is positioned between bottom hardware and a user and is a bridge for communication between the bottom hardware and the user, the user can input commands through a user interface of the operating system, and the operating system interprets the commands, drives the hardware equipment and realizes user requirements. Therefore, after the electronic device is powered on, the user can successfully start the operating system on the premise that the user can use the hardware function in the electronic device. The structural schematic diagram of the existing electronic device is shown in fig. 1, the electronic device only includes one boot file storage area, for example, the storage medium used by the storage area is a CF card, that is, an operating system boot file is stored in the CF card, after the electronic device is powered on, the BIOS module will boot the operating system from the CF card, if the operating system cannot be booted, the function in the operating system cannot be used, and the usage requirement of a user cannot be met, it is seen that the fault handling capability is poor, and the compatibility of the device is also poor when only one storage medium is used to store the operating system storage file. In addition, in order to determine the reason for the failure of starting, global troubleshooting needs to be performed on the electronic device, that is, troubleshooting needs to be performed on all links and hardware chips.
In order to solve the above problems, the present specification provides a solution that at least two boot file storage areas are provided in an electronic device, where the at least two storage areas use different types of storage media and store the same operating system boot file; the BIOS module is used for determining a starting area for starting at this time in the at least two storage areas under the condition that the electronic equipment is powered on and trying to start the operating system from the area; if the attempt to boot fails, in the other storage area, the boot area is redetermined, and the operating system is attempted to boot in the redetermined boot area. By applying the technical scheme of the invention, the compatibility and fault handling capability of the electronic equipment can be improved, and if the starting fails in the current starting area and the starting succeeds in other storage areas, the fault exists in the current starting area, so that the fault range can be reduced, and the fault troubleshooting efficiency is greatly improved.
Fig. 2 is a schematic structural diagram of an electronic device shown in this specification, where the electronic device includes at least a BIOS module and at least two boot file storage areas; the at least two storage areas use different types of storage media and store the same operating system starting file;
a plurality of storage medium card seats can be added at the response position on the mainboard, and the storage medium is configured on the corresponding card seat to realize at least two storage areas, the storage medium can be a CF card, an SD card, an MMC card, an MS card and the like, different storage media can be configured in each storage area to improve the compatibility of the electronic equipment, in addition, the same operating system starting file is stored in each storage area, so that the BIOS module can start the same operating system no matter which storage area of the at least two storage areas tries to start the operating system, and the use requirements of users can be met after the starting is successful.
The BIOS module is used for determining a starting area for starting at this time in the at least two storage areas under the condition that the electronic equipment is powered on and trying to start an operating system from the area;
in a case that the electronic device is powered on, the BIOS module is started in advance, and after the electronic device is started, a start area for the current start is determined in at least two storage areas, and with reference to fig. 2, for example, one storage area may be selected from n storage areas shown in the drawing, for example, storage area 1 may be selected as a start area for the current start, and after the selection, an attempt is made to start the operating system from storage area 1.
If the attempt to boot fails, in the other storage area, the boot area is redetermined, and the operating system is attempted to boot in the redetermined boot area.
With reference to the above example, if the attempt to start the operating system from the storage area 1 fails, selecting one storage area as the start area from the other storage areas except the storage area 1, that is, selecting one storage area again as the start area from the storage area 2 to the storage area n, for example, the newly selected storage area is the storage area 2, and attempting to start the operating system again from the storage area 2. Of course, if the booting is not successful, the storage area can be continuously selected from the rest of the storage areas as the booting area, and the booting is attempted in the booting area until the booting is successful, or until the booting cannot be performed from all the storage areas.
In an embodiment, the BIOS module is specifically configured to determine, according to a priority difference in the configuration information, a start area for the current start in the at least two storage areas.
The selecting of one storage area from the at least two storage areas may be performed according to a priority difference in the configuration information, for example, if the priority of the storage area 1 is the highest among all the storage areas, the storage area 1 may be preferentially selected as a boot area and booted, if the boot fails, the storage area with the highest priority may be selected as the boot area from the other storage areas except the storage area 1 according to the priority difference, and the boot is attempted, for example, if the priority of the storage area 2 is the highest among the storage areas 2 to n except the storage area 1, the storage area 2 may be selected again as the boot area and booted again, and so on until the boot succeeds.
In an embodiment, the electronic device further includes a programmable logic device, the configuration information is stored in the programmable logic device, and the programmable logic device may include a CPLD, an FPGA, and the like, which is not limited in this specification. After the electronic device is powered on, the BIOS module may select one storage area from the at least two storage areas as a boot area according to configuration information in the programmable logic device, and attempt booting in the boot area, where the boot area may be determined according to a value of a register in the programmable logic device.
As shown in fig. 3, in a specific embodiment, when there are two storage areas of the electronic device, and the storage media used in the two storage areas are different, for example, the storage medium used in the storage area 1 is an SD card, and the storage medium used in the storage area 2 is a CF card, it may be directly determined which storage area is selected as the boot area according to the value of one register in the programmable logic device being set to 0 or 1. For example, after the device is powered on, when the value of the register in the programmable logic device is 1, the storage area 1 is selected as a boot area, and at this time, the operating system boot file is read from the SD card and a boot attempt is made; when the value in the programmable logic device is 0, the storage area 2 is selected as a boot area, and at this time, an operating system boot file is read from the CF card and boot is attempted. Of course, the storage area 2 may be selected as the boot area when the value in the programmable logic device is read to be 1, and the storage area 1 may be selected as the boot area when the value in the programmable logic device is read to be 0. In this embodiment, a pull-down resistor may be added to the programmable logic device to control a value of a register in the programmable logic device when the device is powered on, for example, when the programmable logic device is externally connected with the pull-up resistor, the value of the register in the programmable logic device may be set to 0, so as to control the BIOS module to select the storage area 2 as a start area; when the programmable logic device is externally connected with a pull-down resistor, the register value in the programmable logic device is set to be 1, so that the BIOS module is controlled to select the storage area 1 as a starting area. Due to the programmability of the programmable logic device, the mode for controlling the BIOS module to select the selected storage area after the electronic equipment is powered on is more flexible.
In one embodiment, the BIOS module is further configured to synchronize the change content to another storage area when an operating system boot file in the current boot area is changed.
Referring to fig. 2, for example, when the current boot area is the storage area 1 and the os boot file stored in the storage area 1 is changed, the changed content may be synchronized to other storage areas, that is, the storage areas 2 to n, so that the os boot file stored in other storage areas can be the same as the os boot file in the current boot area at any time. Therefore, when the current starting area fails to start, the starting area is re-determined in other storage areas and the starting is carried out, the operating system to be started can be consistent with the operating system in the current starting area, the backup of the starting file of the operating system is realized, and the condition that the use requirement of a user cannot be met after the operating system is started from other storage areas is avoided.
In one embodiment, the BIOS module is further configured to perform a preset alarm operation in case of failed boot attempt.
After the device is powered on, the BIOS module determines a boot area for the current boot from the plurality of storage areas, and attempts to boot the operating system from the boot area, for example, referring to fig. 2, currently, storage area 1 is selected, and attempts to boot from storage area 1 are performed, but after the boot attempt fails, the boot area is re-determined in another storage area. However, since switching to another boot storage area and booting are performed in the electronic device, the user cannot perceive that booting cannot be performed in the storage area 1, and at this time, a preset alarm operation may be performed in order to facilitate the user to perceive and understand the actual situation of each storage area.
The preset alarm operation can be that after the failed start, a loudspeaker is called to send out an alarm sound, different alarm sounds can be preset for each storage area, and the alarm sounds after the failed start of each storage area are different, so that a user can distinguish which storage area the operating system cannot be started from. Different storage areas may be distinguished based on a combination of long and short warning tones. For example, the warning tone corresponding to storage area 1 may be set to one short tone, the warning tone corresponding to storage area 2 may be set to two consecutive short tones, the warning tone corresponding to storage area 3 may be set to three consecutive short tones, and so on. For another example, the warning sound for storage area 1 may be set to a short tone, the warning sound for storage area 2 may be set to a long tone, the warning sound for storage area 3 may be set to a short tone plus a long tone, and so on for each storage area device. Of course, the setting manner of the alarm sound is only an example, and cannot include all solutions in the present specification, and all the invention contents covered by the present specification are the invention contents as long as different alarm sounds are set for different storage areas so that a user can recognize the storage area with failed start-up when the start-up fails. Therefore, the user can determine the storage area with failed starting of the operating system according to different alarm tones.
In addition, the preset alarm operation can also be displayed to the user in the form of a light emitting diode, so that the user can determine which storage area fails to start.
For example, a light emitting diode may be provided for each storage region, and when the storage region fails to start, the light emitting diode for indicating the failed start of the storage region is turned on to emit light. Thereby enabling the user to recognize which storage area failed to be activated. For example, when there are three storage areas, storage area 1, storage area 2, and storage area 3, respectively. The method includes the steps that corresponding light emitting diodes can be respectively arranged for three storage areas and used for respectively indicating starting conditions of the three storage areas, in a normal condition, the three light emitting diodes are not connected, after the electronic device is powered on, for example, the priority of the storage area 1 is the highest, the storage area 1 is determined to be a starting area, an operation system is tried to be started from the storage area 1, at the moment, if the attempted starting fails, the light emitting diodes corresponding to the storage area 1 are connected, so that a user can quickly know the starting failure condition of the storage area 1, corresponding processing can be quickly carried out, if the attempted starting failure of the storage area 1 is detected, the storage area 2 is selected to continue to attempt starting, the failure still occurs, the light emitting diodes corresponding to the storage area 2 can continue to be connected, so that the user can know that the storage area 2 is also failed to start. In order to save cost, only one led may be used to indicate the activation condition of each storage area, for example, in a normal condition, the led may not be turned on, after the storage area 1 fails to be activated, the led may be flashed once, after the storage area 2 fails to be activated, the led may be flashed twice, and so on. The number of times of flashing of the light emitting diode can be used for distinguishing the starting failure conditions of different storage areas, so that a user can quickly perceive the starting condition in the device.
Of course, the two alarm modes can be combined to make the user know the starting condition of the storage area in the electronic equipment at present. For example, the alarm sound corresponding to the storage area 1 may be set as one short sound, the alarm sound corresponding to the storage area 2 may be set as two continuous short sounds, the alarm sound corresponding to the storage area 3 may be set as three continuous short sounds, and meanwhile, a corresponding light emitting diode is set for each storage area, for example, after the device is powered on, the selected starting area is the storage area 1, and the starting from the storage area 1 is attempted, and after the starting is successful, the light emitting diode corresponding to the storage area 1 is turned on, and the light emitting diodes corresponding to other storage areas are not turned on, so that the user knows that the operating system is currently started in the storage area 1. If the attempted start in the storage area 1 fails, the light emitting diode corresponding to the storage area 1 is not switched on, and the loudspeaker is called to emit 1 short-sound alarm sound, if the storage area 2 is selected as a start area in other storage areas and the start is attempted again, if the start succeeds, the light emitting diode corresponding to the storage area 2 can be switched on to inform a user that the start area for starting the operating system is the storage area 2 and the attempt start fails in the storage area 1, and therefore the user can know the storage area which cannot start the operating system and the storage area which currently starts the operating system successfully.
In a specific embodiment, in the case that only two storage areas exist in the electronic device, as shown in fig. 3, corresponding light emitting diodes may be respectively set for the two storage areas, where the light emitting diode 1 corresponds to the storage area 1, the light emitting diode 2 corresponds to the storage area 2, and the priority of the default storage area 1 is greater than the priority of the storage area 2, then the storage area 1 is selected as a boot area after the device is powered on, and is booted from the storage area 1, and if the boot fails, is booted from the storage area 2. After the memory area 1 is successfully started, the light emitting diode 1 is turned on, if the memory area 1 fails to be started, the light emitting diode 1 is not turned on, the memory area 2 tries to be started, and after the start is successful, the light emitting diode 2 is turned on. In this way, the user can also be made aware of the start-up situation in the device, i.e. if the led 1 is lit, the user can determine that the start-up from the storage area 1 is successful; if the light emitting diode 2 emits light, the user can determine that the starting from the storage area 2 is successful and also determine that the starting from the storage area 1 is failed. Of course, it may be that, in a normal case, any one of the light emitting diodes is not turned on, the light emitting diode 1 corresponding to the storage area 1 is turned on when the light emitting diode cannot be started from the storage area 1, and the light emitting diode 2 corresponding to the storage area 2 is turned on when the light emitting diode cannot be started from the storage area 2, and similarly, the user may quickly sense from which storage area the light emitting diode cannot be started. The on/off of each light emitting diode can be realized by using a register 0 or 1 in the programmable logic device, and of course, can also be realized by other manners, which is not limited in this application.
By executing the preset alarm operation under the condition that the attempt to start fails, the user can quickly and directly sense the starting condition of the storage area, and the user can conveniently maintain and process the electronic equipment.
Corresponding to the implementation mode of the electronic device, the specification further provides an implementation mode of an operating system starting method.
FIG. 4 is a flow chart illustrating a method for booting an operating system according to the present disclosure;
the method is applied to a BIOS module in electronic equipment, wherein the electronic equipment at least comprises the BIOS module and at least two boot file storage areas; the at least two storage areas use different types of storage media and store the same operating system starting file; the method comprises the following steps:
s401, under the condition that the electronic equipment is powered on, determining a starting area for starting at this time in the at least two storage areas, and trying to start an operating system from the area;
s402, if the attempt to start fails, in other storage areas, the starting area is redetermined, and the operating system is attempted to start in the redetermined starting area.
In one embodiment, the determining, in the at least two storage areas, a starting area for the current starting includes: and determining a starting area for starting at this time in the at least two storage areas according to the priority difference in the configuration information.
In one embodiment, the electronic device further includes a programmable logic device, where the programmable logic device stores configuration information, and the determining, in the at least two storage areas, a starting area for the current starting includes: and determining a starting area for starting at this time in the at least two storage areas according to the configuration information in the programmable logic device.
In one embodiment, when the start-up file of the operating system in the current start-up area is changed, the changed content is synchronized to other storage areas.
In one embodiment, in the event of a failed attempted boot, a preset alarm operation is performed.
The implementation process of each step in the method is specifically detailed in the implementation process of the corresponding device function in the electronic device, and is not described herein again.
By applying the technical scheme of the invention, the compatibility and fault handling capability of the electronic equipment can be improved, and if the starting fails in the current starting area and the starting succeeds in other storage areas, the fault exists in the current starting area, so that the fault range can be reduced, and the fault troubleshooting efficiency is greatly improved.
As for the method embodiment, since it basically corresponds to the electronic device embodiment, the relevant points may be referred to the partial description of the device embodiment. The above-described method embodiments are merely illustrative. Some or all of the steps can be selected according to actual needs to achieve the purpose of the scheme in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
Thus, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. Further, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous. The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the device embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the purpose of illustrating the preferred embodiments of the present disclosure and is not to be construed as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (10)

1. An electronic device, wherein the electronic device comprises at least a BIOS module and at least two boot file storage areas; the at least two storage areas use different types of storage media and store the same operating system starting file;
the BIOS module is used for determining a starting area for starting at this time in the at least two storage areas under the condition that the electronic equipment is powered on and trying to start an operating system from the area;
if the attempt to boot fails, in the other storage area, the boot area is redetermined, and the operating system is attempted to boot in the redetermined boot area.
2. The electronic device of claim 1,
the BIOS module is specifically configured to determine, according to a priority difference in the configuration information, a start area for the current start in the at least two storage areas.
3. The electronic device of claim 1, further comprising a programmable logic device, the programmable logic device storing configuration information,
the BIOS module is specifically configured to determine, according to configuration information in the programmable logic device, a start area for the current start in the at least two storage areas.
4. The electronic device of claim 1,
the BIOS module is further used for synchronizing the changed content to other storage areas when the operating system boot file in the current boot area is changed.
5. The electronic device of claim 1,
the BIOS module is also used for executing preset alarm operation under the condition of failed starting attempt.
6. The starting method of the operating system is characterized by being applied to a BIOS module in electronic equipment, wherein the electronic equipment at least comprises the BIOS module and at least two starting file storage areas; the at least two storage areas use different types of storage media and store the same operating system starting file; the method comprises the following steps:
under the condition that the electronic equipment is powered on, determining a starting area for starting at the time in the at least two storage areas, and trying to start an operating system from the area;
if the attempt to boot fails, in the other storage area, the boot area is redetermined, and the operating system is attempted to boot in the redetermined boot area.
7. The method according to claim 6, wherein the determining a starting area for the current starting among the at least two storage areas comprises:
and determining a starting area for starting at this time in the at least two storage areas according to the priority difference in the configuration information.
8. The method according to claim 6, wherein the electronic device further comprises a programmable logic device, the programmable logic device stores configuration information, and the determining a boot area for the current boot among the at least two storage areas comprises:
and determining a starting area for starting at this time in the at least two storage areas according to the configuration information in the programmable logic device.
9. The method of claim 6, further comprising:
when the starting file of the operating system in the current starting area is changed, the changed content is synchronized to other storage areas.
10. The electronic device of claim 6, wherein the method further comprises:
in the case of failed attempted start-up, a preset alarm operation is performed.
CN201911376146.5A 2019-12-27 2019-12-27 Electronic equipment and operating system starting method Pending CN111142952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911376146.5A CN111142952A (en) 2019-12-27 2019-12-27 Electronic equipment and operating system starting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911376146.5A CN111142952A (en) 2019-12-27 2019-12-27 Electronic equipment and operating system starting method

Publications (1)

Publication Number Publication Date
CN111142952A true CN111142952A (en) 2020-05-12

Family

ID=70520807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911376146.5A Pending CN111142952A (en) 2019-12-27 2019-12-27 Electronic equipment and operating system starting method

Country Status (1)

Country Link
CN (1) CN111142952A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857840A (en) * 2020-06-10 2020-10-30 新华三技术有限公司 BIOS starting method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040003222A1 (en) * 2002-06-28 2004-01-01 Rich Daniel A. Method and system for improving computer system boot reliability
US20070174689A1 (en) * 2005-11-23 2007-07-26 Inventec Corporation Computer platform embedded operating system backup switching handling method and system
CN101354659A (en) * 2008-09-12 2009-01-28 成都市华为赛门铁克科技有限公司 Method, controller and control system for controlling BIOS start-up of electronic apparatus
US7966484B1 (en) * 2009-01-14 2011-06-21 Cms Products, Inc. Automatic alternating bootable storage devices between different kinds of boot files
US20120191960A1 (en) * 2011-01-20 2012-07-26 Mark Piwonka Booting computing devices
CN104461657A (en) * 2014-12-29 2015-03-25 迈普通信技术股份有限公司 Main/back-up embedded type bootstrap start-up method and device
CN109063488A (en) * 2018-08-03 2018-12-21 中国航空工业集团公司雷华电子技术研究所 A kind of PowerPC standby system secure bootstrapping method and system
CN110515664A (en) * 2019-07-26 2019-11-29 苏州浪潮智能科技有限公司 The starting method and device of system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040003222A1 (en) * 2002-06-28 2004-01-01 Rich Daniel A. Method and system for improving computer system boot reliability
US20070174689A1 (en) * 2005-11-23 2007-07-26 Inventec Corporation Computer platform embedded operating system backup switching handling method and system
CN101354659A (en) * 2008-09-12 2009-01-28 成都市华为赛门铁克科技有限公司 Method, controller and control system for controlling BIOS start-up of electronic apparatus
US7966484B1 (en) * 2009-01-14 2011-06-21 Cms Products, Inc. Automatic alternating bootable storage devices between different kinds of boot files
US20120191960A1 (en) * 2011-01-20 2012-07-26 Mark Piwonka Booting computing devices
CN104461657A (en) * 2014-12-29 2015-03-25 迈普通信技术股份有限公司 Main/back-up embedded type bootstrap start-up method and device
CN109063488A (en) * 2018-08-03 2018-12-21 中国航空工业集团公司雷华电子技术研究所 A kind of PowerPC standby system secure bootstrapping method and system
CN110515664A (en) * 2019-07-26 2019-11-29 苏州浪潮智能科技有限公司 The starting method and device of system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857840A (en) * 2020-06-10 2020-10-30 新华三技术有限公司 BIOS starting method and device
CN111857840B (en) * 2020-06-10 2023-10-27 新华三技术有限公司 BIOS (basic input output system) starting method and device

Similar Documents

Publication Publication Date Title
US8458524B2 (en) Firmware recovery system and method
US8751783B2 (en) Booting computing devices with EFI aware operating systems
US8601314B2 (en) Failover method through disk take over and computer system having failover function
US10917291B2 (en) RAID configuration
CN108304282B (en) Control method of double BIOS and related device
US20170147455A1 (en) Information processing device, method for booting information processing device, and non-transitory recording medium
CN110908847A (en) Abnormity recovery method, system, electronic equipment and storage medium
US9715267B2 (en) Method for switching operating systems and electronic apparatus
CN102906710B (en) A kind of Bootrom backup method and device
CN112506745B (en) Memory temperature reading method and device and computer readable storage medium
CN109063488A (en) A kind of PowerPC standby system secure bootstrapping method and system
US20050204123A1 (en) Boot swap method for multiple processor computer systems
CN108390728B (en) Optical module power-on control method and device
CN111142952A (en) Electronic equipment and operating system starting method
CN110083491A (en) A kind of BIOS initialization method, apparatus, equipment and storage medium
CN105515838A (en) Service configuration method and HA (High Available) cluster system
CN101299200A (en) Processor system, equipment and fault handling method
CN101287219A (en) Method and apparatus for automatic switching port of terminal apparatus, and automatic switching system
CN101140540B (en) Method and system for detecting automatic monitoring magnetic array
JP2003345620A (en) Process monitoring method for multi-node cluster system
CN103678018A (en) Method and device for recovering data
CN114237722B (en) System starting method, device, equipment and engineering vehicle
CN106972963B (en) Service module starting control method and starting control method after crash restart
US20140181492A1 (en) Method of booting an electronic system and an electronic system applying the same
KR102414206B1 (en) AUTOSAR standard application software component

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