Data transmission device and method in rapid detection equipment for DNA (Deoxyribose Nucleic Acid) of fake material evidence
By using CCD and spectroscopic units to collect data in the fast test of fake evidence DNA, and using TCP/IP models to design custom data transmission protocols and fixed-length encapsulated data frames, the problems of loss and out of order in data transmission are solved, and the accurate and real-time data transmission is achieved.
Patent Information
- Application Number
- CN202510591572.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2025-07-25
AI Technical Summary
In the prior art, data transmission of fake physical evidence DNA rapid inspection equipment has problems of data loss or out of order, and the UDP protocol cannot guarantee the reliability of data transmission.
Multicolor fluorescence data acquisition is carried out using CCD and spectroscopic units, custom data transmission protocols and data frame formats are designed in combination with TCP/IP models, data frames are encapsulated using fixed-length, and length verification and retransmission mechanisms are introduced to ensure the accuracy and real-timeness of data transmission.
The multi-color fluorescence data of porous samples is accurately and in real time to transmit to the subsequent processing and display modules, improving the efficiency and reliability of data transmission.
Smart Images

Figure CN120378453A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a data transmission device in a DNA rapid detection device for counterfeit physical evidence, and also relates to a corresponding data transmission method, belonging to the technical field of data transmission. Background Art
[0002] Based on the unique genetic information of DNA molecules, the DNA rapid detection device analyzes the differences in specific gene loci by extracting, amplifying, and detecting DNA in biological samples, so as to distinguish and identify different biological samples. In the inspection of counterfeit physical evidence, this device can rapidly detect adulterated or counterfeit biological products, etc.
[0003] Regarding the inspection problems of diverse and complex animal-derived components, the DNA rapid detection device utilizes the characteristics of the genomic DNA of animal-derived species having intra-species genetic stability and inter-species specificity to construct an efficient multi-channel and multi-color fluorescence acquisition system, so as to achieve the goal of obtaining more valuable information in a single detection. In the actual inspection process, multi-well sample plates are widely used. It can accommodate multiple samples at the same time, and the samples in each well will generate multi-color fluorescence signals under specific conditions. Fluorescent substances labeled with different gene fragments are excited by multiple specific wavelength lights and emit different colors of fluorescence. Different colors of fluorescence reflect different target gene information. Analyzing these fluorescence signals can interpret complex and diverse DNA samples, thereby obtaining the counterfeit information of the samples, and further realizing the identification of counterfeit physical evidence. To accurately acquire and analyze this information, it is necessary to accurately and real-time transmit the multi-color fluorescence data of the multi-well samples to the subsequent processing and display links, which poses extremely high requirements for the accuracy and real-time of data transmission.
[0004] In the prior art, the Chinese invention patent with the authorization announcement number CN109379342B proposes a data transmission method between a host computer and a DSP based on the UDP network protocol. This technical solution preprocesses the data to be sent by the host computer, and then uses the broadcast mode of the UDP network protocol to send it to the DSP. After that, the DSP directly processes the data packets received by the EMAC. This technical solution improves the data transmission efficiency by reducing the resource consumption of the DSP. However, UDP is a connectionless protocol, which may cause data loss or disorder. UDP does not provide reliability guarantees for data transmission, and does not perform mechanisms such as data retransmission and confirmation. The sender cannot determine whether the data has been successfully sent to the receiver, which may lead to data loss or disorder. Summary of the Invention
[0005] The primary technical problem to be solved by the present invention is to provide a data transmission device in a DNA rapid detection device for counterfeit physical evidence.
[0006] Another technical problem to be solved by the present invention is to provide a data transmission method in a rapid DNA inspection device for counterfeit physical evidence.
[0007] To achieve the above technical objectives, the present invention adopts the following technical solutions:
[0008] According to the first aspect of the embodiments of the present invention, a data transmission device in a rapid DNA inspection device for counterfeit physical evidence is provided, including a data acquisition module, an MCU control module, a network module, a data receiving module, and a data display module;
[0009] Among them, the data acquisition module converts the received fluorescence signal into a fluorescence electrical signal and sends it to the MCU control module; the MCU control module converts the fluorescence electrical signal into fluorescence data and stores it in the buffer unit; after receiving the connection instruction sent by the data receiving module, the network module extracts the fluorescence data from the buffer unit of the MCU control module and sends it to the data receiving module; the data receiving module performs peak analysis and wavelength correction processing on the fluorescence data and sends the processing result to the data display module; the data display module displays the processing result.
[0010] Preferably, the data display module distinguishes the processing results according to the characteristic wavelengths and displays the light intensity change curve over time.
[0011] Preferably, the data acquisition module selects a CCD as the fluorescence acquisition device to increase the spectral response range.
[0012] Preferably, the data acquisition module further includes a spectroscope unit for separating multi-wavelength fluorescence according to wavelengths.
[0013] Preferably, the MCU control module includes a high-speed analog-to-digital converter and a buffer unit; among them, the high-speed analog-to-digital converter is used to convert the fluorescence electrical signal into fluorescence data; the buffer unit is used to store the fluorescence data.
[0014] According to the second aspect of the embodiments of the present invention, a data transmission method in a rapid DNA inspection device for counterfeit physical evidence is provided, including the following steps:
[0015] S1: The data acquisition module sets the number of scans, scan intervals, and number of inspections according to the number of holes in the inspection device, and performs time-division and multi-time scans on the samples in the holes;
[0016] S2: After one scan is completed, the data acquisition module converts the collected fluorescence signal into a fluorescence electrical signal and sends it to the high-speed analog-to-digital converter in the MCU control module;
[0017] S3: The high-speed analog-to-digital converter converts the fluorescence electrical signal into fluorescence data and stores it in the buffer unit;
[0018] S4: The data acquisition module determines whether the number of scans has reached the set number of scans; if it has reached the set number of scans, go to step S5; if it has not reached the set number of scans, repeat steps S2 - S4;
[0019] S5: The MCU control module sends all the fluorescence data frames generated during the inspection to the data receiving module frame by frame based on the custom data transmission protocol through the network module;
[0020] S6: The data receiving module receives and checks the length of each fluorescence data frame; if the length of a certain fluorescence data frame is incorrect, the data receiving module records the frame sequence number of this fluorescence data frame and enters step S7; if the length of a fluorescence data frame is correct, enter step S7;
[0021] S7: The data receiving module determines whether all the fluorescence data frames generated during one inspection process have been completely received; if they have been completely received, enter step S8; if not all have been received, repeat steps S6 - S7;
[0022] S8: The data receiving module determines whether the error record is empty; if it is not empty, send a retransmission request frame to the MCU control module, and the MCU control module re - sends the corresponding fluorescence data frame to the data receiving module according to the re - transmission frame sequence number of the re - transmission request frame and repeat step S6; if it is empty, enter step S9;
[0023] S9: Wait until the scanning interval ends, and repeat steps S2 - S8 until the preset number of inspections is reached.
[0024] Preferably, the frame header of the data frame is set to a fixed value to quickly and accurately identify the data frame of this device.
[0025] Preferably, the data frame has a fixed length to match the fixed amount of fluorescence data, and a buffer with a fixed size is pre - allocated to store the received data frames.
[0026] Preferably, the frame header of the re - transmission frame is set to a fixed value to distinguish it from other data frames.
[0027] Compared with the prior art, the present invention utilizes a CCD and a spectroscopic unit to ensure more accurate multi-color fluorescence data acquisition. Based on the TCP / IP model, a custom data transmission protocol and data frame format are designed. In view of the advantage that the amount of fluorescence data obtained by acquisition is known and fixed, the fluorescence data is encapsulated in the data frame according to a fixed length, improving the data transmission efficiency. At the same time, the present invention stipulates a length check and a retransmission mechanism to ensure the accuracy of data transmission. This retransmission mechanism is based on adding a transmission failure record mechanism to record the sequence numbers of the data frames that need to be retransmitted. When data is retransmitted, the data frames can be directly indexed, improving the data retransmission efficiency. Based on the data transmission device and method, it is ensured that the multi-color fluorescence data of the multi-well samples is accurately and real-time transmitted to the subsequent processing and display modules. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 FIG. is a schematic structural diagram of a data transmission device in a DNA rapid inspection device for counterfeit physical evidence provided in the first embodiment of the present invention;
[0029] Figure 2 FIG. is a working principle diagram of the spectroscopic unit in the embodiment of the present invention;
[0030] Figure 3 FIG. is a schematic diagram of the data frame format in the embodiment of the present invention;
[0031] Figure 4 FIG. is a schematic diagram of the retransmission request frame format in the embodiment of the present invention;
[0032] Figure 5 FIG. is a flowchart of a data transmission method in a DNA rapid inspection device for counterfeit physical evidence provided in the second embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0033] The technical content of the present invention will be described in detail below with reference to the drawings and specific embodiments.
[0034] First Embodiment
[0035] As Figure 1 shown, a data transmission device in a DNA rapid inspection device for counterfeit physical evidence provided in the first embodiment of the present invention includes a data acquisition module, an MCU (Microcontroller Unit) control module, a network module, a data receiving module, and a data display module.
[0036] Among them, the data acquisition module receives the fluorescence signal, converts the fluorescence signal into a fluorescence electrical signal, and sends the fluorescence electrical signal to the MCU control module; the MCU control module converts the fluorescence electrical signal into fluorescence data (i.e., digital signal) and stores it in the buffer unit; after receiving the connection instruction sent by the data receiving module, the network module extracts the fluorescence data from the buffer unit of the MCU control module and sends it to the data receiving module; the data receiving module performs peak analysis and wavelength correction processing on the fluorescence data and sends the processing result to the data display module; the data display module differentiates the processing result according to the characteristic wavelength and displays the light intensity change curve over time.
[0037] In an embodiment of the present invention, the data acquisition module completes the fluorescence data acquisition work for multiple well positions in a time-division and sub-division manner, ensuring that the inspection equipment can comprehensively obtain the multi-color fluorescence information of all well positions during the inspection process. In a single well position, up to 8 signals generated by the fluorescence of characteristic wavelengths can be collected. Among them, the reason for time-division and sub-division acquisition is that generally, 40 data acquisitions are required for one detection. Plotting the data collected 40 times according to time, the formed curve is the basis for judging the result. The final detection result is multiple curves, with the abscissa being time and the ordinate being fluorescence intensity.
[0038] Preferably, the data acquisition module selects a CCD as the fluorescence acquisition device. Compared with other fluorescence acquisition devices, the CCD has a wider spectral response range and has good reception ability for the entire wavelength spectrum. In addition, the CCD also has characteristics such as high spatial resolution, fast imaging speed, and strong compatibility, which is conducive to the real-time qualitative analysis of samples. When receiving light with a wavelength of 200 - 1100 nm, the CCD data acquisition module can convert it into an electrical signal and transmit it to the MCU control module. This ability to receive the entire spectrum is conducive to the real-time qualitative analysis of samples because fluorescence signals of different wavelengths often correspond to different substance components or biological characteristics. By collecting and analyzing the fluorescence signals of the entire spectrum, the nature of the sample can be understood more comprehensively and accurately, providing rich data support for subsequent inspection work.
[0039] The amount of fluorescence data obtained by the data acquisition module in each inspection process is known and fixed. The present invention encapsulates the fluorescence data in data frames with a fixed length. Fixed-length data transmission can simplify the complexity of data verification; the receiving end does not need to judge the end boundary of the data frame, simplifying the data parsing process; the receiving end can pre-allocate a buffer with a fixed size to store the received data frames, avoiding frequent memory allocation and release operations; fixed-length data frames are convenient for batch processing and can more accurately predict the data transmission time and processing time. Therefore, fixed-length data transmission can improve data transmission efficiency and ensure the real-time nature of data transmission.
[0040] Preferably, the data acquisition module further includes a spectrogram unit. Compared with the conventional filter method, the spectrogram unit can avoid the cumbersome mechanical movement of switching corresponding filters for multiple wavelengths, which is simpler and more convenient and is the basis for the device to achieve rapid detection. As Figure 2 shown, the spectrogram unit separates multi-wavelength fluorescence by wavelength, more accurately reflecting the true light intensity after the fluorescence intensity generated by the sample under excitation is dispersed to each wavelength, and ensuring more accurate acquisition of the specific wavelength fluorescence generated when the sample is excited by light of a specific wavelength. Thus, it more accurately reflects the dopants and doping amounts in the sample, providing a more accurate, reliable and true data basis for physical evidence inspection.
[0041] In an embodiment of the present invention, the MCU control module includes a high-speed analog-to-digital converter and a cache unit;
[0042] Among them, the MCU control module, as the sending end, is used to process and transmit control of fluorescence data. First, through the high-speed analog-to-digital converter, the MCU control module directly converts the fluorescence electrical signal received from the data acquisition module into fluorescence data. This conversion process ensures the accuracy of the data and the characteristics convenient for subsequent processing. Then, the MCU control module sequentially stores the fluorescence data of multiple holes in the cache unit to prepare for batch transmission of the data. In addition, the MCU control module is also responsible for system initialization and network control. It controls the initialization of the fluorescence data transmission system in the device to ensure that each module is in the correct initial state before starting to work; at the same time, it initializes the network module to implement the configuration and connection of the network control module, building a good basic environment for network transmission of the data.
[0043] Among them, the cache unit is composed of a storage chip to ensure that single-time fluorescence data will not overflow. After single-time acquisition, when the fluorescence data is transmitted to the data receiving module, the data in the cache unit can be cleared or rewritten.
[0044] In an embodiment of the present invention, the role of the network module is to achieve remote data transmission. After initialization, the network module is set to the waiting connection state, waiting for the connection instruction sent by the data receiving module. Once it receives the connection instruction and successfully establishes a connection, the network module transmits the fluorescence data in the cache unit of the MCU control module to the data receiving module based on the custom data transmission protocol. In this process, the custom data transmission protocol plays a crucial role. It stipulates the data encapsulation format, transmission rules, etc., ensuring that the data can be accurately transmitted in the network.
[0045] The execution process of the custom data transmission protocol is as follows:
[0046] S01: The sending end sends a data frame;
[0047] S02: The receiving end receives the data frame and checks whether the data length is correct;
[0048] S03: The sending end finishes sending the data frame;
[0049] S04: The receiving end sends a retransmission request frame;
[0050] S05: The sending end receives the retransmission request frame and sends the data frame to be retransmitted;
[0051] S06: Repeat S02 - S05 until the receiving end receives all the data.
[0052] The present invention is a custom data transmission protocol based on the TCP / IP model, which includes data frame format design, length verification and retransmission mechanism, and transmission failure record mechanism.
[0053] In terms of data frame format design, in order to reduce the complexity of the verification process due to the variable data length during transmission and improve the data transmission efficiency, the present invention encapsulates the fluorescence data in the data frame according to a fixed length. Specifically, as Figure 3 shown, the data frame header is set to a fixed value of 0x5AA5. The setting of this fixed value is like attaching a unique label to the data frame, which is used to distinguish other data frames, enabling the receiving end to quickly and accurately identify the data frame of this device when receiving a large amount of data, greatly improving the parsing efficiency and the speed of data reception. The frame sequence number is set to facilitate the positioning of the data frame in the retransmission mechanism. Among them, the scan sequence number represents the number of scans completed for the well sample plate in the inspection device. Through this scan sequence number, the receiving end can clearly understand the scan order of the data; the data slice sequence number is the index number of this frame of data in the fluorescence data of a single scan after data fragmentation. It can help the receiving end accurately recombine multiple data fragments into complete data when receiving them; the data length is used to specify the length of its fluorescence data field, that is, the number of fluorescence data slices in a single scan and the byte length of each slice. This setting of fixed length simplifies the verification complexity in the data transmission process, improves the transmission efficiency, and thus ensures the real-time nature of data transmission.
[0054] The length verification and retransmission mechanism is the key to ensuring the reliability of data transmission. In the application scenario of the present invention, the amount of data to be transmitted (i.e., fluorescence data) is huge and the data volume is known. Therefore, it is necessary to fragment the data, and the fixed length is also used as the judgment condition for whether the transmission is successful. During data transmission, after receiving the data frame, the receiving end will immediately check whether the length of the data frame is correct. If the data frame length is incorrect, the receiving end will record the frame sequence number of this data frame. After all the data frames in a single inspection process have been received, the receiving end sends a retransmission request frame according to the frame sequence number of the data frame. As Figure 4As shown in the figure, the retransmission request frame consists of two parts: the retransmission frame header and the retransmission frame sequence number. The retransmission frame header is set to a fixed value of 0x3CC3, which is used to distinguish other data, enabling the receiving end to quickly and accurately identify the data frames of this device, greatly improving the parsing efficiency and the speed of data reception. The retransmission frame sequence number is composed of the consecutive connection of the sequence numbers of all frames that need to be retransmitted. If there are M data frames to be retransmitted, the number of bytes is 2*M. Thus, it can be seen that the byte length of the retransmission frame sequence number is fixed. According to the size of this part, the number of data frames to be retransmitted can be known. After receiving the retransmission request frame, the sending end sequentially extracts the sequence numbers from the retransmission frame sequence number, indexes the data frames according to the retransmission frame sequence number, and sends the corresponding data frames to the receiving end. This process will be repeated continuously until the receiving end receives all the data. This retransmission mechanism does not require multiple handshake protocols, improving the retransmission efficiency and ensuring the accuracy of the data.
[0055] The transmission failure record mechanism further enhances the reliability of data transmission. After receiving a data frame, the receiving end checks the length of the data frame. If the length is incorrect, in addition to recording the sequence number of the frame and sending a retransmission request frame, it will also record the sequence number of this frame in the transmission failure record table. When data needs to be retransmitted, the sending end can directly index and retransmit the data frame according to the sequence number in the transmission failure record table, avoiding the cumbersome process of searching for the data frame to be retransmitted among a large amount of data, and improving the efficiency and accuracy of data retransmission.
[0056] Based on the TCP / IP model, the present invention designs a custom data transmission protocol and a data frame format, encapsulates the fluorescence data in the data frame according to a fixed length, reduces the complexity of the verification process due to the variable data length during transmission, and improves the efficiency of data transmission. At the same time, the present invention stipulates a length verification and retransmission mechanism to ensure the accuracy of data transmission. In addition, the present invention adds a transmission failure record mechanism to record the sequence numbers of the data frames that need to be retransmitted, and can directly index the data frames during data retransmission, improving the retransmission efficiency.
[0057] In an embodiment of the present invention, the data receiving module, as the receiving end, receives the data sent by the network module based on the custom data transmission protocol, and these data are the fluorescence data collected by the data acquisition module. After receiving the data, the data receiving module performs peak analysis and wavelength correction on it. Among them, peak analysis can help determine the intensity peak of the fluorescence signal, thereby obtaining more accurate fluorescence data characteristics; wavelength correction is to compensate for possible wavelength deviations during data transmission or acquisition, ensuring the accuracy of the sample fluorescence data. After these processes, the data receiving module transmits the analyzed and corrected data and the inspection results to the data display module for real-time display.
[0058] In an embodiment of the present invention, the function of the data display module is to display the fluorescence data of multiple well positions to the user. During the display process, the data display module differentiates the fluorescence data according to the characteristic wavelengths and displays the light intensity change curve over time. In this way, the user can intuitively observe the change of the fluorescence data in each well position over time, which is convenient for analyzing and judging the data. At the same time, the data display module also displays the inspection results of the data receiving module, provides the final inspection conclusion for the user, and helps the user quickly understand the inspection situation.
[0059] The following further elaborates on the present invention in combination with the specific working parameters of the 96-well counterfeit physical evidence DNA rapid inspection device:
[0060] The single scan of the 96-well counterfeit physical evidence DNA rapid inspection device is 256*512 pixels, and each pixel is a 16-bit data. Since the device can scan at most 12 well positions in a single scan, a total of 8 scans are required to scan all 96 well positions. After each scan interval, another 8 scans are performed, and this is repeated N times (N is generally 40, and the specific value is adjusted according to the inspection requirements of the well position samples).
[0061] The MCU control module starts a timer interrupt program, sets a suitable interrupt interval according to the scan frequency of the data acquisition module, and receives the fluorescence data sent by the data acquisition module. During the reception process, the fluorescence data first passes through a high-speed analog-to-digital converter to convert the analog signal into a digital signal, and then is stored in the buffer unit of the MCU control module. After 8 scans are completed, the MCU control module executes the fluorescence data transmission instruction, sends the fluorescence data to the FIFO buffer of the network module, and then transmits it to the data receiving module.
[0062] Among them, the operation logic of the interrupt program is as follows:
[0063] Set the interrupt time interval according to the scan frequency of the data acquisition module. Each time the timer service program is started, first perform a scan, and after the scan is completed, transmit the collected data. It should be noted that the interrupt time interval needs to ensure that the device completes the scan first and then transmits it to the MCU buffer unit.
[0064] During the scan interval (i.e., the interval between every 8 scans in each round), 8 scans of data can be completed and transmitted from the MCU module through the network module to the data receiving module, and the data processing is completed in the data receiving module.
[0065] The network module waits for the data receiving module to issue an instruction to establish a connection. After receiving the instruction to establish a connection, the MCU control module, as the sending end, immediately establishes a connection with the data receiving module and conducts data transmission according to a custom data transmission protocol. The MCU control module sets an appropriate transmission interval according to the refresh frequency requirement of the data display module, executes the fluorescence data transmission instruction in the interrupt response program, and ensures that the fluorescence data collected each time is correctly sent to the data receiving module with the custom data transmission protocol.
[0066] After a single scan is completed, due to the large amount of data in a single scan, the MCU control module will fragment the data, encapsulate the data in data frames, and transmit them to the data receiving module. In terms of the data frame format, the data frame header is set to a fixed value of 0x5AA5. The scan sequence number in the frame sequence number represents the number of scans completed for the 96-well sample plate in the inspection device. A total of 8 scans are performed. The data slice sequence number is the index number of this frame of data in the fluorescence data of a single scan after data fragmentation. The data length is used to specify the length of its fluorescence data field, which is a fixed value of 512 in the DNA rapid inspection device for counterfeit physical evidence in 96 well positions, that is, the fluorescence data of a single scan is divided into 512 slices, and each slice is 512 bytes.
[0067] The retransmission request frame consists of two parts: the retransmission frame header and the retransmission frame sequence number. The retransmission frame header is set to 0x3CC3. The retransmission frame sequence number is composed of the consecutive connection of all frame sequence numbers that need to be retransmitted. If there are M data frames to be retransmitted, the number of bytes is 2M. The MCU control module allocates a region with a size of 8 * 512 * (2 + 2 + 2 + 512) bytes in the buffer unit to receive fluorescence data. In this region, all parts of the frame header, frame sequence number, and data length are initialized, and the fluorescence data part is left empty. When starting to scan, the CCD data acquisition module collects multi-color fluorescence of 96 well positions and transmits it to the MCU control module. All data frames in the buffer unit receive fluorescence data according to a fixed length. Repeat this step 8 times to complete the scan of the sample to be tested. After the transfer of fluorescence data is completed, the MCU control module starts data transmission in an interrupt manner.
[0068] The data receiving module analyzes the received fluorescence data, conducts peak analysis and wavelength calibration processing on the fluorescence data according to time and wavelength, ensures real-time reception, real-time processing, and real-time display of the data, guarantees the integrity of the data, and avoids data loss, resulting in display errors and test result errors. The data receiving module transmits the analyzed and calibrated data and test results to the data display module for real-time display.
[0069] The second embodiment
[0070] As Figure 5 shown, the second embodiment of the present invention provides a data transmission method in a DNA rapid inspection device for counterfeit physical evidence, which at least includes the following steps:
[0071] S1: The data acquisition module sets the number of scans, scan interval, and number of inspections according to the number of holes in the inspection equipment, and performs time - divided and multi - time scans on the samples in the holes.
[0072] S2: After one scan is completed, the data acquisition module converts the collected fluorescence signal into a fluorescence electrical signal and sends it to the high - speed analog - to - digital converter in the MCU control module.
[0073] S3: The high - speed analog - to - digital converter converts the fluorescence electrical signal into fluorescence data and stores it in the buffer unit.
[0074] S4: The data acquisition module determines whether the number of scans has reached the set number of scans; if it has reached the set number of scans, it enters step S5; if it has not reached the set number of scans, it repeats steps S2 - S4.
[0075] S5: The MCU control module sends all the fluorescence data frames generated during one inspection to the data receiving module frame by frame based on the custom data transmission protocol through the network module.
[0076] S6: The data receiving module receives and checks the length of each fluorescence data frame; if the length of a certain fluorescence data frame is incorrect, the data receiving module records the frame sequence number of this fluorescence data frame and enters step S7; if the length of a frame of fluorescence data is correct, it directly enters step S7.
[0077] S7: The data receiving module determines whether all the fluorescence data frames generated during one inspection have been completely received; if they have been completely received, it enters step S8; if they have not been completely received, it repeats steps S6 - S7.
[0078] S8: The data receiving module determines whether the error record is empty; if it is not empty, it sends a re - transmission request frame to the MCU control module, and the MCU control module re - sends the corresponding fluorescence data frame to the data receiving module according to the re - transmission frame sequence number of the re - transmission request frame and repeats step S6; if it is empty, it enters step S9.
[0079] S9: Wait until the scan interval ends, and repeat steps S2 - S8 until the preset number of inspections is reached.
[0080] The following takes the 96 - hole counterfeit evidence DNA rapid inspection equipment as an example to illustrate the data transmission method of the present invention:
[0081] In the 96 - hole counterfeit evidence DNA rapid inspection equipment, the length of a group of fluorescence data is a fixed value of 512, that is, the fluorescence data of a single scan is divided into 512 frames, and each frame is 512 bytes. In other words, the sending of each group of fluorescence data needs to loop 512 times (because it is divided into 512 frames), and the length verification is performed on the data sent 512 times.
[0082] The specific process is as follows:
[0083] Send the first frame. Determine that the length is correct, which is 512 bytes;
[0084] Send the second frame. The length is correct;
[0085] Send the third frame. The length is incorrect (i.e., not 512 bytes), and record the frame number 3;
[0086] Send the fourth frame. The length is correct;
[0087] Send the fifth frame. The length is incorrect, and record the frame number 5;
[0088] Send the sixth frame. The length is incorrect, and record the frame number 6;
[0089] Send the seventh frame. The length is correct;
[0090] ……
[0091] Send the 512th frame. The length is correct.
[0092] The data receiving module determines whether there is a record of the frame number in the record. If so, it means that the length of the fluorescence data frame with the recorded frame number is incorrect, and then resend the fluorescence data frames of the 3rd, 5th, and 6th frames (i.e., resend the incorrect frames).
[0093] Resend the data of the third frame. The length is incorrect, and record the frame number 3;
[0094] Resend the data of the fifth frame. The length is incorrect, and record the frame number 5;
[0095] Resend the data of the sixth frame. The length is correct;
[0096] The data receiving module determines whether there is a record of the frame number in the record. If so, it means that the length of the fluorescence data frame with the recorded frame number is incorrect, and then resend the fluorescence data frames of the 3rd and 5th frames.
[0097] Resend the data of the third frame. The length is correct;
[0098] Resend the data of the fifth frame. The length is correct;
[0099] The data receiving module determines whether there is any content in the record. There is no content. Enter the waiting for the end of the scanning interval, and repeat the above steps until the preset number of inspection times is reached.
[0100] It should be noted that the above-mentioned multiple embodiments are only examples, and the technical solutions of each embodiment can be combined, all within the protection scope of the present invention.
[0101] The data transmission device and method in the counterfeit physical evidence DNA rapid detection equipment provided by the present invention are described in detail above. For those of ordinary skill in the art, any obvious changes made to it without departing from the substantial content of the present invention will constitute an infringement of the patent right of the present invention and will bear corresponding legal responsibilities.
Claims
1. A data transmission device in a DNA rapid inspection equipment for forged physical evidence, characterized in that It includes a data acquisition module, an MCU control module, a network module, a data receiving module, and a data display module; Among them, the data acquisition module converts the received fluorescence signal into a fluorescence electrical signal and sends it to the MCU control module; the MCU control module converts the fluorescence electrical signal into fluorescence data and stores it in the buffer unit; after receiving the connection instruction sent by the data receiving module, the network module extracts the fluorescence data from the buffer unit of the MCU control module and sends it to the data receiving module; the data receiving module performs peak analysis and wavelength correction processing on the fluorescence data and sends the processing result to the data display module; the data display module displays the processing result.
2. The data transmission device according to claim 1, wherein The data display module differentiates the processing result according to the characteristic wavelength and displays the light intensity change curve over time.
3. The data transmission device according to claim 1, characterized in that The data acquisition module selects a CCD as the fluorescence acquisition device to increase the spectral response range.
4. The data transmission device according to claim 1, wherein The data acquisition module further includes a spectral splitting unit for separating multi-wavelength fluorescence by wavelength.
5. The data transmission device according to claim 1, characterized in that The MCU control module includes a high-speed analog-to-digital converter and a buffer unit; among them, the high-speed analog-to-digital converter is used to convert the fluorescence electrical signal into fluorescence data; the buffer unit is used to store the fluorescence data.
6. A data transmission method in a rapid DNA testing device for forged physical evidence, characterized in that It includes the following steps: S1: The data acquisition module sets the number of scans, scan interval, and number of inspections according to the number of holes in the inspection device, and performs time-division and multi-time scans on the samples in the holes; S2: After one scan is completed, the data acquisition module converts the collected fluorescence signal into a fluorescence electrical signal and sends it to the high-speed analog-to-digital converter in the MCU control module; S3: The high-speed analog-to-digital converter converts the fluorescence electrical signal into fluorescence data and stores it in the buffer unit; S4: The data acquisition module determines whether the number of scans has reached the set number of scans; if it has reached the set number of scans, go to step S5; if it has not reached the set number of scans, repeat steps S2 - S4; S5: The MCU control module sends all the fluorescence data frames generated during one inspection process to the data receiving module frame by frame based on the custom data transmission protocol through the network module; S6: The data receiving module receives and checks the length of each frame of fluorescence data; If the length of a certain frame of fluorescence data frame is incorrect, the data receiving module records the frame sequence number of the fluorescence data frame and enters step S7; If the length of a frame of fluorescence data is correct, enter step S7; S7: The data receiving module determines whether all the fluorescence data frames generated during one inspection process have been received completely; If all have been received completely, enter step S8; if not all have been received completely, repeat steps S6 - S7; S8: The data receiving module determines whether the error record is empty; if it is not empty, it sends a retransmission request frame to the MCU control module, and the MCU control module retransmits the corresponding fluorescence data frame to the data receiving module according to the retransmission frame sequence number of the retransmission request frame and repeats step S6; if it is empty, enter step S9; S9: Wait until the scan interval ends, and repeat steps S2 - S8 until the preset number of inspections is reached.
7. The data transmission method according to claim 6, wherein The frame header of the data frame is set to a fixed value to quickly and accurately identify the data frame of this device.
8. The data transmission method according to claim 7, wherein The data frame has a fixed length and is used to match a fixed amount of fluorescence data. A buffer of a fixed size is pre-allocated to store the received data frames.
9. The data transmission method according to claim 6, wherein The header of the retransmission frame is set to a fixed value to distinguish it from other data frames.
Citation Information
Patent Citations
Data transmission method between host computer and DSP based on UDP network protocol
CN109379342B