[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103838597B - A kind of os starting method, device and electronic equipment - Google Patents

A kind of os starting method, device and electronic equipment Download PDF

Info

Publication number
CN103838597B
CN103838597B CN201210492336.5A CN201210492336A CN103838597B CN 103838597 B CN103838597 B CN 103838597B CN 201210492336 A CN201210492336 A CN 201210492336A CN 103838597 B CN103838597 B CN 103838597B
Authority
CN
China
Prior art keywords
operating system
electronic device
working environment
preset
mapping relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210492336.5A
Other languages
Chinese (zh)
Other versions
CN103838597A (en
Inventor
周大凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210492336.5A priority Critical patent/CN103838597B/en
Publication of CN103838597A publication Critical patent/CN103838597A/en
Application granted granted Critical
Publication of CN103838597B publication Critical patent/CN103838597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)
  • Stored Programmes (AREA)

Abstract

This application provides a kind of os starting method, device and electronic equipment.One of which os starting method, including:The current working environment of detection electronic equipment;Judge whether working environment meets pre-conditioned;Working environment meet it is pre-conditioned in the case of, choose the first mapping table, the storage location of the first os starting data is obtained from the first mapping table, start the first operating system to obtain the first os starting data;Judged result for working environment be unsatisfactory for it is pre-conditioned in the case of, choose the second mapping table, the storage location of the second os starting data is obtained from the second mapping table, start the second operating system to obtain the second os starting data.Therefore the os starting method that the application is provided different operating system and can start according to working environment choosing selection.

Description

Operating system starting method and device and electronic equipment
Technical Field
The present disclosure relates to the field of system security technologies, and in particular, to a method and an apparatus for starting an operating system, and an electronic device.
Background
Electronic devices such as computers may currently have multiple operating systems, and a hard disk partition is assigned to each operating system in the computer to hold data under that operating system. When the user uses the electronic device, the user can autonomously select the operating system to perform various operations, such as browsing a webpage or watching a video.
However, when the electronic device is configured with a plurality of operating systems, the start of the operating system is autonomously selected by the user. The operating system selected by the user is selected by the user according to personal use habits, for example, the user is used to use the windows 7 system, and when the electronic device is configured with the windows 7 system, the user must select the windows 7 system.
In summary, there is a need for an operating system booting method, which can select an operating system according to a working environment of an electronic device and boot the operating system.
Disclosure of Invention
The technical problem to be solved by the present application is to provide an operating system starting method, which can select different operating systems according to a working environment of an electronic device and start the selected operating systems.
The application also provides an operating system starting device and electronic equipment, which are used for ensuring the realization and application of the method in practice.
Based on an aspect of the present application, an operating system booting method is provided, which is applied to an electronic device, where the electronic device includes a digital storage device, where the digital storage device stores a first mapping relationship table and a second mapping relationship table, where the first mapping relationship table records a storage location of first operating system booting data, the second mapping relationship table records a storage location of second operating system booting data, and the first operating system is different from the second operating system, and the method includes:
detecting the current working environment of the electronic equipment;
judging whether the working environment meets a preset condition or not;
under the condition that the working environment meets a preset condition, selecting a first mapping relation table, and acquiring a storage position of first operating system starting data from the first mapping relation table to acquire the first operating system starting data to start a first operating system;
and under the condition that the judgment result is that the working environment does not meet the preset condition, selecting a second mapping relation table, and acquiring the storage position of the starting data of the second operating system from the second mapping relation table so as to acquire the starting data of the second operating system to start the second operating system.
Preferably, after the electronic device is powered on, the BIOS detects a current network environment of the electronic device.
Preferably, the judging whether the working environment meets a preset condition comprises: and judging whether the media control access MAC address of the server used by the electronic equipment is a preset MAC address.
Preferably, the judging whether the working environment meets a preset condition comprises: and judging whether the protocol IP address interconnected between the networks of the electronic equipment is included in a preset address range of an Internet server.
Preferably, after the electronic device is powered on, the sensor measures the oxygen content of the current working environment of the electronic device.
Preferably, the judging whether the working environment meets a preset condition comprises: judging whether the oxygen content is within the preset oxygen content range.
Preferably, after the electronic device is powered on, the global positioning system GPS identifies the longitude and latitude of the location where the electronic device is located.
Preferably, the judging whether the working environment meets a preset condition comprises: judging whether the longitude of the position of the electronic equipment is within a preset longitude range or not, and judging whether the latitude is within a preset latitude range or not.
Preferably, after the electronic device is powered on, the fingerprint identification device acquires a fingerprint of a user currently operating the electronic device.
Preferably, the judging whether the working environment meets a preset condition comprises: and judging whether the fingerprint is the fingerprint of a pre-designated user.
Based on another aspect of the present application, an operating system boot apparatus is further provided, which is applied to an electronic device, where the electronic device includes a digital storage device, where the digital storage device stores a first mapping relationship table and a second mapping relationship table, where the first mapping relationship table records a storage location of first operating system boot data, the second mapping relationship table records a storage location of second operating system boot data, and the first operating system is different from the second operating system, and the apparatus includes:
the detection unit is used for detecting the current working environment of the electronic equipment;
the judging unit is used for judging whether the working environment meets a preset condition or not;
the first selection unit is used for selecting a first mapping relation table under the condition that the working environment meets a preset condition, and acquiring a storage position of first operating system starting data from the first mapping relation table so as to acquire the first operating system starting data to start the first operating system;
and the second selecting unit is used for selecting a second mapping relation table and acquiring a storage position of second operating system starting data from the second mapping relation table under the condition that the judgment result is that the working environment does not meet the preset condition so as to acquire the second operating system starting data to start the second operating system.
Preferably, the detection unit is a basic input output system BIOS, and the BIOS detects a current network environment of the electronic device after the electronic device is powered on.
Preferably, the determining unit is specifically configured to determine whether a MAC address of a server used by the electronic device is a preset MAC address.
Preferably, the determining unit is specifically configured to determine whether the IP address of the electronic device is included in an IP address preset address range of an internet server.
Preferably, the detection unit is a sensor, and the sensor measures the oxygen content of the current working environment of the electronic device after the electronic device is powered on.
Preferably, the determining unit is specifically configured to determine whether the oxygen content is within a preset oxygen content range.
Preferably, the detection unit is a global positioning system GPS, and the GPS identifies the longitude and latitude of the location where the electronic device is located after the electronic device is powered on.
Preferably, the determining unit is specifically configured to determine whether a longitude of a location of the electronic device is within a preset longitude range, and whether the latitude is within a preset latitude range.
Preferably, the detection unit is a fingerprint identification device, and the fingerprint identification device is configured to acquire a fingerprint of a user currently operating the electronic device after the electronic device is powered on.
Preferably, the judging unit is specifically configured to judge whether the fingerprint is a fingerprint of a pre-designated user.
Based on another aspect of the present application, an electronic device is further provided, including a digital storage device and the above operating system starting apparatus, wherein the digital storage device stores a first mapping relationship table and a second mapping relationship table, wherein the first mapping relationship table records a storage location of the first operating system starting data, the second mapping relationship table records a storage location of the second operating system starting data, and the first operating system is different from the second operating system, and the digital storage device is connected to the operating system starting apparatus.
Compared with the prior art, the method has the following advantages:
in the application, a digital storage device of the electronic device stores a first mapping relation table and a second mapping relation table, wherein the first mapping relation table records a storage location of a first operating system starting data, the second mapping relation table records a storage location of a second operating system starting data, and the first operating system is different from the second operating system. The electronic equipment can firstly detect the current working environment of the electronic equipment, select a first mapping relation table under the condition that the working environment meets a preset condition, and acquire the storage position of first operating system starting data from the first mapping relation table so as to acquire the first operating system starting data to start the first operating system; and under the condition that the judgment result is that the working environment does not meet the preset condition, selecting a second mapping relation table, and acquiring the storage position of the starting data of the second operating system from the second mapping relation table so as to acquire the starting data of the second operating system to start the second operating system.
In summary, the operating system booting method provided by the present application may select different mapping tables according to the working environment, obtain the storage location of the booting data of the operating system from the mapping tables, and further obtain the booting data to boot the operating system. Namely, the operating system starting method provided by the application can select different operating systems according to the working environment and start the operating systems.
Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a flowchart of an operating system booting method provided in the present application;
fig. 2 is a schematic structural diagram of an operating system boot apparatus provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor apparatus, distributed computing environments that include any of the above devices or equipment, and the like.
One of the main ideas of the present application may include: firstly, detecting the current working environment of the electronic equipment, and secondly, judging whether the working environment meets a preset condition. And under the condition that the working environment meets a preset condition, selecting a first mapping relation table, and acquiring a storage position of first operating system starting data from the first mapping relation table so as to acquire the first operating system starting data to start the first operating system. And under the condition that the judgment result is that the working environment does not meet the preset condition, selecting a second mapping relation table, and acquiring the storage position of the starting data of the second operating system from the second mapping relation table so as to acquire the starting data of the second operating system to start the second operating system. Therefore, the operating system starting method provided by the application can select different mapping relation tables according to the working environment, obtain the storage position of the starting data of the operating system from the mapping relation tables, and further obtain the starting data to start the operating system. Namely, the operating system starting method provided by the application can select different operating systems according to the working environment and start the operating systems.
Referring to fig. 1, a flowchart of an operating system booting method provided in the present application is shown. The operating system starting method shown in fig. 1 is applied to an electronic device, where the electronic device includes a digital storage device, and a first mapping relationship table and a second mapping relationship table are stored in the digital storage device, where the first mapping relationship table records a storage location of first operating system starting data, and the second mapping relationship table records a storage location of second operating system starting data, and the first operating system is different from the second operating system. The operating system booting method shown in fig. 1 may include the following steps:
step 101: and detecting the current working environment of the electronic equipment.
In this embodiment, detecting the current operating environment of the electronic device may be performed after the electronic device is powered on and before the operating system, so that different operating systems may be selected to be started according to different operating environments. The electronic equipment is powered on, namely the electronic equipment is powered on.
The current working environment of the electronic device refers to an environment in which the electronic device is currently running, such as a network environment in which the electronic device is located or a location in which the electronic device is located, and for different application scenarios, specific means for detecting the current working environment of the electronic device are different. Step 101 is described in detail below with several application scenarios as examples.
When the current operating environment of the electronic device is a network environment, after the electronic device is powered on, a BIOS (basic input Output System) may detect the current network environment of the electronic device, such as a Media Access Control (MAC) address or an Internet Protocol (IP) address of a server currently used by the electronic device.
The server currently used by the electronic device refers to a server used by a local area network when the electronic device is in the local area network, such as a server used by a local area network formed by a studio or a server used by a home local area network.
The current working environment of the electronic device may also be air quality, such as oxygen content or smoke content, of the environment in which the electronic device is currently located. When the electronic device detects the oxygen content of the current environment, a sensor may be installed in the electronic device, and the sensor measures the oxygen content of the current operating environment of the electronic device. When the smoke content is measured, a sensor for measuring the smoke content may be installed in the electronic device. Of course, a plurality of sensors may be installed in the electronic device at the same time, and each sensor is used to measure different parameters of the air quality of the current environment, such as the oxygen content, the smoke content, the air humidity, the carbon dioxide content, and the like.
Of course, the current operating environment of the electronic device may also be the location of the electronic device, for example, the electronic device may be equipped with a Global Positioning System (GPS). The GPS may identify the longitude and latitude of the location where the electronic device is located to determine the current location of the electronic device.
In addition, the current working environment of the electronic equipment can also be the user of the electronic equipment. The fingerprint of a user currently operating the electronic device may be detected when detecting the current operating environment of the electronic device. Specifically, a fingerprint identification device may be disposed in the electronic device, and a fingerprint collector is disposed on the electronic device. After the user operating the electronic equipment powers on the electronic equipment, the finger is placed on the fingerprint collector. The fingerprint collector sends the collected user fingerprint to the fingerprint identification device, and then the fingerprint identification device identifies the fingerprint of the user.
The present embodiment lists the detection of the current working environment of the electronic device in four application scenarios, where the enumeration of the four application scenarios is only to facilitate understanding of the operating system starting method provided in the present embodiment by those skilled in the art, and the present embodiment is not limited to the above four application scenarios.
Step 102: judging whether the working environment meets a preset condition, if so, executing step 103; if not, step 104 is performed.
When the working environment meets the preset condition or the working environment does not meet the preset condition, the electronic equipment is indicated to be capable of selecting different mapping relation tables from the digital storage equipment, and then the electronic equipment can start different operating systems.
As mentioned above, the current working environment of the electronic device may be any one of a network environment, air quality, a location where the electronic device is located, and a fingerprint of a user currently operating the electronic device, and when the working environment corresponds to a specific environment under different conditions, the preset conditions are different.
For example, when the current operating environment of the electronic device is the MAC address of the server used by the electronic device, the preset condition may be the preset MAC address. That is, step 102 may specifically be to determine whether the MAC address of the server used by the electronic device is a preset MAC address. When the preset MAC address is the MAC address of the server used by the local area network when the electronic equipment is located in the local area network, the electronic equipment can further preset the MAC addresses of the servers of several local area networks which are commonly used by the electronic equipment.
If the MAC address of the server used by the electronic equipment is the preset MAC address, the electronic equipment is indicated to be in a frequently-used local area network. If the MAC address of the server used by the electronic equipment is not the preset MAC address, the electronic equipment is not in the frequently-used local area network currently. Under the two different judgment results, the electronic device needs to select and start different operating systems.
When the current working environment of the electronic device is the IP address of the internet server directly accessed by the electronic device, determining whether the working environment meets the preset condition may be determining whether the IP address of the electronic device is included in a preset address range of the IP address of the internet server, that is, the preset condition may be a preset address range of the IP address of the internet server, where the preset address range records all addresses allocated by the internet server, for example, 172.16.0.0-172.31.355.355 is a preset address range of the internet server in a wide area network.
When the IP address of the electronic equipment, namely the IP address of the Internet outlet of the electronic equipment, is within the preset address range, the electronic equipment is connected with the Internet server corresponding to the preset address range and is in a wide area network. And when the IP address of the electronic equipment is not in the preset address range, indicating that the electronic equipment is not connected with the Internet server corresponding to the preset address range.
Of course, when the current operating environment of the electronic device is specific to the oxygen content of the operating environment, the preset condition may be a preset oxygen content range. The preset oxygen content range can be an oxygen content range which can be usually borne by a user, and when the oxygen content range is smaller than the preset oxygen content range or the oxygen content range is not smaller than the preset oxygen content range, the electronics can select different mapping relation tables to start different operating systems.
In addition, when the current working environment of the electronic device is the longitude and the latitude of the position of the electronic device, determining whether the working environment meets the preset condition includes determining whether the longitude of the position of the electronic device is within a preset longitude range and whether the latitude is within a preset latitude range. Wherein the preset longitude range and the preset latitude range can be set by the user frequently in the scene.
When the current working environment of the electronic equipment is the fingerprint of the user, judging whether the working environment meets the preset condition or not comprises judging whether the fingerprint is the fingerprint of a pre-designated user or not. The fingerprint of the pre-designated user is a user fingerprint which can operate the electronic device, and the fingerprint of the pre-designated user can be determined by an owner of the electronic device.
Step 103: and selecting a first mapping relation table, and acquiring a storage position of the first operating system starting data from the first mapping relation table so as to acquire the first operating system starting data to start the first operating system.
And under the condition that the working environment meets the preset condition, indicating that the electronic equipment needs to start the first operating system. Therefore, the electronic device first selects a first mapping relation table stored in the digital storage device, where a storage location of the first operating system booting data is recorded in the first mapping relation table, such as a physical address and a logical address of the first operating system booting data stored in the electronic device. The logical address is visible to the user, that is, when the user can know the storage location of some data in the electronic device, the storage location is the logical address of the data, and after the logical address is known, the electronic device can directly obtain the physical address of the data from the first mapping relation table according to the first mapping relation table, and obtain the data from the physical address.
After the first operating system starting data is obtained, the electronic equipment starts the first operating system, the first operating system is operated on the electronic equipment at the moment, and a user performs various operations under the first operating system.
For example, when the user fingerprint is a fingerprint of a pre-designated user, the first operating system may be an operating system set up for the pre-designated user, for example, when the pre-designated user is a blind user, the operating system set up for the blind user needs to perform a voice prompt in each operation execution process.
Step 104: and selecting a second mapping relation table, and acquiring the storage position of the starting data of the second operating system from the second mapping relation table so as to acquire the starting data of the second operating system to start the second operating system.
And under the condition that the judgment result is that the working environment does not meet the preset condition, indicating that the electronic equipment needs to start a second operating system. Therefore, the electronic device first selects a second mapping relation table stored in the digital storage device, where a storage location of the second operating system booting data is recorded in the second mapping relation table, such as a physical address and a logical address of the second operating system booting data stored in the electronic device. The logical address is visible to the user, that is, when the user can know the storage location of some data in the electronic device, the storage location is the logical address of the data, and after the logical address is known, the electronic device can directly obtain the physical address of the data from the second mapping relation table according to the second mapping relation table, and obtain the data from the physical address.
After the second operating system starting data is obtained, the electronic equipment starts the second operating system, the second operating system is operated on the electronic equipment at the moment, and the user performs various operations under the second operating system.
Still taking the pre-designated user as the blind user as an example, when the user fingerprint is not the fingerprint of the pre-designated user, the second operating system may be a general operating system, such as a windows system, operated by the electronic device when the electronic device is operated by a normal user.
It is to be noted here that: the digital storage device may also store a mapping table, and the mapping table records a plurality of storage locations of the os boot data. Of course, the digital storage device may also store more than two mapping tables, and each mapping table records a storage location of the os boot data, which is not limited in this embodiment.
By applying the technical scheme, the digital storage device of the electronic device stores a first mapping relation table and a second mapping relation table, wherein the first mapping relation table records the storage position of the starting data of the first operating system, the second mapping relation table records the storage position of the starting data of the second operating system, and the first operating system is different from the second operating system. The electronic equipment can firstly detect the current working environment of the electronic equipment, select a first mapping relation table under the condition that the working environment meets a preset condition, and acquire the storage position of first operating system starting data from the first mapping relation table so as to acquire the first operating system starting data to start the first operating system; and under the condition that the judgment result is that the working environment does not meet the preset condition, selecting a second mapping relation table, and acquiring the storage position of the starting data of the second operating system from the second mapping relation table so as to acquire the starting data of the second operating system to start the second operating system.
In summary, the operating system booting method provided by the present application may select different mapping tables according to the working environment, obtain the storage location of the booting data of the operating system from the mapping tables, and further obtain the booting data to boot the operating system. Namely, the operating system starting method provided by the application can select different operating systems according to the working environment and start the operating systems.
Corresponding to the foregoing method embodiment, the present application further provides an operating system boot apparatus, applied to an electronic device, where the electronic device includes a digital storage device, and the digital storage device stores a first mapping relationship table and a second mapping relationship table, where the first mapping relationship table records a storage location of first operating system boot data, the second mapping relationship table records a storage location of second operating system boot data, and the first operating system is different from the second operating system, and the apparatus includes: the device comprises a detection unit 11, a judgment unit 12, a first selection unit 13 and a second selection unit 14. Wherein,
the detecting unit 11 is configured to detect a current working environment of the electronic device.
And the judging unit 12 is used for judging whether the working environment meets preset conditions.
In this embodiment, the detecting unit 11 may be a different detecting device, and the determining unit 12 determines that the working environment detected by the detecting unit 11 is different.
One kind of situation
The detecting unit 11 may be a BIOS, which detects a current network environment of the electronic device after the electronic device is powered on, where the network environment may be a MAC address or an IP address of a server currently used by the electronic device. The judging unit 12 may be configured to judge whether the MAC address of the server used by the electronic device is a preset MAC address. Or the judging unit 12 may be configured to judge whether the IP address of the electronic device is included in the IP address preset address range of the internet server.
Another situation
The detection unit 11 may be a sensor that measures the oxygen content of the current working environment of the electronic device after the electronic device is powered on. The determining unit 12 is specifically configured to determine whether the oxygen content is within a preset oxygen content range.
In another case
The detection unit 11 may be a GPS, which identifies the longitude and latitude of the location where the electronic device is located after the electronic device is powered on. The determining unit 12 is specifically configured to determine whether the longitude of the location of the electronic device is within a preset longitude range, and whether the latitude is within a preset latitude range.
In another case
The detection unit 11 may be a fingerprint identification device, and the fingerprint identification device acquires a fingerprint of a user currently operating the electronic device after the electronic device is powered on. The judging unit 12 is specifically configured to judge whether the fingerprint is a fingerprint of a pre-designated user.
In case that the judgment result of the judging unit 12 is that the working environment meets the preset condition, the first selecting unit 13 is triggered. And in the case that the working environment does not meet the preset conditions as a result of the judgment of the judging unit 12, triggering the second selecting unit 14.
The first selecting unit 13 is configured to select a first mapping relationship table when the working environment meets a preset condition, and obtain a storage location of first operating system startup data from the first mapping relationship table to obtain the first operating system startup data to start the first operating system.
A second selecting unit 14, configured to select a second mapping relationship table and obtain a storage location of second operating system startup data from the second mapping relationship table, so as to obtain the second operating system startup data to start the second operating system, when the determination result is that the working environment does not meet the preset condition.
The operating system starting means shown in fig. 2 described above may be included in the electronic device. The electronic equipment further comprises a digital storage device, wherein the digital storage device stores a first mapping relation table and a second mapping relation table, the first mapping relation table records the storage position of the starting data of the first operating system, the second mapping relation table records the storage position of the starting data of the second operating system, and the first operating system is different from the second operating system. Wherein the digital storage device is connected to the operating system startup device.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The above detailed description is given to the operating system starting method, the operating system starting device, and the electronic device, and specific examples are applied in this document to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (21)

1. An operating system booting method applied to an electronic device is characterized in that the electronic device includes a digital storage device, and a first mapping relation table and a second mapping relation table are stored in the digital storage device, wherein the first mapping relation table records a storage location of first operating system booting data, the second mapping relation table records a storage location of second operating system booting data, and the first operating system is different from the second operating system, and the method includes:
after the electronic equipment is powered on, detecting the current working environment of the electronic equipment;
judging whether the working environment meets a preset condition or not;
under the condition that the working environment meets a preset condition, selecting a first mapping relation table, and acquiring a storage position of first operating system starting data from the first mapping relation table to acquire the first operating system starting data to start a first operating system;
and under the condition that the judgment result is that the working environment does not meet the preset condition, selecting a second mapping relation table, and acquiring the storage position of the starting data of the second operating system from the second mapping relation table so as to acquire the starting data of the second operating system to start the second operating system.
2. The method of claim 1, wherein after the electronic device is powered on, a Basic Input Output System (BIOS) detects a current network environment of the electronic device.
3. The method of claim 2, wherein determining whether the working environment meets a preset condition comprises: and judging whether the media control access MAC address of the server used by the electronic equipment is a preset MAC address.
4. The method of claim 2, wherein determining whether the working environment meets a preset condition comprises: and judging whether the protocol IP address interconnected between the networks of the electronic equipment is included in a preset address range of an Internet server.
5. The method of claim 1, wherein after the electronic device is powered on, the sensor measures an oxygen content of a current operating environment of the electronic device.
6. The method of claim 5, wherein determining whether the working environment meets a preset condition comprises: judging whether the oxygen content is within the preset oxygen content range.
7. The method of claim 1, wherein after the electronic device is powered on, a Global Positioning System (GPS) identifies a longitude and a latitude of a location where the electronic device is located.
8. The method of claim 7, wherein determining whether the working environment meets a preset condition comprises: judging whether the longitude of the position of the electronic equipment is within a preset longitude range or not, and judging whether the latitude is within a preset latitude range or not.
9. The method of claim 1, wherein after the electronic device is powered on, a fingerprint recognition device obtains a fingerprint of a user currently operating the electronic device.
10. The method of claim 9, wherein determining whether the working environment meets a preset condition comprises: and judging whether the fingerprint is the fingerprint of a pre-designated user.
11. An operating system boot apparatus applied to an electronic device, wherein the electronic device includes a digital storage device, the digital storage device stores a first mapping relationship table and a second mapping relationship table, the first mapping relationship table records a storage location of first operating system boot data, the second mapping relationship table records a storage location of second operating system boot data, and the first operating system is different from the second operating system, the apparatus comprising:
the detection unit is used for detecting the current working environment of the electronic equipment after the electronic equipment is powered on;
the judging unit is used for judging whether the working environment meets a preset condition or not;
the first selection unit is used for selecting a first mapping relation table under the condition that the working environment meets a preset condition, and acquiring a storage position of first operating system starting data from the first mapping relation table so as to acquire the first operating system starting data to start the first operating system;
and the second selecting unit is used for selecting a second mapping relation table and acquiring a storage position of second operating system starting data from the second mapping relation table under the condition that the judgment result is that the working environment does not meet the preset condition so as to acquire the second operating system starting data to start the second operating system.
12. The apparatus of claim 11, wherein the detecting unit is a Basic Input Output System (BIOS), and the BIOS detects a current network environment of the electronic device after the electronic device is powered on.
13. The apparatus according to claim 12, wherein the determining unit is specifically configured to determine whether a MAC address of a server used by the electronic device is a preset MAC address.
14. The apparatus according to claim 12, wherein the determining unit is specifically configured to determine whether the IP address of the electronic device is included in a preset address range of an IP address of an internet server.
15. The apparatus of claim 11, wherein the detection unit is a sensor, and the sensor measures an oxygen content of a current working environment of the electronic device after the electronic device is powered on.
16. The apparatus according to claim 15, wherein the determining unit is specifically configured to determine whether the oxygen content is within a predetermined oxygen content range.
17. The apparatus of claim 11, wherein the detection unit is a Global Positioning System (GPS) that identifies a longitude and a latitude of a location where the electronic device is located after the electronic device is powered on.
18. The apparatus according to claim 17, wherein the determining unit is specifically configured to determine whether a longitude of a location of the electronic device is within a preset longitude range, and whether the latitude is within a preset latitude range.
19. The apparatus according to claim 11, wherein the detecting unit is a fingerprint identification device, and the fingerprint identification device obtains a fingerprint of a user currently operating the electronic device after the electronic device is powered on.
20. The apparatus according to claim 19, wherein the determining unit is specifically configured to determine whether the fingerprint is a fingerprint of a pre-designated user.
21. An electronic device, comprising a digital storage device and the operating system boot apparatus according to any one of claims 11 to 20, wherein the digital storage device stores a first mapping relationship table and a second mapping relationship table, wherein the first mapping relationship table records a storage location of first operating system boot data, the second mapping relationship table records a storage location of second operating system boot data, and the first operating system is different from the second operating system, and the digital storage device is connected to the operating system boot apparatus.
CN201210492336.5A 2012-11-27 2012-11-27 A kind of os starting method, device and electronic equipment Active CN103838597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210492336.5A CN103838597B (en) 2012-11-27 2012-11-27 A kind of os starting method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210492336.5A CN103838597B (en) 2012-11-27 2012-11-27 A kind of os starting method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN103838597A CN103838597A (en) 2014-06-04
CN103838597B true CN103838597B (en) 2017-06-27

Family

ID=50802132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210492336.5A Active CN103838597B (en) 2012-11-27 2012-11-27 A kind of os starting method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN103838597B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9619242B2 (en) * 2014-12-23 2017-04-11 Intel Corporation Methods, systems and apparatus to initialize a platform
CN106406301B (en) * 2015-07-29 2020-09-18 苏州宝时得电动工具有限公司 Automatic mowing equipment and safety self-starting system and method thereof
CN106874785A (en) * 2017-01-13 2017-06-20 北京元心科技有限公司 System file access method and device for multiple operating systems
CN111796877B (en) * 2020-07-14 2021-10-15 北京元心科技有限公司 Starting method of operating system, electronic device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952896A (en) * 2005-10-21 2007-04-25 神基科技股份有限公司 Touch click and rapid executing method of computer multimedia playing and computer system thereof
CN101097521A (en) * 2006-06-30 2008-01-02 夏新电子股份有限公司 Windows processing system of hand-hold equipment
CN102411504A (en) * 2010-09-20 2012-04-11 神基科技股份有限公司 Computer system for rapidly starting navigating function through touch-control interface and method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6718482B2 (en) * 1997-09-12 2004-04-06 Hitachi, Ltd. Fault monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952896A (en) * 2005-10-21 2007-04-25 神基科技股份有限公司 Touch click and rapid executing method of computer multimedia playing and computer system thereof
CN101097521A (en) * 2006-06-30 2008-01-02 夏新电子股份有限公司 Windows processing system of hand-hold equipment
CN102411504A (en) * 2010-09-20 2012-04-11 神基科技股份有限公司 Computer system for rapidly starting navigating function through touch-control interface and method thereof

Also Published As

Publication number Publication date
CN103838597A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN103838597B (en) A kind of os starting method, device and electronic equipment
JP6448795B2 (en) Method, apparatus, and terminal device for setting fingerprint sensor interrupt threshold
WO2014086211A1 (en) Method, system, and touch terminal for updating standard of touch screen
WO2017036394A1 (en) Wifi resource processing method and system
WO2018103402A1 (en) Wireless fidelity (wifi) scan method and related product
WO2015196981A1 (en) Method and device for recognizing picture junk files
CN105791496B (en) A kind of mobile terminal state detection method and device
KR20160140415A (en) Information processing apparatus, control method of information processing apparatus and computer-readable storage medium
CN103294583A (en) Terminal screen control method and mobile terminal
US9992372B2 (en) Image processing device, computer program product for controlling image processing device and image processing system
US10728297B2 (en) Streaming media play mode determination method and apparatus
CN107148022B (en) A kind of anti-loiter network based reminding method and relevant device
WO2017054716A1 (en) Method for recognizing hijacked browser and browser
CN105549773B (en) Underwater touch sensing system and underwater touch detection method
WO2015070559A1 (en) Pushing method and device for application program
CN113487328A (en) Service identity switching method and device
US20150370450A1 (en) Display terminal and display method
CN113672918A (en) Malicious code detection method and device, storage medium and electronic equipment
CN113282921A (en) File detection method, device, equipment and storage medium
CN106708705B (en) Terminal background process monitoring method and system
CN109561121B (en) Method and device for monitoring deployment
CN107563679B (en) Application software detection method and service equipment
CN104035655A (en) Method and device for controlling displaying of input method
CN116521414A (en) Fault code positioning method, cloud server, system and storage medium
CN112306354A (en) Screen display control method and device, electronic equipment and readable 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
GR01 Patent grant
GR01 Patent grant