A method and device for testing serial port packet length of transparent transmission equipment
By using automated testing methods, the problem of low efficiency in manual operation during serial port packaging length testing of transparent transmission devices has been solved, and efficient and reliable test result output has been achieved.
Patent Information
- Application Number
- CN202211663075.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-23
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-12-23
AI Technical Summary
In existing technologies, the serial port packaging length test of transparent transmission devices relies on manual operation, which results in high manpower consumption, low efficiency, and poor reliability.
An automated testing method is adopted to automatically test the serial port packet length of the transparent transmission device through preset test parameters, including the determination of the length of sent and received data, to ensure the accuracy and efficiency of the test results.
The automated testing of the serial port packaging length of transparent transmission devices has been achieved, which improves testing efficiency and reliability, reduces manual intervention, and ensures the accuracy of test results.
Smart Images

Figure CN115987850B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of communication equipment testing, and in particular relates to a method and a device for testing the serial port packaging length of a transparent transmission device. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] Normal transparent transmission of the transparent transmission device must meet the serial port packaging length requirements, that is, when the data length received by the serial port of the transparent transmission device is ≤ the packaging length, the transparent transmission device directly packages the data and sends it to the network; when the data length received by the serial port of the transparent transmission device is greater than the packaging length, the transparent transmission device packages the data according to the number of bytes of the packaging length and sends it to the network. When the remaining data length is ≤ the packaging length, the data is directly packaged and sent to the network.
[0004] The existing technical solution is:
[0005] In order to prevent transparent transmission devices that do not meet the serial port packaging length from leaving the factory, the serial port debugging assistant is currently manually operated to test whether the transparent transmission devices meet the packaging length requirements at various baud rates.
[0006] Disadvantages of the existing technical solutions:
[0007] 1. Manual testing consumes a lot of human resources, has low efficiency and poor reliability. Summary of the invention
[0008] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a method and device for testing the serial port packaging length of a transparent transmission device, which can automatically test whether the transparent transmission device meets the requirements of the serial port packaging length, thereby greatly improving the test efficiency.
[0009] In order to achieve the above object, the present invention adopts the following technical solution:
[0010] A first aspect of the present invention provides a method for testing the serial port packet length of a transparent transmission device.
[0011] A method for testing the serial port packet length of a transparent transmission device, comprising:
[0012] According to the preset test parameters, the test results of transparent transmission when the length of the sent bytes is less than or equal to the packet length of the transparent transmission device to be tested;
[0013] According to the preset test parameters, the test results when the length of the sent byte is greater than the packet length of the transparent transmission device to be tested;
[0014] If the transparent transmission results are all correct, the transparent transmission device to be tested meets the serial port packaging length requirement; otherwise, the transparent transmission device to be tested does not meet the serial port packaging length requirement.
[0015] Furthermore, the preset test parameters include: a preset baud rate M, a preset packaging time, a preset maximum number of bytes of the send buffer Q, a preset packaging length N, a preset test time T, a preset send byte length Ns and a preset send interval time Ts.
[0016] Furthermore, the process of testing the transparent transmission result when the length of the sent byte is less than or equal to the packet length of the transparent transmission device to be tested according to the preset test parameters includes:
[0017] According to the preset test parameters, Ns bytes are sent to the serial port of the transparent transmission device to be tested every Ts time. If the network end of the transparent transmission device to be tested receives Ns bytes each time within the test time T, the test is judged to be successful and the next test is continued. If the network end fails to receive or receives a non-Ns byte once within the test time T, the sending is stopped and the test is judged to have failed. The transparent transmission device to be tested does not meet the serial port packaging length requirements, where Ns≤N.
[0018] Furthermore, the process of testing the transparent transmission result when the length of the sent byte is greater than the packet length of the transparent transmission device to be tested includes:
[0019] According to the preset test parameters, the sending byte length Ns=n*N+k=n*N0+k is set, and Ns bytes are sent to the serial port of the transparent transmission device to be tested every Ts time. Within the test time T, the network end of the transparent transmission device to be tested receives n N bytes in sequence each time, and finally receives k bytes, then the test is judged to be successful and continue to the next test; if within the test time T, the network end does not receive n N bytes first and finally receives k bytes, then the sending is stopped, and the test is judged to have failed, and the transparent transmission device to be tested does not meet the serial port packaging length requirements; where n is a positive integer, k <N。
[0020] Furthermore, a test of different packet lengths at the same baud rate is completed. If the transparent transmission result is correct, the transparent transmission device to be tested meets the serial port packet length requirement; otherwise, the serial port packet length requirement is not met.
[0021] Furthermore, a test of the same package length at different baud rates is completed. If the transparent transmission result is correct, the transparent transmission device to be tested meets the serial port package length requirement; otherwise, the serial port package length requirement is not met.
[0022] A second aspect of the present invention provides a device for testing the serial port packet length of a transparent transmission device.
[0023] A test device for serial port packet length of a transparent transmission device, comprising:
[0024] A test terminal, used to generate the test method and control instructions for the serial port packaging length of the transparent transmission device described in the first aspect according to preset test parameters and send them to the execution module;
[0025] The execution module is used to receive the test method and control instructions, and send test data to the transparent transmission device to be tested according to the test method and control instructions; and is also used to determine the test result of the transparent transmission device to be tested based on the test data returned by the transparent transmission device to be tested.
[0026] A third aspect of the present invention provides a computer-readable storage medium.
[0027] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the method for testing the serial port packet length of a transparent transmission device as described in the first aspect above.
[0028] A fourth aspect of the present invention provides a computer device.
[0029] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the method for testing the serial port packet length of a transparent transmission device as described in the first aspect above are implemented.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] The present invention can automatically test whether the serial port of the transparent transmission device meets the packaging length requirement according to the test method, and finally automatically output the test result file without manual testing, thereby greatly improving the test efficiency and being stable and reliable.
[0032] The present invention can intelligently select to continue testing or stop testing according to whether the data packetization received by transparent transmission is correct or not, thereby ensuring that automated testing can be achieved without human intervention, thereby greatly improving test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0034] Figure 1 It is a flow chart of a method for testing the serial port packet length of a transparent transmission device shown in the present invention;
[0035] Figure 2 This is a test flow chart of the first embodiment of the present invention when the length of the test sent byte is less than or equal to the packet length of the transparent transmission device to be tested;
[0036] Figure 3This is a test flow chart of the first embodiment of the present invention when the test sending byte length is greater than the packet length of the transparent transmission device to be tested (sending byte length Ns=N+1=N0+1);
[0037] Figure 4 This is a test flow chart of the first embodiment of the present invention when the test sending byte length is greater than the packet length of the transparent transmission device to be tested (sending byte length Ns=2*N+1=2*N0+1);
[0038] Figure 5 This is a test flow chart of various packet lengths and various baud rates shown in the first embodiment of the present invention;
[0039] Figure 6 It is a schematic diagram of the structure of an embodiment device of the hardware operating environment shown in the second embodiment of the present invention. DETAILED DESCRIPTION
[0040] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0041] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0042] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0043] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the methods and systems according to various embodiments of the present disclosure. It should be noted that each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code may include one or more executable instructions for implementing the logical functions specified in each embodiment. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the flowchart and / or block diagram, and the combination of boxes in the flowchart and / or block diagram can be implemented using a dedicated hardware-based system that performs a specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.
[0044] Embodiment 1
[0045] like Figure 1 As shown, this embodiment provides a method for testing the serial port packet length of a transparent transmission device. This embodiment uses the method applied to a server as an example for illustration. It can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network servers, cloud communications, middleware services, domain name services, security services CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application. In this embodiment, the method includes the following steps:
[0046] According to the preset test parameters, the test results of transparent transmission when the length of the sent bytes is less than or equal to the packet length of the transparent transmission device to be tested;
[0047] According to the preset test parameters, the test results when the length of the sent byte is greater than the packet length of the transparent transmission device to be tested;
[0048] If the transparent transmission results are all correct, the transparent transmission device to be tested meets the serial port packaging length requirement; otherwise, the transparent transmission device to be tested does not meet the serial port packaging length requirement.
[0049] The specific solution of this embodiment can be implemented by referring to the following contents:
[0050] 1. Preset test parameters, such as Figure 2 As shown:
[0051] (1) Set up the transparent transmission device to be tested:
[0052] Baud rate M = M0, packing time = 0, maximum send buffer bytes Q = Q0, packing length N = N0 (N0 ≤ Q0);
[0053] Set up the execution module:
[0054] Baud rate M=M0, test duration T=T0, sent byte length Ns=N=N0, and sending interval time Ts=Ts0.
[0055] 2. Test that the sent byte length is less than or equal to the packet length of the transparent transmission device to be tested, such as Figure 2 As shown:
[0056] Set the execution module to send Ns bytes to the serial port of the transparent transmission device to be tested every Ts time. If the network end of the transparent transmission device to be tested receives N bytes each time within the test duration T, the test is considered successful and the next test is continued. If the network end does not receive or receives a value other than N bytes once within the test duration T, the sending is stopped and the test is considered failed. The transparent transmission device to be tested does not meet the serial port packaging length requirements.
[0057] 3. The length of the bytes sent in the test is greater than the packet length of the transparent transmission device to be tested:
[0058] (1) Figure 3 As shown, the execution module is set to send byte length Ns=N+1=N0+1, and the execution module is set to send Ns bytes to the serial port of the transparent transmission device to be tested every Ts time. Within the test time T, the network end of the transparent transmission device to be tested receives N bytes first and then 1 byte each time, then the test is judged to be successful and continue to the next test. If within the test time T, the network end does not receive N bytes first and then 1 byte once, then stop sending, judge that the test fails, and the transparent transmission device to be tested does not meet the serial port packaging length requirements.
[0059] (2) Figure 4 As shown, the execution module is set to send byte length Ns = 2*N+1 = 2*N0+1, and the execution module is set to send Ns bytes to the serial port of the transparent transmission device to be tested every Ts time. Within the test time T, the network end of the transparent transmission device to be tested first receives N bytes, then N bytes, and then 1 byte each time, then the test is judged to be successful and continue to the next test. If within the test time T, the network end does not receive N bytes first, then N bytes, and then 1 byte once, then stop sending, judge that the test fails, and the transparent transmission device to be tested does not meet the serial port packaging length requirements.
[0060] 4. Set the next set of package length test data at the same baud rate size M, such as Figure 5 As shown:
[0061] (1) Set the transparent transmission device to be tested: the packet length N = N1 (N1 ≤ Q0);
[0062] (2) Set the execution module: send byte length Ns=N=N1, send interval time Ts=Ts1, test according to steps 2 and 3, and obtain the test results.
[0063] 5. Test the packet length results at other baud rates, such as Figure 5 As shown:
[0064] (1) Set the transparent transmission device to be tested: baud rate M = Mx, packet time = 0, maximum number of bytes of send buffer Q = Q0, and packet length N = Nx (Nx ≤ Q0);
[0065] (2) Set the execution module: baud rate M = Mx, test duration T = T0, send byte length Ns = kN + b, send interval Ts = Tsx.
[0066] In the above, x and k are natural numbers, b is a positive integer and b <N。
[0067] Repeat steps 2, 3, and 4 to obtain the results until each baud rate size test is completed and the final test result is obtained. If the transparent transmission results are all correct, the transparent transmission device to be tested meets the serial port packaging length requirements; if one transparent transmission result is incorrect, it does not meet the serial port packaging length requirements.
[0068] For understanding of the technical solution of the present invention, this embodiment is described through the following several embodiments:
[0069] Preset test parameters, such as:
[0070]
[0071]
[0072] 1. Set test parameters:
[0073] (1) Set up the transparent transmission device to be tested:
[0074] Baud rate M = 300 bps, packet time = 0, maximum send buffer byte number Q = 1460 bytes, packet length N = 2 bytes.
[0075] (2) Set the execution module:
[0076] The baud rate is M=300bps, the test duration is T=10min, the sent byte length is Ns=2byte, and the sending interval is Ts=200ms.
[0077] 2. Set the execution module to send 2 bytes to the serial port of the transparent transmission device to be tested every 200ms. If the network end of the transparent transmission device to be tested receives 2 bytes each time within the test duration of 10 minutes, and the received data is consistent with the sent data, the test is considered successful and the next test is continued. If the network end fails to receive a data packet once or receives data that is not 2 bytes or the received data is inconsistent with the sent data within the test duration of 10 minutes, the transmission is stopped and the test is considered failed. The transparent transmission device to be tested does not meet the serial port packaging length requirements.
[0078] 3. (1) Set the execution module to send byte length Ns = 3 bytes, and set the execution module to send 3 bytes to the serial port of the transparent transmission device to be tested every 200ms. Within the test duration of 10 minutes, the network end of the transparent transmission device to be tested first receives 2 bytes and then 1 byte each time, and the received data is consistent with the sent data after being combined in the receiving order, then the test is judged to be successful and continue to the next test. If within the test duration of 10 minutes, the network end does not receive 2 bytes first and then 1 byte, or the received data is inconsistent with the sent data after being combined in the receiving order, then stop sending and judge that the test has failed. The transparent transmission device to be tested does not meet the serial port packaging length requirements.
[0079] (2) Set the execution module to send byte length Ns = 5 bytes, and set the execution module to send 5 bytes to the serial port of the transparent transmission device to be tested every 200ms. Within the test duration of 10 minutes, the network end of the transparent transmission device to be tested first receives 2 bytes, then 2 bytes, and then 1 byte each time, and the received data is consistent with the sent data after being merged in the receiving order, then the test is judged to be successful and continue to the next test. If within the test duration of 10 minutes, the network end does not receive 2 bytes, then 2 bytes, and then 1 byte once, or the received data is inconsistent with the sent data after being merged in the receiving order, then stop sending, judge that the test has failed, and the transparent transmission device to be tested does not meet the serial port packaging length requirements.
[0080] 4. (1) Set the transparent transmission device to be tested: packet length N = 10 bytes;
[0081] (2) Set the execution module: send byte length Ns = 10 bytes, send interval Ts = 1000 ms, and obtain the test results according to the test methods in steps 2 and 3.
[0082] 5. According to the above steps, after all the packet lengths are tested at a baud rate of 300bps,
[0083] (1) Set up the transparent transmission device to be tested:
[0084] Baud rate M = 115200 bps, packet time = 0, maximum send buffer byte number Q = 1460 bytes, packet length N = 2 bytes;
[0085] (1) Set the execution module:
[0086] The baud rate is M=115200bps, the test duration is T=10min, the sent byte length is Ns=2byte, and the sending interval is Ts=10ms.
[0087] Test the results according to steps 2, 3, and 4 until each baud rate is tested and the final test result is obtained. If the transparent transmission results are all correct, the transparent transmission device to be tested meets the serial port packaging length requirements; if one transparent transmission result is incorrect, it does not meet the serial port packaging length requirements.
[0088] Embodiment 2
[0089] This embodiment provides a method and apparatus for testing the serial port packet length of a transparent transmission device.
[0090] A test device for serial port packet length of a transparent transmission device, comprising:
[0091] The test terminal is used to generate the test method and control instruction of the serial port packaging length of the transparent transmission device described in Example 1 according to the preset test parameters and send them to the execution module;
[0092] The execution module is used to receive the test method and control instructions, and send test data to the transparent transmission device to be tested according to the test method and control instructions; and is also used to determine the test result of the transparent transmission device to be tested based on the test data returned by the transparent transmission device to be tested.
[0093] As one or more implementation modes, the test terminal is further used to receive and display the test results of the execution module.
[0094] Reference Figure 6 , Figure 6 It is a schematic diagram of the structure of an embodiment device of the hardware operating environment involved in the embodiment scheme of the present invention. The transparent transmission device test device can also be split into a test terminal and an execution module.
[0095] Specifically, the test terminal can be a terminal device such as a PC, a portable computer, a tablet computer, etc. As one or more implementation modes, the test terminal can also include a solution module, a display module, a file output module and a communication module. The solution module is used to configure the various parameters of the serial port packaging length of the test transparent transmission device, and generate a test method and control instructions, wherein each parameter includes the baud rate size, packaging length, sending interval time, test duration, sending byte length, and maximum number of bytes of the sending buffer. The display module is used to display communication interaction information and test results. The file output module is used to save the test results received from the execution module into charts in documents such as word and excel for users to view; the communication module is used to communicate and interact with the execution module.
[0096] The execution module may include an MCU control circuit, a power supply circuit, a storage circuit, a status light indication circuit, a reset circuit, a test terminal communication circuit, and a transparent transmission device communication circuit; the MCU control circuit is connected to the test terminal communication circuit, the power supply circuit, the storage circuit, the status light indication circuit, the reset circuit, and the transparent transmission device communication circuit. The test terminal is connected to the test terminal communication circuit, and the transparent transmission device to be tested is connected to the transparent transmission device communication circuit (such as an RS232 interface and a network interface).
[0097] Embodiment 3
[0098] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the method for testing the serial port packet length of a transparent transmission device as described in the first embodiment above are implemented.
[0099] Embodiment 4
[0100] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the method for testing the serial port packet length of a transparent transmission device as described in the first embodiment are implemented.
[0101] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0102] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0103] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0104] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0105] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0106] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for testing the serial port packet length of a transparent transmission device, characterized in that: include: According to the preset test parameters, the test results of transparent transmission when the length of the sent bytes is less than or equal to the packet length of the transparent transmission device to be tested; The preset test parameters include: preset baud rate M, preset packaging time, preset maximum number of bytes of send buffer Q, preset packaging length N, preset test time T, preset send byte length Ns and preset send interval time Ts; The process of testing the transparent transmission result when the length of the sent byte is less than or equal to the packet length of the transparent transmission device to be tested according to the preset test parameters includes: According to the preset test parameters, Ns bytes are sent to the serial port of the transparent transmission device to be tested every Ts time. If the network end of the transparent transmission device to be tested receives Ns bytes each time within the test time T, the test is judged to be successful and the next test is continued. If the network end fails to receive or receives a non-Ns byte once within the test time T, the sending is stopped and the test is judged to have failed. The transparent transmission device to be tested does not meet the serial port packaging length requirements, where Ns≤N. According to the preset test parameters, the transparent transmission result when the length of the sent byte is greater than the package length of the transparent transmission device to be tested is tested; the process of testing the transparent transmission result when the length of the sent byte is greater than the package length of the transparent transmission device to be tested according to the preset test parameters includes: According to the preset test parameters, the sending byte length Ns=n*N+k=n*N0+k is set, where N0 is the initial package length, and Ns bytes are sent to the serial port of the transparent transmission device to be tested every Ts time. Within the test time T, the network end of the transparent transmission device to be tested receives n N bytes in sequence each time, and finally receives k bytes, then the test is judged to be successful and continue to the next test; if within the test time T, the network end does not receive n N bytes first and finally receives k bytes, then stop sending, judge that the test fails, and the transparent transmission device to be tested does not meet the serial port package length requirements; where n is a positive integer, k <N; A method for testing the serial port packaging length of a transparent transmission device also includes completing the test of different packaging lengths at the same baud rate according to preset test parameters. If the transparent transmission result is correct, the transparent transmission device to be tested meets the serial port packaging length requirement; otherwise, the serial port packaging length requirement is not met; According to the preset test parameters, complete the test of the same package length at different baud rates. If the transparent transmission result is correct, the transparent transmission device to be tested meets the serial port package length requirement; otherwise, it does not meet the serial port package length requirement; If the transparent transmission results of different packaging lengths at the same baud rate and the transparent transmission results of the same packaging length at different baud rates are both correct, then the transparent transmission device to be tested meets the serial port packaging length requirement; otherwise, the transparent transmission device to be tested does not meet the serial port packaging length requirement.
2. A test device for serial port packet length of a transparent transmission device, characterized in that: include: A test terminal, used to generate the test method and control instructions for the serial port packaging length of the transparent transmission device according to claim 1 according to preset test parameters and send them to the execution module; The execution module is used to receive the test method and control instructions, and send test data to the transparent transmission device to be tested according to the test method and control instructions; and is also used to determine the test result of the transparent transmission device to be tested based on the test data returned by the transparent transmission device to be tested.
3. The test device for serial port packet length of transparent transmission equipment according to claim 2, characterized in that: The test terminal is also used to receive and display the test results of the execution module.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the method for testing the serial port packet length of a transparent transmission device as described in claim 1 are implemented.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the method for testing the serial port packaging length of the transparent transmission device as described in claim 1 are implemented.
