Method and device for controlling serial port switching, program product and storage medium

By deploying the control device in the server and using the on-off structure to switch the serial port connection, the problem of high equipment cost during debugging is solved, and the flexibility and versatility of serial port switching are achieved.

CN118656326APending Publication Date: 2024-09-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202410773157.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-16
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In the field of servers and edge microservers, in the existing technology, debugging serial port multiplexing requires adding I/O pins, which results in the inability to standardize the serial port interface, which increases the cost and is not universal.

Method used

By deploying a control device in the server, using the first on-off structure and the second on-off structure to connect the serial port connector and the serial port respectively, and switching the serial port according to the target keyword in the transmission signal, the serial port connector and the first serial port and the Switch on and off between the second serial ports to achieve serial port switching.

Benefits of technology

It saves the cost of adding equipment, realizes the flexibility and versatility of serial port switching, and solves the problem of high cost caused by adding equipment during debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656326A
    Figure CN118656326A
Patent Text Reader

Abstract

The embodiment of the invention provides a method for controlling serial port switching, and the method comprises the steps: controlling a first on-off structure to conduct the connection between a serial port connector and a first serial port under the condition that a control device is started, and enabling a server to communicate with first external equipment through the first serial port; receiving a first transmission signal sent by the serial port connector; under the condition that the first transmission signal comprises the target keyword, the first on-off structure is controlled to disconnect the serial port connector and the first serial port through the first control signal, the second on-off structure is controlled to connect the serial port connector and the second serial port, the second serial port is connected with a second external device, and the second serial port is connected with a second external device. And enabling the server to communicate with the first external equipment through the second serial port. According to the method and the device, the problem of relatively high cost caused by equipment increase when the equipment in the server is debugged is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computers, and more specifically, to a method and device for controlling serial port switching, a program product, and a storage medium. Background Art

[0002] In the field of servers and edge microservers, the products currently have only one external debugging serial port. However, there are often multiple central processing units (CPUs) or microcontroller units (MCUs) or baseboard management controllers (BMCs) inside the products. A debugging serial port is needed to debug the device. There are currently two solutions: add a serial port to the server panel or reuse the serial port.

[0003] There are several ways to implement serial port multiplexing. By adding input / output pins (I / O pins), the device connected to the serial port is determined, which is equivalent to introducing additional I / O pin device selection. The increase in I / O pins makes it impossible to standardize the external interface of the serial port. Customized cables and interface definitions are required, which increases costs and cannot be universal. Summary of the invention

[0004] The embodiments of the present application provide a method and apparatus for controlling serial port switching, a program product, and a storage medium, so as to at least solve the problem in the related art that when debugging a device in a server, the cost of adding equipment is relatively high.

[0005] According to an embodiment of the present application, a method for controlling serial port switching is provided, which is applied to a control device, wherein the control device is deployed in a server, and the control device is respectively connected to a first on-off structure and a second on-off structure in the server, wherein the first on-off structure is arranged between a serial port connector in the server and a first serial port, and the second on-off structure is arranged between the serial port connector and a second serial port in the control device, and the method comprises: when the control device is started, controlling the first on-off structure to conduct the connection between the serial port connector and the first serial port, wherein the first serial port is connected to a first external device so that the server communicates with the first external device through the first serial port; receiving a first transmission signal sent by the serial port connector; and when the first transmission signal includes a target keyword, controlling the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal, and controlling the second on-off structure to conduct the connection between the serial port connector and the second serial port, wherein the second serial port is connected to a second external device so that the server communicates with the first external device through the second serial port.

[0006] In an exemplary embodiment, when the control device is started, controlling the first on-off structure to turn on the connection between the serial port connector and the first serial port includes one of the following: when the control device is started, sending a second control signal to the first on-off structure to control the first on-off structure to turn on the connection between the serial port connector and the first serial port through the second control signal, wherein the second control signal is a high-level signal; when the control device is started, initializing the configuration parameters of the control device, and controlling the first on-off structure to turn on the connection between the serial port connector and the first serial port through the initialized configuration parameters, wherein the initialized configuration parameters include parameters for closing the first on-off structure.

[0007] In an exemplary embodiment, receiving a first transmission signal sent by the serial port connector includes: detecting a signal receiving pin of the second serial port, wherein the signal receiving pin of the second serial port is connected to a signal sending pin of the serial port connector; and receiving the first transmission signal transmitted by the signal sending pin of the serial port connector through the signal receiving pin of the second serial port.

[0008] In an exemplary embodiment, when the first transmission signal includes a target keyword, controlling the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal, and controlling the second on-off structure to connect the connection between the serial port connector and the second serial port, comprises: parsing the first transmission signal; when a reserved keyword is parsed from the first transmission signal, comparing the reserved keyword with a plurality of preset reserved keywords pre-stored in the control device, wherein the plurality of preset reserved keywords are keywords determined by the serial port connector through character encoding; when the reserved keyword matches the plurality of preset reserved keywords, comparing the target keyword determined by the reserved keyword, wherein the target keyword is used to instruct the control device to perform a control operation, or control the second serial port to connect with a second external device; sending the second control signal to the second on-off structure, and controlling the second on-off structure to connect with a signal sending pin in the second serial port through the second control signal, so as to connect a signal receiving pin in the serial port connector and a signal sending pin in the second serial port, wherein before the second on-off structure is connected with the signal sending pin in the second serial port, the second on-off structure is connected with the signal sending pin in the first serial port.

[0009] In an exemplary embodiment, after sending the second control signal to the second on-off structure and controlling the second on-off structure to be connected to the signal sending pin in the second serial port through the second control signal to connect the signal receiving pin in the serial port connector and the signal sending pin in the second serial port, the method further includes: receiving the second transmission signal transmitted by the signal sending pin of the serial port connector through the signal receiving pin of the second serial port; when the target keyword is not included in the second transmission signal, controlling the disconnection from the signal sending pin in the second serial port through the third control signal, and controlling the second on-off structure to be connected to the signal sending pin in the first serial port to connect the connection between the serial port connector and the first serial port, wherein the third control signal is a low-level signal.

[0010] In an exemplary embodiment, the first on-off structure includes one of the following: a switch, a transistor, a metal oxide semiconductor field effect transistor MOSFET, a relay, and an analog switch; the second on-off structure includes one of the following: a single-pole double-throw switch, an analog switch, and a relay, wherein the single-pole double-throw switch, the analog switch, and the relay each include two wiring ports.

[0011] In an exemplary embodiment, when the first transmission signal includes a target keyword, after controlling the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal, and controlling the second on-off structure to connect the connection between the serial port connector and the second serial port, the method further includes: generating a fixed instruction after debugging the control device, and sending the fixed instruction to the second on-off structure, so as to control the second on-off structure to be disconnected from a signal sending pin in the second serial port through the fixed instruction, and to control the second on-off structure to be connected to a signal sending pin in the first serial port, wherein, when the second on-off structure is connected to the signal sending pin in the first serial port, the first on-off structure is triggered to be connected to a signal receiving pin in the first serial port, so as to connect the connection between the serial port connector and the first serial port.

[0012] In an exemplary embodiment, the first transmission signal is a signal generated based on a reserved keyword and a non-reserved keyword, wherein both the reserved keyword and the non-reserved keyword are keywords determined using ASCII encoding.

[0013] According to another embodiment of the present application, a device for controlling serial port switching is provided, which is applied to a control device, wherein the control device is deployed in a server, and the control device is respectively connected to a first on-off structure and a second on-off structure in the server, wherein the first on-off structure is arranged between a serial port connector and a first serial port in the server, and the second on-off structure is arranged between the serial port connector and a second serial port in the control device, and the device comprises: a first control module, which is used to control the first on-off structure to conduct the connection between the serial port connector and the first serial port when the control device is started, wherein the first serial port is connected to a first external device so that the server communicates with the first external device through the first serial port; a first receiving module, which is used to receive a first transmission signal sent by the serial port connector; and a second control module, which is used to control the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal when a target keyword is included in the first transmission signal, and control the second on-off structure to conduct the connection between the serial port connector and the second serial port, wherein the second serial port is connected to a second external device so that the server communicates with the first external device through the second serial port.

[0014] In an exemplary embodiment, the above-mentioned first control module includes one of the following: a first sending unit, used to send a second control signal to the first on-off structure when the control device is started, so as to control the first on-off structure to turn on the connection between the serial port connector and the first serial port through the second control signal, wherein the second control signal is a high-level signal; a first initialization unit, used to initialize the configuration parameters of the control device when the control device is started, and control the first on-off structure to turn on the connection between the serial port connector and the first serial port through the initialized configuration parameters, wherein the initialized configuration parameters include parameters for closing the first on-off structure.

[0015] In an exemplary embodiment, the above-mentioned first receiving module includes: a first detection unit, used to detect a signal receiving pin of the second serial port, wherein the signal receiving pin of the second serial port is connected to a signal sending pin of the serial port connector; and a first receiving unit, used to receive the first transmission signal transmitted by the signal sending pin of the serial port connector through the signal receiving pin of the second serial port.

[0016] In an exemplary embodiment, the second control module includes: a first parsing unit, configured to parse the first transmission signal; a first comparing unit, configured to compare the reserved keyword with a plurality of preset reserved keywords pre-stored in the control device when a reserved keyword is parsed from the first transmission signal, wherein the plurality of preset reserved keywords are keywords determined by the serial port connector through character encoding; a first determining unit, configured to determine the reserved keyword as the target keyword when the reserved keyword matches the plurality of preset reserved keywords, wherein the target keyword is used to instruct the control device to perform a control operation or control the second serial port to be connected to a second external device; a second sending unit, configured to send the second control signal to the second on-off structure, and control the second on-off structure to be connected to a signal sending pin in the second serial port through the second control signal, so as to conduct a signal receiving pin in the serial port connector and a signal sending pin in the second serial port, wherein before the second on-off structure is connected to the signal sending pin in the second serial port, the second on-off structure is connected to the signal sending pin in the first serial port.

[0017] In an exemplary embodiment, the above-mentioned device also includes: a second receiving unit, used to send the second control signal to the second on-off structure, and control the second on-off structure to be connected with the signal sending pin in the second serial port through the second control signal, so as to connect the signal receiving pin in the serial port connector and the signal sending pin in the second serial port, and then receive the second transmission signal transmitted by the signal sending pin of the serial port connector through the signal receiving pin of the second serial port; a first control unit, used to control the disconnection from the signal sending pin in the second serial port through a third control signal when the target keyword is not included in the second transmission signal, and control the second on-off structure to be connected with the signal sending pin in the first serial port, so as to connect the connection between the serial port connector and the first serial port, wherein the third control signal is a low-level signal.

[0018] In an exemplary embodiment, the first on-off structure includes one of the following: a switch, a transistor, a metal oxide semiconductor field effect transistor MOSFET, a relay, and an analog switch; the second on-off structure includes one of the following: a single-pole double-throw switch, an analog switch, and a relay, wherein the single-pole double-throw switch, the analog switch, and the relay each include two wiring ports.

[0019] In an exemplary embodiment, the above-mentioned device also includes: a generating module, which is used to control the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal, and control the second on-off structure to connect the connection between the serial port connector and the second serial port when the target keyword is included in the first transmission signal. After that, a fixed instruction is generated after debugging the control device, and the fixed instruction is sent to the second on-off structure to control the second on-off structure to be disconnected from the signal sending pin in the second serial port through the fixed instruction, and control the second on-off structure to be connected to the signal sending pin in the first serial port, wherein, when the second on-off structure is connected to the signal sending pin in the first serial port, the first on-off structure is triggered to be connected to the signal receiving pin in the first serial port to connect the connection between the serial port connector and the first serial port.

[0020] In an exemplary embodiment, the first transmission signal is a signal generated based on a reserved keyword and a non-reserved keyword, wherein both the reserved keyword and the non-reserved keyword are keywords determined using ASCII encoding.

[0021] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0022] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0023] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0024] Through the present application, since the control device is respectively connected to the first on-off structure and the second on-off structure in the server, the first on-off structure is set between the serial port connector and the first serial port in the server, and the second on-off structure is set between the serial port connector and the second serial port in the control device, when the control device is started, the first on-off structure is controlled to conduct the connection between the serial port connector and the first serial port, and when the target keyword is included in the first transmission signal, the first on-off structure is controlled by the first control signal to disconnect the connection between the serial port connector and the first serial port, and the second on-off structure is controlled to conduct the connection between the serial port connector and the second serial port. The on-off of the first on-off device and the second on-off device can be realized by the control device, so that the switching between the two serial ports can be realized by a serial port connector. Therefore, the problem of high cost caused by adding equipment when debugging the equipment in the server in the related art can be solved, and the effect of saving the devices set in the server can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a hardware structure block diagram of a mobile terminal of a method for controlling serial port switching according to an embodiment of the present application;

[0026] Figure 2 is a flowchart of a method for controlling serial port switching according to an embodiment of the present application;

[0027] Figure 3 is a schematic diagram of the connection relationship between the serial port connector and the first serial port and the second serial port according to an embodiment of the present application;

[0028] Figure 4 is a schematic diagram of an ASCII code according to an embodiment of the present application;

[0029] Figure 5 is a flowchart of a serial port switching process according to a specific embodiment of the present application;

[0030] Figure 6 It is a structural block diagram of a device for controlling serial port switching according to an embodiment of the present application. DETAILED DESCRIPTION

[0031] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0033] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of a method for controlling serial port switching according to an embodiment of the present application. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0034] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for controlling serial port switching in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0035] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0036] This embodiment includes, but is not limited to, being applied to scenarios where a debug serial port is required to debug the device. That is, in the technical field of servers and edge microservers, the main CPU is usually an Intel CPU, NVIDIA's SOC (such as Jetson, orin series modules), and usually a server or edge microserver device also requires a BMC or MCU chip for device management of the entire system, and also has a debug serial port. In order to give priority to meeting the debugging needs of the main CPU, the serial port of the BMC or MCU is on the server and edge microserver in the prior art, or a panel serial port connector is added, or a connector is used on the mainboard to lead out, and it is not led to the panel. The former panel adds a serial port connector and increases the panel space, while the latter needs to open the chassis during debugging and operation, which is very inconvenient and cannot achieve the overall optimality. Based on this, in this embodiment, a method for controlling serial port switching is provided, which is applied to a control device, and the control device is deployed in a server, and the control device is respectively connected to a first on-off structure and a second on-off structure in the server, and the first on-off structure is arranged between the serial port connector and the first serial port in the server, and the second on-off structure is arranged between the serial port connector and the second serial port in the control device, Figure 2 is a flow chart of a method for controlling serial port switching according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps:

[0037] Step S202, when the control device is started, controlling the first on-off structure to conduct the connection between the serial port connector and the first serial port, wherein the first serial port is connected to a first external device, so that the server communicates with the first external device through the first serial port;

[0038] Step S204, receiving a first transmission signal sent by the serial port connector;

[0039] Step S206, in the case where the first transmission signal includes a target keyword, controlling the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal, and controlling the second on-off structure to connect the connection between the serial port connector and the second serial port, wherein the second serial port is connected to a second external device, so that the server communicates with the first external device through the second serial port.

[0040] Optionally, the control device includes but is not limited to an MCU or a BMC deployed in a server.

[0041] Optionally, the first on-off structure and the second on-off structure in this embodiment both refer to structures consisting of two states, on and off. In the electrical field, on-off structures include the following types: Electric on-off structure: a device driven by an electric motor, used to control the on-off state of electrical equipment or circuits. Electromagnetic on-off structure: an on-off control device implemented by electromagnetic force, such as an electromagnetic relay, an electromagnetic switch, etc. Pneumatic on-off structure: an on-off control device implemented by air pressure or pneumatic force, such as a pneumatic relay, a pneumatic switch, etc. Hydraulic on-off structure: an on-off control device implemented by hydraulic pressure, such as a hydraulic relay, a hydraulic switch, etc. Manual on-off structure: an on-off control device implemented by manual operation, such as a manual switch, a push button switch, etc. These on-off structures play an important role in electrical control systems, and are used to control the on-off state of circuits and realize the operation or stop of electrical equipment. For example, the first on-off structure includes one of the following: a switch, a transistor, a metal oxide semiconductor field effect transistor MOSFET, a relay, and an analog switch; the second on-off structure includes one of the following: a single-pole double-throw switch, an analog switch, and a relay, wherein the single-pole double-throw switch, the analog switch, and the relay each include two wiring ports. A single-pole double-throw switch is an electrical switch, also known as a bipolar double-throw switch. It has three wiring ports, one is an input port, and the other two are output ports. In the two states of the single-pole double-throw switch, the input port is connected to one of the output ports, and the other output port is disconnected. An analog switch is a component used to control the on-off state in a circuit. It can connect or disconnect the circuit to control the flow of current. Analog switches are commonly used in analog circuits, and the state of the switch can be controlled according to the size of the input signal to realize the opening and closing of the circuit. In an analog switch, there are generally two states: on and off. When the switch is in the on state, the circuit path is unobstructed and the current can flow; when the switch is in the off state, the circuit is interrupted and the current cannot flow. The analog switch can be implemented by a physical switch, a relay, or a semiconductor device. In circuit design, the selection of appropriate analog switches can be determined according to the needs of the circuit to achieve the control and regulation functions of the circuit. A relay is an electrical control device used to control switches or other electrical equipment in a circuit. It can open or close another circuit by controlling one circuit, and play the role of amplifying signals, isolating circuits, protecting circuits, etc. Relays are usually composed of electromagnetic coils, contacts, and housings. According to different working principles and uses, they can be divided into electromagnetic relays, solid-state relays, and other types. They are widely used in industrial automation, household appliances, automotive electronics, and other fields.

[0042] By switching the switch, you can change the connection mode in the circuit to achieve control of electrical appliances or equipment. This switch is often used in electrical control systems and can achieve a variety of different connection modes, providing more flexible control options. For example, when the first serial port is the main SOC serial port and the second serial port is the serial port in the BMC or MCU, the connection relationship between the serial port connector and the first serial port and the second serial port is as follows: Figure 3 The first on-off structure is a first switch, which is arranged between the serial port connector and the main SOC serial port, and the second on-off structure is a second switch, which is arranged between the serial port connector and the serial port in the BMC or MCU.

[0043] Among them, the SOC serial port is a communication interface of the System on a Chip (System on a Chip), which is used to integrate multiple functional modules and components on a single chip. The serial port can be used for data transmission and communication between the SOC chip and external devices, such as connecting sensors, display screens, storage devices, etc. The serial port uses the UART (Universal Asynchronous Receiver and Transmitter) protocol for data transmission. In the BMC or MCU, the serial port is used to communicate with other devices or systems, such as exchanging data with computers, sensors, displays and other devices.

[0044] The first serial port and the second serial port both include a transmitting end (TX) and a receiving end (RX) for serial data transmission. By establishing a data channel between devices, bidirectional data transmission can be achieved. Serial communication usually uses the UART (Universal Asynchronous Receiver / Transmitter) protocol to synchronize data transmission by setting parameters such as baud rate, data bit, and stop bit. In the BMC or MCU, the serial port can be used to monitor and manage device status, transmit sensor data, and communicate with external devices. Through serial communication, data exchange and control between devices can be achieved, improving the flexibility and reliability of the system.

[0045] Optionally, the control device is started when the server is powered on. After starting, the first on-off structure is closed in a variety of ways.

[0046] Through the above steps, since the control device is respectively connected to the first on-off structure and the second on-off structure in the server, the first on-off structure is set between the serial port connector and the first serial port in the server, and the second on-off structure is set between the serial port connector and the second serial port in the control device, when the control device is started, the first on-off structure is controlled to conduct the connection between the serial port connector and the first serial port, and when the target keyword is included in the first transmission signal, the first on-off structure is controlled by the first control signal to disconnect the connection between the serial port connector and the first serial port, and the second on-off structure is controlled to conduct the connection between the serial port connector and the second serial port. The on-off of the first on-off device and the second on-off device can be realized by the control device, so that the switching between the two serial ports can be realized by a serial port connector. Therefore, the problem of high cost caused by adding equipment when debugging the equipment in the server in the related art can be solved, and the effect of saving the devices set in the server can be achieved.

[0047] In an exemplary embodiment, when the control device is started, controlling the first on-off structure to conduct the connection between the serial port connector and the first serial port includes one of the following:

[0048] When the control device is started, a second control signal is sent to the first on-off structure to control the first on-off structure to conduct the connection between the serial port connector and the first serial port through the second control signal, wherein the second control signal is a high-level signal; optionally, the second control signal is used to instruct the first on-off structure to turn on, turn off or perform other specific operations. When the second control signal is a high-level signal, the closure of the first on-off structure can be quickly controlled by sending the second control signal. The second control signal can also be a wireless signal or a signal in other forms. A controller can also be provided in the first on-off structure to receive the second control signal and control the closure of the first on-off structure through the second control signal. The closure of the first on-off structure can be quickly controlled by the second control signal.

[0049] When the control device is started, the configuration parameters of the control device are initialized, and the first on-off structure is controlled by the initialized configuration parameters to conduct the connection between the serial port connector and the first serial port, wherein the initialized configuration parameters include parameters for closing the first on-off structure.

[0050] Optionally, there are multiple ways to initialize the configuration parameters of the control device. For example, when the control device is a BMC, log in to the management page through the BMC Web interface, find the configuration parameter options, and set the required parameter values ​​one by one. Alternatively, set the configuration parameters through the command line interface or console of the BMC using a command line tool or script. The parameters for closing the first on-off structure include but are not limited to: closing speed: setting the speed of closing the first on-off structure to ensure safe and reliable closure; closing pressure: determining the required closing pressure to ensure that the first on-off structure can be completely closed; closing time: setting the length of time required for closing to ensure that the first on-off structure completes the closing operation within the specified time; closing position: determining the position of the first on-off structure when it is closed to ensure the accuracy and stability of the closure. Through the initialized configuration parameters, the closing of the first on-off result can be quickly controlled when the control device is started, so that the first serial port and the serial port connector can be connected by default.

[0051] In an exemplary embodiment, receiving a first transmission signal sent by the serial port connector includes: detecting a signal receiving pin of the second serial port, wherein the signal receiving pin of the second serial port is connected to a signal sending pin of the serial port connector; and receiving the first transmission signal transmitted by the signal sending pin of the serial port connector through the signal receiving pin of the second serial port.

[0052] Optionally, to detect the signal receiving pin of the second serial port, you can use a test instrument such as an oscilloscope or logic analyzer to monitor the waveform and level change of the signal. In addition, you can also connect the signal pin to an LED or buzzer through tools such as a wiring board and a multi-purpose meter to provide visual or auditory prompts when the signal is received. You can also output the received signal data on the console through programming for further analysis and processing. Figure 3 As shown, the serial port connector is always connected to the serial port of the BMC or MCU. The BMC or MCU detects the RX pin of the serial port in real time, thereby obtaining the UART_TX signal sent by the serial port connector in real time.

[0053] Among them, the RX pin and the TX pin are common pin identifiers in the serial communication interface, which are used to receive and send data. In MCU (Microcontroller Unit), the RX pin is usually used to receive data and the TX pin is used to send data. In most MCUs, the RX pin is usually the receiving end and the TX pin is the sending end. When two devices communicate serially, the TX pin of one device is connected to the RX pin of the other device to achieve data transmission. It should be noted that different MCU models and manufacturers may have different pin definitions, so it is necessary to consult the specific MCU technical manual or data sheet when using to determine the correct RX and TX pins. The TX signal refers to the transmission signal, which is usually used to describe the process of sending data or information from one device or system to another. TX usually stands for the transmitter in wireless communication, while RX stands for the receiver. The TX signal can be a digital signal or an analog signal, depending on the content of the transmission and the communication technology used. The TX signal plays a vital role in the field of communication, and it is the basis for realizing information transmission and communication connection. The RX signal is the abbreviation of the received signal, which refers to the signal received from the radio or other communication equipment. Usually used to describe the receiving end of a radio communication device. The received signal can be information from other devices or sent by the transmitting device. The strength and quality of the RX signal are crucial to the stability and reliability of communication.

[0054] This embodiment can quickly acquire the signal sent by the serial port connector by detecting the signal receiving pin of the second serial port.

[0055] In an exemplary embodiment, when the first transmission signal includes a target keyword, controlling the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal, and controlling the second on-off structure to connect the connection between the serial port connector and the second serial port, comprises: parsing the first transmission signal; when a reserved keyword is parsed from the first transmission signal, comparing the reserved keyword with a plurality of preset reserved keywords pre-stored in the control device, wherein the plurality of preset reserved keywords are keywords determined by the serial port connector through character encoding; when the reserved keyword matches the plurality of preset reserved keywords, determining the reserved keyword as the target keyword, wherein the target keyword is used to instruct the control device to perform a control operation, or to control the second serial port to connect with a second external device; sending the second control signal to the second on-off structure, and controlling the second on-off structure to connect with a signal sending pin in the second serial port through the second control signal, so as to connect a signal receiving pin in the serial port connector and a signal sending pin in the second serial port, wherein before the second on-off structure is connected with the signal sending pin in the second serial port, the second on-off structure is connected with the signal sending pin in the first serial port.

[0056] For example, when the control device is an MCU, the way in which the MCU parses the first transmission signal includes the following steps: extracting the transmission signal; signal processing: the MCU processes the received transmission signal, which may include filtering, amplification, digitization and other operations; data parsing: the MCU converts the processed signal into a recognizable data format, such as digitized data or a specific protocol format; data decoding: if the transmission signal adopts a specific protocol format, the MCU needs to decode the data to extract valid information; data storage or transmission: the MCU stores the parsed data in the internal memory, or transmits it to other devices through a communication module; response processing: based on the parsed data, the MCU may perform corresponding control operations, such as controlling an actuator or sending a feedback signal. In general, the way in which the MCU parses the first transmission signal mainly involves signal extraction, processing, parsing and response processing to ensure that the information in the transmission signal is correctly acquired and processed.

[0057] Optionally, reserved keywords can be based on Figure 4The Latin-based character encoding (American Standard Code for Information Interchange, referred to as ASCII) is set. The ASCII code uses 7-bit binary digits (0 and 1) to represent 128 characters, including numbers, letters, punctuation marks and control characters. In the ASCII code table, each character has a corresponding unique digital code. For example, the keyword "MCU" for debugging the serial port in the MCU is converted into an ASCII code. If the corresponding ASCII code of "MCU" exists in the reserved keywords received by the MCU. It can be determined that it is a signal for debugging the MCU. Thereby, a second control signal is sent to the second on-off structure to control the first on-off structure to disconnect, and the second on-off structure is connected to the line connected to the second serial port, so that a quick switch to the connection between the serial port connector and the second serial port can be achieved.

[0058] In an exemplary embodiment, after sending the second control signal to the second on-off structure and controlling the second on-off structure to be connected to the signal sending pin in the second serial port through the second control signal to connect the signal receiving pin in the serial port connector and the signal sending pin in the second serial port, the method further includes: receiving the second transmission signal transmitted by the signal sending pin of the serial port connector through the signal receiving pin of the second serial port; when the target keyword is not included in the second transmission signal, controlling the disconnection from the signal sending pin in the second serial port through the third control signal, and controlling the second on-off structure to be connected to the signal sending pin in the first serial port to connect the connection between the serial port connector and the first serial port, wherein the third control signal is a low-level signal.

[0059] Optionally, since the signal receiving pin in the second serial port is always connected to the serial port connector, the second transmission signal sent by the serial port connector can be received in real time, so that it can be detected in real time whether the second transmission signal is related to the control device. If it is not related, the connection between the serial port connector and the signal sending pin in the second serial port can be disconnected. The second on-off structure is switched to connect the serial port connector and the signal sending pin of the first serial port. For example, Figure 3 The second switch disconnects the serial port of the BMC or MCU, and then restores the serial port of the main SOC. At the same time, the first switch is closed to connect the serial port connector to the main SOC, thereby achieving the purpose of quickly switching different serial ports through a serial port connector.

[0060] In an exemplary embodiment, when the first transmission signal includes a target keyword, after the first control signal is used to control the first on-off structure to disconnect the connection between the serial port connector and the first serial port, and the second on-off structure is controlled to connect the connection between the serial port connector and the second serial port, the method further includes: generating a fixed instruction after debugging the control device, and sending the fixed instruction to the second on-off structure, so as to control the second on-off structure to disconnect from the signal sending pin in the second serial port through the fixed instruction, and control the second on-off structure to connect to the signal sending pin in the first serial port, wherein, when the second on-off structure is connected to the signal sending pin in the first serial port, the first on-off structure is triggered to connect to the signal receiving pin in the first serial port, so as to connect the connection between the serial port connector and the first serial port. Optionally, for example, Figure 3 The second switch disconnects the serial port of the BMC or MCU, and then restores the serial port of the main SOC. At the same time, the first switch is closed to connect the serial port connector to the main SOC, thereby achieving the purpose of quickly switching different serial ports through a serial port connector.

[0061] In an exemplary embodiment, the first transmission signal is a signal generated based on a reserved keyword and a non-reserved keyword, wherein the reserved keyword and the non-reserved keyword are keywords determined using ASCII encoding. Optionally, when generating a transmission signal, the keywords in the text are first identified, and then the type of the signal is determined based on whether it is a reserved keyword. If a keyword is a reserved keyword, the generated signal may represent a specific instruction or operation; if a keyword is a non-reserved keyword, the generated signal may represent a variable name or identifier. The signal generated in this way can improve the accuracy and efficiency of signal processing.

[0062] The present application is described below in conjunction with specific embodiments:

[0063] This specific embodiment is described by taking the switching between the main SOC serial port and the BMC or MCU serial port through a serial port connector as an example. Figure 3 As shown, the serial port connector in the server motherboard is connected to the serial port of the main SOC through the first switch, and is connected to the serial port of the BMC or MCU through the second switch. For the RX signal, the serial port connector is connected to the serial port of the main SOC and the serial port of the BMC or MCU through the second switch that is divided into 1 and 2; for the TX signal, the TX of the UART is always directly connected to the serial port of the BMC or MCU, and the second switch only determines the on and off of the serial port of the main SOC. The selection pins of the first switch and the second switch are controlled by the GPIO signal of the BMC or MCU.

[0064] like Figure 5 As shown, the switching process includes the following steps:

[0065] S501, MCU (or BMC, MCU is used as an example in the following description) is first powered on to initialize the MCU configuration parameters. The default configuration is that the serial port connector is connected to the serial port of the main SOC. At this time, the external serial port of the server is also connected to the serial port of the main SOC, so that the serial port of the main SOC can be debugged and controlled;

[0066] S502, the RX pin of the MCU is always connected to the RX pin of the external serial port of the serial port connector, and the data of the RX pin is continuously detected;

[0067] S503, determining whether the detected data includes a "character string of specific meaning" (i.e., a signal of a reserved keyword);

[0068] S504, when no "character string with specific meaning" is detected, continue to maintain communication with the main SOC serial port;

[0069] S505, when a "character string with specific meaning" is detected, switching to the serial port of the MCU;

[0070] S506, testing the serial port of the MCU;

[0071] S507, continue to receive the serial port command (ie, the transmitted signal) sent by the serial port connector;

[0072] S508: When the "character string with specific meaning" is not included, switch the serial port connector to continue communicating with the main SOC serial port.

[0073] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0074] In this embodiment, a device for controlling serial port switching is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0075] A device for controlling serial port switching is applied to a control device, which is deployed in a server. The control device is respectively connected to a first on-off structure and a second on-off structure in the server. The first on-off structure is arranged between a serial port connector and a first serial port in the server, and the second on-off structure is arranged between the serial port connector and the second serial port in the control device. Figure 6 is a structural block diagram of a device for controlling serial port switching according to an embodiment of the present application, such as Figure 6 As shown, the device comprises:

[0076] The first control module 62 is used to control the first on-off structure to conduct the connection between the serial port connector and the first serial port when the control device is started, wherein the first serial port is connected to a first external device so that the server can communicate with the first external device through the first serial port; the first receiving module 64 is used to receive a first transmission signal sent by the serial port connector; the second control module 66 is used to control the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal when the first transmission signal includes a target keyword, and control the second on-off structure to conduct the connection between the serial port connector and the second serial port, wherein the second serial port is connected to a second external device so that the server can communicate with the first external device through the second serial port.

[0077] In an exemplary embodiment, the above-mentioned first control module includes one of the following: a first sending unit, used to send a second control signal to the first on-off structure when the control device is started, so as to control the first on-off structure to turn on the connection between the serial port connector and the first serial port through the second control signal, wherein the second control signal is a high-level signal; a first initialization unit, used to initialize the configuration parameters of the control device when the control device is started, and control the first on-off structure to turn on the connection between the serial port connector and the first serial port through the initialized configuration parameters, wherein the initialized configuration parameters include parameters for closing the first on-off structure.

[0078] In an exemplary embodiment, the above-mentioned first receiving module includes: a first detection unit, used to detect a signal receiving pin of the second serial port, wherein the signal receiving pin of the second serial port is connected to a signal sending pin of the serial port connector; and a first receiving unit, used to receive the first transmission signal transmitted by the signal sending pin of the serial port connector through the signal receiving pin of the second serial port.

[0079] In an exemplary embodiment, the second control module includes: a first parsing unit, configured to parse the first transmission signal; a first comparing unit, configured to compare the reserved keyword with a plurality of preset reserved keywords pre-stored in the control device when a reserved keyword is parsed from the first transmission signal, wherein the plurality of preset reserved keywords are keywords determined by the serial port connector through character encoding; a first determining unit, configured to determine the reserved keyword as the target keyword when the reserved keyword matches the plurality of preset reserved keywords, wherein the target keyword is used to instruct the control device to perform a control operation or control the second serial port to be connected to a second external device; a second sending unit, configured to send the second control signal to the second on-off structure, and control the second on-off structure to be connected to a signal sending pin in the second serial port through the second control signal, so as to conduct a signal receiving pin in the serial port connector and a signal sending pin in the second serial port, wherein before the second on-off structure is connected to the signal sending pin in the second serial port, the second on-off structure is connected to the signal sending pin in the first serial port.

[0080] In an exemplary embodiment, the above-mentioned device also includes: a second receiving unit, used to send the second control signal to the second on-off structure, and control the second on-off structure to be connected with the signal sending pin in the second serial port through the second control signal, so as to connect the signal receiving pin in the serial port connector and the signal sending pin in the second serial port, and then receive the second transmission signal transmitted by the signal sending pin of the serial port connector through the signal receiving pin of the second serial port; a first control unit, used to control the disconnection from the signal sending pin in the second serial port through a third control signal when the target keyword is not included in the second transmission signal, and control the second on-off structure to be connected with the signal sending pin in the first serial port, so as to connect the connection between the serial port connector and the first serial port, wherein the third control signal is a low-level signal.

[0081] In an exemplary embodiment, the first on-off structure includes one of the following: a switch, a transistor, a metal oxide semiconductor field effect transistor MOSFET, a relay, and an analog switch; the second on-off structure includes one of the following: a single-pole double-throw switch, an analog switch, and a relay, wherein the single-pole double-throw switch, the analog switch, and the relay each include two wiring ports.

[0082] In an exemplary embodiment, when the first transmission signal includes a target keyword, after controlling the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal, and controlling the second on-off structure to connect the connection between the serial port connector and the second serial port, the method further includes: generating a fixed instruction after debugging the control device, and sending the fixed instruction to the second on-off structure, so as to control the second on-off structure to be disconnected from a signal sending pin in the second serial port through the fixed instruction, and to control the second on-off structure to be connected to a signal sending pin in the first serial port, wherein, when the second on-off structure is connected to the signal sending pin in the first serial port, the first on-off structure is triggered to be connected to a signal receiving pin in the first serial port, so as to connect the connection between the serial port connector and the first serial port.

[0083] In an exemplary embodiment, the first transmission signal is a signal generated based on a reserved keyword and a non-reserved keyword, wherein both the reserved keyword and the non-reserved keyword are keywords determined using ASCII encoding.

[0084] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0085] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0086] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0087] The embodiments of the present application also provide a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any one of the above method embodiments.

[0088] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0089] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0090] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0091] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0092] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0093] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0094] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for controlling serial port switching, It is characterized in that Applied to a control device, the control device is deployed in a server, the control device is connected to a first on-off structure and a second on-off structure in the server respectively, the first on-off structure is arranged between a serial port connector and a first serial port in the server, and the second on-off structure is arranged between the serial port connector and a second serial port in the control device, the method comprising: When the control device is started, the first on-off structure is controlled to conduct the connection between the serial port connector and the first serial port, wherein the first serial port is connected to a first external device, so that the server communicates with the first external device through the first serial port; Receiving a first transmission signal sent by the serial port connector; In the case where the target keyword is included in the first transmission signal, the first on-off structure is controlled by a first control signal to disconnect the connection between the serial port connector and the first serial port, and the second on-off structure is controlled to connect the connection between the serial port connector and the second serial port, wherein the second serial port is connected to a second external device, so that the server can communicate with the first external device through the second serial port.

2. The method according to claim 1, It is characterized in that When the control device is started, controlling the first on-off structure to conduct the connection between the serial port connector and the first serial port includes one of the following: When the control device is started, sending a second control signal to the first on-off structure, so as to control the first on-off structure to conduct the connection between the serial port connector and the first serial port through the second control signal, wherein the second control signal is a high level signal; When the control device is started, the configuration parameters of the control device are initialized, and the first on-off structure is controlled by the initialized configuration parameters to conduct the connection between the serial port connector and the first serial port, wherein the initialized configuration parameters include parameters for closing the first on-off structure.

3. The method according to claim 1, It is characterized in that Receiving a first transmission signal sent by the serial port connector includes: Detecting a signal receiving pin of the second serial port, wherein the signal receiving pin of the second serial port is connected to a signal sending pin of the serial port connector; The first transmission signal transmitted by the signal sending pin of the serial port connector is received through the signal receiving pin of the second serial port.

4. The method according to claim 1, It is characterized in that In a case where the first transmission signal includes a target keyword, controlling the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal, and controlling the second on-off structure to connect the connection between the serial port connector and the second serial port, comprises: parsing the first transmission signal; In the case where a reserved keyword is parsed from the first transmission signal, the reserved keyword is compared with a plurality of preset reserved keywords pre-stored in the control device, wherein the plurality of preset reserved keywords are keywords determined by the serial port connector through character encoding; In the case where the reserved keyword matches a plurality of the preset reserved keywords, determining the reserved keyword as the target keyword, wherein the target keyword is used to instruct the control device to perform a control operation, or to control the second serial port to be connected to a second external device; A second control signal is sent to the second on-off structure, and the second on-off structure is controlled to be connected to the signal sending pin in the second serial port through the second control signal, so as to connect the signal receiving pin in the serial port connector and the signal sending pin in the second serial port, wherein before the second on-off structure is connected to the signal sending pin in the second serial port, the second on-off structure is connected to the signal sending pin in the first serial port.

5. The method according to claim 4, It is characterized in that After sending the second control signal to the second on-off structure and controlling the second on-off structure to be connected to the signal sending pin in the second serial port through the second control signal so as to connect the signal receiving pin in the serial port connector and the signal sending pin in the second serial port, the method further includes: Receiving a second transmission signal transmitted by a signal sending pin of the serial port connector through a signal receiving pin of the second serial port; When the target keyword is not included in the second transmission signal, the signal sending pin in the second serial port is disconnected by controlling the third control signal, and the second on-off structure is controlled to be connected to the signal sending pin in the first serial port, so as to conduct the connection between the serial port connector and the first serial port, wherein the third control signal is a low-level signal.

6. The method according to claim 1, It is characterized in that The first on-off structure includes one of the following: a switch, a transistor, a metal oxide semiconductor field effect transistor MOSFET, a relay, and an analog switch; the second on-off structure includes one of the following: a single-pole double-throw switch, an analog switch, and a relay, wherein the single-pole double-throw switch, the analog switch, and the relay each include two wiring ports.

7. The method according to claim 1, It is characterized in that In the case where the first transmission signal includes a target keyword, after controlling the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal and controlling the second on-off structure to connect the connection between the serial port connector and the second serial port, the method further includes: After debugging the control device, a fixed instruction is generated, and the fixed instruction is sent to the second on-off structure, so as to control the second on-off structure to be disconnected from the signal sending pin in the second serial port through the fixed instruction, and control the second on-off structure to be connected to the signal sending pin in the first serial port, wherein, when the second on-off structure is connected to the signal sending pin in the first serial port, the first on-off structure is triggered to be connected to the signal receiving pin in the first serial port, so as to conduct the connection between the serial port connector and the first serial port.

8. The method according to claim 1, It is characterized in that The first transmission signal is a signal generated based on a reserved keyword and a non-reserved keyword, wherein the reserved keyword and the non-reserved keyword are keywords determined by using ASCII encoding.

9. A device for controlling serial port switching, It is characterized in that Applied to a control device, the control device is deployed in a server, the control device is connected to a first on-off structure and a second on-off structure in the server respectively, the first on-off structure is arranged between a serial port connector and a first serial port in the server, the second on-off structure is arranged between the serial port connector and a second serial port in the control device, the device comprises: a first control module, configured to control the first on-off structure to conduct the connection between the serial port connector and the first serial port when the control device is started, wherein the first serial port is connected to a first external device, so that the server communicates with the first external device through the first serial port; A first receiving module, used for receiving a first transmission signal sent by the serial port connector; A second control module is used to control the first on-off structure to disconnect the connection between the serial port connector and the first serial port through a first control signal, and to control the second on-off structure to connect the connection between the serial port connector and the second serial port when the first transmission signal includes a target keyword, wherein the second serial port is connected to a second external device so that the server can communicate with the first external device through the second serial port.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 8 when executed by a processor.

12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method described in any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Serial port control method and device, electronic equipment and storage medium

    CN119271583A

  • Communication test system

    CN120567741A

  • Serial port switching control circuit and method and server

    CN120994595A

  • Electronic equipment, data transmission system and data transmission method

    CN121210345A

  • Electronic device, data transmission system and data transmission method

    CN121210345B