Electronic device and control method
By introducing a second controller with a network interface into the terminal device, the problem of poor device intelligence in the prior art is solved, remote monitoring and management of components in the device is realized, and management efficiency is improved.
Patent Information
- Application Number
- CN202210332426.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2042-03-31
AI Technical Summary
Existing terminal devices are poor in system peripheral hardware monitoring and management, and cannot achieve efficient remote monitoring and management.
An electronic device is designed including a first controller and a second controller capable of being connected to the first controller. The first controller can verify the status of the second controller and interact with the second controller after the verification is passed. The second controller has a network interface independent of the electronic device, allowing it to access the target network, thereby enabling remote monitoring and management of components within the electronic device.
By introducing a second controller with a network interface, remote monitoring and management of components in the terminal device is realized, and the intelligence and management efficiency of the device are improved.
Smart Images

Figure CN114610586B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of control technology, and more specifically, to an electronic device and a control method. Background Art
[0002] In terminal devices (such as personal computers, workstations, etc.), in order to ensure the normal operation of the terminal device, it is necessary to monitor and manage the peripheral hardware of the system, such as temperature detection, voltage detection, timing control, fan control, etc. Currently, only an embedded controller (such as EC / eSIO, etc.) can be used to monitor and manage the peripheral hardware of the system, making the intelligence of the terminal device relatively poor. Summary of the Invention
[0003] This application provides an electronic device and a control method, including the following technical solutions:
[0004] An electronic device, the electronic device includes: a first controller and a second controller capable of being connected to the first controller; wherein,
[0005] The first controller can verify the state of the second controller and can perform information interaction with the second controller after the verification passes;
[0006] The first controller can collect and / or control information of components in the electronic device; the second controller has a network interface independent of the electronic device, and the network interface is used for the second controller to access a target network.
[0007] For the above electronic device, preferably, the electronic device further includes: a third controller;
[0008] When the electronic device is powered on, the first controller is used to switch the interaction permission between the first controller and the third controller from a first interaction permission to a second interaction permission, and switch the interaction permission between the second controller and the third controller from a second interaction permission to a first interaction permission when the result of verifying the state of the second controller is verification passed; the first interaction permission is greater than the second interaction permission;
[0009] The first controller is further used to send a trigger signal to the third controller to trigger the third controller to perform handshake information interaction with the second controller.
[0010] For the above electronic device, preferably, the electronic device further includes: a first switch;
[0011] When the result of verifying the status of the second controller is that the verification is passed, the first controller is configured to control the first switch to disconnect the connection between the first controller and the first interface of the third controller, and the connection between the second controller and the second interface of the third controller; and establish the connection between the second controller and the first interface, and the connection between the first controller and the second interface.
[0012] In the above electronic device, preferably, the third controller is further configured to send a second startup signal to the second controller when obtaining a first startup signal of the electronic device, so that the electronic device enters a startup timing control process.
[0013] In the above electronic device, preferably, the electronic device further includes: a storage unit for storing a target firmware of the electronic device;
[0014] The second controller is further configured to receive a target firmware update file through the network interface to update the target firmware in the storage unit based on the target firmware update file.
[0015] A control method, the method includes:
[0016] The first controller of the electronic device verifies the status of the second controller;
[0017] After the second controller is verified to pass, the first controller performs information interaction with the second controller;
[0018] Wherein, the first controller is capable of collecting and / or controlling information of components in the electronic device; the second controller has a network interface independent of the electronic device, and the network interface is used for the second controller to access a target network.
[0019] In the above method, preferably, it further includes:
[0020] When the electronic device is powered on, when the result of verifying the status of the second controller is that the verification is passed, the first controller switches the interaction permission between the first controller and the third controller from a first interaction permission to a second interaction permission, and switches the interaction permission between the second controller and the third controller from the second interaction permission to the first interaction permission; the first interaction permission is greater than the second interaction permission;
[0021] The first controller sends a trigger signal to the third controller to trigger the third controller to perform handshake information interaction with the second controller.
[0022] In the above method, preferably, when the result of the first controller verifying the state of the second controller is that the verification passes, the first controller controls the first switch to disconnect the connection between the first controller and the first interface of the third controller, and the connection between the second controller and the second interface of the third controller; establish the connection between the second controller and the first interface, and establish the connection between the first controller and the second interface.
[0023] The above method preferably further includes:
[0024] When the third controller obtains the first startup signal of the electronic device, it sends a second startup signal to the second controller so that the electronic device enters the startup timing control process.
[0025] The above method preferably further includes:
[0026] The second controller receives the target firmware update file through the network interface to update the target firmware in the storage unit based on the target firmware update file; and / or,
[0027] The second controller obtains the information of the component collected by the first controller and sends the information of the component through the network interface; and / or,
[0028] The second controller receives a control instruction for the target component through the network interface and forwards the control instruction to the first controller so that the first controller controls the target component in response to the control instruction; or, the first controller authenticates the second controller and controls the target component in response to the control instruction when the authentication passes.
[0029] It can be seen from the above solutions that an electronic device and a control method provided by the present application, the electronic device includes a first controller and a second controller capable of being connected to the first controller; wherein, the first controller can verify the state of the second controller and can perform information interaction with the second controller after the verification passes; the first controller can collect and / or control the information of the components in the electronic device; the second controller has a network interface independent of the electronic device, and the network interface is used for the second controller to access the target network. The present application introduces a second controller with a network interface into the electronic device with a first controller. The first controller can verify the second controller and perform information interaction with the second controller after the verification passes. Since the first controller can collect and / or control the information of the components in the electronic device; the second controller has a network interface independent of the electronic device, it is thus possible to realize remote monitoring and management of the components in the electronic device through the second controller. Improve the intelligence of the electronic device. Description of the Drawings
[0030] To more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings required for the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.
[0031] Figure 1 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
[0032] Figure 2 It is another schematic structural diagram of an electronic device provided by an embodiment of the present application;
[0033] Figure 3 It is a schematic structural diagram of a second controller provided by an embodiment of the present application;
[0034] Figure 4 It is yet another schematic structural diagram of an electronic device provided by an embodiment of the present application;
[0035] Figure 5 It is a flowchart of an implementation of a control method provided by an embodiment of the present application.
[0036] The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and the above accompanying drawings are used to distinguish similar parts, and do not necessarily describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order other than that illustrated here. Detailed implementation manners
[0037] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present application.
[0038] The electronic device provided by the embodiment of the present application can be a workstation (a computing device connected to a network), or a personal computer.
[0039] As Figure 1 shown, it is a schematic structural diagram of an electronic device provided by an embodiment of the present application, and may include:
[0040] A first controller 101 and a second controller 102; wherein,
[0041] The second controller 102 can be connected to the first controller 101. As an example, the second controller 102 can be fixedly plugged into the electronic device and connected to the first controller 101. As another example, the second controller 102 can be pluggable into the electronic device. When the second controller 102 is plugged into the electronic device, the second controller 102 is connected to the first controller 101.
[0042] Figure 1 The dashed line in the figure indicates that the first controller 101 and the second controller 102 are not connected in real time. For example, when the second controller 102 is pluggable into the electronic device and the second controller 102 is not plugged into the electronic device, the second controller 102 is not connected to the first controller 101. Only when the second controller 102 is plugged into the electronic device will the first controller 101 be connected to the second controller 102.
[0043] The first controller 101 can verify the status of the second controller 102 and can perform information interaction with the second controller 102 after the verification passes.
[0044] In the case where the second controller 102 is fixedly plugged into the electronic device, verifying the status of the second controller 102 can include: verifying the firmware of the second controller 102 to determine whether the second controller 102 is secure.
[0045] In the case where the second controller 102 is pluggable into the electronic device, verifying the status of the second controller 102 can include: determining whether the second controller 102 is plugged into the electronic device, and when the second controller 102 is plugged into the electronic device, verifying the firmware of the second controller 102 to determine whether the second controller 102 is secure.
[0046] The first controller 101 can collect information and / or control components within the electronic device. For example, monitoring the electrical parameters of components inside the electronic device, such as voltage, current, temperature, the rotation speed of the fan, etc., or controlling and diagnosing the fan, etc.
[0047] The second controller 102 has a network interface independent of the electronic device. This network interface is used for the second controller 102 to access the target network. That is to say, the second controller 102 has a networking function. The second controller 102 can be connected to the network as a network terminal device without relying on the networking function of the electronic device itself. The target network can be a local area network within the environment where the electronic device is located or can be a wide area network.
[0048] The second controller 102 can access the target network by wireless or wired means.
[0049] The electronic device provided by the embodiment of the present application has a first controller and introduces a second controller with a network interface. The first controller can verify the second controller and perform information interaction with the second controller after the verification passes. Since the first controller can collect and / or control the components in the electronic device; the second controller has a network interface independent of the electronic device, it is thus possible to realize remote monitoring and management of the components in the electronic device through the second controller. The intelligence of the electronic device is improved.
[0050] In an optional embodiment, the electronic device provided by the embodiment of the present application further includes: a third controller;
[0051] The third controller is a component that interacts with the first controller 101 in the electronic device. When the second controller 102 is not plugged into the electronic device, the third controller interacts with the first controller 101 to realize the control of the electronic device. When the second controller 102 is plugged into the electronic device, the third controller interacts with the first controller 101 and the second controller 102 to realize the control of the electronic device.
[0052] In order for the second controller 102 to interact with the third controller, it is necessary for the second controller 102 and the third controller to perform handshake information interaction so that the third controller knows the existence of the second controller 102.
[0053] Specifically, when the electronic device is powered on, the first controller 101 is used to switch the interaction permission between the first controller 101 and the third controller from the first interaction permission to the second interaction permission, and switch the interaction permission between the second controller 102 and the third controller from the second interaction permission to the first interaction permission when the result of verifying the state of the second controller 102 is verification passed; the first interaction permission is greater than the second interaction permission.
[0054] The first controller 101 is further used to send a trigger signal to the third controller to trigger the third controller to perform handshake information interaction with the second controller 102.
[0055] The power supply connected to the electronic device can be the internal power supply of the electronic device, such as a battery, or the external power supply of the electronic device, such as the commercial power connected through a power adapter.
[0056] When the electronic device is powered on but not yet started, the first controller 101, the second controller 102, and the third controller are also powered on.
[0057] In the present application, the first controller 101 is connected to the third controller, and when the second controller 102 is plugged into the electronic device, it is also connected to the third controller.
[0058] Among them, before the result of verifying the state of the second controller 102 passes the verification, the interaction permission between the first controller 101 and the third controller is greater than the interaction permission between the second controller 102 and the third controller.
[0059] After the result of verifying the state of the second controller 102 passes the verification, the interaction permission between the first controller 101 and the third controller is less than the interaction permission between the second controller 102 and the third controller.
[0060] As an example, when the second controller 102 is fixedly plugged into the electronic device and the power supply connected to the electronic device is an external power supply, the first controller 101 can verify the firmware of the second controller 102 when it detects that the electronic device is powered on. When the verification passes, the interaction permission between the first controller 101 and the third controller is switched from the first interaction permission to the second interaction permission, and the interaction permission between the second controller 102 and the third controller is switched from the second interaction permission to the first interaction permission. In this example, since the second controller 102 is fixedly plugged into the electronic device, it is not necessary to verify whether the second controller is plugged into the electronic device.
[0061] Optionally, after the first controller 101 detects that the electronic device is disconnected from the external power supply, the interaction permission between the first controller 101 and the third controller is switched from the second interaction permission to the first interaction permission, and the interaction permission between the second controller 102 and the third controller is switched from the first interaction permission to the second interaction permission.
[0062] As an example, when the second controller 102 is pluggable to the electronic device and the power supply connected to the electronic device is an external power supply, the first controller 101 can detect whether the second controller 102 is plugged into the electronic device when it detects that the electronic device is powered on. If so, it verifies the firmware of the second controller 102. When the verification passes, the interaction permission between the first controller 101 and the third controller is switched from the first interaction permission to the second interaction permission, and the interaction permission between the second controller 102 and the third controller is switched from the second interaction permission to the first interaction permission.
[0063] Optionally, after the first controller 101 detects that the electronic device is disconnected from the external power supply, or after the second controller 102 is unplugged from the electronic device, the interaction permission between the first controller 101 and the third controller is switched from the second interaction permission to the first interaction permission, and the interaction permission between the second controller 102 and the third controller is switched from the first interaction permission to the second interaction permission.
[0064] As an example, when the second controller 102 is pluggable into the electronic device and the power source accessed by the electronic device is an internal power source, the first controller 101 detects whether the second controller 102 is plugged into the electronic device. If so, it verifies the firmware of the second controller 102. When the verification passes, it switches the interaction permission between the first controller 101 and the third controller from the first interaction permission to the second interaction permission, and switches the interaction permission between the second controller 102 and the third controller from the second interaction permission to the first interaction permission. In this example, since the electronic device is powered by the internal power source of the electronic device, the electronic device is always connected to the power source. Therefore, it only needs to verify the firmware of the second controller 102, and there is no need to monitor whether the electronic device is connected to the power source.
[0065] Optionally, after the first controller 101 detects that the second controller 102 is unplugged from the electronic device, it switches the interaction permission between the first controller 101 and the third controller from the second interaction permission to the first interaction permission.
[0066] In an alternative embodiment, the electronic device provided in the embodiments of the present application may further include a controllable switch, such as Figure 2 As shown, it is another structural schematic diagram of the electronic device provided in the embodiments of the present application, and may further include a first switch 201;
[0067] When the second controller 102 is plugged into the electronic device, the first switch 201 is respectively connected to the first controller 101, the second controller 102, and the third controller; wherein,
[0068] The first controller 101 is configured to control the first switch 201 to disconnect the connection between the first interface of the first controller 101 and the third controller, and the connection between the second interface of the second controller 102 and the third controller when the result of verifying the state of the second controller 102 is verification passed; establish the connection between the second controller 102 and the first interface, and the connection between the first controller 101 and the second interface.
[0069] That is to say, when the first controller 101 or the second controller 102 is connected to the third controller through the first interface of the third controller, the interaction permission between the first controller 101 or the second controller 102 and the third controller is the first interaction permission;
[0070] When the first controller 101 or the second controller 102 is connected to the third controller through the second interface of the third controller, the interaction permission between the first controller 101 or the second controller 102 and the third controller is the second interaction permission.
[0071] Before the result of verifying the status of the second controller 102 passes the verification, the first controller 101 is connected to the first interface of the third controller through the first switch 201. When the second controller 102 is plugged into the electronic device, the second controller 102 is connected to the second interface of the third controller through the first switch 201. The first controller 101 verifies the firmware of the second controller 102. When the verification passes, by operating the first switch 201, the connection between the first controller 101 and the first interface of the third controller, and the connection between the second controller 102 and the second interface of the third controller are disconnected. Also, the connection between the first controller 101 and the second interface of the third controller, and the connection between the second controller 102 and the first interface of the third controller are established, realizing the switching of the interaction permissions between the first controller 101 and the second controller 102 with the third controller.
[0072] In an optional embodiment, a schematic structural diagram of the second controller provided in this application is as Figure 3 shown, and may include: a control unit 301, a second switch 302, and a storage unit, which is shown as the first storage unit 303 for the convenience of description and distinction in Figure 3 ; among them,
[0073] The first controller 101 is further configured to, when the second controller 102 is plugged into the electronic device and when it is necessary to verify the firmware of the second controller 102, control the second switch 302 to establish a connection relationship between the first storage unit 303 and the first controller 101, so that the first controller 101 can verify the firmware stored in the first storage unit 303; in response to the firmware passing the verification, control the second switch 302 to disconnect the connection between the first controller 101 and the first storage unit 303, and establish a connection between the control unit 301 and the first storage unit 303, so that the control unit 301 can run the firmware in the first storage unit 303.
[0074] In an optional embodiment, the third controller is further configured to send a second start signal to the second controller 102 when obtaining the first start signal of the electronic device, so that the electronic device enters the power-on timing control process.
[0075] The first start signal is used to trigger the startup of the electronic device. For example, when the power button of the electronic device is pressed, the electronic device will generate the first start signal.
[0076] When the second controller 102 is not plugged into the electronic device, the third controller sends a second start signal to the first controller 101 when obtaining the first start signal of the electronic device, so that the electronic device enters the power-on timing control process.
[0077] When a second controller 102 is plugged into the electronic device, when the third controller obtains the first startup signal of the electronic device, it sends a second startup signal to the second controller 102 so that the electronic device enters the startup timing control process.
[0078] After the electronic device is powered on, the first controller 101 and the second controller 102 can perform information interaction. Information interaction can be performed between the first controller 101 and the second controller 102 through a bus.
[0079] In an optional embodiment, the electronic device may further include a storage unit for storing the target firmware of the electronic device. For the convenience of description and distinction, it is denoted as the second storage unit, and the above-mentioned first storage unit is different from the second storage unit.
[0080] The second controller 102 can also be used to receive a target firmware update file through a network interface to update the target firmware in the second storage unit based on the target firmware update file.
[0081] After the second controller 102 accesses the network through the network interface, it can receive information through the network.
[0082] As an example, the target firmware is used to support the operation of the first system of the electronic device, and the first system is used to boot the operating system of the electronic device. For example, the target firmware can be Basic Input Output System (BIOS) firmware.
[0083] Optionally, the first controller 101 can also be used to transmit the information of the collected components to the second controller 102, and the second controller 102 can transmit the received component information to other devices accessing the target network through the network interface, realizing remote monitoring of the internal components of the electronic device.
[0084] Optionally, the second controller 102 can also be used to receive a control instruction for a target component through a network interface and forward the control instruction to the first controller 101 so that the first controller 101 controls the target component in response to the control instruction, realizing remote control of the target component in the electronic device.
[0085] After receiving the control instruction, the first controller 101 can directly control the target component, or it can first authenticate the second controller 102 and control the target component when the authentication is passed.
[0086] As an example, the first controller can be an Embedded Controller (EC) or a controller that combines the input / output function and the function of the embedded controller (Embedded Controller SuperInput / Output, ESIO).
[0087] The second controller can be a Baseboard Manager Controller (BMC) card, that is, a card with BMC function.
[0088] The third controller can be a Platform Controller Hub (PCH).
[0089] As Figure 4 shown, it is a schematic structural diagram of an electronic device provided by an embodiment of the present application. In this example, the PCH, EC, and BMC card can communicate with each other through the eSPI bus or the SPI bus, or can communicate through other buses, such as the I2C bus. The BMC card is pluggable to the electronic device.
[0090] When the BMC card is not plugged into the electronic device, the EC is connected to the first interface of the PCH (eSPI CS0 pin and Alert0 pin).
[0091] When the BMC card is just plugged into the electronic device, the EC is still connected to the first interface of the PCH, and the BMC card is connected to the second interface of the PCH (eSPI CS1 pin and Alert1 pin).
[0092] After that, if the electronic device is connected to an external power supply, the EC, PCH, and BMC will all be connected to the power supply, and the EC determines whether there is a BMC card by detecting the target pin of the BMC card.
[0093] If there is no BMC card, the EC sends a trigger signal to the PCH to trigger the PCH to interact with the EC for handshake information. After that, if the PCH obtains the first startup signal of the electronic device, it sends a second startup signal to the EC so that the electronic device enters the startup timing control process.
[0094] If there is a BMC card, the EC sends a control signal to the second switch of the BMC card to control the connection between the first storage unit ROM of the BMC card and the EC, so that the EC can read the firmware in the ROM and perform verification. After the verification passes, the EC sends a control signal to the second switch again so that the first storage unit ROM of the BMC card is connected to the control unit of the BMC card. Then, the EC sends a control signal to the first switch to control the connection between the EC and the second interface of the PCH, and the connection between the BMC card and the first interface of the PCH. After that, the EC sends a trigger signal to the PCH to trigger the PCH and the BMC card to perform handshake information interaction. After that, if the PCH obtains the first startup signal of the electronic device, it sends a second startup signal to the BMC card so that the electronic device enters the startup timing control process.
[0095] After the startup timing control process ends, the electronic device boots up. At this time, the EC and the BMC card can perform information interaction. For example, the EC and the BMC card can interact through the I2C bus.
[0096] As an example, the BMC card can receive the BIOS firmware update file through the network interface, then access the second storage unit storing the BIOS firmware through the first interface of the PCH, and then use the BIOS firmware update file to update the BIOS firmware of the electronic device.
[0097] As an example, the EC collects information about the components inside the electronic device. For example, it collects information such as the motherboard terminal voltage value, CPU temperature, and CPU fan speed, and then transmits the collected information to the BMC card through the I2C bus, and the BMC card transmits the information to other devices through the network interface.
[0098] As an example, the BMC card can receive the control instruction for the fan speed sent by other devices through the network interface, forward the control instruction to the EC through the I2C bus, and the EC adjusts the fan speed in response to the control instruction. Or, after receiving the control instruction, the EC first authenticates the identity of the BMC card, and after the authentication passes, it adjusts the fan speed in response to the control instruction. If the authentication fails, the fan speed is not adjusted.
[0099] Corresponding to the above electronics, an embodiment of the present application further provides a control method. A flowchart of an implementation of the control method provided by the embodiment of the present application is as Figure 5 shown, and may include:
[0100] Step S501: The first controller of the electronic device verifies the state of the second controller.
[0101] Step S502: After the second controller is verified to pass, the first controller performs information interaction with the second controller.
[0102] Among them, the first controller can collect information from and / or control components within the electronic device; the second controller has a network interface independent of the electronic device, and the network interface is used for the second controller to access the target network.
[0103] In the control method provided by the embodiments of the present application, through the interaction between the second controller with a network interface and the first controller, since the first controller can collect information from and / or control components within the electronic device; the second controller has a network interface independent of the electronic device, it is thus possible to remotely monitor and manage the components within the electronic device through the second controller. This improves the intelligence of the electronic device.
[0104] In an optional embodiment, the above control method may further include:
[0105] When the electronic device is powered on, when the result of the first controller's verification of the status of the second controller is that the verification passes, the interaction permission between the first controller and the third controller is switched from the first interaction permission to the second interaction permission, and the interaction permission between the second controller and the third controller is switched from the second interaction permission to the first interaction permission; the first interaction permission is greater than the second interaction permission;
[0106] The first controller sends a trigger signal to the third controller to trigger the third controller to perform handshake information interaction with the second controller.
[0107] In an optional embodiment, among them, when the result of the first controller's verification of the status of the second controller is that the verification passes, the first switch is controlled to disconnect the connection between the first controller and the first interface of the third controller, and the connection between the second controller and the second interface of the third controller; establish the connection between the second controller and the first interface, and establish the connection between the first controller and the second interface.
[0108] In an optional embodiment, the control method provided by the embodiments of the present application may further include:
[0109] When the third controller obtains the first startup signal of the electronic device, it sends a second startup signal to the second controller so that the electronic device enters the startup timing control process.
[0110] In an optional embodiment, the control method provided by the embodiments of the present application may further include:
[0111] If the first controller monitors that the second controller is removed from the electronic device, the interaction permission between the first controller and the third controller is switched from the second interaction permission to the first interaction permission.
[0112] In an optional embodiment, the control method provided by the embodiments of the present application may further include:
[0113] The second controller receives a target firmware update file through the network interface to update the target firmware in the storage unit based on the target firmware update file; and / or,
[0114] The second controller obtains the information of the component collected by the first controller and sends the information of the component through the network interface; and / or,
[0115] The second controller receives a control instruction for a target component through the network interface and forwards the control instruction to the first controller, so that the first controller controls the target component in response to the control instruction; or, the first controller authenticates the second controller and controls the target component in response to the control instruction when the authentication is passed.
[0116] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0117] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of devices or units can be in an electrical, mechanical, or other form.
[0118] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0119] In addition, the functional units in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0120] It should be understood that in the embodiments of the present application, the dependent claims, each embodiment, and the features can be combined with each other to achieve the solution of the foregoing technical problems.
[0121] When the above functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.
[0122] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An electronic device, the electronic device comprising: A first controller, a second controller capable of being connected to the first controller, and a third controller; wherein, The first controller is capable of verifying the state of the second controller and, after the verification passes, is capable of performing information interaction with the second controller; The first controller is capable of collecting and / or controlling information of components within the electronic device; the second controller has a network interface independent of the electronic device, and the network interface is used for the second controller to access a target network; The third controller is a component within the electronic device that interacts with the first controller. When the second controller is not plugged into the electronic device, the third controller interacts with the first controller to implement control of the electronic device. When the second controller is plugged into the electronic device, the third controller interacts with the first controller and the second controller to implement control of the electronic device.
2. The electronic device according to claim 1, wherein the electronic device further comprises: Third controller; When the electronic device is powered on, the first controller is used to switch the interaction permission between the first controller and the third controller from a first interaction permission to a second interaction permission, and switch the interaction permission between the second controller and the third controller from the second interaction permission to the first interaction permission when the result of verifying the state of the second controller is a verification pass; The first interaction permission is greater than the second interaction permission; The first controller is further used to send a trigger signal to the third controller to trigger the third controller to perform handshake information interaction with the second controller.
3. The electronic device according to claim 2, wherein the electronic device further comprises: First switch; The first controller is used to control the first switch to disconnect the connection between the first controller and the first interface of the third controller, and the connection between the second controller and the second interface of the third controller when the result of verifying the state of the second controller is a verification pass; establish the connection between the second controller and the first interface, and the connection between the first controller and the second interface.
4. The electronic device according to claim 2, wherein the third controller is further used to send a second start signal to the second controller when obtaining a first start signal of the electronic device, so that the electronic device enters a boot timing control process.
5. The electronic device according to claim 1, wherein the electronic device further comprises: A storage unit for storing the target firmware of the electronic device; The second controller is further used to receive a target firmware update file through the network interface to update the target firmware in the storage unit based on the target firmware update file.
6. A control method, the method comprising: A first controller of an electronic device verifies the state of a second controller; The first controller performs information interaction with the second controller after the second controller passes the verification; Wherein, the first controller is capable of collecting and / or controlling information of components within the electronic device; the second controller has a network interface independent of the electronic device, and the network interface is used for the second controller to access a target network; The third controller is a component in the electronic device that interacts with the first controller. When the second controller is not plugged into the electronic device, the third controller interacts with the first controller to achieve control of the electronic device. When the second controller is plugged into the electronic device, the third controller interacts with the first controller and the second controller to achieve control of the electronic device.
7. The method according to claim 6, further comprising: When the electronic device is powered on, when the result of the first controller's verification of the status of the second controller is that the verification is passed, the interaction permission between the first controller and the third controller is switched from the first interaction permission to the second interaction permission, and the interaction permission between the second controller and the third controller is switched from the second interaction permission to the first interaction permission; The first interaction permission is greater than the second interaction permission; The first controller sends a trigger signal to the third controller to trigger the third controller to perform handshake information interaction with the second controller.
8. The method according to claim 7, wherein, When the result of the first controller's verification of the status of the second controller is that the verification is passed, the first controller controls the first switch to disconnect the connection between the first controller and the first interface of the third controller, and the connection between the second controller and the second interface of the third controller; establish the connection between the second controller and the first interface, and establish the connection between the first controller and the second interface.
9. The method according to claim 7, further comprising: When the third controller obtains the first start signal of the electronic device, the third controller sends a second start signal to the second controller so that the electronic device enters the power-on timing control process.
10. The method according to claim 6, further comprising: The second controller receives a target firmware update file through the network interface to update the target firmware in the storage unit based on the target firmware update file; and / or The second controller obtains the information of the component collected by the first controller and sends the information of the component through the network interface; and / or The second controller receives a control instruction for a target component through the network interface and forwards the control instruction to the first controller so that the first controller controls the target component in response to the control instruction; or, the first controller authenticates the second controller and controls the target component in response to the control instruction when the authentication is passed.
Citation Information
Patent Citations
Server framework of multiple servers
CN107797960A
BMC (Baseboard Management Controller) starting method, device and equipment and readable storage medium
CN113204767A