CN111158772B - Data processing method and electronic equipment - Google Patents
Data processing method and electronic equipment Download PDFInfo
- Publication number
- CN111158772B CN111158772B CN201911406035.4A CN201911406035A CN111158772B CN 111158772 B CN111158772 B CN 111158772B CN 201911406035 A CN201911406035 A CN 201911406035A CN 111158772 B CN111158772 B CN 111158772B
- Authority
- CN
- China
- Prior art keywords
- information
- guiding
- hardware
- electronic device
- electronic equipment
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
- G06F9/441—Multiboot arrangements, i.e. selecting an operating system to be loaded
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the application provides a data processing method and electronic equipment, wherein the method comprises the following steps: in a first stage of an operation process of the electronic equipment, the electronic equipment operates a first system and determines guiding information for guiding the electronic equipment to operate a second system based on specific information, wherein the second system at least comprises two system modes; at a second stage of the operation process of the electronic equipment, the electronic equipment determines a target system mode in at least two system modes based on the guiding information and operates a second system based on the target system mode; wherein at least two different kinds of guidance information can be determined based on the specific information, the at least two different kinds of guidance information corresponding to the at least two kinds of system modes one to one. The data processing method of the embodiment of the application supports that the second system of the electronic device has multiple system modes, and can adjust and switch the guiding information for guiding the second system to run in the target system mode according to the actual state of the electronic device.
Description
Technical Field
The embodiment of the application relates to the field of computers, in particular to a data processing method and electronic equipment.
Background
At present, many processing platforms of hardware providers start to import the intelligent standby function, but at present, not all electronic devices can meet the requirement of the intelligent standby function, and even if the hardware configuration of some electronic devices supports the intelligent standby requirement, if the system of the electronic device does not have an operating system supporting the intelligent standby function, the electronic device cannot run the intelligent standby function. If the user wants the electronic device to operate the intelligent standby function, the operating system supporting the intelligent standby function needs to be reinstalled, the operating process is complicated, and due to the reinstallation of the operating system, the normal operation of the electronic device is often blocked due to misoperation and the like, so that great inconvenience is brought to the use of the electronic device by the user.
Content of application
The embodiment of the application provides a data processing method for supporting a second system of an electronic device to have multiple system modes, and adjusting and switching guide information for guiding the second system to run in a target system mode according to the actual state of the electronic device, and the electronic device applying the method.
In order to solve the above technical problem, an embodiment of the present application provides a data processing method, including:
in a first stage of an operation process of the electronic equipment, the electronic equipment operates a first system and determines guiding information for guiding the electronic equipment to operate a second system based on specific information, wherein the second system at least comprises two system modes;
at a second stage of the operation process of the electronic equipment, the electronic equipment determines a target system mode in the at least two system modes based on the guiding information and operates the second system based on the target system mode;
wherein at least two different kinds of guidance information can be determined based on the specific information, the at least two different kinds of guidance information corresponding to at least two kinds of system modes one to one.
Preferably, the determining of the guidance information for guiding the electronic device to operate the second system based on the specific information includes:
obtaining attribute information of hardware in the electronic equipment;
and determining the guiding information for guiding the electronic equipment to run the second system based on the attribute information of the hardware in the electronic equipment.
Preferably, the at least two kinds of guidance information include first guidance information and second guidance information, the at least two kinds of system modes include a first system mode and a second system mode, the first guidance information corresponds to the first system mode, and the second guidance information corresponds to the second system mode;
determining the guiding information for guiding the electronic device to operate the second system based on the attribute information of the hardware in the electronic device, and operating the second system based on the target system mode, including:
if the attribute information of the hardware in the electronic equipment represents that the hardware in the electronic equipment supports to operate the second system in the first system mode, determining that the guiding information for guiding the electronic equipment to operate the second system is first guiding information or second guiding information, and operating the second system based on the first system mode or the second system mode;
and if the attribute information of the hardware in the electronic equipment represents that the hardware in the electronic equipment supports to operate the second system in the second system mode, determining that the guiding information for guiding the electronic equipment to operate the second system is second guiding information, and operating the second system based on the second system mode.
Preferably, the obtaining of the attribute information of the hardware in the electronic device includes at least one of:
obtaining operation parameters of hardware in the electronic equipment, and determining attribute information of the hardware in the electronic equipment based on the operation parameters;
and obtaining interaction information related to the hardware attribute information in the electronic equipment, and determining the attribute information of the hardware in the electronic equipment based on the interaction information.
Preferably, the interaction information includes at least one of:
the attribute information of the hardware represents list information supporting the second system to run in a first system mode;
the attribute information of the hardware characterizes list information supporting the second system to operate in a second system mode.
Preferably, the electronic device determining, based on the specific information, guidance information for guiding the second system to operate includes:
obtaining attribute information of hardware in the electronic equipment;
determining candidate boot information based on attribute information of hardware within the electronic device;
and determining the guide information for guiding the second system to operate based on the candidate guide information and the user instruction received in the operation process.
Preferably, the electronic device determining, based on the specific information, guidance information for guiding the second system to operate includes:
obtaining attribute information of hardware in the electronic equipment;
determining candidate boot information based on attribute information of hardware within the electronic device;
and determining the guide information for guiding the second system to operate based on the candidate guide information and a preset guide information priority relation.
Preferably, after determining that the hardware in the electronic device supports the second system to operate in the first system mode, the method further includes:
determining default guiding information;
if the default guiding information is first guiding information, directly guiding the second system to run by the first guiding information;
and if the default guiding information is second guiding information different from the first guiding information, switching the default guiding information into the first guiding information, and guiding the second system to run by using the first guiding information.
Preferably, the first system mode is a system mode supporting intelligent standby, and the second system mode is a system mode supporting traditional standby, where when the electronic device is in intelligent standby, part of hardware in the electronic device may respond to a trigger instruction and execute a corresponding function, compared to traditional standby.
An embodiment of the present application provides an electronic device, including:
the system comprises a first processing module, a second processing module and a control module, wherein the first processing module is used for operating a first system when the electronic equipment operates in a first stage of a process and determining guide information for guiding the electronic equipment to operate a second system based on specific information, and the second system at least comprises two system modes;
a second processing module, configured to determine a target system mode of the at least two system modes based on the guidance information at a second stage of an operation process of the electronic device, and operate the second system based on the target system mode; wherein at least two different kinds of guidance information can be determined based on the specific information, the at least two different kinds of guidance information corresponding to at least two kinds of system modes one to one.
Based on the disclosure of the foregoing embodiments, it can be known that the embodiments of the present application provide a data processing method for supporting a second system of an electronic device to have multiple system modes, and adjusting and switching guidance information for guiding the second system to operate in a target system mode according to an actual state of the electronic device, and an electronic device applying the method.
Drawings
Fig. 1 is a flowchart of a data processing method in an embodiment of the present application.
Fig. 2 is a flowchart of a data processing method in another embodiment of the present application.
Fig. 3 is a flowchart of a data processing method in another embodiment of the present application.
Fig. 4 is a flowchart of a data processing method in another embodiment of the present application.
Fig. 5 is a flowchart of a data processing method in another embodiment of the present application.
Fig. 6 is a block diagram of an electronic device in another embodiment of the present application.
Detailed Description
Specific embodiments of the present application will be described in detail below with reference to the accompanying drawings, but the present application is not limited thereto.
It will be understood that various modifications may be made to the embodiments disclosed herein. The following description is, therefore, not to be taken in a limiting sense, but is made merely as an exemplification of embodiments. Other modifications will occur to those skilled in the art within the scope and spirit of the disclosure.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and, together with a general description of the disclosure given above, and the detailed description of the embodiments given below, serve to explain the principles of the disclosure.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present disclosure will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present disclosure are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely examples of the disclosure that may be embodied in various forms. Well-known and/or repeated functions and structures have not been described in detail so as not to obscure the present disclosure with unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present disclosure in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the disclosure.
Hereinafter, embodiments of the present application will be described in detail with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a data processing method, including:
s101: in a first stage of an operation process of the electronic equipment, the electronic equipment operates a first system and determines guiding information for guiding the electronic equipment to operate a second system based on specific information, wherein the second system at least comprises two system modes;
s201: at a second stage of the operation process of the electronic equipment, the electronic equipment determines a target system mode in at least two system modes based on the guiding information and operates a second system based on the target system mode;
at least two different guide information can be determined based on the specific information, the at least two different guide information are in one-to-one correspondence with at least two system modes, and the two system modes are different.
For example, the electronic device is a computer or other intelligent device, the first stage is a bottom System operation stage of the electronic device, such as a power-on self-test stage of a BIOS (Basic Input Output System), at which the electronic device operates the first System, such as a BIOS System, a UEFI (Unified Extensible Firmware Interface, which is used to replace the BIOS), and the like, and in the System operation stage, the electronic device determines, based on specific information, guidance information for guiding the electronic device to operate the second System, where the specific information may be information stored in the electronic device or information obtained through interaction with an external device, a server, or a user, and the like, for example, the specific information is attribute information representing current internal hardware of the electronic device, or instruction information Input by the user, or instruction information sent to the electronic device by the electronic device, such as a mobile phone, or the guiding information obtained by the interaction between the electronic equipment and the server, and the like. Further, the second System of the electronic device may be an Operating System, such as an OS System (Operating System), a Linux System (Linux System is a set of Unix-like Operating systems that are free to use and spread freely), and the like, and the second System has at least two System modes, for example, a more intelligent System mode, a traditional System mode, or a System mode with a higher security level, a traditional System mode, or a System mode more suitable for office use, and a System mode more suitable for game entertainment, that is, at least part of the System of the at least two System modes has different program contents, so that the at least two System modes have different operation effects, and the user experience brought to the user is different. The guidance information is a plurality of guidance information, and at least part of the guidance information is different in content, so that different guidance information can guide one system mode, for example, first guidance information is used for guiding a first system mode to operate, second guidance information is used for guiding a second system mode to operate, and the like. Further, after the guidance information is determined, the electronic device enters a second operation stage, which may specifically be a stage of entering and stably operating a second system, and determines a target system mode from at least two system modes of the second system based on the guidance information determined in the first stage, that is, determines a system mode matching the guidance information, and then controls the second system to operate the target system mode.
Based on the above disclosure, it can be known that the data processing method for switching the guidance information for guiding the second system to operate in the target system mode can be adjusted according to the actual state of the electronic device, and the second system supporting the electronic device has multiple system modes. That is, the second system of the electronic device may have multiple system modes at the same time, and the electronic device may adjust according to the specific information and switch the guidance information for guiding the second system to operate in different system modes, so that the electronic device may easily and flexibly achieve the technical effect of enabling the second system to operate in different system modes without reinstalling the second system.
Further, the at least two kinds of guidance information in this embodiment include first guidance information and second guidance information, the at least two kinds of system modes include a first system mode and a second system mode, the first guidance information corresponds to the first system mode, and the second guidance information corresponds to the second system mode, that is, the first guidance information is used to guide the second system to operate in the first system mode, and the second guidance information is used to guide the second system to operate in the second system mode. In this embodiment, the first system mode is a system mode supporting the electronic device to implement an intelligent standby, and the second system mode is a system mode supporting the electronic device to implement a traditional standby, where, compared to the traditional standby, when the electronic device is in the intelligent standby state, part of hardware in the electronic device may respond to the trigger instruction and execute a corresponding function.
For example, in the intelligent standby mode, at least one of the sound card, the video card, the network card, and the antenna in the computer is in an active state. For example, the network card is in an activated state, the computer may receive a message sent by an external device or a server to the electronic device based on the network card, and when the computer receives the message, a CPU (Central Processing Unit) in the computer is activated, or the CPU in the activated state may control a sound card, a video card, and the like in operation to output prompt information, such as displaying part of the content of the information, including a name of a sending end, an attribute of the content of the information, and the like, such as a text or a picture, or sending a prompt sound to prompt a user to view the information. The conventional standby mode refers to a current conventional standby mode of the computer, in which unprocessed files or programs (i.e., data in the memory) are saved in the hard disk, and unnecessary components such as the memory, the CPU, the graphics card, and the like are turned off to save power.
Further, at least two system modes in the second system in this embodiment need to be pre-installed in a hard disk or other memory of the electronic device. When the two system modes are installed, the two system modes can be installed at the same time, or one system mode can be installed firstly, then the configuration information of the first system is changed, so that the system mode which is installed firstly is in a forbidden state or a state which cannot be operated, then the other system mode is installed, and after the two system modes are installed completely, the electronic equipment can select a system mode to operate the second system according to specific information.
Further, as shown in fig. 2, when determining the guidance information for guiding the electronic device to operate the second system based on the specific information in the present embodiment, the method includes:
s102: acquiring attribute information of hardware in the electronic equipment;
s103: and determining the guiding information for guiding the electronic equipment to run the second system based on the attribute information of the hardware in the electronic equipment.
That is, the electronic device obtains attribute information of each internal hardware or part of the internal hardware, and determines the boot information for booting the electronic device to operate the second system through identification and verification of the attribute information. For example, the electronic device may determine, based on the attribute information of the hardware, an operating state of each hardware, a function of each hardware, under which device states each hardware may operate, and the like, and then the electronic device determines which function support is required for the first system mode and the second system mode when the electronic device wants to operate, and may perform program support by hardware having which configuration requirements, and the like, and then the electronic device determines, based on the attribute information of the hardware and the operating requirements of each system mode, which system mode the current electronic device may support the second system to operate in, and further determines corresponding boot information.
Specifically, in this embodiment, determining guidance information for guiding the electronic device to operate the second system based on the attribute information of the hardware in the electronic device, and operating the second system based on the target system mode includes:
s104: if the attribute information of the hardware in the electronic equipment represents that the hardware in the electronic equipment supports to run the second system in the first system mode, determining that the guide information for guiding the electronic equipment to run the second system is the first guide information or the second guide information, and running the second system based on the first system mode or the second system mode;
s105: and if the attribute information of the hardware in the electronic equipment represents that the hardware in the electronic equipment supports to operate the second system in the second system mode, determining the guide information for guiding the electronic equipment to operate the second system as the second guide information, and operating the second system based on the second system mode.
For example, the specific information is hardware information characterizing that the electronic device is supported to operate the second system in the first system mode, the electronic device determines whether the electronic device supports the electronic device to operate the second system in the first system mode based on the current hardware based on the hardware information and attribute information of its own hardware, and if so, the electronic device may determine that the first boot information is usable, and the electronic device may boot the second system to operate the first system mode based on the first boot information. Since the first system mode in this embodiment is a mode supporting intelligent standby, and the intelligence degree is better than that of the second system mode, that is, the mode supporting conventional standby, the configuration of hardware required for supporting the operation of the first system mode is higher than that of hardware supporting the operation of the conventional standby mode, so if the electronic device can support the operation of the first system mode, the electronic device will also support the operation of the conventional mode, that is, if the electronic device supports the operation of the second system in the first system mode, the electronic device will also support the operation of the second system in the second system mode. Therefore, at this time, the electronic device may also determine second guidance information based on the specific information and guide the second system to operate the second system in the second system mode based on the second guidance information.
If the electronic device knows that the hardware configuration in the electronic device can only support the second system mode to operate the second system based on the specific information, for example, the current hardware configuration of the electronic device is low and cannot support the first system mode, such as the mode supporting the intelligent standby mode, when the second system is operated, only the second system mode is supported, such as the mode supporting the traditional standby mode, when the second system is operated, the guidance information for operating the second system by the electronic device of a computer is determined to be the second guidance information, and the second system is operated based on the second system mode.
In this embodiment, obtaining the attribute information of the hardware of the electronic device includes at least one of:
obtaining operation parameters of hardware in the electronic equipment, and determining attribute information of the hardware in the electronic equipment based on the operation parameters;
and obtaining interaction information related to the hardware attribute information in the electronic equipment, and determining the attribute information of the hardware in the electronic equipment based on the interaction information.
For example, the electronic device may determine the hardware attribute information in the electronic device by detecting the operating parameters of the internal hardware by itself, based on the detected operating parameters, or the electronic device may determine the current attribute information in the electronic device based on the historical attribute information and update information about the hardware in the electronic device, for example, the electronic device may store the attribute information of each hardware in the device when the electronic device is shipped from a factory, and if the electronic device is replaced halfway, the electronic device may scan the newly replaced hardware to record the attribute information and update the originally recorded attribute information, so that the electronic device may obtain the attribute information of the hardware based on the historical information when determining the guidance information. The electronic device can also at least store attribute information for representing hardware supporting the electronic device to operate the second system in the first system mode, and the electronic device can obtain the attribute information for representing the hardware supporting the electronic device to operate the second system in the first system mode while obtaining the operating parameters of the internal hardware of the electronic device to obtain the attribute information of the internal hardware of the electronic device, so that the electronic device can determine final guide information based on the attribute information of the two types of hardware. Alternatively, the electronic device may obtain the hardware attribute information of the electronic device by interacting with an external device or a server, that is, the hardware attribute information is obtained by the electronic device through a request to the external device.
Specifically, the interaction information in this embodiment includes at least one of the following:
the attribute information of the hardware represents list information supporting the second system to run in the first system mode;
the attribute information of the hardware characterizes list information that supports the second system to operate in the second system mode.
That is, the attribute information of the hardware obtained by the electronic device through interaction with the outside is list information representing that the second system is supported to operate in the first system mode, and the list information may be obtained through, for example, a server, and the like. Similarly, the electronic device may obtain the list information of the latest state by interacting with the server, by representing the list information that the electronic device supports the second system to operate in the second system mode. The electronic equipment obtains the attribute information of the hardware by interacting with the outside, so that the judgment accuracy of the electronic equipment on the guide information can be increased, the electronic equipment is prevented from misjudging, the electronic equipment is prevented from operating an unsupported system mode by mistake, the energy consumption of the equipment is wasted, the starting time of the electronic equipment is prolonged, and the use of a user is inconvenient.
Further, as shown in fig. 3, the determining, by the electronic device in the present embodiment, the guidance information for guiding the second system to operate based on the specific information includes:
s106: acquiring attribute information of hardware in the electronic equipment;
s107: determining candidate boot information based on attribute information of hardware within the electronic device;
s108: and determining the guide information for guiding the second system to operate based on the candidate guide information and the user instruction received in the operation process.
For example, after the electronic device determines, based on the hardware attribute information of the device and the list information that characterizes that the device supports operating the second system in the first system mode or the second system mode, a system mode in which the second system is operable, and further determines candidate boot information, the electronic device may detect whether instruction information of a user is received, for example, whether the electronic device receives instruction information that the user actively changes the system mode of the second system in a BIOS operating stage, for example, whether the user actively changes the system mode of the second system based on the BIOS, so that the first system mode is disabled, the second system mode is enabled, and the like, at this time, the electronic device may determine, from the candidate boot information, boot information that finally meets the instruction of the user based on the instruction information input by the user, so as to boot the second system in the second system mode based on the boot information. If the guidance information matched with the instruction information of the user is not the candidate guidance information, if the electronic device only supports the second system to operate in the second system mode at present and the user inputs the instruction to operate the second system in the first system mode, the electronic device may output the prompt information to the user for selection by the user, or may directly operate the second system in the system mode supported by the hardware and output the prompt information to inform the user of the reason of the operation result. Alternatively, in the BIOS stage, the electronic device may control to output a selection dialog based on the candidate boot information, perform a selection by the user, and determine final boot information from the candidate boot information based on a result of the selection by the user.
Further, as shown in fig. 4, the determining, by the electronic device in this embodiment, the guidance information for guiding the second system to operate based on the specific information further includes:
s301: acquiring attribute information of hardware in the electronic equipment;
s302: determining candidate boot information based on attribute information of hardware within the electronic device;
s303: and determining the guide information for guiding the second system to run based on the candidate guide information and the preset guide information priority relation.
As described above, after the electronic device determines the system mode in which the second system can operate based on the hardware attribute information of the device and the list information indicating that the device supports operating the second system in the first system mode or the second system mode, and further determines the candidate guidance information, the electronic device may determine the final guidance information from the candidate guidance information based on the guidance information priority relationship of the user preset value. If the hardware configuration of the electronic device supports the electronic device to operate the second system in the first system mode or the second system mode, the candidate boot information includes the first boot information and the second boot information, and at this time, the electronic device may determine which boot information is preferred as the final boot information to boot the second system according to the priority relationship of the preset value. If only one candidate piece of guidance information is available, the candidate piece of guidance information may be directly used as the final piece of guidance information.
Further, as shown in fig. 5, after it is determined that the hardware in the electronic device supports the second system to operate in the first system mode, the method in this embodiment further includes:
s401: determining default guiding information;
s402: if the default guiding information is the first guiding information, directly guiding the second system to run by the first guiding information;
s403: and if the default guiding information is second guiding information different from the first guiding information, switching the default guiding information into the first guiding information, and guiding the second system to run by using the first guiding information.
For example, the electronic device is provided with default booting information, which may be information set before the electronic device leaves a factory or information for a subsequent user to change the setting. And after the electronic equipment determines that the current hardware configuration of the electronic equipment supports the second system to operate in the first system mode, determining default guide information of the electronic equipment, and if the default guide information is the first guide information for guiding the second system to operate in the first system mode, directly guiding the second system to operate by using the first guide information. If the default guidance information is second guidance information different from the first guidance information, that is, the default guidance information is second guidance information for guiding the second system to operate in the second system mode, the electronic device switches the guidance information for the second system to operate at this time to the first guidance information, and guides the second system to operate with the first guidance information. In practical application, the electronic device may cut off a power supply circuit of a controller for the second system to operate in the second system mode by controlling the power management module, so that the electronic device is in a disabled state, thereby operating the second system in the first system mode.
As shown in fig. 6, an embodiment of the present application also provides an electronic device, including:
the system comprises a first processing module, a second processing module and a control module, wherein the first processing module is used for operating a first system when the electronic equipment operates in a first stage of a process, and determining guide information for guiding the electronic equipment to operate a second system based on specific information, and the second system at least comprises two system modes;
the second processing module is used for determining a target system mode in at least two system modes based on the guiding information at a second stage of the operation process of the electronic equipment and operating a second system based on the target system mode; wherein at least two different kinds of guidance information can be determined based on the specific information, the at least two different kinds of guidance information corresponding to the at least two kinds of system modes one to one.
For example, the electronic device is a computer or other intelligent device, the first phase is a bottom System operation phase of the electronic device, such as a power-on self-test phase of a BIOS (Basic Input Output System), when the electronic device operates a first System, such as a BIOS System, a UEFI (Unified Extensible Firmware Interface, which is used to replace the BIOS), and the like, in the System operation phase, the first processing module, such as a data processor with relatively low data processing precision, such as an embedded controller, determines boot information for booting the electronic device to operate a second System based on specific information, where the specific information may be information stored in the electronic device or information obtained through interaction with an external device, a server, or a user, and the like, for example, the specific information is attribute information representing current internal hardware of the electronic device, or instruction information input by the user, or instruction information sent to the electronic equipment by the user through electronic equipment such as a mobile phone, or guidance information obtained by interaction between the electronic equipment and a server, and the like. Further, the second System of the electronic device may be an Operating System, such as an OS System (Operating System), a Linux System (Linux System is a set of Unix-like Operating systems that are free to use and spread freely), and the like, and the second System has at least two System modes, for example, a more intelligent Operating mode, a traditional System mode, or a System mode with a higher security level, a traditional System mode, or a System mode more suitable for office use, and a System mode more suitable for game entertainment, that is, at least part of the System of the at least two System modes has different program contents, so that the at least two System modes have different Operating effects, and the user experience brought to the user is different. The guidance information is a plurality of guidance information, and at least part of the guidance information is different in content, so that different guidance information can guide one system mode, for example, first guidance information is used for guiding a first system mode to operate, second guidance information is used for guiding a second system mode to operate, and the like. Further, after the guidance information is determined, the electronic device enters a second operation stage, which may specifically be a stage of entering and stably operating a second system, and the second processing module, for example, may be a high-precision data processor such as a processor and a chip, or may also be a processor with low data precision such as an embedded controller, determines a target system mode from at least two system modes of the second system based on the guidance information determined in the first stage, that is, determines a system mode matching the guidance information, and then controls the second system to operate the target system mode.
Based on the above disclosure, it can be known that the embodiment of the present application provides an electronic device, which supports that a second system has multiple system modes, and can adjust and switch a data processing method for guiding information, which is used for guiding the second system to operate in a target system mode, according to an actual state of the electronic device. That is, the second system of the electronic device may have multiple system modes at the same time, and the electronic device may adjust according to the specific information and switch the guidance information for guiding the second system to operate in different system modes, so that the electronic device may easily and flexibly achieve the technical effect of enabling the second system to operate in different system modes without reinstalling the second system.
Further, the at least two kinds of guidance information in this embodiment include first guidance information and second guidance information, the at least two kinds of system modes include a first system mode and a second system mode, the first guidance information corresponds to the first system mode, and the second guidance information corresponds to the second system mode, that is, the first guidance information is used to guide the second system to operate in the first system mode, and the second guidance information is used to guide the second system to operate in the second system mode. In this embodiment, the first system mode is a system mode supporting the electronic device to implement an intelligent standby, and the second system mode is a system mode supporting the electronic device to implement a traditional standby, where, compared to the traditional standby, when the electronic device is in the intelligent standby state, part of hardware in the electronic device may respond to the trigger instruction and execute a corresponding function.
For example, in the intelligent standby mode, at least one of the sound card, the video card, the network card, and the antenna in the computer is in an activated state, for example, the network card is in an activated state, the computer can receive a message sent to the electronic device by an external device or a server based on the network card, and when the computer receives the message, a Central Processing Unit (CPU) in the computer is activated, or the CPU in the activated state can control the sound card, the video card, and the like in operation to output prompt information, for example, part of content of the message, including a name of a sending end, an attribute of the content of the message, such as a text or a picture, or send a prompt sound to prompt a user to view the message. The conventional standby mode refers to a current conventional standby mode of the computer, in which unprocessed files or programs (i.e., data in the memory) are saved in the hard disk, and unnecessary components such as the memory, the CPU, the graphics card, and the like are turned off to save power.
Further, at least two system modes in the second system in this embodiment need to be pre-installed in a hard disk or other memory of the electronic device. When the two system modes are installed, the first processing module can select a system mode to operate the second system according to specific information.
Further, when determining the guidance information for guiding the electronic device to operate the second system based on the specific information, the first processing module in this embodiment includes:
acquiring attribute information of hardware in the electronic equipment;
and determining the guiding information for guiding the electronic equipment to run the second system based on the attribute information of the hardware in the electronic equipment.
That is, the first processing module determines the guiding information for guiding the electronic device to operate the second system by obtaining the attribute information of each internal hardware or part of internal hardware and identifying and auditing the attribute information. For example, the electronic device may determine, based on the attribute information of the hardware, an operating state of each hardware, a function of each hardware, under which device states each hardware may operate, and the like, and then the first processing module determines which function support is required for the first system mode and the second system mode when the electronic device wants to operate, which hardware having which configuration requirements may perform program support, and the like, and then the electronic device determines, based on the attribute information of the hardware and the operating requirements of each system mode, which system mode the second system may operate in by the current electronic device, and further determines corresponding boot information.
Specifically, in this embodiment, the determining, by the first processing module, guidance information for guiding the electronic device to operate the second system based on the attribute information of the hardware in the electronic device, and operating the second system based on the target system mode by the first processing module include:
if the attribute information of the hardware in the electronic equipment represents that the hardware in the electronic equipment supports to run the second system in the first system mode, determining that the guide information for guiding the electronic equipment to run the second system is the first guide information or the second guide information, and running the second system based on the first system mode or the second system mode;
and if the attribute information of the hardware in the electronic equipment represents that the hardware in the electronic equipment supports to operate the second system in the second system mode, determining the guide information for guiding the electronic equipment to operate the second system as the second guide information, and operating the second system based on the second system mode.
For example, the specific information is hardware information characterizing that the electronic device is supported to operate the second system in the first system mode, the first processing module determines whether the electronic device supports the electronic device to operate the second system in the first system mode based on the hardware information and attribute information of its own hardware, and if so, the electronic device may determine that the first boot information is available, and the electronic device may direct the second system to operate the first system mode based on the first boot information. Since the first system mode in this embodiment is a mode supporting intelligent standby, and the intelligence degree is better than that of the second system mode, that is, the mode supporting conventional standby, the configuration of hardware required for supporting the operation of the first system mode is higher than that of hardware supporting the operation of the conventional standby mode, so if the electronic device can support the operation of the first system mode, the electronic device will also support the operation of the conventional mode, that is, if the electronic device supports the operation of the second system in the first system mode, the electronic device will also support the operation of the second system in the second system mode. Therefore, at this time, the electronic device may also determine second guidance information based on the specific information and guide the second system to operate the second system in the second system mode based on the second guidance information.
If the first processing module learns that the hardware configuration in the electronic device can only support the second system in the second system mode based on the specific information, for example, the current hardware configuration of the electronic device is low and cannot support the first system mode, such as the mode supporting the intelligent standby mode, when the second system is operated, only the second system mode is supported, such as the mode supporting the traditional standby mode, when the second system is operated, the guidance information for the computer electronic device to operate the second system is determined to be the second guidance information, and the second system is operated based on the second system mode.
In this embodiment, obtaining the attribute information of the hardware of the electronic device includes at least one of:
obtaining operation parameters of hardware in the electronic equipment, and determining attribute information of the hardware in the electronic equipment based on the operation parameters;
and obtaining interaction information related to the hardware attribute information in the electronic equipment, and determining the attribute information of the hardware in the electronic equipment based on the interaction information.
For example, the first processing module may determine the hardware attribute information in the electronic device by detecting the operating parameters of the internal hardware by itself, based on the detected operating parameters, or the first processing module may determine the attribute information in the current electronic device based on the historical attribute information and update information about the hardware in the electronic device, for example, the attribute information of each hardware in the device may be stored when the electronic device is shipped from a factory, and if the electronic device is replaced by a user in the middle of the period, the first processing module may scan the newly replaced hardware to record the attribute information thereof, and update the originally recorded attribute information, so that the first processing module may obtain the attribute information of the hardware based on the historical information when determining the guidance information. The first processing module obtains the operating parameters of the internal hardware to obtain the attribute information of the internal hardware, and obtains the attribute information of the hardware which supports the electronic device to operate the second system in the first system mode, so that the first processing module can determine the final guide information based on the attribute information of the two types of hardware. Alternatively, the first processing module may obtain the hardware attribute information of the electronic device by interacting with an external device or a server, that is, the hardware attribute information is obtained by the electronic device through a request to the external device.
Specifically, the interaction information in this embodiment includes at least one of the following:
the attribute information of the hardware represents list information supporting the second system to run in the first system mode;
the attribute information of the hardware characterizes list information that supports the second system to operate in the second system mode.
That is, the attribute information of the hardware obtained by the first processing module through interaction with the outside is list information representing that the second system is supported to operate in the first system mode, and the list information may be obtained through, for example, a server, and the like. Similarly, the electronic device may obtain the list information of the latest state by interacting with the server, by representing the list information that the electronic device supports the second system to operate in the second system mode. The first processing module obtains the attribute information of the hardware by interacting with the outside, so that the judgment accuracy of the electronic equipment on the guide information can be increased, the electronic equipment is prevented from misjudging, the electronic equipment is prevented from operating an unsupported system mode by mistake, the energy consumption of the equipment is wasted, the starting time of the electronic equipment is prolonged, and the use of a user is inconvenient.
Further, the determining, by the first processing module in this embodiment, the guidance information for guiding the second system to operate based on the specific information includes:
acquiring attribute information of hardware in the electronic equipment;
determining candidate boot information based on attribute information of hardware within the electronic device;
and determining the guide information for guiding the second system to operate based on the candidate guide information and the user instruction received in the operation process.
For example, after the first processing module determines, based on the hardware attribute information of the device and the list information representing that the device supports operating the second system in the first system mode or the second system mode, the system mode in which the second system is operable, and further determines the candidate boot information, the first processing module may detect whether instruction information of the user is received, for example, whether the electronic device receives instruction information of a user actively changing the system mode of the second system in the BIOS operating stage, for example, whether the user actively changes the system mode of the second system based on the BIOS, so that the first system mode is disabled, the second system mode is enabled, and the like, at this time, the electronic device may determine, based on the instruction information input by the user, boot information that finally meets the instruction of the user from the candidate boot information, so as to boot the second system in the second system mode based on the boot information. If the guidance information matched with the instruction information of the user is not the candidate guidance information, if the electronic device only supports the second system to operate in the second system mode at present and the user inputs the instruction to operate the second system in the first system mode, the electronic device may output the prompt information to the user for selection by the user, or may directly operate the second system in the system mode supported by the hardware and output the prompt information to inform the user of the reason of the operation result. Alternatively, in the BIOS stage, the first processing module may control to output a selection dialog based on the candidate boot information, perform a selection by the user, and determine final boot information from the candidate boot information based on a result of the selection by the user.
Further, in this embodiment, the determining, by the first processing module based on the specific information, the guidance information for guiding the second system to operate further includes:
acquiring attribute information of hardware in the electronic equipment;
determining candidate boot information based on attribute information of hardware within the electronic device;
and determining the guide information for guiding the second system to run based on the candidate guide information and the preset guide information priority relation.
As described above, after the first processing module determines the system mode in which the second system can operate based on the hardware attribute information of the device and the list information indicating that the device supports operating the second system in the first system mode or the second system mode, and further determines the candidate guidance information, the first processing module may determine the final guidance information from the candidate guidance information based on the guidance information priority relationship of the user preset value. If the hardware configuration of the electronic device supports that it operates the second system in the first system mode or the second system mode, the candidate boot information includes the first boot information and the second boot information, and at this time, the first processing module may determine which boot information is preferred as the final boot information to guide the second system to operate according to the priority relationship of the preset value. If only one candidate piece of guidance information is available, the candidate piece of guidance information may be directly used as the final piece of guidance information.
Further, in this embodiment, after it is determined that the hardware in the electronic device supports the second system to operate in the first system mode, the method further includes:
determining default guiding information;
if the default guiding information is the first guiding information, directly guiding the second system to run by the first guiding information;
and if the default guiding information is second guiding information different from the first guiding information, switching the default guiding information into the first guiding information, and guiding the second system to run by using the first guiding information.
For example, the electronic device is provided with default booting information, which may be information set before the electronic device leaves a factory or information for a subsequent user to change the setting. And after the first processing module determines that the current hardware configuration supports the second system to operate in the first system mode, determining default guide information of the electronic equipment, and if the default guide information is the first guide information for guiding the second system to operate in the first system mode, directly guiding the second system to operate by the first guide information. If the default guidance information is second guidance information different from the first guidance information, that is, the default guidance information is second guidance information for guiding the second system to operate in the second system mode, the first processing module switches the guidance information for the second system to operate at this time to the first guidance information, and guides the second system to operate with the first guidance information. In practical application, the first processing module can cut off a power supply circuit of the controller for the second system to operate in the second system mode by controlling the power management module, so that the power supply circuit is in a disabled state, and the second system can operate in the first system mode.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.
Claims (9)
1. A method of data processing, comprising:
in a first stage of an operation process of the electronic equipment, the electronic equipment operates a first system and determines guiding information for guiding the electronic equipment to operate a second system based on specific information, wherein the second system at least comprises two system modes;
at a second stage of the operation process of the electronic equipment, the electronic equipment determines a target system mode in the at least two system modes based on the guiding information and operates the second system based on the target system mode;
wherein at least two different kinds of guidance information can be determined based on the specific information, the at least two different kinds of guidance information corresponding to at least two kinds of system modes one to one;
determining, based on the specific information, guidance information for guiding the electronic device to operate a second system, including:
obtaining attribute information of hardware in the electronic equipment;
and determining the system mode which can be operated by the second system of the current electronic equipment based on the attribute information of the hardware in the electronic equipment and the program support of the hardware with which configuration requirements of each system mode, and further determining the guide information corresponding to each system mode.
2. The method of claim 1, the at least two different boot information comprising first boot information and second boot information, the at least two system modes comprising a first system mode and a second system mode, the first boot information corresponding to the first system mode, the second boot information corresponding to the second system mode;
determining the guiding information for guiding the electronic device to operate the second system based on the attribute information of the hardware in the electronic device, and operating the second system based on the target system mode, including:
if the attribute information of the hardware in the electronic equipment represents that the hardware in the electronic equipment supports to operate the second system in the first system mode, determining that the guiding information for guiding the electronic equipment to operate the second system is first guiding information or second guiding information, and operating the second system based on the first system mode or the second system mode;
and if the attribute information of the hardware in the electronic equipment represents that the hardware in the electronic equipment supports to operate the second system in the second system mode, determining that the guiding information for guiding the electronic equipment to operate the second system is second guiding information, and operating the second system based on the second system mode.
3. The method of claim 2, the obtaining attribute information of hardware of the electronic device comprising at least one of:
obtaining operation parameters of hardware of the electronic equipment, and determining attribute information of the hardware in the electronic equipment based on the operation parameters;
and obtaining interaction information related to the hardware attribute information of the electronic equipment, and determining the attribute information of hardware in the electronic equipment based on the interaction information.
4. The method of claim 3, the interaction information comprising at least one of:
the attribute information of the hardware represents list information supporting the second system to run in a first system mode;
the attribute information of the hardware characterizes list information supporting the second system to operate in a second system mode.
5. The method of claim 1, the electronic device determining, based on the specific information, guidance information for guiding operation of the second system comprising:
obtaining attribute information of hardware in the electronic equipment;
determining candidate boot information based on attribute information of hardware within the electronic device;
and determining the guide information for guiding the second system to operate based on the candidate guide information and the user instruction received in the operation process.
6. The method of claim 1, the electronic device determining, based on the specific information, guidance information for guiding operation of the second system comprising:
obtaining attribute information of hardware in the electronic equipment;
determining candidate boot information based on attribute information of hardware within the electronic device;
and determining the guide information for guiding the second system to operate based on the candidate guide information and a preset guide information priority relation.
7. The method of claim 2, upon determining that hardware within the electronic device supports operation of the second system in the first system mode, further comprising:
determining default guiding information;
if the default guiding information is first guiding information, directly guiding the second system to run by the first guiding information;
and if the default guiding information is second guiding information different from the first guiding information, switching the default guiding information into the first guiding information, and guiding the second system to run by using the first guiding information.
8. The method of claim 2, wherein the first system mode is a system mode supporting smart standby, and the second system mode is a system mode supporting legacy standby, and wherein part of hardware in the electronic device can respond to a trigger instruction and perform a corresponding function when the electronic device is in smart standby compared to legacy standby.
9. An electronic device, comprising:
the system comprises a first processing module, a second processing module and a control module, wherein the first processing module is used for operating a first system when the electronic equipment operates in a first stage of a process and determining guide information for guiding the electronic equipment to operate a second system based on specific information, and the second system at least comprises two system modes;
a second processing module, configured to determine a target system mode of the at least two system modes based on the guidance information at a second stage of an operation process of the electronic device, and operate the second system based on the target system mode; wherein at least two different kinds of guidance information can be determined based on the specific information, the at least two different kinds of guidance information corresponding to at least two kinds of system modes one to one;
wherein determining, based on the specific information, guidance information for guiding the electronic device to operate the second system includes:
obtaining attribute information of hardware in the electronic equipment;
and determining the system mode which can be operated by the second system of the current electronic equipment based on the attribute information of the hardware in the electronic equipment and the program support of the hardware with which configuration requirements of each system mode, and further determining the guide information corresponding to each system mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911406035.4A CN111158772B (en) | 2019-12-31 | 2019-12-31 | Data processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911406035.4A CN111158772B (en) | 2019-12-31 | 2019-12-31 | Data processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111158772A CN111158772A (en) | 2020-05-15 |
CN111158772B true CN111158772B (en) | 2022-01-14 |
Family
ID=70559856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911406035.4A Active CN111158772B (en) | 2019-12-31 | 2019-12-31 | Data processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111158772B (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1308817C (en) * | 2003-12-29 | 2007-04-04 | 联想(北京)有限公司 | Starting method and device for multiple mode computer system |
JP4677214B2 (en) * | 2004-09-06 | 2011-04-27 | 富士通株式会社 | Program, method and mechanism for collecting panic dump |
US7164982B1 (en) * | 2005-08-15 | 2007-01-16 | Spx Corporation | Automotive scan tools with quick boot method |
CN102662458B (en) * | 2012-04-18 | 2015-07-08 | 华为技术有限公司 | Dynamic energy-saving method and device for PCIE equipment and communication system of PCIE equipment |
CN105049935B (en) * | 2015-07-30 | 2019-08-06 | Tcl集团股份有限公司 | A kind of the screen end procedure management method and system of modularization TV |
CN110442384A (en) * | 2018-05-02 | 2019-11-12 | 姚震 | Device and operation mode switching method with multiple operating mode switching |
-
2019
- 2019-12-31 CN CN201911406035.4A patent/CN111158772B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111158772A (en) | 2020-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7596705B2 (en) | Automatically controlling processor mode of multi-core processor | |
KR101596222B1 (en) | Method and apparatus for controlling operation of booting for video image reproducing apparatus | |
US6928543B2 (en) | System for real-time adaptation to changes in display configuration | |
CN109542744B (en) | Method, device, storage medium and terminal for detecting abnormal starting problem of terminal | |
US8775845B2 (en) | Information processing device, power supply control method and storage medium | |
US8099589B2 (en) | System and method for rapid boot of secondary operating system | |
US9554187B2 (en) | Smart television system and turn-on and turn-off method thereof | |
KR101739501B1 (en) | A power saving method of a computer system | |
CN108427885B (en) | Basic input output system updating method and device | |
CN113517996B (en) | Network card equipment polling method, system and related device | |
EP3889735A1 (en) | Information processing apparatus and control method | |
US10248431B2 (en) | System and method for presenting driver install files when enabling a USB device | |
EP2801904A2 (en) | An electronic apparatus and a method of controlling the same | |
JP4409681B2 (en) | Information processing apparatus and memory control method for information processing apparatus | |
US20150277931A1 (en) | Computer system and operating method | |
CN107766218B (en) | System optimization method and device, storage medium and terminal equipment | |
CN111885420B (en) | Standby protection method and device, smart television and readable storage medium | |
CN111158772B (en) | Data processing method and electronic equipment | |
CN112988246A (en) | System switching method and device, electronic equipment and storage medium | |
CN107357400B (en) | Method for automatically starting up hard disk with specified operating system type | |
US20140181492A1 (en) | Method of booting an electronic system and an electronic system applying the same | |
JP2019207551A (en) | Information processing device, control method, and program | |
CN114546612A (en) | System mode switching method and electronic equipment | |
CN111399921A (en) | Switching method, device and equipment for server boot logo | |
CN115061976A (en) | Address configuration method, device, carrier board, core board, server and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |