Module interconnection circuit, remote control method and wireless server

Through the module interconnection circuit and remote control method, the main CPU and the auxiliary CPU share the wireless communication module, solving the problem of resource waste in the server standby state, realizing low power consumption and flexible network mode switching, suitable for multiple network environments .

CN119045646APending Publication Date: 2024-11-29赵继安
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410935899.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In industrial and automotive application scenarios, the server needs to support a 7x24-hour standby state, but the main CPU cannot provide remote control functions when it is completely shut down, and the configuration of independent wireless communication modules for the main CPU and the auxiliary CPU respectively leads to wasting hardware resources and costs.

Method used

Design a module interconnection circuit, through the combination of the main CPU, the auxiliary CPU, the wireless communication module, the UART selector and the USB2.0 selector, realize that the main CPU and the auxiliary CPU share a wireless communication module, and use the inter-CPU data lines and controls. The wire transmits data and control signals, dynamically switches the interface connection of the wireless communication module, and realizes the power-on and shutdown operations of the main CPU and the auxiliary CPU.

Benefits of technology

It saves hardware resources and costs, realizes the wireless server's ultra-low power consumption state for a long time, and adjusts the operating mode of the wireless communication module according to the system status, reduces power consumption and traffic charges, and is suitable for a variety of network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119045646A_ABST
    Figure CN119045646A_ABST
Patent Text Reader

Abstract

The invention relates to a module interconnection circuit, a control method and a wireless server, and the module interconnection circuit comprises a main CPU, an auxiliary CPU, a wireless communication module, a UART selector, a USB2.0 selector, an inter-CPU data line, and an inter-CPU control line. An interface of the main CPU directly or indirectly provides a main UART (Universal Asynchronous Receiver / Transmitter) data line, a main PCIE (Peripheral Component Interface Express) data line, a main USB3.0 data line and a main USB2.0 data line; the interface of the auxiliary CPU directly or indirectly provides an auxiliary UART (Universal Asynchronous Receiver / Transmitter) data line and an auxiliary USB2.0 data line; an interface of the wireless communication module directly or indirectly provides a module UART data line, a module PCIE data line, a module USB3.0 data line and a module USB2.0 data line; the main UART data line and the auxiliary UART data line are connected through the UART selector; the wireless communication module is connected with the UART selector through a module UART data line; the main USB2.0 data line and the auxiliary USB2.0 data line are connected through the USB2.0 selector; and the wireless communication module is connected with the USB2.0 selector through the module USB2.0 data line. According to the invention, the main CPU and the auxiliary CPU can reasonably share the hardware resources of the wireless communication module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of information and communication technology (ICT), and in particular relates to a module interconnection circuit, a remote control method and a wireless server. Background Art

[0002] In industrial applications, vehicle-mounted applications and other scenarios, servers are usually not required to run at full capacity 24 / 7, but they are usually required to support 24 / 7 standby. Although servers can save power by hibernation, even if the server CPU (such as an x86 processor) is in hibernation, the required power consumption is still much higher than the operating power consumption of microprocessors (such as stm32 and esp32). If the server CPU is completely shut down, the remote control function required by the server cannot be provided.

[0003] In addition to the main CPU of the server, it is a reasonable design to configure an additional ultra-low power auxiliary CPU so that when the main CPU is shut down, the auxiliary CPU remains online. In order to support the remote control function, it is necessary to provide network communication functions for the main CPU and the auxiliary CPU. The conventional solution is that the main CPU and the auxiliary CPU each use a separate wireless communication module, which can meet both the standby power consumption requirements and the remote control requirements. However, configuring independent wireless communication modules for the main CPU and the auxiliary CPU respectively will result in a waste of hardware resources and costs. A technical solution is needed that allows the main CPU and the auxiliary CPU to reasonably share the hardware resources of the wireless communication module. Summary of the invention

[0004] The purpose of the present invention is to provide a module interconnection circuit, a remote control method and a wireless server to solve the above technical problems.

[0005] The present invention provides a module interconnection circuit, characterized in that it includes a main CPU, an auxiliary CPU, a wireless communication module, a UART selector, a USB2.0 selector, an inter-CPU data line, and an inter-CPU control line;

[0006] The interface of the main CPU directly or indirectly provides a main UART data line, a main PCIE data line, a main USB3.0 data line, and a main USB2.0 data line; the interface of the auxiliary CPU directly or indirectly provides an auxiliary UART data line and an auxiliary USB2.0 data line; the interface of the wireless communication module directly or indirectly provides a module UART data line, a module PCIE data line, a module USB3.0 data line, and a module USB2.0 data line;

[0007] The main CPU and the auxiliary CPU are connected via the inter-CPU data line and the inter-CPU control line;

[0008] The main PCIE data line is connected to the module PCIE data line; the main USB3.0 data line is connected to the module USB3.0 data line;

[0009] The main UART data line and the auxiliary UART data line are connected through the UART selector; the wireless communication module is connected to the UART selector through the module UART data line; the UART selector is used to select the connection module UART data line and the main UART data line, or select the connection module UART data line and the auxiliary UART data line at the same time;

[0010] The main USB2.0 data line and the auxiliary USB2.0 data line are connected through the USB2.0 selector; the wireless communication module is connected to the USB2.0 selector through the module USB2.0 data line; the USB2.0 selector is used to select the connected module USB2.0 data line and the main USB2.0 data line, or select the connected module USB2.0 data line and the auxiliary USB2.0 data line at the same time.

[0011] Furthermore, the wireless communication module is a cellular communication module, a WiFi communication module, a Bluetooth communication module or a ZigBee communication module; the communication mode of the wireless communication module includes a low-speed communication mode and a high-speed communication mode.

[0012] The present invention also provides a remote control method, based on the module interconnection circuit, the method comprising:

[0013] Main CPU shutdown method:

[0014] In the main CPU operation mode, driven by remote instructions or system status and application scenarios, the main CPU first executes the auxiliary CPU startup action through the CPU inter-control line; then executes the main CPU shutdown action to put the system into an ultra-low power operation state;

[0015] Main CPU startup method:

[0016] In the auxiliary CPU operation mode, the auxiliary CPU, driven by remote instructions or system status and application scenarios, executes the main CPU power-on action through the CPU-to-CPU control line, so that the system switches from the ultra-low power operation state to the full-function operation state.

[0017] Furthermore, the main CPU shutdown method specifically includes:

[0018] In the main CPU operation mode, the cloud or remote computer initiates the main CPU shutdown command; the wireless communication module receives the main CPU shutdown command; the main CPU obtains the main CPU shutdown command received by the wireless communication module through the main UART data line, or the main PCIE data line, or the main USB3.0 data line, or the main USB2.0 data line; the main CPU executes the main CPU shutdown action; finally, the main CPU and the auxiliary CPU are both in the shutdown state, that is, the whole system is completely shut down;

[0019] In the main CPU operation mode, the cloud or remote computer initiates the main CPU shutdown command; the wireless communication module receives the main CPU shutdown command; the main CPU obtains the main CPU shutdown command received by the wireless communication module through the main UART data line, or the main PCIE data line, or the main USB3.0 data line, or the main USB2.0 data line; the main CPU first executes the auxiliary CPU startup action through the CPU inter-control line; then, the main CPU executes the main CPU shutdown action, and the system switches to the auxiliary CPU operation mode; in the auxiliary CPU operation mode, the auxiliary CPU sets the wireless communication module to the low-speed communication mode;

[0020] In the main CPU + auxiliary CPU operation mode, the cloud or remote computer initiates the main CPU shutdown command; the wireless communication module receives the main CPU shutdown command; the main CPU obtains the main CPU shutdown command received by the wireless communication module through the main UART data line, or the main PCIE data line, or the main USB3.0 data line, or the main USB2.0 data line, or the CPU-to-CPU data line; the main CPU executes the main CPU shutdown action, and the system switches to the auxiliary CPU operation mode; in the auxiliary CPU operation mode, the auxiliary CPU sets the wireless communication module to the low-speed communication mode;

[0021] In the main CPU + auxiliary CPU operation mode, the cloud or remote computer initiates the main CPU shutdown command; the wireless communication module receives the main CPU shutdown command; the auxiliary CPU obtains the main CPU shutdown command received by the wireless communication module through the auxiliary UART data line, or the auxiliary USB2.0 data line, or the CPU-to-CPU data line; the auxiliary CPU executes the main CPU shutdown action through the CPU-to-CPU control line, and the system switches to the auxiliary CPU operation mode; in the auxiliary CPU operation mode, the auxiliary CPU sets the wireless communication module to the low-speed communication mode.

[0022] Furthermore, the main CPU startup method specifically includes:

[0023] In the auxiliary CPU operation mode, the cloud or remote computer initiates the main CPU power-on command; the wireless communication module receives the main CPU power-on command; the auxiliary CPU obtains the main CPU power-on command received by the wireless communication module through the auxiliary UART data line or the auxiliary USB2.0 data line; the auxiliary CPU executes the main CPU power-on action through the CPU inter-control line, and the system switches to the main CPU + auxiliary CPU operation mode; in the main CPU + auxiliary CPU operation mode, the main CPU or the auxiliary CPU sets the wireless communication module to the operation mode required by the system, that is, the high-speed communication mode or the low-speed communication mode;

[0024] After the system switches from the initial auxiliary CPU operation mode to the main CPU + auxiliary CPU operation mode, when there is no need for the main CPU + auxiliary CPU to run simultaneously, the main CPU executes the auxiliary CPU shutdown action through the CPU inter-control line; or the auxiliary CPU directly executes the auxiliary CPU shutdown action, and the system switches to the main CPU operation mode.

[0025] Furthermore, the main CPU + auxiliary CPU operation mode is: the main CPU, auxiliary CPU, wireless communication module, UART selector, and USB2.0 selector work normally; the UART selector selects the UART data line of the connectivity module and the main UART data line or the auxiliary UART data line; the USB2.0 selector selects the USB2.0 data line of the connectivity module and the main USB2.0 data line or the auxiliary USB2.0 data line; the UART selector is controlled by the main CPU or by the auxiliary CPU; the USB2.0 selector is controlled by the main CPU or by the auxiliary CPU.

[0026] Furthermore, the main CPU operating mode is: the auxiliary CPU is shut down; the main CPU, wireless communication module, UART selector, and USB2.0 selector work normally; the UART selector is controlled by the main CPU to select the connection module UART data line and the main UART data line; the USB2.0 selector is controlled by the main CPU to select the connection module USB2.0 data line and the main USB2.0 data line.

[0027] Furthermore, the auxiliary CPU operation mode is: the main CPU is shut down; the auxiliary CPU, wireless communication module, UART selector, and USB2.0 selector work normally; the UART selector is controlled by the auxiliary CPU to select the connection module UART data line and the auxiliary UART data line; the USB2.0 selector is controlled by the auxiliary CPU to select the connection module USB2.0 data line and the auxiliary USB2.0 data line.

[0028] Furthermore, the main CPU shutdown and main CPU startup instructions are executable commands agreed upon by the system, text data, binary data, SMS / MMS messages, or incoming call indications.

[0029] The present invention also provides a wireless server, comprising the module interconnection circuit and executing the remote control method.

[0030] By means of the above scheme, through the module interconnection circuit, the remote control method and the wireless server, the following technical effects are achieved:

[0031] 1) The main CPU and the auxiliary CPU of the present invention share a wireless communication module, which saves hardware resources and costs as well as power consumption compared to the conventional solution in which the main CPU and the auxiliary CPU each use a separate wireless communication module.

[0032] 2) The present invention can keep the wireless server in an ultra-low power consumption state for a long time, and at the same time can keep the wireless communication module in a low-speed communication mode to maintain uninterrupted communication; when the main CPU of the wireless server needs to work, it can be achieved through the main CPU startup process; when the main CPU of the wireless server does not need to work, it can be achieved through the main CPU shutdown process; because the auxiliary CPU can use an ultra-low power consumption processor, the power consumption is lower than the conventional main CPU sleep solution, and the best energy saving effect can be achieved; at the same time, according to the system status and application scenarios, the wireless communication module can be set to a reasonable operation mode, further saving traffic charges and system power consumption.

[0033] 3) The wireless server provided by the present invention is applicable to a variety of network environments, including WiFi, Bluetooth, ZigBee network environments, NB-IoT, 4G, 5G and future 6G cellular communication network environments, and LPWAN low-power wide-area wireless network environments such as Lora and Sigfox.

[0034] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a schematic diagram of a module interconnection circuit of the present invention;

[0036] Figure 2 It is a diagram of an implementation method of a UART selector of the present invention;

[0037] Figure 3 This is a diagram of the implementation of the USB2.0 selector of the present invention;

[0038] Figure 4 This is a flowchart of shutting down the main CPU in one embodiment of the present invention;

[0039] Figure 5 This is a flowchart of the main CPU startup in one embodiment of the present invention.

[0040] Numbers in the figure:

[0041] 100-main CPU; 101-main UART data line; 102-main PCIE data line; 103-main USB3.0 data line; 104-main USB2.0 data line;

[0042] 200- auxiliary CPU; 201- auxiliary UART data line; 204- auxiliary USB2.0 data line;

[0043] 300 - wireless communication module; 301 - module UART data line; 302 - module PCIE data line; 303 - module USB3.0 data line; 304 - module USB2.0 data line.

[0044] 66-UART selector; 77-USB2.0 selector; 88-data line between CPUs; 99-control line between CPUs. DETAILED DESCRIPTION

[0045] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0046] Ginseng Figure 1As shown, this embodiment provides a module interconnection circuit, including a main CPU 100, an auxiliary CPU 200, a wireless communication module 300, a UART selector 66, a USB2.0 selector 77, an inter-CPU data line 88, and an inter-CPU control line 99; the interface of the main CPU 100 directly or indirectly provides a main UART data line 101, a main PCIE data line 102, a main USB3.0 data line 103, and a main USB2.0 data line 104; the interface of the auxiliary CPU 200 directly or indirectly provides an auxiliary UART data line 201 and an auxiliary USB2.0 data line 204; the interface of the wireless communication module 300 directly or indirectly provides a module UART data line 301, a module PCIE data line 302, a module USB3.0 data line 303, and a module USB2.0 data line 304; the main CPU 100, the auxiliary CPU 200 are connected through the CPU data line 88 and the CPU control line 99; the main PCIE data line 102 is connected to the module PCIE data line 302; the main USB3.0 data line 103 is connected to the module USB3.0 data line 303; the main UART data line 101 and the auxiliary UART data line 201 are connected through the UART selector 66; the wireless communication module 300 is connected to the UART selector 66 through the module UART data line 301; the UART selector 66 is used to select the connection module UART data line 301 and the main UART data at the same time. Line 101, or select the connection module UART data line 301 and the auxiliary UART data line 201; the main USB2.0 data line 104 and the auxiliary USB2.0 data line 204 are connected through the USB2.0 selector 77; the wireless communication module 300 is connected to the USB2.0 selector 77 through the module USB2.0 data line 304; the USB2.0 selector 77 is used to select the connection module USB2.0 data line 304 and the main USB2.0 data line 104, or select the connection module USB2.0 data line 304 and the auxiliary USB2.0 data line 204 at the same time.

[0047] Specifically:

[0048] The main CPU 100 is the main CPU of the system, with high processing power and power consumption. The system power consumption can be saved by shutting down the main CPU. The interface of the main CPU directly or indirectly provides the following data lines:

[0049] The main UART data line 101 is connected to the UART selector 66 and includes two data lines: a transmit line (UART_TX) and a receive line (UART_RX);

[0050] The main PCIE data line 102 is connected to the module PCIE data line 302; it includes four data lines: transmit + (PCIE_TX+), transmit - (PCIE_TX-), receive + (PCIE_RX+), and receive - (PCIE_RX-);

[0051] The main USB 3.0 data line 103 is connected to the module USB 3.0 data line 303; it includes four data lines: send + (USB_SS_TX+), send - (USB_SS_TX-), receive + (USB_SS_RX+) and receive + (USB_SS_RX-);

[0052] The main USB 2.0 data line 104 is connected to the USB selector 99 and includes two data lines: a differential data line (USB_D+) and a differential data line (USB_D-);

[0053] The auxiliary CPU 200 is the auxiliary CPU of the system, with low processing power and power consumption. It is preferred to use an ultra-low power processor, which can run for a long time without generating excessive power consumption. The interface of the auxiliary CPU directly or indirectly provides the following data lines:

[0054] Auxiliary UART data line 201, connected to UART selector 66; including two data lines: sending (UART_TX) and receiving (UART_RX);

[0055] Auxiliary USB2.0 data line 204, connected to USB2.0 selector 99; including two data lines of differential data (USB_D+) and differential data (USB_D-);

[0056] The wireless communication module 300 may be a cellular communication module that supports cellular communication based on the 3GPP series of specifications; it may also be a WiFi communication module that supports WiFi communication based on the IEEE 802.11 specification; it may also be a Bluetooth communication module that supports Bluetooth communication based on the IEEE 802.15.1 specification; it may also be a ZigBee communication module that supports ZigBee communication based on the IEEE802.15.4 specification; the interface of the wireless communication module directly or indirectly provides the following data lines:

[0057] The module UART data line 301 is connected to the UART selector 66; it includes two data lines: sending (UART_TX) and receiving (UART_RX);

[0058] The module PCIE data line 302 is connected to the main PCIE data line 102; it includes four data lines: transmit + (PCIE_TX+), transmit - (PCIE_TX-), receive + (PCIE_RX+), and receive - (PCIE_RX-); the module PCIE data line 302 is an optional data line, for example, some Bluetooth communication modules and ZigBee communication modules do not provide a PCIE interface;

[0059] The module USB3.0 data line 303 is connected to the main USB3.0 data line 103; it includes four data lines: send + (USB_SS_TX+), send - (USB_SS_TX-), receive + (USB_SS_RX+) and receive + (USB_SS_RX-); the module USB3.0 data line is an optional data line, for example, some Bluetooth communication modules and ZigBee communication modules do not provide USB3.0 interfaces;

[0060] The module USB2.0 data line 304 is connected to the USB selector 99 and includes two data lines: differential data (USB_D+) and differential data (USB_D-);

[0061] The UART selector 66 is used to select the connection module UART data line 301 and the main UART data line 101, or to select the connection module UART data line 301 and the auxiliary UART data line 201; the above selection is a 2-to-1 selection, that is, at the same time, the module UART data line 301 is either connected to the main CPU 100 or to the auxiliary CPU 200;

[0062] The USB2.0 selector 77 is used to select the connection between the module USB2.0 data line 304 and the main USB2.0 data line 104, or the connection between the module USB2.0 data line 304 and the auxiliary USB2.0 data line 204; the above selection is a 2-to-1 selection, that is, at the same time, the module USB2.0 data line 304 is either connected to the main CPU 100 or connected to the auxiliary CPU 200;

[0063] The inter-CPU data line 88 is used to transmit data signals between the main CPU 100 and the auxiliary CPU 200; it can be a conventional UART data line, a USB data line, or an I2C data line;

[0064] The inter-CPU control line 99 is used to transmit control signals between the main CPU 100 and the auxiliary CPU 200; it can be a group of conventional GPIO signal lines.

[0065] The module interconnection circuit has the following technical effects:

[0066] 1) The prior art is that the main CPU and the auxiliary CPU each use a separate wireless communication module, and a total of two wireless communication modules are required; considering that the auxiliary CPU is an ultra-low power processor, the processing power and communication capabilities are very low, and usually only support UART interface and USB2.0 interface. This embodiment uses a UART selector to connect the UART data line of the wireless communication module with the main CPU UART data line and the auxiliary CPU UART data line in a shared manner; at the same time, this embodiment uses a USB2.0 selector to connect the USB2.0 data line of the wireless communication module with the main CPU USB2.0 data line and the auxiliary CPU USB2.0 data line in a shared manner; this embodiment uses a wireless communication module so that both the main CPU and the auxiliary CPU can access the UART and USB2.0 data interfaces of the wireless communication module.

[0067] 2) This embodiment provides an inter-CPU data line and an inter-CPU control line, so that the main CPU and the auxiliary CPU can not only transmit data but also execute the power on / off action of the other CPU.

[0068] This embodiment provides a remote control method, which is based on the module interconnection circuit and includes:

[0069] Main CPU shutdown method:

[0070] In the main CPU operation mode, driven by remote instructions or system status and application scenarios, the main CPU first executes the auxiliary CPU startup action through the CPU-to-CPU control line; then executes the main CPU shutdown action, so that the system enters an ultra-low power consumption operation state.

[0071] Main CPU startup method:

[0072] In the auxiliary CPU operation mode, the auxiliary CPU, driven by remote instructions or system status and application scenarios, executes the main CPU power-on action through the CPU-to-CPU control line, so that the system switches from the ultra-low power operation state to the full-function operation state.

[0073] The specific system operation mode and operation mode switching process are as follows:

[0074] 1. Wireless communication module operation mode:

[0075] Preferably, the wireless communication module 300 can support high-speed communication modes, such as 4G 100Mbps rate mode and 5G 1Gbps rate mode; the wireless communication module 300 can also support low-speed communication modes, such as 4G Cat1 communication mode and 5G RedCap communication mode; it can be understood that the low-speed communication mode can not only save traffic charges, but also save system power consumption.

[0076] 2. Main CPU + auxiliary CPU operation mode:

[0077] The main CPU 100, the auxiliary CPU 200, the wireless communication module 300, the UART selector 66, and the USB2.0 selector 99 work normally; the UART selector 66 selects the connection module UART data line 301 and the main UART data line 101 or the auxiliary UART data line 201; the USB2.0 selector 99 selects the connection module USB2.0 data line 304 and the main USB2.0 data line 104 or the auxiliary USB2.0 data line 204; the UART selector 66 can be controlled by the main CPU 100 or by the auxiliary CPU 200; the USB2.0 selector 99 can be controlled by the main CPU 100 or by the auxiliary CPU 200.

[0078] 3. Main CPU operation mode:

[0079] The auxiliary CPU 200 is shut down; the main CPU 100, the wireless communication module 300, the UART selector 66, and the USB2.0 selector 99 work normally; the UART selector 66 is controlled by the main CPU to select the connection module UART data line 301 and the main UART data line 101; the USB2.0 selector 99 is controlled by the main CPU 100 to select the connection module USB2.0 data line 304 and the main USB2.0 data line 104.

[0080] 4. Auxiliary CPU operation mode:

[0081] The main CPU 100 is shut down; the auxiliary CPU 200, the wireless communication module 300, the UART selector 66, and the USB2.0 selector 99 work normally; the UART selector 66 is controlled by the auxiliary CPU 200 to select the connection module UART data line 301 and the auxiliary UART data line 201; the USB2.0 selector 99 is controlled by the auxiliary CPU 200 to select the connection module USB2.0 data line 304 and the auxiliary USB2.0 data line 204.

[0082] 5. Main CPU shutdown process:

[0083] 5.1. In the main CPU operation mode, the cloud or remote computer initiates a main CPU shutdown command; the wireless communication module 300 receives the main CPU shutdown command; the main CPU 100 obtains the main CPU shutdown command received by the wireless communication module 300 through the main UART data line 101, or the main PCIE data line 102, or the main USB3.0 data line 103, or the main USB2.0 data line 104; the main CPU 100 executes the main CPU shutdown action; finally, both the main CPU and the auxiliary CPU are in the shutdown state, that is, the entire system is completely shut down.

[0084] 5.2. In the main CPU operation mode, the cloud or remote computer initiates a main CPU shutdown command; the wireless communication module 300 receives the main CPU shutdown command; the main CPU 100 obtains the main CPU shutdown command received by the wireless communication module 300 through the main UART data line 101, or the main PCIE data line 102, or the main USB3.0 data line 103, or the main USB2.0 data line 104; the main CPU 100 first executes the auxiliary CPU power-on action through the CPU inter-control line 99; then, the main CPU 100 further executes the main CPU shutdown action, and the system switches to the auxiliary CPU operation mode; in the auxiliary CPU operation mode, the auxiliary CPU 200 sets the wireless communication module 300 to the low-speed communication mode.

[0085] 5.3. In the main CPU + auxiliary CPU operation mode, the cloud or remote computer initiates the main CPU shutdown command; the wireless communication module 300 receives the main CPU shutdown command; the main CPU 100 obtains the main CPU shutdown command received by the wireless communication module 300 through the main UART data line 101, or the main PCIE data line 102, or the main USB3.0 data line 103, or the main USB2.0 data line 104, or the CPU-to-CPU data line 88; the main CPU 100 executes the main CPU shutdown action, and the system switches to the auxiliary CPU operation mode; in the auxiliary CPU operation mode, the auxiliary CPU 200 sets the wireless communication module 300 to the low-speed communication mode.

[0086] 5.4. In the main CPU + auxiliary CPU operation mode, the cloud or remote computer initiates the main CPU shutdown command; the wireless communication module 300 receives the main CPU shutdown command; the auxiliary CPU 200 obtains the main CPU shutdown command received by the wireless communication module 300 through the auxiliary UART data line 201, or the auxiliary USB2.0 data line 204, or the CPU-to-CPU data line 88; the auxiliary CPU 200 executes the main CPU shutdown action through the CPU-to-CPU control line 99, and the system switches to the auxiliary CPU operation mode; in the auxiliary CPU operation mode, the auxiliary CPU 200 sets the wireless communication module 300 to the low-speed communication mode.

[0087] 5.5. It is understood that in the main CPU operation mode, or the main CPU + auxiliary CPU operation mode, the main CPU or auxiliary CPU can independently decide and initiate the main CPU shutdown command according to the system status and application scenario.

[0088] 5.6. The main CPU shutdown instruction may be an executable command agreed upon by the system, text data, binary data, SMS / MMS message, or incoming call indication.

[0089] 6. Main CPU startup process:

[0090] 6.1. In the auxiliary CPU operation mode, the cloud or remote computer initiates the main CPU power-on command; the wireless communication module 300 receives the main CPU power-on command; the auxiliary CPU 200 obtains the main CPU power-on command received by the wireless communication module 300 through the auxiliary UART data line 201 or the auxiliary USB2.0 data line 204; the auxiliary CPU 200 executes the main CPU power-on action through the CPU-to-CPU control line 99, and the system switches to the main CPU + auxiliary CPU operation mode; in the main CPU + auxiliary CPU operation mode, the main CPU 100 or the auxiliary CPU 200 sets the wireless communication module 300 to the operation mode required by the system; at this time, it is usually set to the high-speed communication mode, but the present invention does not limit the specific operation mode set.

[0091] 6.2. On the basis of 6.1, that is, after the system switches from the initial auxiliary CPU operation mode to the main CPU + auxiliary CPU operation mode, further, when required by the application scenario (for example, the main CPU + auxiliary CPU do not need to run simultaneously), the main CPU 100 executes the auxiliary CPU shutdown action through the CPU inter-control line 99; or the auxiliary CPU 200 directly executes the auxiliary CPU shutdown action, and the system switches to the main CPU operation mode.

[0092] 6.3. It is understandable that, in the auxiliary CPU operation mode, the auxiliary CPU can independently determine and initiate the main CPU power-on command according to the system status and application scenario.

[0093] 6.4. The main CPU power-on instruction may be an executable command agreed upon by the system, text data, binary data, SMS / MMS message, or incoming call indication.

[0094] This embodiment also provides a wireless server, which is based on Figure 1 The modules shown are interconnected circuits and execute the remote control method.

[0095] The implementation of the UART selector in this embodiment is as follows:

[0096] TXS0102 is a 2-bit bidirectional voltage level converter chip provided by TI of the United States. This embodiment uses two TXS0102 chips to implement the UART selector function. Figure 2As shown. The characteristic of the TXS0102 chip is that when the OE control signal is at a high level, A1 and B1 are turned on inside the chip, and A2 and B2 are turned on at the same time; when the OE control signal is at a low level, A1 and B1 are disconnected inside the chip, and A2 and B2 are disconnected at the same time. In this embodiment, the A1 pin of the master / slave TXS0102 chip is connected to the TX signal of the transmitting end of the UART interface of the wireless communication module; the A2 pin of the master / slave TXS0102 chip is connected to the RX signal of the receiving end of the UART interface of the wireless communication module; the B1 pin of the master / slave TXS0102 chip is respectively connected to the RX signal of the receiving end of the master / slave CPU UART interface; the B2 pin of the master / slave TXS0102 chip is respectively connected to the TX signal of the transmitting end of the master / slave CPU UART interface. This embodiment provides an OE Control control terminal. When OE Control is at a high level, the OE control signal of the main TXS0102 chip is at a high level, the main TXS0102 chip is enabled, and the internal is turned on; at this time, the OE control signal of the auxiliary TXS0102 chip is at a low level (i.e., the signal after OE Control is inverted), the auxiliary TXS0102 chip is disabled, and the internal is disconnected; as a result, the main CPU UART interface is connected to the UART interface of the wireless communication module, while the auxiliary CPU UART interface is disconnected from the UART interface of the wireless communication module. Conversely, when OE Control is at a low level, the main CPU UART interface is disconnected from the UART interface of the wireless communication module, while the auxiliary CPU UART interface is connected to the UART interface of the wireless communication module. It can be understood that the main / auxiliary CPU can cooperate with each other to operate the OE Control control terminal through GPIO signals to realize the back and forth switching of the UART interface.

[0097] The implementation of the USB2.0 selector in this embodiment is as follows:

[0098] TS3USB30E is a 2-way USB2.0 multiplexer chip provided by TI of the United States. This embodiment uses the TS3USB30E chip to implement the USB2.0 selector function. Figure 3As shown. The characteristic of the TS3USB30E chip is that when the S control signal is at a low level, the D+ / D- and D1+ / D1- are respectively turned on inside the chip; when the S control signal is at a high level, the D+ / D- and D2+ / D2- are respectively turned on inside the chip. In this embodiment, the D+ / D- pins of the TS3USB30E chip are respectively connected to the D+ / D- signals of the USB2.0 interface of the wireless communication module; the D1+ / D1- pins of the TS3USB30E chip are respectively connected to the D+ / D- of the USB2.0 interface of the main CPU; and the D2+ / D2- pins of the TS3USB30E chip are respectively connected to the D+ / D- of the USB2.0 interface of the auxiliary CPU. In this embodiment, the S signal of the TS3USB30E chip is brought out as the Select Control control terminal. When the Select Control is at a low level, the USB2.0 interface of the main CPU is connected to the USB2.0 interface of the wireless communication module, while the USB2.0 interface of the auxiliary CPU is disconnected from the USB2.0 interface of the wireless communication module. On the contrary, when Select Control is at a high level, the USB2.0 interface of the main CPU is disconnected from the USB2.0 interface of the wireless communication module, while the USB2.0 interface of the auxiliary CPU is connected to the USB2.0 interface of the wireless communication module. It can be understood that the main / auxiliary CPUs can cooperate with each other to operate the Select Control terminal through GPIO signals to realize the switching back and forth of the USB2.0 interface.

[0099] Ginseng Figure 4 As shown, one implementation of the main CPU shutdown process is as follows:

[0100] When the process starts, the system is in the main CPU running state.

[0101] Step S801, the cloud or remote computer initiates a main CPU shutdown command;

[0102] Step S802, the wireless communication module 300 receives a shutdown instruction from the main CPU;

[0103] Step S803, the main CPU 100 obtains the main CPU shutdown instruction received by the wireless communication module 300 through the main UART data line 101, or the main PCIE data line 102, or the main USB3.0 data line 103, or the main USB2.0 data line 104;

[0104] Step S804, the main CPU 100 executes 200 the auxiliary CPU power-on action via the inter-CPU control line 99;

[0105] Step S805a, the secondary CPU 200 sets the wireless communication module 300 to a low-speed communication mode;

[0106] Step S805b, the main CPU 100 executes the main CPU shutdown action;

[0107] Steps S805a and S805b may be performed in parallel;

[0108] When the process ends, the system switches to auxiliary CPU operation mode.

[0109] Ginseng Figure 5 As shown, one implementation of the main CPU startup process is as follows:

[0110] When the process starts, the system is in the auxiliary CPU running state.

[0111] Step S901, the cloud or remote computer initiates a main CPU power-on instruction;

[0112] Step S902, the wireless communication module 300 receives a main CPU power-on instruction;

[0113] Step S903, the auxiliary CPU 200 obtains 300 the main CPU power-on instruction received by the wireless communication module 300 through the auxiliary UART data line 201 or the auxiliary USB2.0 data line 204;

[0114] Step S904, the auxiliary CPU 200 executes the main CPU power-on action through the inter-CPU control line 99;

[0115] Step S905, the main CPU 100 or the auxiliary CPU 200 sets the wireless communication module 300 to the operating mode required by the system;

[0116] Step S906, determine whether the system needs the main CPU + auxiliary CPU to run simultaneously? If the judgment result is YES, the process ends and the system switches to the main CPU + auxiliary CPU operation mode; if the judgment result is NO, execute step S907;

[0117] Step S907, the main CPU 100 executes the auxiliary CPU shutdown action through the CPU inter-control line 99, or the auxiliary CPU 200 directly executes the auxiliary CPU shutdown action, and the process ends here, and the system switches to the main CPU operation mode.

[0118] It is understandable that the wireless server described in this embodiment is also applicable to the following application scenarios:

[0119] 1. The wireless communication module uses a higher version of the module USB interface, such as a module USB4 interface containing 8 data lines; accordingly, the main CPU uses a main USB4 interface with a matching version; the USB4 interface rate can meet the ultra-high bandwidth requirements of future 6G cellular communications.

[0120] 2. The wireless communication module adopts a module PCIE interface that supports more channels, such as a 4-channel module PCIE interface including 16 data lines; accordingly, the main CPU can adopt a 4-channel main PCIE interface with matching number of channels; the 4-channel PCIE interface rate can meet the ultra-high bandwidth requirements of future 6G cellular communications.

[0121] 3. The auxiliary CPU supports USB3.0 interface; accordingly, the USB2.0 selector used in the system is upgraded to a version that supports USB3.0; the USB3.0 interface can meet the higher bandwidth requirements of auxiliary CPU communication.

[0122] 4. In the main CPU operation mode, auxiliary CPU operation mode, or main CPU + auxiliary CPU operation mode, the main CPU or auxiliary CPU can set the wireless communication module to a reasonable operation mode according to the system status and application scenario. The present invention does not limit the specific operation mode set.

[0123] 5. Make simple modifications to the main CPU shutdown / startup process, such as changing the main CPU shutdown / startup action to the main CPU sleep / wake-up action, which can support remote control of the main CPU sleep / wake-up.

[0124] 6. The wireless communication module supports Lora or Sigfox communication; through the UART selector and USB2.0 selector described in the present invention, the application requirements of remote power on / off of the main / auxiliary CPU of the wireless server and switching of the operation mode can be realized in the low-power wide-area wireless network (LPWAN) environment based on Lora or Sigfox.

[0125] The present invention has the following technical effects:

[0126] 1) The main CPU and the auxiliary CPU of the present invention share a wireless communication module, which saves hardware resources and costs as well as power consumption compared to the conventional solution in which the main CPU and the auxiliary CPU each use a separate wireless communication module.

[0127] 2) The present invention can keep the wireless server in an ultra-low power consumption state for a long time, and at the same time can keep the wireless communication module in a low-speed communication mode to maintain uninterrupted communication; when the main CPU of the wireless server needs to work, it can be achieved through the main CPU startup process; when the main CPU of the wireless server does not need to work, it can be achieved through the main CPU shutdown process; because the auxiliary CPU can use an ultra-low power consumption processor, the power consumption is lower than the conventional main CPU sleep solution, and the best energy saving effect can be achieved; at the same time, according to the system status and application scenarios, the wireless communication module can be set to a reasonable operation mode, further saving traffic charges and system power consumption.

[0128] 3) The wireless server provided by the present invention is applicable to a variety of network environments, including WiFi, Bluetooth, ZigBee network environments, NB-IoT, 4G, 5G and future 6G cellular communication network environments, and LPWAN low-power wide-area wireless network environments such as Lora and Sigfox.

[0129] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the technical principles of the present invention, and these improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A module interconnection circuit, characterized in that: It includes a main CPU (100), an auxiliary CPU (200), a wireless communication module (300), a UART selector (66), a USB2.0 selector (77), an inter-CPU data line (88), and an inter-CPU control line (99); The interface of the main CPU (100) directly or indirectly provides a main UART data line (101), a main PCIE data line (102), a main USB3.0 data line (103), and a main USB2.0 data line (104); the interface of the auxiliary CPU (200) directly or indirectly provides an auxiliary UART data line (201) and an auxiliary USB2.0 data line (204); the interface of the wireless communication module (300) directly or indirectly provides a module UART data line (301), a module PCIE data line (302), a module USB3.0 data line (303), and a module USB2.0 data line (304); The main CPU (100) and the auxiliary CPU (200) are connected via the inter-CPU data line (88) and the inter-CPU control line (99); The main PCIE data line (102) is connected to the module PCIE data line (302); the main USB3.0 data line (103) is connected to the module USB3.0 data line (303); The main UART data line (101) and the auxiliary UART data line (201) are connected via the UART selector (66); the wireless communication module (300) is connected to the UART selector (66) via the module UART data line (301); the UART selector (66) is used to select the connection between the module UART data line (301) and the main UART data line (101), or to select the connection between the module UART data line (301) and the auxiliary UART data line (201) at the same time; The main USB2.0 data line (104) and the auxiliary USB2.0 data line (204) are connected via the USB2.0 selector (77); the wireless communication module (300) is connected to the USB2.0 selector (77) via the module USB2.0 data line (304); the USB2.0 selector (77) is used to select the connection between the module USB2.0 data line (304) and the main USB2.0 data line (104) or the connection between the module USB2.0 data line (304) and the auxiliary USB2.0 data line (204) at the same time.

2. The module interconnection circuit according to claim 1, characterized in that: The wireless communication module (300) is a cellular communication module, a WiFi communication module, a Bluetooth communication module or a ZigBee communication module; the communication mode of the wireless communication module (300) includes a low-speed communication mode and a high-speed communication mode.

3. A remote control method, characterized in that: Based on the module interconnection circuit according to claim 1 or 2, the method comprises: Main CPU shutdown method: In the main CPU operation mode, driven by remote instructions or system status and application scenarios, the main CPU first executes the auxiliary CPU startup action through the CPU inter-control line; then executes the main CPU shutdown action to put the system into an ultra-low power operation state; Main CPU startup method: In the auxiliary CPU operation mode, the auxiliary CPU, driven by remote instructions or system status and application scenarios, executes the main CPU power-on action through the CPU-to-CPU control line, so that the system switches from the ultra-low power operation state to the full-function operation state.

4. The remote control method according to claim 3, characterized in that: The main CPU shutdown method specifically includes: In the main CPU operation mode, the cloud or remote computer initiates the main CPU shutdown command; the wireless communication module receives the main CPU shutdown command; the main CPU obtains the main CPU shutdown command received by the wireless communication module through the main UART data line, or the main PCIE data line, or the main USB3.0 data line, or the main USB2.0 data line; the main CPU executes the main CPU shutdown action; finally, the main CPU and the auxiliary CPU are both in the shutdown state, that is, the whole system is completely shut down; In the main CPU operation mode, the cloud or remote computer initiates the main CPU shutdown command; the wireless communication module receives the main CPU shutdown command; the main CPU obtains the main CPU shutdown command received by the wireless communication module through the main UART data line, or the main PCIE data line, or the main USB3.0 data line, or the main USB2.0 data line; the main CPU first executes the auxiliary CPU startup action through the CPU inter-control line; then, the main CPU executes the main CPU shutdown action, and the system switches to the auxiliary CPU operation mode; in the auxiliary CPU operation mode, the auxiliary CPU sets the wireless communication module to the low-speed communication mode; In the main CPU + auxiliary CPU operation mode, the cloud or remote computer initiates the main CPU shutdown command; the wireless communication module receives the main CPU shutdown command; the main CPU obtains the main CPU shutdown command received by the wireless communication module through the main UART data line, or the main PCIE data line, or the main USB3.0 data line, or the main USB2.0 data line, or the CPU-to-CPU data line; the main CPU executes the main CPU shutdown action, and the system switches to the auxiliary CPU operation mode; in the auxiliary CPU operation mode, the auxiliary CPU sets the wireless communication module to the low-speed communication mode; In the main CPU + auxiliary CPU operation mode, the cloud or remote computer initiates the main CPU shutdown command; the wireless communication module receives the main CPU shutdown command; the auxiliary CPU obtains the main CPU shutdown command received by the wireless communication module through the auxiliary UART data line, or the auxiliary USB2.0 data line, or the CPU-to-CPU data line; the auxiliary CPU executes the main CPU shutdown action through the CPU-to-CPU control line, and the system switches to the auxiliary CPU operation mode; in the auxiliary CPU operation mode, the auxiliary CPU sets the wireless communication module to the low-speed communication mode.

5. The remote control method according to claim 4, characterized in that: The main CPU startup method specifically includes: In the auxiliary CPU operation mode, the cloud or remote computer initiates the main CPU power-on command; the wireless communication module receives the main CPU power-on command; the auxiliary CPU obtains the main CPU power-on command received by the wireless communication module through the auxiliary UART data line or the auxiliary USB2.0 data line; the auxiliary CPU executes the main CPU power-on action through the CPU inter-control line, and the system switches to the main CPU + auxiliary CPU operation mode; in the main CPU + auxiliary CPU operation mode, the main CPU or the auxiliary CPU sets the wireless communication module to the operation mode required by the system, that is, the high-speed communication mode or the low-speed communication mode; After the system switches from the initial auxiliary CPU operation mode to the main CPU + auxiliary CPU operation mode, when there is no need for the main CPU + auxiliary CPU to run simultaneously, the main CPU executes the auxiliary CPU shutdown action through the CPU inter-control line; or the auxiliary CPU directly executes the auxiliary CPU shutdown action, and the system switches to the main CPU operation mode.

6. The remote control method according to claim 5, characterized in that: The main CPU + auxiliary CPU operation mode is: the main CPU, auxiliary CPU, wireless communication module, UART selector, and USB2.0 selector operate normally; the UART selector selects the UART data line of the connectivity module and the main UART data line or the auxiliary UART data line; the USB2.0 selector selects the USB2.0 data line of the connectivity module and the main USB2.0 data line or the auxiliary USB2.0 data line; the UART selector is controlled by the main CPU or the auxiliary CPU; the USB2.0 selector is controlled by the main CPU or the auxiliary CPU.

7. The remote control method according to claim 6, characterized in that: The main CPU operation mode is: the auxiliary CPU is shut down; the main CPU, wireless communication module, UART selector, and USB2.0 selector operate normally; the UART selector is controlled by the main CPU to select the connection module UART data line and the main UART data line; the USB2.0 selector is controlled by the main CPU to select the connection module USB2.0 data line and the main USB2.0 data line.

8. The remote control method according to claim 7, characterized in that: The auxiliary CPU operation mode is: the main CPU is shut down; the auxiliary CPU, wireless communication module, UART selector, and USB2.0 selector operate normally; the UART selector is controlled by the auxiliary CPU to select the connection module UART data line and the auxiliary UART data line; the USB2.0 selector is controlled by the auxiliary CPU to select the connection module USB2.0 data line and the auxiliary USB2.0 data line.

9. The remote control method according to claim 8, characterized in that: The main CPU shutdown and main CPU startup instructions are executable commands agreed upon by the system, text data, binary data, SMS / MMS messages, or incoming call indications.

10. A wireless server, characterized in that: The invention comprises the module interconnection circuit as claimed in claim 1 or 2, and executes the remote control method as claimed in any one of claims 3 to 9.