Test information transmission system
By adopting subcontracting and verification mechanisms in the test information transmission system, the problem of errors in multi-byte data during transmission is solved, and the rapid and accurate transmission of test information is achieved, which improves the test speed and accuracy.
Patent Information
- Application Number
- CN202310510887.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-09
- Publication Date
- 2024-11-12
AI Technical Summary
In aging tests, multi-byte test information is susceptible to interference during transmission, causing errors, resulting in slowing down the test speed, because the wrong test information is only verified and corrected when the driver board is read.
A test information transmission system is designed, including a sending module, a verification module and a receiving module. The test information is divided into multiple data packets through a subcontracting unit and verified before sending to ensure the accuracy and completeness of the data packets and reduce the accuracy and integrity of the data packets. The probability of transmission errors is achieved and the test speed is increased.
Through subcontracting and verification mechanisms, data packet errors can be discovered and corrected in a timely manner, avoiding delays during reading and improving the accuracy and speed of test information transmission.
Smart Images

Figure CN118939483A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of electronic information transmission, and in particular to a test information transmission system. Background Art
[0002] During the aging test, it is usually necessary to send the test information from the host computer to the driver board. After the driver board reads the test information, the device under test on the aging board is tested. The general test information includes multiple information, such as address information, timing information, and numerical information, etc. The test information is generally multi-byte data.
[0003] Such multi-byte data is susceptible to interference and errors during transmission. Some test devices will verify the test information when it is read by the driver board or the device. If an error is found in the test information, the test information will be resent and reread, which slows down the test speed. Summary of the invention
[0004] In order to overcome the deficiencies of the prior art, an object of the present invention is to provide a test information transmission system which can transmit test information quickly and accurately.
[0005] The purpose of the present invention is achieved by the following technical solutions: A test information transmission system comprises a sending module, a verification module and a receiving module which are sequentially connected by signals, the sending module comprises a data stack for storing test information, a packetizing unit for packetizing the test information and a sending unit for sending data packets which are sequentially connected by signals, the verification unit comprises a verification unit for verifying the data packets, the verification unit verifies the data packets according to the data stack, the receiving module comprises a receiving unit for receiving the data packets which are signal-connected and a combining unit for combining the data packets, and the sending unit is signal-connected to the receiving module via the verification module.
[0006] Preferably, the data packet includes an address data packet, a timing data packet and a digital data packet, and the sending unit sends the address data packet, the timing data packet and the digital data packet in sequence through the serial port.
[0007] Preferably, the test information is 2M bytes of data, and the packetization unit distributes data packets according to 2N bytes per data packet, wherein M and N are both positive integers, and M is greater than or equal to 3N.
[0008] Preferably, the value stored in the first two bytes of the address data packet is "00", the value stored in the first two bytes of the timing data packet is "01", and the value stored in the first two bytes of the digital data packet is "10".
[0009] Preferably, the verification unit comprises a byte verification block, which obtains original bytes of the test information according to the data stack, and verifies the values in the data packet one by one in sequence according to the values in the original bytes.
[0010] Preferably, the period for the sending unit to send data packets is T1, and the period T2 for the verification unit to verify data packets is less than or equal to T1.
[0011] Preferably, the sending module further includes a writing unit and a CPU unit, the CPU unit is connected to the data stack signal through the writing unit, and the CPU unit is connected to the sending unit signal.
[0012] Preferably, the verification module further includes a cache unit, and the sending unit is signal-connected to the verification unit via the cache unit.
[0013] Preferably, the receiving module further comprises a reading unit, and the reading unit is signal-connected to the combining unit.
[0014] Preferably, the sending module is a PC, the verification module is an FPGA chip, and the receiving module is a driver board.
[0015] Compared with the prior art, the present invention has the following beneficial effects: The test information transmission system disclosed in the present application, its sending module includes a packetizing unit for packetizing the test information, and the packetizing unit divides the test information into several data packets, thereby preventing errors in multi-byte test information due to interference.
[0016] In addition, the test information is divided into several data packets and directly verified by the verification module, which can detect errors in time and does not waste reading time when verification errors occur when reading the test information. Data packets with fewer bytes are easier to verify, thereby improving the test speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a structural block diagram of the test information transmission system of the present invention; Figure 2 It is a schematic diagram of the flow of the test information transmission system of the present invention; Figure 3 is a structural block diagram of a sending module of the present invention; Figure 4 It is the structural frame of the verification module of the present invention; Figure 5 A structural frame of the receiving module of the present invention; Figure 6 The structural frame of the invented data packet. Implementation
[0018] In order to more clearly understand the specific technical solutions, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0019] like Figure 1-Figure 2 As shown, a test information transmission system disclosed in the present application includes a sending module, a verification module and a receiving module that are signal-connected in sequence, the sending module includes a data stack for storing test information, a packetizing unit for packetizing the test information and a sending unit for sending data packets that are signal-connected in sequence, the verification unit includes a verification unit for verifying the data packets, the verification unit verifies the data packets according to the data stack, the receiving module includes a receiving unit for receiving the data packets and a combining unit for combining the data packets that are signal-connected, and the sending unit is signal-connected to the receiving module through the verification module.
[0020] In the above-mentioned embodiment, the test information transmission system disclosed in the present application, its sending module includes a subpackaging unit for subpackaging the test information, and the subpackaging unit can divide the test information into several data packets, and can prevent the multi-byte test information from making errors due to interference. After the test information is divided into several data packets, it is directly verified by the verification module, and errors can be found in time, and errors will not be verified when reading the test information, which wastes the reading time, and data packets with fewer bytes are easier to verify, thereby improving the test speed.
[0021] The data packet includes an address data packet, a timing data packet and a digital data packet, and the sending unit sends the address data packet, the timing data packet and the digital data packet in sequence through the serial port. The address data packet contains the address information of the test information, the timing data packet contains the timing information of the test information, and the digital data contains the information such as the test level, the voltage or the frequency of the test information. Sending data packets through the serial port can save costs.
[0022] In a preferred embodiment, the test information is 2M bytes of data, and the packetization unit allocates data packets according to 2N bytes per data packet, wherein M and N are both positive integers, and M is greater than or equal to 3N. The value stored in the first two bytes of the address data packet is "00", the value stored in the first two bytes of the timing data packet is "01", and the value stored in the first two bytes of the digital data packet is "10". The verification unit includes a byte verification block, which obtains the original bytes of the test information according to the data stack, and sequentially verifies the values in the data packets one by one through the values in the original bytes. The period for the sending unit to send data packets is T1, and the period T2 for the verification unit to verify that the data packets are less than or equal to T1.
[0023] In the above embodiment, for example, M=3, N=1, the test information may be 6 bytes of test data, the value in the original bytes is "000110", each data packet is 2 bytes, the value in the address data packet should be "00", the value in the timing data packet should be "01", and the value in the digital data packet should be "10". The verification unit can sequentially compare the values in the bytes of the data packet with the values in the original bytes of the test information one by one, so as to quickly and accurately verify whether the values in the bytes of the data packet are correct. The verification unit verifies that the period T2 of the data packet is less than or equal to T1, and the frequency of the verification unit verifying the data packet is greater than the frequency of the sending unit sending the data packet, then the verification unit can verify the data packet in a timely manner.
[0024] like Figure 3-Figure 6 As shown, the sending module also includes a writing unit and a CPU unit, the CPU unit is connected to the data stack signal through the writing unit, and the CPU unit is connected to the sending unit signal. The verification module also includes a cache unit, and the sending unit is connected to the verification unit signal through the cache unit. The receiving module also includes a reading unit, and the reading unit is connected to the combination unit signal.
[0025] In the above-mentioned implementation, the CPU unit can write test information to the data stack through the writing unit, and can edit the test information through the CPU unit, and the frequency of the sending unit sending the data packet can be adjusted by the CPU unit. The cache module can cache part of the data packet, and the verification module can also feed back the wrong data packet to the cache unit, and then feed back to the CPU unit. The combination unit can reassemble the data packet into a test signal, and the reading unit can read the test signal and transmit the test signal to the aging board or the device to be tested to test the device to be tested. Preferably, the sending module is a PC, the verification module is an FPGA chip, and the receiving module is a driver board.
[0026] In summary, the test information transmission system disclosed in the present application divides the test information into several data packets through the packet sub-unit, thereby reducing the probability of errors in the test information during transmission and facilitating verification. The verification unit verifies the test information before reading the test information, thereby avoiding reading erroneous test information and increasing the rate of transmitting the test information.
[0027] The basic principles, main features and advantages of the present invention are shown and described above. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and the description in the specification are only to illustrate the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A test information transmission system, characterized in that: It includes a sending module, a verification module and a receiving module which are connected in sequence by signals. The sending module includes a data stack for storing test information, a packetizing unit for packetizing the test information and a sending unit for sending data packets which are connected in sequence by signals. The verification unit includes a verification unit for verifying the data packets, and the verification unit verifies the data packets according to the data stack. The receiving module includes a receiving unit for receiving the data packets and a combining unit for combining the data packets which are connected in sequence by signals. The sending unit is connected to the receiving module by signals via the verification module.
2. The test information transmission system according to claim 1, characterized in that: The data packet includes an address data packet, a timing data packet and a digital data packet, and the sending unit sends the address data packet, the timing data packet and the digital data packet in sequence through the serial port.
3. The test information transmission system according to claim 2, characterized in that: The test information is 2M bytes of data, and the packetization unit distributes data packets according to 2N bytes per data packet, wherein M and N are both positive integers, and M is greater than or equal to 3N.
4. The test information transmission system according to claim 3, characterized in that: The value stored in the first two bytes of the address data packet is "00", the value stored in the first two bytes of the timing data packet is "01", and the value stored in the first two bytes of the digital data packet is "10".
5. The test information transmission system according to claim 4, characterized in that: The verification unit comprises a byte verification block, which obtains original bytes of test information according to the data stack, and verifies the values in the data packet one by one in sequence according to the values in the original bytes.
6. The test information transmission system according to claim 5, characterized in that: The period for the sending unit to send the data packet is T1, and the period T2 for the verification unit to verify the data packet is less than or equal to T1.
7. The test information transmission system according to claim 1, characterized in that: The sending module further includes a writing unit and a CPU unit. The CPU unit is connected to the data stack signal through the writing unit, and the CPU unit is connected to the sending unit signal.
8. The test information transmission system according to claim 7, characterized in that: The verification module further includes a cache unit, and the sending unit is signal-connected to the verification unit via the cache unit.
9. The test information transmission system according to claim 8, characterized in that: The receiving module further includes a reading unit, and the reading unit is signal-connected to the combining unit.
10. The test information transmission system according to claim 9, characterized in that: The sending module is a PC, the verification module is an FPGA chip, and the receiving module is a driver board.
