CN111930659A - Information processing method, electronic equipment and computer storage medium - Google Patents

Information processing method, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN111930659A
CN111930659A CN202010718416.2A CN202010718416A CN111930659A CN 111930659 A CN111930659 A CN 111930659A CN 202010718416 A CN202010718416 A CN 202010718416A CN 111930659 A CN111930659 A CN 111930659A
Authority
CN
China
Prior art keywords
controller
starting
instruction
electronic device
hardware module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010718416.2A
Other languages
Chinese (zh)
Other versions
CN111930659B (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 CN202010718416.2A priority Critical patent/CN111930659B/en
Publication of CN111930659A publication Critical patent/CN111930659A/en
Application granted granted Critical
Publication of CN111930659B publication Critical patent/CN111930659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Systems (AREA)

Abstract

The embodiment of the application discloses an information processing method, which comprises the following steps: under the condition that a signal switching device on a first controller of the electronic equipment establishes communication connection between a host controller interface and universal serial bus slave equipment, receiving a first starting instruction sent by the universal serial bus slave equipment through the host controller interface; the first controller is integrated with a signal switching device and a host controller interface; responding to the first starting instruction through the first controller to execute the starting operation; the electronic device can also receive a second starting-up instruction through the self starting-up power interface, and the second starting-up instruction is used for indicating the electronic device to execute the starting-up operation. The embodiment of the application also discloses an electronic device and a computer storage medium.

Description

Information processing method, electronic equipment and computer storage medium
Technical Field
The present application relates to, but not limited to, the field of computer technologies, and in particular, to an information processing method, an electronic device, and a computer storage medium.
Background
In the related art, with the development of the computer industry, peripheral devices such as usb slave devices of electronic devices are increasing. At present, when the electronic equipment is in a shutdown state, the universal serial bus slave equipment cannot work. Therefore, how to turn on the electronic device from the device through the usb has become an urgent problem to be solved when the electronic device is in the power-off state.
Disclosure of Invention
Embodiments of the present application are intended to provide an information processing method, an electronic device, and a computer storage medium.
The technical scheme of the application is realized as follows:
an information processing method, the method comprising:
under the condition that a signal switching device on a first controller of the electronic equipment establishes communication connection between a host controller interface and universal serial bus slave equipment, receiving a first starting instruction sent by the universal serial bus slave equipment through the host controller interface; the first controller is integrated with a signal switching device and the host controller interface;
responding to the first starting instruction through the first controller to execute starting operation;
the electronic equipment can also receive a second starting-up instruction through a self starting-up power interface, wherein the second starting-up instruction is used for indicating the electronic equipment to execute starting-up operation.
Optionally, the responding, by the first controller, to the first boot instruction to execute a boot operation includes:
initializing a first hardware module of the electronic equipment through the first controller, and obtaining first configuration information of the first hardware module;
reading the first configuration information stored in a memory of the electronic equipment through a converter of the electronic equipment; wherein the converter is connected with the memory;
and executing the starting-up operation based on the first configuration information.
Optionally, after the first controller responds to the first boot instruction to perform a boot operation, the method further includes:
receiving a shutdown instruction;
and responding to the shutdown instruction, storing the first configuration information of the first hardware module, and closing the electronic equipment.
Optionally, after the electronic device is turned off, the method further includes:
receiving the first starting-up instruction through the host controller interface under the condition that the signal switching device establishes communication connection between the host controller and the universal serial bus slave equipment;
obtaining second configuration information of a second hardware module, and/or initializing a third hardware module through the first controller, and obtaining third configuration information of the initialized third hardware module; wherein the first hardware module comprises the second hardware module and/or the third hardware module, and the first configuration information comprises the second configuration information and/or the third configuration information;
and reading the first configuration information from the memory through the converter;
and executing the starting-up operation based on the first configuration information.
Optionally, after the first controller responds to the first boot instruction to perform a boot operation, the method further includes:
establishing a communication connection between the universal serial bus slave device and a second controller of the electronic device through the signal switching device;
and receiving a control instruction sent by the universal serial bus slave equipment through the second controller and executing the control instruction.
Optionally, the control instruction includes a mode switching instruction, and the executing the control instruction includes:
and switching a fourth hardware module of the electronic equipment from a first working mode to a second working mode through the second controller, wherein the operating parameters of the fourth hardware module in the first working mode are different from those in the second working mode.
Optionally, before the fourth hardware module of the electronic device is switched from the first operating mode to the second operating mode by the second controller, the method further includes:
obtaining the first working mode sent by the universal serial bus slave device, wherein the first working mode is read by a driving module of the universal serial bus slave device from an interface associated with a firmware system of the electronic device.
Optionally, before the receiving, by the second controller, the control instruction sent by the usb slave device, the method further includes:
starting an interface associated with a firmware system of the electronic equipment;
and if the control instruction sent by the universal serial bus slave equipment is received through the second controller, informing a driving module of the universal serial bus slave equipment to read the first working mode from an interface associated with the firmware system.
An electronic device, the electronic device comprising:
the first controller is integrated with a signal switching device and a host controller interface and is used for receiving a first starting instruction sent by a universal serial bus slave device through the host controller interface under the condition that the signal switching device on the first controller establishes communication connection between the host controller interface and the universal serial bus slave device;
the first controller is also used for responding to the first starting instruction to execute starting operation;
the electronic equipment can also receive a second starting-up instruction through a self starting-up power interface, wherein the second starting-up instruction is used for indicating the electronic equipment to execute starting-up operation.
A computer storage medium having one or more programs stored thereon that are responsive to one or more controllers to implement the steps of the method of information processing described above.
In the information processing method, the electronic device, and the computer storage medium provided in the embodiments of the present application, when a signal switching device on a first controller of the electronic device establishes a communication connection between a host controller interface and a usb slave device, a first power-on instruction sent by the usb slave device is received through the host controller interface; the first controller is integrated with a signal switching device and a host controller interface; responding to the first starting instruction through the first controller to execute the starting operation; the electronic equipment can also receive a second starting-up instruction through the self starting-up power interface, and the second starting-up instruction is used for indicating the electronic equipment to execute starting-up operation; that is to say, the first controller of the electronic device provided by the present application integrates the signal switching device and the host controller interface, the signal switching device establishes a communication connection between the host controller interface and the usb slave device when the electronic device is in the shutdown state, thereby ensuring that the host controller interface can receive the first power-on instruction sent by the usb slave device when the electronic device is in the shutdown state, and then responding to the first power-on instruction by the first controller to execute the power-on operation.
Drawings
Fig. 1 is a first flowchart illustrating an information processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating an information processing method according to an embodiment of the present application;
fig. 3 is a third schematic flowchart of an information processing method according to an embodiment of the present application;
fig. 4 is a fourth schematic flowchart of an information processing method according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a connection between an electronic device and a USB slave device according to an embodiment of the present application;
fig. 6 is a fifth flowchart illustrating an information processing method according to an embodiment of the present application;
fig. 7 is a schematic flowchart illustrating switching of an operating mode of a hardware module of an electronic device according to an embodiment of the present application;
fig. 8 is an interface diagram illustrating switching of an operation mode of a hardware module of an electronic device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of 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.
An embodiment of the present application provides an information processing method applied to an electronic device, and as shown in fig. 1, the method includes the following steps:
step 101, receiving a first boot instruction sent by a universal serial bus slave device through a host controller interface under the condition that a signal switching device on a first controller of an electronic device establishes communication connection between the host controller interface and the universal serial bus slave device.
In an embodiment of the present application, an electronic device includes a first controller, and the first controller is integrated with a signal switching device and a host controller interface.
In some embodiments, when the usb slave device is connected to the electronic device in a wired or wireless manner, and the electronic device is in a power-off state, the signal switching device is configured to establish a communication connection between the usb slave device and a host controller interface on a first controller of the electronic device, so as to enable the electronic device to be turned on through the usb slave device when the electronic device is in the power-off state.
In practical applications, when the signal switching device on the first controller of the electronic device establishes a communication connection between the host controller interface and the usb slave device, the electronic device is in a power-off state, and at this time, the electronic device may receive a first power-on instruction sent by the usb slave device through the host controller interface, where the first power-on instruction is used to instruct the electronic device to perform a power-on operation.
In other embodiments, in the case that the usb slave device is connected to the electronic device in a wired or wireless manner, the signal switching device is further configured to establish a communication connection between the usb slave device and a second controller of the electronic device, so as to support the functions of the usb slave device when the electronic device is in the power-on state.
The electronic equipment comprises terminal equipment such as but not limited to a all-in-one machine, a desktop machine, an industrial control computer and the like. Universal serial bus USB slave devices include, but are not limited to, at least one of: USB keyboard, USB mouse, USB joystick, USB display, USB camera.
The first power-on command sent by the USB slave device comprises a command generated by executing power-on operation aiming at the USB slave device. For example, an instruction generated by pressing at least one key of the USB keyboard; pressing the USB mouse based on a preset pressing strategy to generate an instruction; changing the command generated by the gesture of the USB joystick; the USB camera collects instructions generated by preset images.
That is to say, when the electronic device is in a shutdown state, the USB slave device generates a first power-on instruction in response to a power-on operation executed for the USB slave device, and then the USB slave device sends the first power-on instruction to a host controller interface on a first controller of the electronic device, and further, the electronic device receives the first power-on instruction sent by the USB slave device through the host controller interface.
Step 102, responding to the first boot instruction through the first controller to execute the boot operation.
In the embodiment of the application, when the electronic device is in a shutdown state and receives a first startup instruction sent by the USB slave device through the host controller interface, the electronic device responds to the first startup instruction through the first controller to execute a startup operation and start the electronic device, so that the purpose of starting the electronic device through the USB slave device is achieved when the electronic device is in the shutdown state.
The electronic device can also receive a second starting-up instruction through the self starting-up power interface, and the second starting-up instruction is used for indicating the electronic device to execute the starting-up operation.
In the embodiment of the application, the electronic device supports two startup modes, one is a mode of starting up the slave device based on the USB, and the other is a mode of starting up the slave device based on the own startup power interface of the electronic device, and the two modes can both start up the electronic device.
In the information processing method provided by the embodiment of the application, a first boot instruction sent by a universal serial bus slave device is received through a host controller interface under the condition that a signal switching device on a first controller of an electronic device establishes communication connection between the host controller interface and the universal serial bus slave device; the first controller is integrated with a signal switching device and a host controller interface; responding to the first starting instruction through the first controller to execute the starting operation; the electronic equipment can also receive a second starting-up instruction through the self starting-up power interface, and the second starting-up instruction is used for indicating the electronic equipment to execute starting-up operation; that is to say, the first controller of the electronic device provided by the present application integrates the signal switching device and the host controller interface, the signal switching device establishes a communication connection between the host controller interface and the usb slave device when the electronic device is in the shutdown state, thereby ensuring that the host controller interface can receive the first power-on instruction sent by the usb slave device when the electronic device is in the shutdown state, and then responding to the first power-on instruction by the first controller to execute the power-on operation.
An embodiment of the present application provides an information processing method applied to an electronic device, and as shown in fig. 2, the method includes the following steps:
step 201, in a case that a signal switching device on a first controller of an electronic device establishes a communication connection between a host controller interface and a universal serial bus slave device, receiving a first power-on instruction sent by the universal serial bus slave device through the host controller interface.
The first controller is integrated with a signal switching device and a host controller interface.
In this embodiment of the application, when the electronic device is in the power-off state and receives the first power-on command sent by the usb slave device through the host controller interface, the electronic device responds to the first power-on command and executes steps 202 to 203 to turn on the electronic device.
For example, in the case where the USB slave device is a USB keyboard, the first power-on instruction sent by the USB keyboard may be an instruction generated in response to a pressing operation performed on a Hot Key (Hot Key), i.e., a combination Key, of the keyboard.
Step 202, initializing a first hardware module of the electronic device through the first controller, obtaining first configuration information of the first hardware module, and reading the first configuration information stored in a memory of the electronic device through a converter of the electronic device.
Wherein the converter is connected with the memory.
In the embodiment of the application, a first controller of the electronic device is integrated with a signal switching device and a host controller interface, and meanwhile, a memory is hung below a converter of the electronic device and stores configuration information of a hardware module needing to be initialized in the starting process. Based on the improvement of the hardware structure, the electronic device responds to the first start instruction, initializes the first hardware module of the electronic device through the first controller, and simultaneously, the electronic device synchronously reads the first configuration information stored in the memory of the electronic device through the converter.
Step 203, executing the boot operation based on the first configuration information.
The electronic device can also receive a second starting-up instruction through the self starting-up power interface, and the second starting-up instruction is used for indicating the electronic device to execute the starting-up operation.
For example, taking the first Controller as an Embedded Controller (EC) as an example, the conventional design is that the EC needs to write configuration information of an all-in-one Panel (AIO Panel) into a Converter integrated circuit (Converter IC) every time the EC is started, and this process may take about 600 ms. For example, the first controller may also be a controller (Embedded controller Super Input/Output, ESIO) that combines the Input/Output function and the function of the Embedded controller, and similarly, the controller may read the information of the EEPEOM synchronously when the controller no longer occupies the ESIO time at the time of booting.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
An embodiment of the present application provides an information processing method applied to an electronic device, and as shown in fig. 3, the method includes the following steps:
step 301, receiving a first power-on command sent by a usb slave device through a host controller interface when a signal switching device on a first controller of an electronic device establishes a communication connection between the host controller interface and the usb slave device.
The first controller is integrated with a signal switching device and a host controller interface.
Step 302, initializing a first hardware module of the electronic device through the first controller, obtaining first configuration information of the first hardware module, and reading the first configuration information stored in a memory of the electronic device through a converter of the electronic device.
Wherein the converter is connected with the memory.
Step 303, executing a boot operation based on the first configuration information.
The electronic device can also receive a second starting-up instruction through the self starting-up power interface, and the second starting-up instruction is used for indicating the electronic device to execute the starting-up operation.
Step 304, receive a shutdown command.
In the embodiment of the application, the electronic device generates a shutdown instruction in response to a shutdown operation executed for the electronic device, and the shutdown instruction is used for shutting down the electronic device. The shutdown operation includes, but is not limited to, a pressing operation for a physical shutdown key of the electronic device, and a clicking operation for a virtual shutdown key of the electronic device.
Step 305, responding to the shutdown instruction, storing the first configuration information of the first hardware module, and shutting down the electronic device.
In the embodiment of the application, the electronic device responds to the shutdown instruction when receiving the shutdown instruction, stores the first configuration information of the first hardware module, and shuts down the electronic device. In the shutdown process, the electronic device stores first configuration information of the initialized first hardware module in a scene that the electronic device is started through the USB slave device, so that at least partial modules in the first hardware module are not initialized any more when the electronic device is started through the USB slave device next time, the first configuration information is directly acquired, operations to be executed in the startup process are saved, and the startup rate is improved.
Step 306, receiving a first boot instruction through the host controller interface when the signal switching device establishes a communication connection between the host controller and the usb slave device.
And 307, acquiring second configuration information of the stored second hardware module, and/or initializing a third hardware module through the first controller, acquiring third configuration information of the initialized third hardware module, and reading the first configuration information from the memory through the converter.
The first hardware module comprises a second hardware module and/or a third hardware module, and the first configuration information comprises second configuration information and/or third configuration information.
Here, when the electronic device is turned on again from the device via the USB, at least a part of the first hardware module is not initialized. That is to say, when the electronic device is turned on again by the USB slave device, the operation of initializing the hardware module may be skipped, and the stored second configuration information of the second hardware module may be directly obtained. Alternatively, only the third hardware module of the first hardware modules may be initialized by the first controller when the electronic device is turned on again from the device through the USB. Therefore, the time occupied by the initialization operation is saved, and the starting speed is improved.
Step 308, executing the boot operation based on the first configuration information.
In the embodiment of the application, when the electronic device is turned on again from the device through the USB, at least a part of the modules in the first hardware module is not initialized any more, and the boot operation is executed based on the stored first configuration information.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
An embodiment of the present application provides an information processing method applied to an electronic device, and as shown in fig. 4, the method includes the following steps:
step 401, in a situation that the signal switching device on the first controller of the electronic device establishes a communication connection between the host controller interface and the usb slave device, receive a first power-on instruction sent by the usb slave device through the host controller interface.
Step 402, responding to the first boot instruction by the first controller to execute a boot operation.
The electronic device can also receive a second starting-up instruction through the self starting-up power interface, and the second starting-up instruction is used for indicating the electronic device to execute the starting-up operation.
And step 403, establishing a communication connection between the universal serial bus slave device and a second controller of the electronic device through the signal switching device.
In an embodiment of the present application, an electronic device includes a first controller and a second controller, where the first controller is integrated with a signal switching device and a host controller interface.
Under the condition that the universal serial bus slave device is in wired connection or wireless connection with the electronic device, when the electronic device is in a power-off state, the signal switching device is used for establishing communication connection between the universal serial bus slave device and a host controller interface on a first controller of the electronic device, and further the function of starting the electronic device through the universal serial bus slave device is achieved when the electronic device is in the power-off state. After the electronic equipment is started through the universal serial bus slave equipment, the electronic equipment establishes communication connection between the universal serial bus slave equipment and a second controller of the electronic equipment through the signal switching device, so that after the electronic equipment is started, the universal serial bus slave equipment realizes functions different from the starting of the electronic equipment.
And step 404, receiving a control instruction sent by the universal serial bus slave device through the second controller and executing the control instruction.
Illustratively, referring to FIG. 5, the USB slave device is a USB keyboard, i.e., USB KB51, the electronic device 52 includes a first controller, e.g., ESIO521, the ESIO521 integrates a signal switch device USB switch (not shown in FIG. 5) and a host controller interface USB1.1 host522, and the electronic device 52 further includes a second controller PCH523, the ESIO521 connects with the PCH 523. The electronic device 52 further includes a Converter such as Converter524 and a memory such as EEPEOM525, the Converter524 being coupled to the ESIO 521. Here, as further described with reference to fig. 5, when the electronic device 52 is in the power-off state, the electronic device 52 establishes a communication connection between the USB KB51 and the USB1.1 host522 through the USB switch, and then the electronic device 52 receives the first power-on command sent by the USB KB51 through the USB1.1 host522, so as to implement the function of turning on the electronic device 52 through the USB KB51 when the electronic device 52 is in the power-off state. Further, in the process that the electronic device 52 executes the first power-on instruction, the ESIO521 initializes a first hardware module (not shown in fig. 5) of the electronic device 52, such as a graphics card, a memory, a USB module, an FTPM, and the like, obtains first configuration information of the first hardware module, and reads the first configuration information stored in the EEPEOM525 through the switcher 524, so as to save power-on time. After the electronic device 52 is turned on in response to the first power-on command, the USB KB51 is connected to the PCH523 through the USB switch, so as to support other functions of the USB KB51, such as information input, different from turning on the electronic device, when the electronic device 52 is in the power-on state. Finally, when the electronic device 52 receives a shutdown instruction, the electronic device 52 responds to the shutdown instruction, stores the first configuration information of the first hardware module, and closes the electronic device 52, so that at least part of the first hardware module is not initialized when the electronic device 52 is turned on next time through the USB KB51, thereby achieving an effect of extremely fast startup.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
An embodiment of the present application provides an information processing method applied to an electronic device, and as shown in fig. 6, the method includes the following steps:
step 601, receiving a first boot instruction sent by a universal serial bus slave device through a host controller interface under the condition that a signal switching device on a first controller of an electronic device establishes communication connection between the host controller interface and the universal serial bus slave device.
The first controller is integrated with a signal switching device and a host controller interface.
Step 602, responding to the first boot command by the first controller to execute a boot operation.
The electronic device can also receive a second starting-up instruction through the self starting-up power interface, and the second starting-up instruction is used for indicating the electronic device to execute the starting-up operation.
Step 603, establishing a communication connection between the universal serial bus slave device and a second controller of the electronic device through the signal switching device.
And step 604, receiving a mode switching command sent by the universal serial bus slave device through the second controller.
In this embodiment of the application, after the electronic device is turned on by the usb slave device, the electronic device establishes a communication connection between the usb slave device and a second controller of the electronic device through the signal switching device, and further, the electronic device may receive a mode switching instruction sent by the usb slave device through the second controller, where the mode switching instruction is used to switch a working mode of a fourth hardware module of the electronic device.
Step 605, the fourth hardware module of the electronic device is switched from the first operating mode to the second operating mode through the second controller.
And the operating parameters of the fourth hardware module in the first working mode are different from those in the second working mode.
In the embodiment of the application, when the electronic device receives a mode switching instruction sent by the universal serial bus slave device through the second controller, in response to the mode switching instruction, the fourth hardware module of the electronic device is switched from the first working mode to the second working mode through the second controller, so that the working mode of the fourth hardware module of the electronic device is changed through the universal serial bus slave device, and the mode is switched easily and quickly.
In this embodiment of the application, before the step 605 switches the fourth hardware module of the electronic device from the first operating mode to the second operating mode through the second controller, the electronic device may further perform the following steps: a first operating mode of the usb slave device is obtained. The first working mode is that a driving module of the universal serial bus slave device reads from an interface associated with a firmware system of the electronic device.
Here, when the electronic device receives the mode switching instruction sent by the usb slave device through the second controller, the electronic device notifies the driver module of the usb slave device to read the current operating mode of the fourth hardware module, that is, the first operating mode, in response to the mode switching instruction. Further, the electronic device obtains a first operating mode transmitted by the universal serial bus slave device.
In this embodiment of the application, before the step 604 receives, by the second controller, the mode switching instruction sent by the usb slave device, the electronic device may further perform the following steps:
first, an interface associated with a firmware system of the electronic device is started.
Here, the interface associated with the firmware System of the electronic device includes, but is not limited to, a Windows Management Instruction (WMI) interface of a Basic Input Output System (BIOS).
Secondly, if a control instruction sent by the universal serial bus slave device is received through the second controller, a driving module of the universal serial bus slave device is informed to read the first working mode from an interface associated with the firmware system.
Here, after the electronic device starts an interface associated with a firmware system of the electronic device, a control instruction sent by the usb slave device notifies a driver module of the usb slave device to read a first operating mode from the interface associated with the firmware system, so that the electronic device switches to a second operating mode different from the first operating mode when executing the control instruction, such as a mode switching instruction.
For example, after the USB keyboard, that is, the USB KB, is used as the USB slave device, and the electronic device starts a WMI interface of its BIOS, as shown in fig. 7, a Hot Key command 71 sent by the USB KB, for example, FN + Q, notifies the keyboard driver, and the keyboard driver reads the first working mode 72 of the fan through the WMI interface, and sets the second working mode 73 of the fan, so as to implement switching between different modes of the DPTF. Referring to fig. 8, before and after the electronic device performs the switching of the operation mode, a real-time operation mode may be displayed, for example, a first icon 81 corresponding to the first operation mode indicates that the fan operates at a high speed, and a second icon 82 corresponding to the second operation mode indicates that the fan operates at a low speed. Therefore, the communication interface between the keyboard and the BIOS is accessed through the software interface, and the quick switching of the working mode of the hardware module of the electronic equipment is realized through the Hot Key.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
An embodiment of the present application provides an electronic device, which may be applied to the information processing method provided in the embodiments corresponding to fig. 1 to 4 and 6, and as shown in fig. 9, the electronic device 9 (the electronic device 9 in fig. 9 corresponds to the electronic device 5 in fig. 5) includes:
a first controller 91;
a second controller 92 connected to the first controller 91;
a converter 93 connected to the first controller 91;
a memory 94 connected to the converter 93;
the first controller 91 is integrated with a signal switching device and a host controller interface, and is configured to receive, through the host controller interface, a first power-on instruction sent by the usb slave device when the signal switching device on the first controller 91 establishes a communication connection between the host controller interface and the usb slave device;
the first controller 91 is further configured to respond to the first boot instruction to perform a boot operation;
the electronic device can also receive a second starting-up instruction through the self starting-up power interface, and the second starting-up instruction is used for indicating the electronic device to execute the starting-up operation.
In other embodiments of the present application, the first controller 91 is further configured to initialize a first hardware module of the electronic device, and obtain first configuration information of the first hardware module; meanwhile, a converter 93 for reading the first configuration information stored in the memory 94; further, the first controller 91 is further configured to perform a power-on operation based on the first configuration information.
In other embodiments of the present application, the electronic device 9 further comprises: a processor 95 connected to the first controller 91, for receiving a shutdown instruction; and responding to a shutdown instruction, storing first configuration information of the first hardware module, and closing the electronic equipment.
In other embodiments of the present application, the host controller interface is configured to receive the first power-on command when the signal switching device establishes a communication connection between the host controller and the usb slave device.
In other embodiments of the present application, the first controller 91 is further configured to obtain second configuration information of the second hardware module, and/or initialize a third hardware module through the first controller to obtain third configuration information of the initialized third hardware module; the first hardware module comprises a second hardware module and/or a third hardware module, and the first configuration information comprises second configuration information and/or third configuration information;
reading the first configuration information from the memory through the converter;
in other embodiments of the present application, the first controller 91 is further configured to perform a power-on operation based on the first configuration information.
In other embodiments of the present application, the signal switching device is configured to establish a communication connection between the usb slave device and the second controller 92 of the electronic device after the first controller 91 responds to the first power-on command to perform the power-on operation.
And the second controller 92 is used for receiving the control instruction sent by the universal serial bus slave device and executing the control instruction.
In other embodiments of the present application, the second controller 92 is configured to switch a fourth hardware module of the electronic device from a first operating mode to a second operating mode, where the operating parameters of the fourth hardware module in the first operating mode and the operating parameters of the fourth hardware module in the second operating mode are different
In other embodiments of the present application, the first controller 91 is further configured to obtain a first operation mode sent by the usb slave device, where the first operation mode is read by a driver module of the usb slave device from an interface associated with a firmware system of the electronic device.
In other embodiments of the present application, the first controller 91 is further configured to start an interface associated with a firmware system of the electronic device;
and if the second controller receives a control instruction sent by the universal serial bus slave equipment, informing a driving module of the universal serial bus slave equipment to read the first working mode from an interface associated with the firmware system.
The first controller of the electronic device provided by the embodiment of the application is integrated with the signal switching device and the host controller interface, the signal switching device establishes communication connection between the host controller interface and the universal serial bus slave device when the electronic device is in a shutdown state, and then ensures that the host controller interface can receive a first startup instruction sent by the universal serial bus slave device when the electronic device is in the shutdown state, and then responds to the first startup instruction through the first controller to execute startup operation. Moreover, the memory is hung below the converter of the electronic equipment, so that the operation that the first controller writes the configuration information into the converter first in the starting process is avoided, and the starting time is saved; furthermore, when the electronic device is powered off, the configuration information of the hardware module initialized when the electronic device is started through the universal serial bus slave device is stored, so that at least part of the initialized hardware module is not initialized any more when the electronic device is powered on again through the universal serial bus slave device, and the power-on rate is improved.
Embodiments of the application provide a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
under the condition that a signal switching device on a first controller of the electronic equipment establishes communication connection between a host controller interface and universal serial bus slave equipment, receiving a first starting instruction sent by the universal serial bus slave equipment through the host controller interface; the first controller is integrated with a signal switching device and a host controller interface;
responding to the first starting instruction through the first controller to execute the starting operation;
the electronic device can also receive a second starting-up instruction through the self starting-up power interface, and the second starting-up instruction is used for indicating the electronic device to execute the starting-up operation.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
initializing a first hardware module of the electronic equipment through a first controller to obtain first configuration information of the first hardware module;
reading first configuration information stored in a memory of the electronic equipment through a converter of the electronic equipment; wherein the converter is connected with the memory;
and executing the starting-up operation based on the first configuration information.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
receiving a shutdown instruction;
and responding to a shutdown instruction, storing first configuration information of the first hardware module, and closing the electronic equipment.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
under the condition that the signal switching device establishes communication connection between the host controller and the universal serial bus slave equipment, receiving a first starting instruction through a host controller interface;
obtaining second configuration information of the second hardware module, and/or initializing a third hardware module through the first controller to obtain third configuration information of the initialized third hardware module; the first hardware module comprises a second hardware module and/or a third hardware module, and the first configuration information comprises second configuration information and/or third configuration information;
reading the first configuration information from the memory through the converter;
and executing the starting-up operation based on the first configuration information.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
establishing communication connection between the universal serial bus slave equipment and a second controller of the electronic equipment through the signal switching device;
and receiving the control instruction sent by the universal serial bus slave device through the second controller and executing the control instruction.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
and switching a fourth hardware module of the electronic equipment from a first working mode to a second working mode through a second controller, wherein the operating parameters of the fourth hardware module in the first working mode are different from those in the second working mode.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
and obtaining a first working mode sent by the universal serial bus slave device, wherein the first working mode is read by a driving module of the universal serial bus slave device from an interface associated with a firmware system of the electronic device.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
starting an interface associated with a firmware system of the electronic equipment;
and if the second controller receives a control instruction sent by the universal serial bus slave equipment, informing a driving module of the universal serial bus slave equipment to read the first working mode from an interface associated with the firmware system.
By way of example, the Processor may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor or the like.
It should be noted that, a specific implementation process of the steps executed by the processor in this embodiment may refer to implementation processes in the information processing method provided in embodiments corresponding to fig. 1 to 4 and 6, and details are not described here.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which respond via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (10)

1. An information processing method, the method comprising:
under the condition that a signal switching device on a first controller of the electronic equipment establishes communication connection between a host controller interface and universal serial bus slave equipment, receiving a first starting instruction sent by the universal serial bus slave equipment through the host controller interface; the first controller is integrated with a signal switching device and the host controller interface;
responding to the first starting instruction through the first controller to execute starting operation;
the electronic equipment can also receive a second starting-up instruction through a self starting-up power interface, wherein the second starting-up instruction is used for indicating the electronic equipment to execute starting-up operation.
2. The method of claim 1, the responding to the first power-on instruction by the first controller to perform a power-on operation, comprising:
initializing a first hardware module of the electronic equipment through the first controller, and obtaining first configuration information of the first hardware module;
reading the first configuration information stored in a memory of the electronic equipment through a converter of the electronic equipment; wherein the converter is connected with the memory;
and executing the starting-up operation based on the first configuration information.
3. The method of claim 2, after said responding, by the first controller, to the first power-on instruction to perform a power-on operation, the method further comprising:
receiving a shutdown instruction;
and responding to the shutdown instruction, storing the first configuration information of the first hardware module, and closing the electronic equipment.
4. The method of claim 3, after the powering down the electronic device, the method further comprising:
receiving the first starting-up instruction through the host controller interface under the condition that the signal switching device establishes communication connection between the host controller and the universal serial bus slave equipment;
obtaining second configuration information of a second hardware module, and/or initializing a third hardware module through the first controller, and obtaining third configuration information of the initialized third hardware module; wherein the first hardware module comprises the second hardware module and/or the third hardware module, and the first configuration information comprises the second configuration information and/or the third configuration information;
and reading the first configuration information from the memory through the converter;
and executing the starting-up operation based on the first configuration information.
5. The method of claim 1, after said responding, by the first controller, to the first power-on instruction to perform a power-on operation, the method further comprising:
establishing a communication connection between the universal serial bus slave device and a second controller of the electronic device through the signal switching device;
and receiving a control instruction sent by the universal serial bus slave equipment through the second controller and executing the control instruction.
6. The method of claim 5, the control instruction comprising a mode switch instruction, the executing the control instruction comprising:
and switching a fourth hardware module of the electronic equipment from a first working mode to a second working mode through the second controller, wherein the operating parameters of the fourth hardware module in the first working mode are different from those in the second working mode.
7. The method of claim 6, prior to switching a fourth hardware module of the electronic device from a first mode of operation to a second mode of operation by the second controller, the method further comprising:
obtaining the first working mode sent by the universal serial bus slave device, wherein the first working mode is read by a driving module of the universal serial bus slave device from an interface associated with a firmware system of the electronic device.
8. The method of claim 7, prior to receiving, by the second controller, the control instruction sent by the universal serial bus slave device, the method further comprising:
starting an interface associated with a firmware system of the electronic equipment;
and if the control instruction sent by the universal serial bus slave equipment is received through the second controller, informing a driving module of the universal serial bus slave equipment to read the first working mode from an interface associated with the firmware system.
9. An electronic device, the electronic device comprising:
the first controller is integrated with a signal switching device and a host controller interface and is used for receiving a first starting instruction sent by a universal serial bus slave device through the host controller interface under the condition that the signal switching device on the first controller establishes communication connection between the host controller interface and the universal serial bus slave device;
the first controller is also used for responding to the first starting instruction to execute starting operation;
the electronic equipment can also receive a second starting-up instruction through a self starting-up power interface, wherein the second starting-up instruction is used for indicating the electronic equipment to execute starting-up operation.
10. A computer storage medium storing one or more programs, the one or more programs being responsive to one or more controllers to implement the steps of the method of information processing according to any one of claims 1 to 8.
CN202010718416.2A 2020-07-23 2020-07-23 Information processing method, electronic equipment and computer storage medium Active CN111930659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010718416.2A CN111930659B (en) 2020-07-23 2020-07-23 Information processing method, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010718416.2A CN111930659B (en) 2020-07-23 2020-07-23 Information processing method, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN111930659A true CN111930659A (en) 2020-11-13
CN111930659B CN111930659B (en) 2022-07-26

Family

ID=73314519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010718416.2A Active CN111930659B (en) 2020-07-23 2020-07-23 Information processing method, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN111930659B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860498A (en) * 2021-01-29 2021-05-28 紫光展讯通信(惠州)有限公司 Test method, device, equipment and system for configuration channel
CN114090309A (en) * 2021-10-19 2022-02-25 荣耀终端有限公司 Method and device for repairing WMI service

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5907491A (en) * 1996-08-23 1999-05-25 Csi Technology, Inc. Wireless machine monitoring and communication system
CN101866217A (en) * 2010-06-06 2010-10-20 苏州达方电子有限公司 Computer host, inputting device and computer system
CN101884037A (en) * 2007-12-03 2010-11-10 微软公司 Efficient method for operating system deployment
CN102129881A (en) * 2010-01-15 2011-07-20 多利吉科技股份有限公司 Solid-state storage disc device and system suitable for peripheral component interconnect express interface
CN102810007A (en) * 2011-05-31 2012-12-05 联想(北京)有限公司 Computer state conversion method and device as well as computer
CN103412629A (en) * 2013-08-21 2013-11-27 天脉聚源(北京)传媒科技有限公司 Method, device and system for remote startup and shutdown
CN103631750A (en) * 2012-08-29 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
CN103632512A (en) * 2012-08-30 2014-03-12 西安信唯信息科技有限公司 Interface starting method of household old caring system
CN103809725A (en) * 2012-11-12 2014-05-21 联想(北京)有限公司 Electronic equipment and state switching method based on same
US20140143562A1 (en) * 2012-11-20 2014-05-22 Yuuki Sunagawa Information processing apparatus
CN103870293A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Information obtaining method, information display method and device and electronic device
CN104063061A (en) * 2013-03-20 2014-09-24 鸿富锦精密工业(武汉)有限公司 Computer started up through keyboard
CN104636165A (en) * 2015-02-02 2015-05-20 广东小天才科技有限公司 Mobile device starting method and device
CN106878788A (en) * 2017-03-17 2017-06-20 山东浪潮商用系统有限公司 A kind of remote control, remote control system and remote control thereof
CN108920331A (en) * 2018-06-29 2018-11-30 合肥微商圈信息科技有限公司 A kind of alarm method that computer hardware configuration changes

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5907491A (en) * 1996-08-23 1999-05-25 Csi Technology, Inc. Wireless machine monitoring and communication system
CN101884037A (en) * 2007-12-03 2010-11-10 微软公司 Efficient method for operating system deployment
CN102129881A (en) * 2010-01-15 2011-07-20 多利吉科技股份有限公司 Solid-state storage disc device and system suitable for peripheral component interconnect express interface
CN101866217A (en) * 2010-06-06 2010-10-20 苏州达方电子有限公司 Computer host, inputting device and computer system
CN102810007A (en) * 2011-05-31 2012-12-05 联想(北京)有限公司 Computer state conversion method and device as well as computer
CN103631750A (en) * 2012-08-29 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
CN103632512A (en) * 2012-08-30 2014-03-12 西安信唯信息科技有限公司 Interface starting method of household old caring system
CN103809725A (en) * 2012-11-12 2014-05-21 联想(北京)有限公司 Electronic equipment and state switching method based on same
US20140143562A1 (en) * 2012-11-20 2014-05-22 Yuuki Sunagawa Information processing apparatus
CN103870293A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Information obtaining method, information display method and device and electronic device
CN104063061A (en) * 2013-03-20 2014-09-24 鸿富锦精密工业(武汉)有限公司 Computer started up through keyboard
CN103412629A (en) * 2013-08-21 2013-11-27 天脉聚源(北京)传媒科技有限公司 Method, device and system for remote startup and shutdown
CN104636165A (en) * 2015-02-02 2015-05-20 广东小天才科技有限公司 Mobile device starting method and device
CN106878788A (en) * 2017-03-17 2017-06-20 山东浪潮商用系统有限公司 A kind of remote control, remote control system and remote control thereof
CN108920331A (en) * 2018-06-29 2018-11-30 合肥微商圈信息科技有限公司 A kind of alarm method that computer hardware configuration changes

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860498A (en) * 2021-01-29 2021-05-28 紫光展讯通信(惠州)有限公司 Test method, device, equipment and system for configuration channel
CN114090309A (en) * 2021-10-19 2022-02-25 荣耀终端有限公司 Method and device for repairing WMI service

Also Published As

Publication number Publication date
CN111930659B (en) 2022-07-26

Similar Documents

Publication Publication Date Title
CN106201563B (en) Configuration method and device of starting parameters and method and device for starting mainboard
JP2998737B2 (en) Power supply control device for peripheral equipment
US6832311B2 (en) Information processing system and resume processing method used in the system
CN111930659B (en) Information processing method, electronic equipment and computer storage medium
WO2016091033A1 (en) Method and server for presenting initialization degree of hardware in server
US8892935B2 (en) Dynamic bus clock rate adjusting method and device
US7072989B1 (en) USB peripheral device storing an indication of an operating power mode when a host went into hibernate and restarting at the power mode accordingly
CN103970560A (en) Starting method and electronic device
JP2007122653A (en) Information processor and starting control method
KR950001418B1 (en) Pop up control system for portable computer having setup function and popup function
WO2019033779A1 (en) Method and device for waking up computer from sleep state
US10569726B2 (en) In-vehicle system
US20080082803A1 (en) Saving/Restoring Task State Data From/To Device Controller Host Interface Upon Command From Host Processor To Handle Task Interruptions
CN103514024A (en) Rapid start UI system and rapid start method for electrical appliance
CN108228109B (en) Method and device for protecting data of electronic equipment and computer storage medium
JP2001117815A (en) Information processor and memory control method of information processor
CN103678018A (en) Method and device for recovering data
JP2007334888A (en) Drive for multifunctional device
CN113805826B (en) Domestic platform-based integrated display and single display switching localization method
JP5524148B2 (en) Computer equipment
CN112860144B (en) Control method and system
CN115185590A (en) Display control device and method
CN111796939A (en) Processing method and device and electronic equipment
CN103577286A (en) Method for power-on self-test on CD (Compact Disc) driver and electronic equipment
JP2009176151A (en) Information processing apparatus and method of starting the same

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