Notebook out-of-band management method, device and equipment based on domestic single-chip microcomputer

Through the cooperation of domestic microcontrollers and CPLDs, combined with the network control of the microcontroller and PHY chips, the switching chips are used to realize the sharing of the management network port and the data network port, solving the problem of the laptop EC chip without a network controller in the existing technology, and achieving low-power out-of-band management.

CN119690890APending Publication Date: 2025-03-25西安超越申泰信息科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411831256.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing notebook EC chips have no network controller and cannot achieve out-of-band management. The BMC management chip solution increases the power consumption of the entire machine, making it impossible to effectively manage the notebook when powered by lithium batteries.

Method used

The domestic microcontroller is used to cooperate with CPLD to realize the EC function, and the network interface is established through the network control and PHY chips provided by the microcontroller. The switching chip is used to make the management network port share a physical network port and the data network port to realize out-of-band management.

Benefits of technology

It reduces the power consumption of the notebook, realizes out-of-band management when powered by lithium batteries, and automatically wakes up after AC access, meeting the service continuity needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690890A_ABST
    Figure CN119690890A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computer management, and discloses a notebook out-of-band management method, device and equipment based on a domestic single-chip microcomputer and a storage medium, and the method comprises the following steps: executing an EC function based on the single-chip microcomputer and a CPLD; a network interface is realized based on network control and a PHY chip of the single-chip microcomputer; the network interface of the single-chip microcomputer and the network interface of the CPU lead out an external interface of the whole machine through the exchange chip, so that the management network port and the data network port share one physical network port. Compared with a BMC scheme adopted by a server platform, the power consumption is further reduced, and the method is suitable for out-of-band management of a notebook platform. Under the condition that only a lithium battery supplies power and is shut down, power supply of an external port of a single-chip microcomputer of an exchange chip can be shut down, power consumption of the same level as that of an EC is achieved, automatic awakening is conducted after an AC is connected, power supply is conducted on the external port of the exchange chip and the external port of the single-chip microcomputer again, and the requirement for out-of-band management is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer management technology, for example, to a notebook out-of-band management method, device, equipment and storage medium based on a domestic single-chip microcomputer. Background Art

[0002] Laptop platforms generally use EC (Embedded Controller) to manage low-speed peripherals of laptops. EC is connected to the CPU through the LPC bus. EC mainly connects various peripherals such as keyboards, batteries, temperature sensors, touchpads, buttons, LED lights, fans, etc., and realizes basic functions such as timing control, battery charge and discharge management, button scanning, LED control, etc., enriching the use characteristics of laptops. It is generally implemented using dedicated chips.

[0003] Domestic MCU is basically the same as EC peripherals, and can realize the management of laptop peripherals. However, domestic MCU has no LPC interface and cannot communicate directly with CPU. Domestic MCU can convert the data sent to the host into I2C data and send it to CPLD. CPLD forwards it to CPU through LPC, that is, CPLD realizes LPC to I2C interface.

[0004] Out-of-band management technology is generally used in server products. It refers to monitoring, configuring and controlling the server through a dedicated management channel when the server is operating normally, without relying on the server's main operating system. Out-of-band management can monitor the status of networked devices through the network. This technology is also applicable to notebook products, but notebooks have high requirements for power consumption. The use of BMC management chip solutions will increase the power consumption of the entire machine and the shutdown standby power consumption. Similarly, when the adapter is not connected, the lithium battery will be quickly depleted. In addition, existing EC chips do not have network controllers. When the computer is turned off, the outside world cannot obtain notebook-related information through the network, and thus out-of-band management cannot be achieved.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application. Summary of the invention

[0006] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0007] The embodiment of the present disclosure provides a notebook out-of-band management method based on a domestic single-chip microcomputer, the method comprising:

[0008] Based on MCU and CPLD, EC functions including power-on control, keyboard scanning, lithium battery management and fan control are implemented;

[0009] Realize network interface based on the network control and PHY chip built into the microcontroller;

[0010] The network interface of the single-chip microcomputer and the network interface of the CPU are connected to the external interface of the whole machine through the switching chip, so that the management network port and the data network port share one physical network port.

[0011] In some embodiments, the method further comprises:

[0012] After the notebook is turned on, the microcontroller completes the initialization of its own network control and loads the corresponding network application service.

[0013] In some embodiments, the method further comprises:

[0014] The single-chip microcomputer communicates with the remote management terminal in real time through the network to report basic equipment information, operating status and fault alarm information. The basic equipment information is sent to the single-chip microcomputer through the LPC interface in the system, and the single-chip microcomputer forwards it through the network.

[0015] In some embodiments, the method further comprises:

[0016] After the laptop is turned off, if the adapter is always powered, the microcontroller and switch chip will always be powered, and the out-of-band management service will not be interrupted to ensure business continuity.

[0017] In some embodiments, the method further comprises:

[0018] After the laptop is turned off, if the adapter is not in place, the microcontroller will disconnect the power supply of the switching chip to further reduce the power consumption of the laptop, and the network service will be disconnected; after the adapter is connected, the switching chip will be powered again and the network service will be restored.

[0019] In some embodiments, EC functions including power-on control, keyboard scanning, lithium battery management, and fan control are performed based on a single-chip microcomputer and a CPLD, including:

[0020] The LPC data is parsed through CPLD, and the communication with the microcontroller is achieved through I2C to realize the LPC-I2C bridge, which is compatible with the EC software and hardware system. Without changing the operating system, EC functions including power-on control, keyboard scanning, lithium battery management and fan control can be executed.

[0021] In some embodiments, the method further includes the single chip microcomputer initializing and configuring the built-in network controller;

[0022] The initialization configuration includes: enabling the Ethernet clock, configuring the MCU clock module to enable the MCU clock and the Ethernet transmit / receive clock;

[0023] Configure the communication interface, select the interface mode MII or RMII, and map the corresponding functions to the multiplexed functions;

[0024] Wait for the network control reset to complete;

[0025] Get and configure PHY register parameters, and configure the MCU registers to be consistent with the PHY register information according to the mode supported by the external PHY;

[0026] Initialize the Ethernet DMA module for data transmission to reduce the CPU usage of network data transmission and reception;

[0027] Initialize the physical memory space used to store the descriptor list and data cache;

[0028] Enable MAC and DMA modules and start sending and receiving;

[0029] After completing the network configuration, the MCU performs basic data transmission and reception, and at the same time performs protocol encapsulation on the data to support the SNMP application layer protocol, and sends the data collected by the MCU to the external management host through the network;

[0030] The management network port and the data network port share a physical network port. A switching chip is added to the MCU network and the CPU network to enable external hosts to access the two internal networks based on IP addresses. The switching function is implemented by the switching chip.

[0031] The embodiment of the present disclosure provides a notebook out-of-band management device based on a domestic single-chip microcomputer, the device comprising:

[0032] EC function execution module, used to execute EC functions including power-on control, keyboard scanning, lithium battery management and fan control based on single-chip microcomputer and CPLD;

[0033] The network interface implementation module is used to implement the network interface based on the network control and PHY chip of the microcontroller;

[0034] The external interface implementation module is used for the network interface based on the single-chip microcomputer and the network interface of the CPU. It leads to the external interface of the whole machine through the switching chip, so that the management network port and the data network port share one physical network port.

[0035] An embodiment of the present disclosure provides an electronic device, the device comprising at least one processor;

[0036] and a memory communicatively coupled to the at least one processor;

[0037] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned notebook out-of-band management method based on the domestic single-chip microcomputer.

[0038] The disclosed embodiment provides a storage medium storing program instructions, which, when running, execute the above-mentioned notebook out-of-band management method based on a domestic single-chip microcomputer.

[0039] The out-of-band management method, device, equipment and storage medium for laptops based on domestic single-chip microcomputers provided in the embodiments of the present disclosure can achieve the following technical effects:

[0040] Compared with the BMC solution adopted by the server platform, the notebook out-of-band management method based on the domestic single-chip microcomputer disclosed in the present invention has further reduced power consumption and is suitable for out-of-band management of the notebook platform. When only the lithium battery is powered and the computer is turned off, the power supply of the external port of the switch chip single-chip microcomputer can be turned off to achieve the same power consumption as the EC, and it will automatically wake up after AC access, and re-power the switch chip and the external port of the single-chip microcomputer to meet the needs of out-of-band management.

[0041] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0043] Figure 1 It is a flowchart of a notebook out-of-band management method based on a domestic single-chip microcomputer provided by an embodiment of the present disclosure;

[0044] Figure 2 It is an overall functional block diagram of a traditional EC function implementation provided by an embodiment of the present disclosure;

[0045] Figure 3 This is a functional block diagram of an MCU and a CPLD implementing EC provided by an embodiment of the present disclosure;

[0046] Figure 4 This is a schematic diagram of an MCU configuration Ethernet process provided by an embodiment of the present disclosure;

[0047] Figure 5 It is a schematic diagram of the structure of a notebook out-of-band management device based on a domestic single-chip microcomputer provided by an embodiment of the present disclosure;

[0048] Figure 6 It is a structural schematic diagram of a notebook out-of-band management device based on a domestic single-chip microcomputer provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0049] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0050] The terms "first", "second", etc. in the embodiments of the present disclosure are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0051] Unless otherwise stated, the term "plurality" means two or more.

[0052] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0053] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0054] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0055] In order to solve the above problems, the present disclosure provides a notebook out-of-band management method, device, equipment and storage medium based on a domestic single-chip microcomputer.

[0056] The following describes the out-of-band management method, device, equipment and storage medium for a notebook based on a domestic single-chip microcomputer provided by the embodiments of the present disclosure in conjunction with the accompanying drawings.

[0057] Figure 1 It is a flowchart of a notebook out-of-band management method based on a domestic single-chip microcomputer provided by an embodiment of the present disclosure.

[0058] like Figure 1 As shown, the out-of-band management method for a notebook based on a domestic single-chip microcomputer may include:

[0059] S01, based on MCU and CPLD, performs EC functions including power-on control, keyboard scanning, lithium battery management and fan control;

[0060] S02, implements network interface based on the network control and PHY chip built into the MCU;

[0061] S03, the network interface of the single-chip microcomputer and the network interface of the CPU are connected to the external interface of the whole machine through the switching chip, so that the management network port and the data network port share one physical network port.

[0062] In some embodiments, Figure 1 The method may further include: after the notebook is turned on, the single chip microcomputer completes the initialization of its own network control and loads the corresponding network application service.

[0063] In some embodiments, Figure 1 The method may also include: the single-chip microcomputer communicates with the remote management terminal in real time through the network, reporting basic information of the equipment, operating status and fault alarm information, wherein the basic information of the equipment is sent to the single-chip microcomputer through the LPC interface in the system, and the single-chip microcomputer forwards it through the network.

[0064] In some embodiments, Figure 1 The method may further include: after the notebook is turned off, if the adapter is always powered, the single-chip microcomputer and the switching chip are always powered, and the out-of-band management service is not interrupted, so as to ensure the continuity of the business.

[0065] In some embodiments, Figure 1 The method may also include: after the laptop is turned off, if the adapter is not in place, the microcontroller disconnects the power supply of the switching chip to further reduce the power consumption of the laptop, and the network service is disconnected; after the access adapter is connected, the switching chip is powered again to restore the network service.

[0066] In some embodiments, EC functions including power-on control, keyboard scanning, lithium battery management, and fan control are performed based on a single-chip microcomputer and a CPLD, including:

[0067] The LPC data is parsed through CPLD, and the communication with the microcontroller is achieved through I2C to realize the LPC-I2C bridge, which is compatible with the EC software and hardware system. Without changing the operating system, EC functions including power-on control, keyboard scanning, lithium battery management and fan control can be executed.

[0068] In some embodiments, Figure 1 The method also includes the single chip microcomputer initializing and configuring the built-in network controller;

[0069] The initialization configuration includes: enabling the Ethernet clock, configuring the MCU clock module to enable the MCU clock and the Ethernet transmit / receive clock;

[0070] Configure the communication interface, select the interface mode MII or RMII, and map the corresponding functions to the multiplexed functions;

[0071] Wait for the network control reset to complete;

[0072] Get and configure PHY register parameters, and configure the MCU registers to be consistent with the PHY register information according to the mode supported by the external PHY;

[0073] Initialize the Ethernet DMA module for data transmission to reduce the CPU usage of network data transmission and reception;

[0074] Initialize the physical memory space used to store the descriptor list and data cache;

[0075] Enable MAC and DMA modules and start sending and receiving;

[0076] After completing the network configuration, the MCU performs basic data transmission and reception, and at the same time performs protocol encapsulation on the data to support the SNMP application layer protocol, and sends the data collected by the MCU to the external management host through the network;

[0077] The management network port and the data network port share a physical network port. A switching chip is added to the MCU network and the CPU network to enable external hosts to access the two internal networks based on IP addresses. The switching function is implemented by the switching chip.

[0078] Figure 2 It is an overall functional block diagram of a traditional EC function implementation provided by an embodiment of the present disclosure, wherein NC is a network controller; Figure 3 This is a functional block diagram of an MCU and a CPLD implementing EC provided by an embodiment of the present disclosure; Figure 4 This is a schematic diagram of an MCU configuration Ethernet process provided by an embodiment of the present disclosure, combined with Figure 2 , Figure 3 as well as Figure 4 ,right Figure 1 The out-of-band management method for laptops based on domestic microcontrollers is further described in the article.

[0079] In a specific example, the out-of-band management method for a laptop based on a domestic single-chip microcomputer provided in the embodiment of the present disclosure can specifically use a domestic single-chip microcomputer and a CPLD to implement basic EC functions, such as power-on control, keyboard scanning, lithium battery management, fan control, etc.

[0080] The network interface is realized by using the network control and PHY chip of the domestic single-chip microcomputer.

[0081] The network interface brought out by the domestic single-chip microcomputer and the network interface brought out by the CPU are connected to the external interface of the whole machine through the switching chip, so that the management network port and the data network port share one physical network port.

[0082] After the laptop is turned on, the domestic single-chip microcomputer completes the initialization of its own network control and loads the corresponding network application services, such as data transmission and reception based on the SNMP protocol.

[0083] Domestic single-chip microcomputers communicate with the remote management terminal in real time through the network to report basic equipment information, operating status, fault alarm information, etc.

[0084] The basic information of the device can be sent to the MCU through the LPC interface under the system, and the MCU forwards it through the network.

[0085] After the laptop is turned off, if there is always power supply from the adapter, the microcontroller and the switching chip can be powered all the time, and the out-of-band management service is not interrupted, providing business continuity.

[0086] After the laptop is turned off, if the adapter is not in place, the microcontroller can disconnect the power supply of the switching chip to further reduce the power consumption of the laptop, and the network service will be disconnected; after the adapter is connected, the switching chip will be powered again to restore the network service.

[0087] Based on this method, out-of-band management of laptop devices can be achieved without significantly increasing the power consumption of the entire device.

[0088] Moreover, the embodiment of the present invention is mainly divided into three parts. First, MCU plus CPLD realizes EC function. Second, the network provided by the single-chip microcomputer is used to realize out-of-band management. Third, a switching chip is used to realize the sharing of physical interfaces of data network and management network.

[0089] The microcontroller is a low-power microcontroller independent of the CPU. It has independent internal flash memory and is responsible for computer power on / off timing control, battery management, keyboard scanning, system temperature and fan speed monitoring, etc. It will continue to run as long as the power is connected.

[0090] The MCU does not have an LPC controller and cannot parse the LPC bus data. It is necessary to parse the LPC data through CPLD and communicate with the MCU through I2C, that is, to realize the LPC-I2C transfer bridge. This can achieve compatibility with the existing EC software and hardware system without changing the operating system. The original EC basic functions are realized by adding MCU and CPLD, and the low power consumption requirements of the notebook platform are met.

[0091] The MCU will run as soon as the laptop is powered on. The MCU will first complete the initialization of its peripheral interfaces, including I2C interface, serial port, GPIO, network, etc. In this patent, the MCU has one more network interface than the EC for out-of-band management, so the MCU needs to initialize and configure its own network controller. The configuration process is as follows.

[0092] Enable the Ethernet clock and configure the MCU clock module to enable the MCU clock and Ethernet transmit / receive clock.

[0093] Configure the communication interface, select the interface mode (MII or RMII), and map the corresponding function pins to the multiplexed functions.

[0094] Wait for the network control reset to complete.

[0095] Get and configure PHY register parameters, and configure the MCU registers to be consistent with the PHY register information according to the mode supported by the external PHY.

[0096] Initialize the Ethernet DMA module for data transmission, reducing the CPU usage of network data transmission and reception.

[0097] Initialize the physical memory space used to store descriptor lists and data cache.

[0098] Enable MAC and DMA modules and start sending and receiving.

[0099] After completing the network configuration, the MCU can perform basic data transmission and reception. At the same time, the MCU can encapsulate the data into protocols to support application layer protocols such as SNMP, and send the data collected by the MCU to an external management host through the network.

[0100] In order to support the management network port and the data network port sharing one physical network port, a switching chip is added behind the MCU network and the CPU network to enable the external host to access the two internal networks based on the IP address. The switching function is realized by the switching chip.

[0101] Compared with the BMC solution used in the server platform, this solution has further reduced power consumption and is suitable for out-of-band management on the notebook platform. When only the lithium battery is powered and the computer is turned off, the power supply of the external port of the switch chip microcontroller can be turned off to achieve the same power consumption as EC. After AC is connected, it will automatically wake up and re-power the switch chip and the external port of the microcontroller to meet the needs of out-of-band management.

[0102] and Figure 1 Corresponding to the out-of-band management method for a notebook based on a domestic single-chip microcomputer, the present disclosure also provides an out-of-band management device for a notebook based on a domestic single-chip microcomputer, such as Figure 5 As shown, the device may specifically include:

[0103] EC function execution module 501, used to execute EC functions including power-on control, keyboard scanning, lithium battery management and fan control based on the single-chip microcomputer and CPLD;

[0104] The network interface realization module 502 is used to realize the network interface based on the network control and PHY chip of the single-chip microcomputer;

[0105] The external interface realization module 503 is used to connect the network interface of the single-chip microcomputer and the network interface of the CPU, and to bring out the external interface of the whole machine through the switching chip, so that the management network port and the data network port share one physical network port.

[0106] In some embodiments, after the notebook is turned on, the single-chip microcomputer completes the initialization of its own network control and loads the corresponding network application service.

[0107] In some embodiments, the single-chip microcomputer communicates with the remote management terminal in real time through the network to report basic device information, operating status and fault alarm information, wherein the basic device information is sent to the single-chip microcomputer through the LPC interface in the system, and the single-chip microcomputer forwards it through the network.

[0108] In some embodiments, after the laptop is turned off, if the adapter is always powered, the microcontroller and the switch chip are always powered, and the out-of-band management service is not interrupted to ensure business continuity.

[0109] In some embodiments, after the laptop is turned off, if the adapter is not in place, the microcontroller disconnects the power supply of the switching chip to further reduce the power consumption of the laptop, and the network service is disconnected; after the access adapter is connected, the switching chip is powered again and the network service is restored.

[0110] In some embodiments, the EC functions including power-on control, keyboard scanning, lithium battery management, and fan control based on the single-chip microcomputer and CPLD include:

[0111] The LPC data is parsed through CPLD, and the communication with the microcontroller is achieved through I2C to realize the LPC-I2C bridge, which is compatible with the EC software and hardware system. Without changing the operating system, EC functions including power-on control, keyboard scanning, lithium battery management and fan control can be executed.

[0112] In some embodiments, the single-chip microcomputer can also initialize and configure its own network controller;

[0113] The initialization configuration includes: enabling the Ethernet clock, configuring the MCU clock module to enable the MCU clock and the Ethernet transmit / receive clock;

[0114] Configure the communication interface, select the interface mode MII or RMII, and map the corresponding functions to the multiplexed functions;

[0115] Wait for the network control reset to complete;

[0116] Get and configure PHY register parameters, and configure the MCU registers to be consistent with the PHY register information according to the mode supported by the external PHY;

[0117] Initialize the Ethernet DMA module for data transmission to reduce the CPU usage of network data transmission and reception;

[0118] Initialize the physical memory space used to store the descriptor list and data cache;

[0119] Enable MAC and DMA modules and start sending and receiving;

[0120] After completing the network configuration, the MCU performs basic data transmission and reception, and at the same time performs protocol encapsulation on the data to support the SNMP application layer protocol, and sends the data collected by the MCU to the external management host through the network;

[0121] The management network port and the data network port share a physical network port. A switching chip is added to the MCU network and the CPU network to enable external hosts to access the two internal networks based on IP addresses. The switching function is implemented by the switching chip.

[0122] Combination Figure 6 As shown, the embodiment of the present disclosure also provides a notebook out-of-band management device 600 based on a domestic single-chip microcomputer, including a processor 604 and a memory 601. Optionally, the system may also include a communication interface 602 and a bus 603. Among them, the processor 604, the communication interface 602, and the memory 601 can communicate with each other through the bus 603. The communication interface 602 can be used for information transmission. The processor 604 can call the logic instructions in the memory 601 to execute the notebook out-of-band management method based on the domestic single-chip microcomputer of the above embodiment.

[0123] In addition, the logic instructions in the memory 601 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0124] The memory 601 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 604 executes the function application and data processing by running the program instructions / modules stored in the memory 601, that is, the notebook out-of-band management method based on the domestic single-chip microcomputer in the above embodiment is realized.

[0125] The memory 601 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 601 may include a high-speed random access memory and may also include a non-volatile memory.

[0126] The disclosed embodiment provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute a notebook out-of-band management method based on a domestic single-chip microcomputer.

[0127] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0128] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more 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 method of the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0129] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible changes only. Unless explicitly required, separate components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. As used in the description of the embodiments, unless the context clearly indicates otherwise, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variants "comprises" and / or including (comprising) refer to the existence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the existence or addition of one or more other features, wholes, steps, operations, elements, components and / or these groups. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same or similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0130] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. Technicians can clearly understand that for the convenience and simplicity of description, the specific working process of the systems, devices and units described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0131] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. 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 they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0132] The flowchart and block diagram in the accompanying drawings show the possible architecture, functions and operations of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

[0133] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0134] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0135] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0136] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0137] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0138] A computer system may include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises through computer programs running on respective computers and having a client-server relationship to each other. The server may be a cloud server, a server in a distributed system, or a server combined with a blockchain.

[0139] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of this disclosure can be achieved, and this document is not limited here.

[0140] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A notebook out-of-band management method based on a domestic single-chip microcomputer, characterized in that: The method comprises: Based on MCU and CPLD, EC functions including power-on control, keyboard scanning, lithium battery management and fan control are implemented; Realize network interface based on the network control and PHY chip built into the microcontroller; The network interface of the single-chip microcomputer and the network interface of the CPU are connected to the external interface of the whole machine through the switching chip, so that the management network port and the data network port share one physical network port.

2. The method according to claim 1, characterized in that The method further comprises: After the notebook is turned on, the microcontroller completes the initialization of its own network control and loads the corresponding network application service.

3. The method according to claim 1, characterized in that: The method further comprises: The single-chip microcomputer communicates with the remote management terminal in real time through the network to report basic equipment information, operating status and fault alarm information, wherein the basic equipment information is sent to the single-chip microcomputer through the LPC interface in the system, and the single-chip microcomputer forwards it through the network.

4. The method according to claim 1, characterized in that: The method further comprises: After the laptop is turned off, if the adapter is always powered, the microcontroller and switch chip will always be powered, and the out-of-band management service will not be interrupted to ensure business continuity.

5. The method according to claim 1, characterized in that The method further comprises: After the laptop is turned off, if the adapter is not in place, the microcontroller will disconnect the power supply of the switching chip to further reduce the power consumption of the laptop, and the network service will be disconnected; after the adapter is connected, the switching chip will be powered again and the network service will be restored.

6. The method according to claim 1, characterized in that The EC functions based on the single chip microcomputer and CPLD include power-on control, keyboard scanning, lithium battery management and fan control, including: The LPC data is parsed through CPLD, and the communication with the microcontroller is achieved through I2C to realize the LPC-I2C bridge, which is compatible with the EC software and hardware system. Without changing the operating system, EC functions including power-on control, keyboard scanning, lithium battery management and fan control can be executed.

7. The method according to claim 1, characterized in that The method further comprises the single chip microcomputer initializing and configuring the self-contained network controller; The initialization configuration includes: enabling the Ethernet clock, configuring the single-chip computer clock module to enable the single-chip computer clock and the Ethernet sending / receiving clock; Configure the communication interface, select the interface mode MII or RMII, and map the corresponding functions to the multiplexed functions; Wait for the network control reset to complete; Get and configure PHY register parameters, and configure the MCU registers to be consistent with the PHY register information according to the mode supported by the external PHY; Initialize the Ethernet DMA module for data transmission to reduce the CPU usage of network data transmission and reception; Initialize the physical memory space used to store the descriptor list and data cache; Enable MAC and DMA modules and start sending and receiving; After completing the network configuration, the MCU performs basic data transmission and reception, and at the same time performs protocol encapsulation on the data to support the SNMP application layer protocol, and sends the data collected by the MCU to the external management host through the network; The management network port and the data network port share a physical network port. A switching chip is added to the MCU network and the CPU network to enable external hosts to access the two internal networks based on IP addresses. The switching function is implemented by the switching chip.

8. A notebook out-of-band management device based on a domestic single-chip microcomputer, characterized in that: The device comprises: EC function execution module, used to execute EC functions including power-on control, keyboard scanning, lithium battery management and fan control based on single-chip microcomputer and CPLD; The network interface implementation module is used to implement the network interface based on the network control and PHY chip of the microcontroller; The external interface implementation module is used for the network interface based on the single-chip microcomputer and the network interface of the CPU. It leads to the external interface of the whole machine through the switching chip, so that the management network port and the data network port share one physical network port.

9. An electronic device, characterized in that: include: at least one processor; and a memory communicatively coupled to the at least one processor; It is characterized in that the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.