CN114553753B - Method, device and system for adjusting and measuring communication module with serial communication interface - Google Patents

Method, device and system for adjusting and measuring communication module with serial communication interface Download PDF

Info

Publication number
CN114553753B
CN114553753B CN202210015592.9A CN202210015592A CN114553753B CN 114553753 B CN114553753 B CN 114553753B CN 202210015592 A CN202210015592 A CN 202210015592A CN 114553753 B CN114553753 B CN 114553753B
Authority
CN
China
Prior art keywords
target
communication module
serial communication
communication interface
thread
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210015592.9A
Other languages
Chinese (zh)
Other versions
CN114553753A (en
Inventor
张颖
王辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CICT Mobile Communication Technology Co Ltd
Original Assignee
CICT Mobile Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CICT Mobile Communication Technology Co Ltd filed Critical CICT Mobile Communication Technology Co Ltd
Priority to CN202210015592.9A priority Critical patent/CN114553753B/en
Publication of CN114553753A publication Critical patent/CN114553753A/en
Application granted granted Critical
Publication of CN114553753B publication Critical patent/CN114553753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method, a device and a system for adjusting and measuring a communication module with a serial communication interface, wherein adjusting and measuring equipment is connected with target communication equipment through an Ethernet interface; the first serial communication interface of the target communication module is connected with the second serial communication interface of the target communication device; the debugging equipment comprises a debugging module for running a target debugging program; the method comprises the following steps: the modulation device generates a virtual serial communication interface through a first thread, and establishes TCP connection with the target communication device through a second thread; the first thread receives the modulation data sent by the modulation module based on the virtual serial communication interface; the second thread sends the debug data to the target communication device based on the TCP connection such that the target communication device forwards the debug data to the target communication module. The method, the device and the system for adjusting and measuring the communication module with the serial communication interface provided by the invention do not need to lead out cables from the board card, do not need to develop an adjusting and measuring program by themselves, and are simpler and more convenient to adjust and measure.

Description

Method, device and system for adjusting and measuring communication module with serial communication interface
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for adjusting a communications module with a serial communications interface.
Background
Signal synchronization is very important for communication base station equipment. Signal synchronization is typically achieved based on clock synchronization. A global navigation satellite system (GNSS, global Navigation Satellite System) chip such as a global positioning system (GPS, global Positioning System) chip or a Beidou (BD) chip is generally used for clock synchronization on the communication board, so that the GNSS chip needs to be tuned.
Currently, communication modules such as GNSS chips generally communicate with the outside through a serial communication interface such as a universal asynchronous receiver Transmitter (UART, universal Asynchronous Receiver/Transmitter) interface. In the traditional communication equipment board card debugging, a method is that wires of TX/RX pins corresponding to a serial communication interface of the chip are led out from a hardware circuit board, the TX/RX wires are welded on RX/TX pins of a serial port of a PC (personal computer ) used for debugging, a debugging program provided by a manufacturer of the GNSS chip is operated on the PC for debugging, after the debugging is finished, the welded wires are removed, and the board card is restored; another method is to develop the debugging program by itself, and run the debugging program based on the processor on the board.
The first method described above requires welding and removal of the weld, and may also require flying wire welding and removal of the housing of the base station equipment; the second method does not use the tuning program provided by the manufacturer of the communication module, but develops the tuning program in addition.
In conclusion, the prior art has the defects of complex adjustment and measurement process, low efficiency and the like.
Disclosure of Invention
The invention provides a method, a device and a system for adjusting and testing a communication module with a serial communication interface, which are used for solving the defect of complex adjusting and testing process in the prior art and realizing simple, efficient and convenient adjusting and testing.
The invention provides a method for adjusting and testing a communication module with a serial communication interface, wherein adjusting and testing equipment is connected with target communication equipment through an Ethernet interface; the first serial communication interface of the target communication module is connected with the second serial communication interface of the target communication device; the debugging equipment comprises a debugging module for running a target debugging program;
the method comprises the following steps:
the modulation device generates a virtual serial communication interface through a first thread and establishes TCP connection with the target communication device through a second thread;
the first thread receives the modulation data sent by the modulation module based on the virtual serial communication interface;
The second thread sends the tuning data to the target communication device based on the TCP connection, such that the target communication device forwards the tuning data to the target communication module.
According to the method for testing the communication module with the serial communication interface provided by the invention, after the second thread sends the test data to the target communication device based on the TCP connection, the method further comprises the following steps:
the second thread receives feedback data sent by the target communication equipment based on the TCP connection;
the first thread sends feedback data to the debug module based on the virtual serial communication interface.
The invention also provides a method for adjusting and measuring the communication module with the serial communication interface, wherein the adjusting and measuring equipment is connected with the target communication equipment through an Ethernet interface; the first serial communication interface of the target communication module is connected with the second serial communication interface of the target communication device; the debugging equipment comprises a debugging module for running a target debugging program;
the method comprises the following steps:
the target communication device passes through a third thread Cheng Qidong;
the target communication equipment establishes TCP connection with the modulation equipment through the fourth thread;
The fourth thread receives the modulation data sent by the modulation device based on the TCP connection;
and the third thread sends the adjustment data to the target communication module.
According to the method for testing the communication module with the serial communication interface provided by the invention, after the third thread sends the test data to the target communication module, the method further comprises the following steps:
feedback data sent by the target communication module by the third line Cheng Jieshou;
the fourth thread sends the feedback data to the modulation device based on the TCP connection.
The invention also provides a device for adjusting and measuring the communication module with the serial communication interface, which comprises:
the adjusting and testing module is used for running a target adjusting and testing program;
the first serial communication module is used for generating a virtual serial communication interface through a first thread;
the first TCP communication module is used for establishing TCP connection with the target communication equipment through the second thread;
the first serial communication module is further configured to receive the debug data sent by the debug module based on the virtual serial communication interface;
the first TCP communication module is further configured to send the tuning data to the target communication device based on the TCP connection, so that the target communication device forwards the tuning data to the target communication module.
The invention also provides a device for adjusting and measuring the communication module with the serial communication interface, which comprises:
a second serial communication module for a fourth thread through a third line Cheng Qidong;
the second TCP communication module is used for establishing TCP connection with the modulation equipment through the fourth thread;
the second TCP communication module is further used for receiving the modulation data sent by the modulation device based on the TCP connection;
the second serial communication module is further configured to send the tuning data to a target communication module.
The invention also provides a system for adjusting and measuring a communication module with a serial communication interface, which comprises: a device for testing a communication module with a serial communication interface according to any one of the above and a device for testing a communication module with a serial communication interface according to any one of the above; the device for adjusting and measuring the communication module with the serial communication interface according to any one of the above is connected with the device for adjusting and measuring the communication module with the serial communication interface through the ethernet.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of tuning a communication module with a serial communication interface as described in any one of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a method of modulating a communication module with a serial communication interface as described in any one of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a method of tuning a communication module with a serial communication interface as described in any one of the above.
According to the method, the device and the system for adjusting and measuring the communication module with the serial communication interface, the adjustment data is sent to the target communication equipment through the virtual serial communication interface and the Ethernet interface on the adjustment equipment, and then sent to the target communication module through the Ethernet interface on the target communication equipment, the second serial communication interface and the first serial communication interface of the target communication module, so that the adjustment of the target communication module is performed, a cable is not required to be led out from the target communication equipment, the hardware is not required to be modified, the maintenance and debugging cost is lower, the adjustment program of a manufacturer is utilized, the adjustment program is not required to be developed by the manufacturer, the adjustment step is simpler, the adjustment is more convenient and efficient, and the adjustment convenience and the adjustment efficiency can be greatly improved. And the universality is stronger, the method is irrelevant to hardware driving, the method is not limited by hardware equipment, and any communication module provided with a serial communication interface can be used for carrying out adjustment and measurement by using the method provided by the embodiment of the invention.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for testing a communication module with a serial communication interface according to the present invention;
FIG. 2 is a second flow chart of a method for testing a communication module with a serial communication interface according to the present invention;
FIG. 3 is a third flow chart of a method for testing a communication module with a serial communication interface according to the present invention;
FIG. 4 is a flow chart of a method for testing a communication module with a serial communication interface according to the present invention;
FIG. 5 is a schematic diagram of an apparatus for testing a communication module with a serial communication interface according to the present invention;
FIG. 6 is a second schematic diagram of an apparatus for testing a communication module with a serial communication interface according to the present invention;
FIG. 7 is a schematic diagram of a system for testing a communication module with a serial communication interface according to the present invention;
FIG. 8 is a second schematic diagram of a system for testing a communication module with a serial communication interface according to the present invention;
fig. 9 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of embodiments of the present invention, the terms "first," "second," "third," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance and not order.
In describing embodiments of the present invention, it should be noted that, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" should be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in embodiments of the present invention will be understood in detail by those of ordinary skill in the art.
The following describes a method, an apparatus and a system for adjusting a communication module with a serial communication interface according to the present invention with reference to fig. 1 to 9.
Fig. 1 is a schematic flow chart of a method for testing a communication module with a serial communication interface according to the present invention. A method of tuning a communication module with a serial communication interface according to an embodiment of the present application is described below with reference to fig. 1. As shown in fig. 1, the method includes: step 101, step 102 and step 103.
Specifically, the execution subject of the method for testing a communication module with a serial communication interface provided by the embodiment of the invention is a device for testing a communication module with a serial communication interface, and the device can be a testing device. The method for adjusting and measuring the communication module with the serial communication interface is used for adjusting and measuring equipment.
The regulating and measuring equipment is connected with the target communication equipment through an Ethernet interface; the first serial communication interface of the target communication module is connected with the second serial communication interface of the target communication device; the tuning device includes a tuning module for running a target tuning program.
The metering device may be provided with an ethernet interface. The modulation device may be implemented in a variety of ways. Illustratively, the tuning device may be a desktop computer, a notebook computer, an industrial personal computer, or the like.
The target tuning program can be installed on the tuning device. The tuning device includes a tuning module that may be used to run the target tuning program. The target tuning program may be an application program provided by a manufacturer of the target communication module for tuning the target communication module. The target tuning program typically tunes the target communication module based on a serial communication interface (e.g., UART interface, etc.).
The target communication module is a modulated communication module. The target communication module is provided with a first serial communication interface (e.g., UART interface, etc.). The target communication module may be implemented in a variety of ways. Optionally, the target communication module is a global navigation satellite system chip such as a GPS chip or a beidou chip.
The target communication device may be a board card to be tested. The target communication device may be provided with an ethernet interface and a second serial communication interface. The first serial communication interface and the second serial communication interface are of the same type, i.e. are both serial communication interfaces based on the same communication protocol. Illustratively, the first serial communication interface and the second serial communication interface are each UART interfaces.
The target communication device may be implemented in a variety of ways. The target communication device may be a communication board card such as an indoor baseband processing unit (Building Base band Unit, BBU) or a remote radio unit (Remote Radio Unit, RRU), or may be an industrial personal computer. Optionally, the target communication device is an embedded communication board card.
The method for adjusting and measuring the communication module with the serial communication interface provided by the embodiment of the invention can be used for adjusting and measuring the target communication module installed on the target communication equipment. The debugging equipment is connected with the target communication equipment through an Ethernet interface, cables are not required to be led out from the target communication equipment and welded, and the physical serial port equipment is not required.
Step 101, the modulation device generates a virtual serial communication interface through a first thread, and establishes a TCP connection with the target communication device through a second thread.
In particular, steps 101, 102 and 103 may be implemented by a computer program, which may be referred to as a call agent client. The metering proxy client may be a multi-threaded program running on the metering device. Optionally, the call agent client includes at least two threads: a first thread and a second thread. The first thread is a serial port communication receiving and forwarding thread, and the second thread is a TCP communication forwarding thread.
The first thread may generate a virtual serial communication interface, i.e., a virtual serial communication interface, upon initialization. The virtual serial communication interface is of the same type as the first serial communication interface and the second serial communication interface. Illustratively, in the case where the first serial communication interface and the second serial communication interface are both UART interfaces, the virtual serial communication interface is a virtual UART interface.
When the virtual serial communication interface is generated, parameters necessary for serial communication such as baud rate and stop bit are set.
It should be noted that, in comparison with a real physical serial communication interface, the virtual serial communication interface may also have a function of a physical serial communication interface and may also communicate with a remote end through an ethernet. The virtual serial communication interface may be set with the IP address and port number of the remote TCP server (the target communication device in this embodiment). The IP address and port number of the remote TCP server may be configured in advance before the call agent client is started.
Optionally, the modulation device also passes the first thread Cheng Qidong through the second thread.
And the first thread is used for communicating with the modulation module based on the serial communication interface.
And a second thread for establishing a TCP connection and Ethernet-based communication with the target communication device. The second thread may send a connection request to the target communication device based on the IP address and port number of the target communication device; the target communication device receives and accepts the connection request, and a TCP connection between the modulation device and the target communication device can be established.
Step 102, the first thread receives the debug data sent by the debug module based on the virtual serial communication interface.
Specifically, when the target debugging program performs various debugging operations, the debugging data is issued to the virtual serial communication interface. The first thread may receive the debug data via the virtual serial communication interface. The tuning data may include configuration data of the target communication module and/or tuning instructions such as query instructions.
The debugging data are generated by target debugging software provided by a manufacturer of the target communication module, an additional self-developed debugging program corresponding to the target communication module is not needed, the learning cost is low, and the debugging efficiency is very high.
Step 103, the second thread sends the debug data to the target communication device based on the TCP connection, so that the target communication device forwards the debug data to the target communication module.
Specifically, after the first thread obtains the debug data, the second thread may send the debug data to the target communication device based on the TCP connection between the debug device and the target communication device.
The target communication device may receive the metering data over a TCP connection between the metering device and the target communication device based on a metering proxy running on the target communication device.
Because the first serial communication interface of the target communication module is connected with the second serial communication interface of the target communication device, the target communication device can send the adjustment data to the target communication module through the second serial communication interface and the first serial communication interface to adjust the target communication module.
According to the embodiment of the invention, the virtual serial communication interface on the test equipment is used for transmitting the test data to the target communication equipment through the virtual serial communication interface and the Ethernet interface on the test equipment, and then transmitting the test data to the target communication module through the Ethernet interface, the second serial communication interface and the first serial communication interface of the target communication module on the target communication equipment, so that the test of the target communication module is performed, a cable is not required to be led out from the target communication equipment, the hardware is not required to be modified, the maintenance and debugging cost is lower, the test program of a manufacturer is not required to be developed by oneself, the test step is simpler, the test is more convenient and efficient, and the test convenience and the test efficiency can be greatly improved. And the universality is stronger, the method is irrelevant to hardware driving, the method is not limited by hardware equipment, and any communication module provided with a serial communication interface can be used for carrying out adjustment and measurement by using the method provided by the embodiment of the invention.
Based on any of the foregoing embodiments, after the second thread sends the debug data to the target communication device based on the TCP connection, the method further includes: the second thread receives feedback data sent by the target communication device based on the TCP connection.
Specifically, after step 103, the target communication module may send feedback data to the modulation device. The feedback data may be data returned by the target communication module for the adjustment data, or may be data that the target communication module actively reports to the adjustment device.
Optionally, in the case that the tuning data is configuration data, the feedback data may be used to indicate whether the target communication module is successful in configuring based on the configuration data; in the case that the debug data is a debug instruction, the feedback data may be used to indicate the execution result of the debug instruction. For example, in the case where the feedback data is a query instruction, the feedback data may be queried data.
The target communication module can send feedback data through the first serial communication interface; the target communication device may receive the feedback data through a second serial communication interface connected to the first serial communication interface, and then send the feedback data to the modulation device through a TCP connection between the modulation device and the target communication device.
The modulation device may receive the feedback data via the second thread based on the TCP connection.
The first thread sends feedback data to the modulation module based on the virtual serial communication interface.
Specifically, after the second thread receives the feedback data, the first thread may send the feedback data to the adjustment module through the virtual serial communication interface, so that the target adjustment program obtains the state of the target communication module based on the feedback data, and performs subsequent adjustment or ends adjustment.
According to the embodiment of the invention, the Ethernet interface is used for receiving the feedback data of the target communication module, and the virtual serial communication interface is used for sending the feedback data to the adjustment module, so that a cable is not required to be led out from the target communication equipment, the hardware is not required to be modified, the maintenance and debugging cost is lower, the adjustment program of a manufacturer is utilized, the adjustment program is not required to be developed by the manufacturer, the adjustment step is simpler, the adjustment is more convenient and efficient, and the adjustment convenience and the adjustment efficiency can be greatly improved. And the universality is stronger, the method is irrelevant to hardware driving, the method is not limited by hardware equipment, and any communication module provided with a serial communication interface can be used for carrying out adjustment and measurement by using the method provided by the embodiment of the invention.
Fig. 2 is a second flow chart of a method for testing a communication module with a serial communication interface according to the present application. A method of tuning a communication module with a serial communication interface according to an embodiment of the present application is described below with reference to fig. 2. Based on the content of any of the above embodiments, as shown in fig. 2, the method includes: step 201, step 202, step 203 and step 204.
Specifically, the execution subject of the method for testing a communication module with a serial communication interface provided by the embodiment of the invention is a device for testing a communication module with a serial communication interface, and the device can be a target communication device. The method for testing the communication module with the serial communication interface is used for target communication equipment.
The regulating and measuring equipment is connected with the target communication equipment through an Ethernet interface; the first serial communication interface of the target communication module is connected with the second serial communication interface of the target communication device; the tuning device includes a tuning module for running a target tuning program.
Step 201, the target communication device passes through the third thread Cheng Qidong fourth thread.
In particular, steps 201, 202, 203 and 204 may be implemented by a computer program, which may be referred to as a call-up proxy service program. The call agent may be a multi-threaded program running on the target communication device. Optionally, the call agent includes at least two threads: a third thread and a fourth thread. The third thread is a serial port communication receiving and forwarding thread, and the fourth thread is a TCP communication forwarding thread.
The third thread may open the first serial communication interface of the target communication module during initialization, and set parameters necessary for serial communication such as baud rates and stop bits of the first serial communication interface and the second serial communication interface.
After the successful setting, the fourth thread may be passed through the third line Cheng Qidong.
And a third thread for communicating with the target communication module based on the serial communication interface.
And a fourth thread for establishing a TCP connection and Ethernet-based communication with the modulation device.
Step 202, the target communication device establishes a TCP connection with the modulation device through a fourth thread.
Specifically, the modulation device may send a connection request to the target communication device based on the IP address and the port number of the target communication device.
The target communication device receives the connection request through the fourth thread, then receives the connection request, and establishes a TCP connection between the modulation device and the target communication device.
Step 203, the fourth thread receives the debug data sent by the debug device based on the TCP connection.
Specifically, the modulation device sends modulation data to the target communication device over the TCP connection. The tuning data may include configuration data of the target communication module and/or tuning instructions such as query instructions.
The fourth thread may receive the metering data over a TCP connection between the metering device and the target communication device.
Step 204, the third thread sends the tuning data to the target communication module.
Specifically, since the first serial communication interface of the target communication module is connected with the second serial communication interface of the target communication device, the target communication device can send the adjustment data to the target communication module through the second serial communication interface and the first serial communication interface by the third thread to perform adjustment of the target communication module.
According to the embodiment of the invention, the virtual serial communication interface on the test equipment is used for transmitting the test data to the target communication equipment through the virtual serial communication interface and the Ethernet interface on the test equipment, and then transmitting the test data to the target communication module through the Ethernet interface, the second serial communication interface and the first serial communication interface of the target communication module on the target communication equipment, so that the test of the target communication module is performed, a cable is not required to be led out from the target communication equipment, the hardware is not required to be modified, the maintenance and debugging cost is lower, the test program of a manufacturer is not required to be developed by oneself, the test step is simpler, the test is more convenient and efficient, and the test convenience and the test efficiency can be greatly improved. And the universality is stronger, the method is irrelevant to hardware driving, the method is not limited by hardware equipment, and any communication module provided with a serial communication interface can be used for carrying out adjustment and measurement by using the method provided by the embodiment of the invention.
Based on any of the foregoing embodiments, after the third thread sends the debug data to the target communication module, the method further includes: the third thread receives feedback data sent by the target communication module.
Specifically, following step 204, the tag communication module may send feedback data to the modulation device. The feedback data may be data returned by the target communication module for the adjustment data, or may be data that the target communication module actively reports to the adjustment device.
Optionally, in the case that the tuning data is configuration data, the feedback data may be used to indicate whether the target communication module is successful in configuring based on the configuration data; in the case that the debug data is a debug instruction, the feedback data may be used to indicate the execution result of the debug instruction. For example, in the case where the feedback data is a query instruction, the feedback data may be queried data.
The target communication module may send the feedback data over the first serial communication interface.
The target communication device may receive the feedback data via the third thread based on a second serial communication interface coupled to the first serial communication interface.
The fourth thread sends feedback data to the modulation device based on the TCP connection.
Specifically, after the third thread receives the feedback data, the fourth thread may send the feedback data to the modulation device over a TCP connection between the modulation device and the target communication device.
According to the embodiment of the invention, the feedback data of the target communication module is received through the target communication equipment based on the serial communication interface, and is sent to the regulating and testing equipment through the Ethernet interface, so that a cable is not required to be led out from the target communication equipment, the hardware is not required to be modified, the maintenance and debugging cost is lower, the regulating and testing program of a manufacturer is utilized, the self-development of the regulating and testing program is not required, the regulating and testing steps are simpler, the regulating and testing are more convenient and efficient, and the regulating and testing convenience and the regulating and testing efficiency can be greatly improved. And the universality is stronger, the method is irrelevant to hardware driving, the method is not limited by hardware equipment, and any communication module provided with a serial communication interface can be used for carrying out adjustment and measurement by using the method provided by the embodiment of the invention.
In order to facilitate understanding of the above embodiments of the present invention, an implementation procedure of a method for tuning a communication module with a serial communication interface is described below in connection with an interaction procedure between a tuning device and a target communication device.
The target communication device runs a call setup proxy service program and the call setup device runs a call setup proxy client program. Since the tone test device is connected to the target communication device through the ethernet interface, the tone test proxy service program and the tone test proxy client program can also be connected and communicate through the ethernet interface.
The call and test agent service program is used for carrying out serial port communication with the target communication module on one hand and carrying out TCP network communication with the call and test agent client program on the other hand. The call out agent client program is used for carrying out serial port communication with the target call out program on the call out device on one hand, and is used for carrying out TCP network communication with the call out agent service program on the other hand.
When starting the adjustment, firstly running an adjustment and measurement proxy service program, wherein the program runs as a background program and exists all the time in the whole adjustment and measurement process; then running the debugging agent client program, the debugging agent client program generates a virtual serial port on the debugging device and communicates with the target debugging program running on the host. The target debugging program is directly communicated with the serial port, a virtual serial port generated by the debugging agent client program is opened from the target debugging program, the baud rate and the like are set, and after the setting is finished, the target debugging program provided by a manufacturer can be used for debugging, so that the effect is equivalent to the effect that the target debugging program is directly connected with the target communication module through the serial port for debugging.
For the target communication device, the call agent running thereon runs in the background as a relay program. The target communication module has a UART interface (for example, a serial communication interface is a UART interface) on hardware, and is connected with a UART interface of the target communication device, so that the debugging agent service program can communicate with the target communication module through the UART interface of the target communication device.
When the debugging proxy service program is started, the UART interface of the target communication module is opened, and default parameters such as baud rate, stop bit and the like are set, so that the debugging proxy service program can communicate with the module. And, the call agent opens a TCP Server (TCP Server) and waits for a TCP connection request from the call agent client. When a TCP connection request initiated by the call agent client is received, the TCP connection to be established is successful, and the work can be formally started.
When the debugging proxy service program runs, after feedback data is sent from the UART interface of the target communication module, the feedback data is not processed, and the feedback data is directly sent to the debugging equipment through the TCP connection established in the last step and is processed by the debugging equipment. After the call proxy service program receives call data from the TCP connection with the call device, the call data is forwarded to the serial port of the target communication module as it is.
After the call testing agent client program is started, a virtual serial port is generated in an operating system of the call testing equipment. When the target debugging program tries to open the virtual serial port, the debugging agent Client acts as a TCP Client (TCP Client) and initiates a connection with a remote TCP server configured in advance. When the TCP connection is established, the target debugging program also shows that the virtual serial port is successfully opened, and then the virtual serial port can normally communicate with the target communication module to be debugged.
The call agent client starts the data forwarding function after the TCP connection is established successfully. After receiving the feedback data from the TCP opposite end, caching the feedback data without any processing, and directly forwarding the feedback data to the target debugging program through the virtual serial port. When the target communication module receives the debugging data from the target debugging program through serial port communication, the debugging data is directly transmitted to the TCP server through TCP connection without any processing, and normal communication can be performed with the target communication module.
The various modulation data and the various feedback data can be directly forwarded without distinction at the Ethernet connection level, and the processing efficiency is very high.
As shown in fig. 3, the method for tuning the target communication device side may include the following steps:
step 301, call proxy service program is started.
Step 302, starting a third thread.
Step 303, opening a serial port.
The third thread is initialized, and a first serial communication interface of the target communication module is opened. After the opening is successful, step 304 may be performed.
And 304, setting a forwarding flag bit to be not forwarded.
And initializing and setting a forwarding flag bit of the target communication equipment to be not forwarded.
Step 305, whether the forwarding flag bit is forwarding.
If yes, go to step 306; if not, proceed to step 305. If the third thread detects that the forwarding flag bit of the target communication equipment is forwarding, starting data forwarding work; and when the forwarding flag bit of the target communication equipment is not forwarded, the UART interface is not subjected to receiving processing.
Step 306, reading feedback data from the UART interface.
Step 307, send feedback data to the TCP opposite (i.e. the modulation device).
Step 308, start the fourth thread.
And starting a fourth thread to process the TCP communication task.
Step 309, starting the TCP server.
Step 310, it is detected whether there is a TCP client requesting a connection.
If yes, go to step 311; if not, proceed to step 310.
Step 311, establishing a TCP connection, and setting a forwarding flag bit as forwarding.
And setting a forwarding flag bit of the target communication device as forwarding when the TCP connection between the TCP server and the TCP client (namely, between the target communication device and the modulation device) is established.
Step 312, the call data is read from the opposite TCP end.
Step 313, send the debug data to UART interface.
As shown in fig. 4, the method for adjusting the device side may include the following steps:
step 401, call agent client is started.
Step 402, starting a first thread.
Step 403, generating a virtual UART interface.
Step 404, whether the target test software is connected with the serial port.
The first thread detects whether there is target call software attempting to open the virtual UART interface. If yes, go to step 405; if not, proceed to step 404.
Step 405, initializing a serial port, and setting a forwarding flag bit to be not forwarded.
Initializing a virtual UART interface, setting parameters such as the baud rate, the stop bit and the like, and setting the forwarding flag bit of the debugging equipment to be not forwarded.
Step 406, whether the forwarding flag bit is forwarding.
If yes, go to step 407; if not, proceed to step 406.
Step 407, reading the debug data from the virtual UART interface.
Step 408, send the call out data to the TCP opposite (i.e., the target communication device).
Step 409, starting the second thread.
Step 410, start the TCP client.
Step 411, connect to the TCP server.
Step 412, whether the connection is successful.
Judging whether the connection with the TCP server is successful. If yes, go to step 413; if not, go back to execute step 411.
Step 413, setting a forwarding flag bit as forwarding.
And setting the forwarding flag bit of the debugging equipment as forwarding.
Step 414, reading feedback data from the opposite end of the TCP.
Step 415, send feedback data to the virtual UART interface.
The following describes the device for testing the communication module with the serial communication interface, and the device for testing the communication module with the serial communication interface and the method for testing the communication module with the serial communication interface described above can be correspondingly referred to each other.
Fig. 5 is a schematic structural diagram of an apparatus for testing a communication module with a serial communication interface according to the present invention. Based on the foregoing content of any of the foregoing embodiments, as shown in fig. 5, the apparatus includes a tuning module 501, a first serial communication module 502, and a first TCP communication module 503, where:
the debugging module 501 is used for running a target debugging program;
a first serial communication module 502 for generating a virtual serial communication interface through a first thread;
a first TCP communication module 503, configured to establish a TCP connection with the target communication device through the second thread;
the first serial communication module 502 is further configured to receive the debug data sent by the debug module based on the virtual serial communication interface;
the first TCP communication module 503 is further configured to send the debug data to the target communication device based on the TCP connection, so that the target communication device forwards the debug data to the target communication module.
Specifically, the device for modulating the communication module with the serial communication interface provided by the embodiment of the invention can be modulating equipment.
The debug module 501, the first serial communication module 502, and the first TCP communication module 503 are electrically connected in sequence.
The first serial communication module 502 may generate a virtual serial communication interface, i.e., a virtual serial communication interface, upon initialization.
The first TCP communication module 503 may send a connection request to the target communication device based on the IP address and the port number of the target communication device; the target communication device receives and accepts the connection request, and a TCP connection between the modulation device and the target communication device can be established.
The tuning module 501 may send tuning data to the first serial communication module 502.
The first serial communication module 502 may receive the above-described debug data based on the virtual serial communication interface.
The first TCP communication module 503 may send the metering data to the target communication device based on the TCP connection between the metering device and the target communication device.
The target communication device may receive the metering data over a TCP connection between the metering device and the target communication device based on a metering proxy running on the target communication device.
Because the first serial communication interface of the target communication module is connected with the second serial communication interface of the target communication device, the target communication device can send the adjustment data to the target communication module through the second serial communication interface and the first serial communication interface to adjust the target communication module.
Optionally, the first TCP communication module 503 is further configured to receive feedback data sent by the target communication device based on the TCP connection;
The first serial communication module 502 is further configured to send feedback data to the tuning module based on the virtual serial communication interface.
The device for adjusting and measuring the communication module with the serial communication interface provided by the embodiment of the invention is used for executing the method for adjusting and measuring the communication module with the serial communication interface, the implementation mode of the device is consistent with the implementation mode of the method for adjusting and measuring the communication module with the serial communication interface provided by the invention, and the same beneficial effects can be achieved, and the detailed description is omitted.
The device for testing the communication module with the serial communication interface is used for the method for testing the communication module with the serial communication interface in the previous embodiments. Therefore, the description and definition in the method of tuning the communication module with the serial communication interface in the foregoing embodiments may be used for understanding the execution modules in the embodiments of the present invention.
According to the embodiment of the invention, the virtual serial communication interface on the test equipment is used for transmitting the test data to the target communication equipment through the virtual serial communication interface and the Ethernet interface on the test equipment, and then transmitting the test data to the target communication module through the Ethernet interface, the second serial communication interface and the first serial communication interface of the target communication module on the target communication equipment, so that the test of the target communication module is performed, a cable is not required to be led out from the target communication equipment, the hardware is not required to be modified, the maintenance and debugging cost is lower, the test program of a manufacturer is not required to be developed by oneself, the test step is simpler, the test is more convenient and efficient, and the test convenience and the test efficiency can be greatly improved.
Fig. 6 is a schematic diagram of a second embodiment of an apparatus for testing a communication module with a serial communication interface. Based on the foregoing in any of the embodiments, as shown in fig. 6, the apparatus includes a second serial communication module 601 and a second TCP communication module 602, where:
a second serial communication module 601 for a fourth thread through a third line Cheng Qidong;
a second TCP communication module 602, configured to establish a TCP connection with the modulation device through a fourth thread;
the second TCP communication module 602 is further configured to receive, based on the TCP connection, the debug data sent by the debug device;
the second serial communication module 601 is further configured to send the debug data to the target communication module.
Specifically, the device for testing the communication module with the serial communication interface provided by the embodiment of the invention is target communication equipment.
The second serial communication module 601 and the second TCP communication module 602 are electrically connected.
The second serial communication module 601 may pass the third thread Cheng Qidong fourth thread.
The metering device may send a connection request to the target communication device based on the IP address and port number of the target communication device.
The second TCP communication module 602 may receive the connection request and then accept the connection request to establish a TCP connection between the metering device and the target communication device.
The modulation device sends modulation data to the target communication device through the TCP connection.
The second TCP communication module 602 may receive the metering data over a TCP connection between the metering device and the target communication device.
The second serial communication module 601 may send the adjustment data to the target communication module through the second serial communication interface and the first serial communication interface, so as to perform adjustment on the target communication module.
Optionally, the second serial communication module 601 is further configured to receive feedback data sent by the target communication module;
the second TCP communication module 602 is further configured to send feedback data to the modulation device based on the TCP connection.
The device for adjusting and measuring the communication module with the serial communication interface provided by the embodiment of the invention is used for executing the method for adjusting and measuring the communication module with the serial communication interface, the implementation mode of the device is consistent with the implementation mode of the method for adjusting and measuring the communication module with the serial communication interface provided by the invention, and the same beneficial effects can be achieved, and the detailed description is omitted.
The device for testing the communication module with the serial communication interface is used for the method for testing the communication module with the serial communication interface in the previous embodiments. Therefore, the description and definition in the method of tuning the communication module with the serial communication interface in the foregoing embodiments may be used for understanding the execution modules in the embodiments of the present invention.
According to the embodiment of the invention, the virtual serial communication interface on the test equipment is used for transmitting the test data to the target communication equipment through the virtual serial communication interface and the Ethernet interface on the test equipment, and then transmitting the test data to the target communication module through the Ethernet interface, the second serial communication interface and the first serial communication interface of the target communication module on the target communication equipment, so that the test of the target communication module is performed, a cable is not required to be led out from the target communication equipment, the hardware is not required to be modified, the maintenance and debugging cost is lower, the test program of a manufacturer is not required to be developed by oneself, the test step is simpler, the test is more convenient and efficient, and the test convenience and the test efficiency can be greatly improved.
Fig. 7 is a schematic diagram of a system for modulating a communication module with a serial communication interface according to the present invention. A system for tuning a communication module with a serial communication interface according to an embodiment of the present application is described below with reference to fig. 7. Based on the foregoing in any of the embodiments, as shown in fig. 7, the system includes: means 701 for first and means 702 for second tuning the communication module with serial communication interface; the means 701 for first and the means 702 for second tuning the communication module with serial communication interface are connected via ethernet.
Specifically, the apparatus 701 for testing a communication module with a serial communication interface may be the testing device in any of the foregoing embodiments. The second device 702 for tuning the communication module with the serial communication interface may be the target communication device in any of the above embodiments.
Alternatively, as shown in fig. 8, in the system, the call-to-call agent service program and the call-to-call agent client program communicate with each other via an ethernet network. The middle dashed box is a generic metering platform 801 that includes a metering proxy and a metering proxy client that communicate over an ethernet network. When a user uses a target debugging program to perform various debugging operations, the debugging data is issued to a virtual UART interface (the virtual serial communication interface in the embodiment of the invention is specifically a virtual UART interface), and the debugging agent client receives the debugging data and forwards the debugging data to the opposite end of the network (the debugging agent service program) through a TCP connection. The feedback data of the target communication module is also received by the call agent and then sent to the call agent client through the TCP connection. Thus, the complete communication flow is established successfully. The intermediate modulation platform is completely transparent to the target modulation program, and uses awareness that it is communicating directly with the real target communication module (as indicated by the dashed line with the double-headed arrow).
According to the embodiment of the invention, the virtual serial communication interface on the test equipment is used for transmitting the test data to the target communication equipment through the virtual serial communication interface and the Ethernet interface on the test equipment, and then transmitting the test data to the target communication module through the Ethernet interface, the second serial communication interface and the first serial communication interface of the target communication module on the target communication equipment, so that the test of the target communication module is performed, a cable is not required to be led out from the target communication equipment, the hardware is not required to be modified, the maintenance and debugging cost is lower, the test program of a manufacturer is not required to be developed by oneself, the test step is simpler, the test is more convenient and efficient, and the test convenience and the test efficiency can be greatly improved. And the universality is stronger, the method is irrelevant to hardware driving, and the method is not limited by hardware equipment.
Fig. 9 illustrates a physical schematic diagram of an electronic device, as shown in fig. 9, which may include: processor 910, communication interface (Communications Interface), memory 930, and communication bus 940, wherein processor 910, communication interface 920, and memory 930 communicate with each other via communication bus 940. Processor 910 may invoke logic instructions in memory 930 to perform a method of tuning a communication module with a serial communication interface, the method comprising: the modulation device generates a virtual serial communication interface through a first thread, and establishes TCP connection with the target communication device through a second thread; the first thread receives the modulation data sent by the modulation module based on the virtual serial communication interface; the second thread sends the debug data to the target communication device based on the TCP connection, so that the target communication device forwards the debug data to the target communication module; or comprises: the target communication device passes through the third thread Cheng Qidong fourth thread; the target communication equipment establishes TCP connection with the modulation equipment through a fourth thread; the fourth thread is based on TCP connection, and receives the modulation data sent by the modulation device; the third thread sends the debug data to the target communication module.
Further, the logic instructions in the memory 930 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The processor 910 in the electronic device provided in the embodiment of the present application may call the logic instruction in the memory 930, and its implementation manner is consistent with the implementation manner of the method for adjusting and measuring the communication module with the serial communication interface provided in the present application, and may achieve the same beneficial effects, which are not described herein again.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing a method of tuning a communication module of a serial communication interface provided by the methods described above, the method comprising: the modulation device generates a virtual serial communication interface through a first thread, and establishes TCP connection with the target communication device through a second thread; the first thread receives the modulation data sent by the modulation module based on the virtual serial communication interface; the second thread sends the debug data to the target communication device based on the TCP connection, so that the target communication device forwards the debug data to the target communication module; or comprises: the target communication device passes through the third thread Cheng Qidong fourth thread; the target communication equipment establishes TCP connection with the modulation equipment through a fourth thread; the fourth thread is based on TCP connection, and receives the modulation data sent by the modulation device; the third thread sends the debug data to the target communication module.
When the computer program product provided in the embodiment of the present application is executed, the specific implementation manner of the method for implementing the method for adjusting and measuring the communication module with the serial communication interface is consistent with the implementation manner described in the embodiment of the foregoing method, and the same beneficial effects can be achieved, which is not repeated herein.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the above-described methods of modulating a communication module with a serial communication interface, the method comprising: the modulation device generates a virtual serial communication interface through a first thread, and establishes TCP connection with the target communication device through a second thread; the first thread receives the modulation data sent by the modulation module based on the virtual serial communication interface; the second thread sends the debug data to the target communication device based on the TCP connection, so that the target communication device forwards the debug data to the target communication module; or comprises: the target communication device passes through the third thread Cheng Qidong fourth thread; the target communication equipment establishes TCP connection with the modulation equipment through a fourth thread; the fourth thread is based on TCP connection, and receives the modulation data sent by the modulation device; the third thread sends the debug data to the target communication module.
When the computer program stored on the non-transitory computer readable storage medium provided in the embodiment of the present application is executed, the method for implementing the above method for adjusting and measuring the communication module with the serial communication interface is consistent with the implementation manner described in the embodiment of the foregoing method, and the same beneficial effects may be achieved, which is not repeated herein.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for adjusting and measuring a communication module with a serial communication interface is characterized in that an adjusting and measuring device is connected with a target communication device through an Ethernet interface; the first serial communication interface of the target communication module is connected with the second serial communication interface of the target communication device; the debugging equipment comprises a debugging module for running a target debugging program;
the method comprises the following steps:
the modulation device generates a virtual serial communication interface through a first thread and establishes TCP connection with the target communication device through a second thread;
the first thread receives the modulation data sent by the modulation module based on the virtual serial communication interface;
The second thread sends the tuning data to the target communication device based on the TCP connection, so that the target communication device forwards the tuning data to the target communication module;
the adjustment data are generated by target adjustment software provided by a manufacturer of the target communication module; the tuning data is sent to the target communication module via the second serial communication interface and the first serial communication interface.
2. The method of claim 1, wherein the second thread, after sending the debug data to the target communication device based on the TCP connection, further comprises:
the second thread receives feedback data sent by the target communication equipment based on the TCP connection;
the first thread sends feedback data to the debug module based on the virtual serial communication interface.
3. A method for adjusting and measuring a communication module with a serial communication interface is characterized in that an adjusting and measuring device is connected with a target communication device through an Ethernet interface; the first serial communication interface of the target communication module is connected with the second serial communication interface of the target communication device; the debugging equipment comprises a debugging module for running a target debugging program;
The method comprises the following steps:
the target communication device passes through a third thread Cheng Qidong;
the target communication equipment establishes TCP connection with the modulation equipment through the fourth thread;
the fourth thread receives the modulation data sent by the modulation device based on the TCP connection;
the third thread sends the adjustment data to the target communication module;
the adjustment data are generated by target adjustment software provided by a manufacturer of the target communication module; the tuning data is sent to the target communication module via the second serial communication interface and the first serial communication interface.
4. The method of claim 3, wherein after the third thread sends the debug data to the target communication module, further comprising:
feedback data sent by the target communication module by the third line Cheng Jieshou;
the fourth thread sends the feedback data to the modulation device based on the TCP connection.
5. An apparatus for modulating a communication module having a serial communication interface, comprising:
the adjusting and testing module is used for running a target adjusting and testing program;
The first serial communication module is used for generating a virtual serial communication interface through a first thread;
the first TCP communication module is used for establishing TCP connection with the target communication equipment through the second thread;
the first serial communication module is further configured to receive the debug data sent by the debug module based on the virtual serial communication interface;
the first TCP communication module is further configured to send the debug data to the target communication device based on the TCP connection, so that the target communication device forwards the debug data to the target communication module;
the adjustment data are generated by target adjustment software provided by a manufacturer of the target communication module; the tuning data is sent to the target communication module via the second serial communication interface and the first serial communication interface.
6. An apparatus for modulating a communication module having a serial communication interface, comprising:
a second serial communication module for a fourth thread through a third line Cheng Qidong;
the second TCP communication module is used for establishing TCP connection with the modulation equipment through the fourth thread;
the second TCP communication module is further used for receiving the modulation data sent by the modulation device based on the TCP connection;
The second serial communication module is further used for sending the adjustment data to the target communication module;
the adjustment data are generated by target adjustment software provided by a manufacturer of the target communication module; the tuning data is sent to the target communication module via the second serial communication interface and the first serial communication interface.
7. A system for modulating a communication module having a serial communication interface, comprising: means for tuning a communication module with a serial communication interface according to claim 5 and means for tuning a communication module with a serial communication interface according to claim 6; the device for testing a communication module with a serial communication interface according to claim 5 and the device for testing a communication module with a serial communication interface according to claim 6 are connected via ethernet.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the program, implements the steps of the method of tuning a communication module with a serial communication interface as claimed in any one of claims 1 to 4.
9. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of tuning a communication module with a serial communication interface according to any of claims 1 to 4.
CN202210015592.9A 2022-01-07 2022-01-07 Method, device and system for adjusting and measuring communication module with serial communication interface Active CN114553753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210015592.9A CN114553753B (en) 2022-01-07 2022-01-07 Method, device and system for adjusting and measuring communication module with serial communication interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210015592.9A CN114553753B (en) 2022-01-07 2022-01-07 Method, device and system for adjusting and measuring communication module with serial communication interface

Publications (2)

Publication Number Publication Date
CN114553753A CN114553753A (en) 2022-05-27
CN114553753B true CN114553753B (en) 2024-03-15

Family

ID=81669677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210015592.9A Active CN114553753B (en) 2022-01-07 2022-01-07 Method, device and system for adjusting and measuring communication module with serial communication interface

Country Status (1)

Country Link
CN (1) CN114553753B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621440A (en) * 2009-05-22 2010-01-06 浙江天正电气股份有限公司 Remote multi-path serial port communication mapping system
WO2012006824A1 (en) * 2010-07-15 2012-01-19 中兴通讯股份有限公司 Multi-virtual serial port system and communication method thereof
CN107613020A (en) * 2017-10-16 2018-01-19 北京东土科技股份有限公司 A kind of device management method and device
WO2018112855A1 (en) * 2016-12-22 2018-06-28 深圳前海达闼云端智能科技有限公司 Virtualisation method and device, electronic device, and computer program product
CN108377232A (en) * 2018-01-29 2018-08-07 杭州鸿泉物联网技术股份有限公司 A kind of multi-protocol communication method and device
CN109284227A (en) * 2018-09-06 2019-01-29 政采云有限公司 A kind of automation method for testing pressure and device calculate equipment and storage medium
CN110879781A (en) * 2019-11-06 2020-03-13 北京奇艺世纪科技有限公司 Program debugging method and device, electronic equipment and computer readable storage medium
CN111158865A (en) * 2020-01-10 2020-05-15 山东超越数控电子股份有限公司 Method for realizing multiplexing virtual serial port
CN111427734A (en) * 2020-06-09 2020-07-17 深圳市南方硅谷半导体有限公司 Debugging method of development device, computer device, and medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621440A (en) * 2009-05-22 2010-01-06 浙江天正电气股份有限公司 Remote multi-path serial port communication mapping system
WO2012006824A1 (en) * 2010-07-15 2012-01-19 中兴通讯股份有限公司 Multi-virtual serial port system and communication method thereof
WO2018112855A1 (en) * 2016-12-22 2018-06-28 深圳前海达闼云端智能科技有限公司 Virtualisation method and device, electronic device, and computer program product
CN107613020A (en) * 2017-10-16 2018-01-19 北京东土科技股份有限公司 A kind of device management method and device
CN108377232A (en) * 2018-01-29 2018-08-07 杭州鸿泉物联网技术股份有限公司 A kind of multi-protocol communication method and device
CN109284227A (en) * 2018-09-06 2019-01-29 政采云有限公司 A kind of automation method for testing pressure and device calculate equipment and storage medium
CN110879781A (en) * 2019-11-06 2020-03-13 北京奇艺世纪科技有限公司 Program debugging method and device, electronic equipment and computer readable storage medium
CN111158865A (en) * 2020-01-10 2020-05-15 山东超越数控电子股份有限公司 Method for realizing multiplexing virtual serial port
CN111427734A (en) * 2020-06-09 2020-07-17 深圳市南方硅谷半导体有限公司 Debugging method of development device, computer device, and medium

Also Published As

Publication number Publication date
CN114553753A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN107026764B (en) Remote debugging method, device, server and system
US20160248498A1 (en) Method and Apparatus for Testing Using a Transceiver Module
CN102075389B (en) Debugging method and equipment
CN112463511B (en) Automatic test system and test method for serial port equipment of Internet of things
CN110347539B (en) Test method, device, system, computing device and medium applied to server
CN108804313B (en) Method and device for remotely debugging program and server
CN112333019A (en) Router configuration and test method and system and readable storage medium
CN109428783B (en) Network equipment testing method and device
CN113259996A (en) IOT wireless debugging method and equipment
US20070047448A1 (en) Network equipment testing method and system
CN114553753B (en) Method, device and system for adjusting and measuring communication module with serial communication interface
CN112685319A (en) Automatic testing method, device, medium, electronic equipment and system
CN110446191B (en) Setting method of data transmission radio station, mobile terminal equipment and storage medium
CN116820865A (en) Board card testing method, device, system and equipment
CN114115919B (en) Communication address switching system and method
US7016800B1 (en) Centralized console API testing architecture
CN114490746B (en) Equipment testing method and device, equipment to be tested and storage medium
US20220312211A1 (en) System and device for verifying function of radio base station
CN115657646A (en) Test method and device of CAN controller
EP3382915B1 (en) Mobile communication device, testing system and method for testing a device under test
CN113014450B (en) Equipment testing method, device and computer readable medium
US11502928B2 (en) Fuzz testing apparatus and fuzz testing method
Cisco Configuring the PA-T3+
CN112925684A (en) Testing method of link establishment logic and related equipment
CN112910736A (en) Delivery detection method and device for communication equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant