Data collection method, device, computer equipment and computer readable storage medium

By acquiring and analyzing the position information and optical coupler identification information of the sample collection container, the problem of inaccurate counting of the optical coupler technology is solved, accurate data collection of the sample collection container is achieved, and the reliability of the experimental results is improved.

CN116306712BActive Publication Date: 2025-09-23SHENZHEN COMEN MEDICAL INSTR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310196054.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2025-09-23
Estimated Expiration
2043-02-24

AI Technical Summary

Technical Problem

In the prior art, information identification methods for sample collection containers, such as optical coupling technology, have low counting accuracy and are easily interfered by external factors, resulting in inaccurate data collection.

Method used

By obtaining the position information and optocoupler identification information of the object to be collected, judging their consistency, determining the current position and collecting target data, summarizing them into the target data set until the next position is the target position, and comprehensively considering the position information and optocoupler information to improve accuracy.

Benefits of technology

The detection accuracy of the sample collection container is improved, missed collection and wrong collection are avoided, and the accuracy of the experimental results is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116306712B_ABST
    Figure CN116306712B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention disclose a data acquisition method, device, computer equipment and computer-readable storage medium, which relate to the field of data processing technology. The method includes S1 obtaining position information and optical coupler identification information of an object to be collected, and determining whether the position information is consistent with the optical coupler identification information; S2 determining the current position of the object to be collected when the position information and the optical coupler identification information are consistent, and collecting first target data corresponding to the current position, and storing the first target data in a target data set; S3 determining whether the next position of the current position is the target position; S4 summarizing the first target data in the target data set when the next position of the current position is the target position to obtain second target data. By comprehensively considering the position information and the optical coupler information, the number of objects to be collected, such as sample collection containers, can be accurately checked, thereby improving the accuracy of sample collection container detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data acquisition method, device, computer equipment, and computer-readable storage medium. Background Art

[0002] Accurate data collection is a crucial step in both computer data analysis and biochemistry. In biochemistry, this is particularly crucial, as it directly determines the success or failure of an experiment. For example, in biochemistry, specialized sample collection containers, such as cuvettes, are used. Misidentification of these containers can negatively impact experimental results.

[0003] Conventional methods for identifying information on sample collection containers, such as counting sample collection containers, often use optocoupler technology. This has low counting accuracy and is easily affected by external factors, leading to incorrect and missed statistics, which greatly affects data collection on sample collection containers. Summary of the Invention

[0004] In view of this, one of the purposes of this application is to provide a data collection method, apparatus, computer device and computer-readable storage medium that can at least solve some of the above-mentioned technical problems.

[0005] In a first aspect, an embodiment of the present application provides a data collection method, applied to a first device, the method comprising:

[0006] S1. Acquire location information and optical coupler identification information of an object to be collected, and determine whether the location information is consistent with the optical coupler identification information;

[0007] S2. When the position information is consistent with the optical coupler identification information, determine the current position of the object to be collected, collect first target data corresponding to the current position, and store the first target data in a target data set;

[0008] S3, determining whether the next position of the current position is the target position;

[0009] S4. When the next position of the current position is the target position, aggregate the first target data in the target data set to obtain second target data.

[0010] In a possible implementation, after the step of obtaining the position information and the optical coupler identification information of the object to be collected and determining whether the position information is consistent with the optical coupler identification information, and before the step of determining whether the next position of the current position is the target position, the method further includes:

[0011] When the position information and the optical coupler identification information are inconsistent, the object to be collected is set at the initial position, all the first target data in the target data set are cleared, and S1 is repeatedly executed until the position information and the optical coupler identification information are consistent, the current position of the object to be collected is determined, and the first target data corresponding to the current position is collected.

[0012] In a possible implementation, after the step of determining whether the next location of the current location is the target location, the method further includes:

[0013] If the next position of the current position is not the target position, setting the object to be collected at the next position of the current position, and updating the current position to the next position of the current position;

[0014] S1 to S3 are repeatedly executed until the next position of the current position is the target position, and all the first target data are used as second target data.

[0015] In a possible implementation, determining the current position of the object to be collected includes:

[0016] The current position of the object to be collected is determined according to at least one of the position information and the optical coupler identification information.

[0017] In a possible implementation, the first device is used to be externally connected to a driver and a motion mechanism corresponding to the object to be collected, respectively. Before the step of obtaining the position information and the optical coupler identification information of the object to be collected, the method further includes:

[0018] When receiving a position control instruction, controlling the motion mechanism to operate through the driver;

[0019] The step of obtaining the position information and optical coupler identification information of the object to be collected includes:

[0020] receiving position information sent by the driver;

[0021] Receive the optical coupler identification information sent by the motion mechanism.

[0022] In a possible implementation, the driver includes an encoder, and receiving the position information sent by the driver includes:

[0023] Receive the position information sent by the encoder.

[0024] In a possible implementation, the first device is communicatively connected to the driver, and when the position information and the optical coupler identification information are inconsistent, setting the object to be collected at an initial position includes:

[0025] When the position information is inconsistent with the optical coupler identification information and a position reset instruction is received, the object to be collected is set at the initial position by the driver.

[0026] In a second aspect, an embodiment of the present application provides a data acquisition device, the device comprising:

[0027] An acquisition module is used to acquire the position information and optical coupler identification information of the object to be collected, and determine whether the position information is consistent with the optical coupler identification information;

[0028] a first determining module, configured to determine the current position of the object to be collected, collect first target data corresponding to the current position, and store the first target data in a target data set when the position information is consistent with the optical coupler identification information;

[0029] A second determining module is used to determine whether the next position of the current position is a target position;

[0030] The third determining module is configured to, when the next position of the current position is the target position, aggregate the first target data in the target data set to obtain the second target data.

[0031] In a third aspect, an embodiment of the present application provides a computer device, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the data acquisition method provided in the first aspect is implemented.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by one or more processors, it implements the data acquisition method provided in the first aspect.

[0033] The data acquisition method provided by the present application obtains the position information and optical coupler identification information of the object to be collected, and further analyzes the position information and optical coupler information. When the position information and the optical coupler identification information are consistent, the current position of the object to be collected is determined, and the first target data corresponding to the current position is collected, and the first target data is stored in the target data set. Finally, it is determined whether the next position of the current position is the target position. When the next position of the current position is the target position, the first target data in the target data set is summarized to obtain the second target data. By comprehensively considering the position information and optical coupler information, the present application can accurately verify the number of objects to be collected, such as sample collection containers, thereby improving the accuracy of sample collection container detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. It should be understood that the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0035] Figure 1 A flow chart of a data acquisition method provided in an embodiment of the present application;

[0036] Figure 2 A schematic diagram of the structure of a data acquisition device provided in this application;

[0037] Figure 3 A schematic diagram of the functional modules of a data acquisition device provided in this application;

[0038] Figure 4 A diagram of the internal structure of a computer device provided in an embodiment of the present application.

[0039] icon:

[0040] Data acquisition device 200, motor 210, reaction disk 220, shaft 230, code disk 240, counting optical coupler 250, motor 210, counting optical coupler 250, control module 260;

[0041] Data collection device 300 , first determination module 320 , second determination module 330 , third determination module 340 . DETAILED DESCRIPTION

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0043] To make the objectives, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Generally, the components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations.

[0044] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the present application without creative work are within the scope of protection of the present application.

[0045] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.

[0046] In summarizing various embodiments of the present application, the expression "or" or "at least one of A or / and B" includes any or all combinations of the words listed simultaneously. For example, the expression "A or B" or "at least one of A or / and B" may include A, may include B, or may include both A and B.

[0047] In the description of this application, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the accompanying drawings, or is the orientation or position relationship in which the invented product is usually placed when in use. It is only for the convenience of describing this application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on this application.

[0048] In addition, the terms "first", "second", etc., if used, are merely used to distinguish and describe, and should not be understood as indicating or implying relative importance.

[0049] It should be noted that, in the absence of conflict, the features in the embodiments of this application can be combined with each other.

[0050] See Figure 1, Figure 1 A flow chart of a data acquisition method provided in an embodiment of the present application is provided, and each step of the method will be described in detail below.

[0051] S1. Obtain the position information and optical coupler identification information of the object to be collected, and determine whether the position information is consistent with the optical coupler identification information.

[0052] In this embodiment, the position information and optocoupler identification information of the object to be collected can be obtained through the first device. The first device can be a lower computer, which is a computer that can directly control the sub-device and obtain the status of the sub-device. Among them, the sub-device can be a data acquisition device corresponding to the data acquisition method of this embodiment.

[0053] Specifically, the object to be collected can be a container, such as a cuvette. For ease of understanding, the object to be collected in this embodiment and the following embodiments can all be regarded as a cuvette. The position information can be the position of the cuvette corresponding to the position on the data acquisition device obtained in the following embodiments. The optical coupler identification information is an electrical signal obtained by the optical coupler identification technology. In this embodiment, the position of the object to be collected, such as a cuvette, can be indirectly determined based on the optical coupler identification information. Among them, the methods involved in the optical coupler identification technology are known to those skilled in the art and will not be described in detail here. The position of the object to be collected, such as a cuvette, can be directly or indirectly obtained based on the position information and the optical coupler identification information. The position information and the optical coupler identification information can be compared to determine whether the position of the object to be collected, such as a cuvette, is accurate, thereby avoiding missed collection and incorrect collection, and improving the accuracy of data collection of the object to be collected, such as a cuvette.

[0054] In some embodiments, the position information and optical coupler identification information of the object to be collected can be collected in advance and stored in a memory. The first device can directly read the position information and optical coupler identification information in the memory to further determine the accuracy of the position of the object to be collected, such as a reaction cup.

[0055] In some embodiments, the memory read by the first device may be provided in the data acquisition apparatus in the following embodiments.

[0056] In some embodiments, the memory read by the first device may be a storage device externally connected to the data acquisition device in the following embodiments, so as to facilitate replacement of memories with different models, sizes and other parameters.

[0057] In some embodiments, the memory read by the first device can be set in the first device. The first device can establish communication with the data acquisition device mentioned in the above embodiment or a storage device external to the data acquisition device to obtain the location information and optocoupler identification information of the object to be collected. The analysis can be performed after the memory set in the first device has collected the data, so as to avoid the situation where the first device is interrupted in communication with an external device such as the data acquisition device mentioned in the above embodiment or a storage device external to the data acquisition device mentioned in the above embodiment to obtain data.

[0058] In some embodiments, if the position information and optocoupler identification information of the object to be collected are stored in a memory provided in the data acquisition device mentioned in the above embodiments, or are stored in a storage device external to the data acquisition device mentioned in the above embodiments, when communication is interrupted between the first device and the data acquisition device or the storage device external to the data acquisition device, when communication is restored, the data acquisition device or the storage device external to the data acquisition device can transmit the transmission data corresponding to the point where the communication is interrupted, thereby avoiding data retransmission or omission.

[0059] S2. When the position information and the optical coupler identification information are consistent, determine the current position of the object to be collected, collect first target data corresponding to the current position, and store the first target data into a target data set.

[0060] In this embodiment, the consistency between the position information and the optical coupler identification information can indicate that the position of the object to be collected, such as a reaction cup, is accurate. The first device can determine the current position of the object to be collected, such as a reaction cup, based on the position information and the optical coupler identification information, and collect the sample information of the object to be collected, such as the reaction cup, at the current position through the data acquisition device in the following embodiment, that is, obtain the first target data. The first device can instruct the data acquisition device to perform data acquisition by sending a data acquisition instruction to the data acquisition device, and the first device can store the acquired first target data in the target data set.

[0061] In one possible embodiment, after the step of obtaining the position information and the optical coupler identification information of the object to be collected and determining whether the position information is consistent with the optical coupler identification information, and before the step of determining whether the next position of the current position is the target position, the method further includes:

[0062] When the position information and the optocoupler identification information are inconsistent, the object to be collected is set at the initial position, all the first target data in the target data set are cleared, and S1 is repeated until the position information and the optocoupler identification information are consistent, the current position of the object to be collected is determined, and the first target data corresponding to the current position is collected.

[0063] In this embodiment, if the first device detects that the position information and the optical coupler identification information are inconsistent, the first device can generate a control instruction, which instructs the data acquisition device to set the object to be collected, such as a reaction cup, at the initial position, and clear all the first target data in the target data set in the above embodiment, and then repeat S1 to avoid erroneous collection such as repeated data collection.

[0064] In a possible implementation, the first device is used to externally connect to the driver and the motion mechanism corresponding to the object to be collected, and before the step of obtaining the position information and the optical coupler identification information of the object to be collected, the method further includes:

[0065] When receiving the position control command, the motion mechanism is controlled by the driver;

[0066] Obtain the location information and optocoupler identification information of the object to be collected, including:

[0067] Receive the position information sent by the driver;

[0068] Receive the optocoupler identification information sent by the motion mechanism.

[0069] See Figure 2 , Figure 2 The present application provides a structural schematic diagram of a data acquisition device, wherein the motion mechanism includes a motor 210, a reaction disk 220, a shaft 230, a code disk 240 and a counting optical coupler 250. The motor 210 and the counting optical coupler 250 are electrically connected to the control module 260 respectively. The driver can be set in the motor, not shown in the figure. The driver is electrically connected to the motor 210, wherein the control module 260 can be understood as the lower computer in the above embodiment. Specifically, the position control instruction can be used to instruct the driver to drive the motor to work. The motor 210 and the code disk 240 are connected in a transmission manner. When the motor 210 works, the code disk 240 rotates with the rotation of the motor 210. After the code disk 240 rotates, the reaction disk 220 also rotates with the code disk 240. The reaction disk 220 carries an object to be collected, such as a reaction cup. The counting optical coupler 250 can generate optical coupler identification information after the code disk 240 rotates. The first device can obtain position information from the driver, and the first device can obtain optical coupler identification information from the motion structure.

[0070] Optionally, the driver includes an encoder that receives position information sent by the driver, including:

[0071] Receive the position information sent by the encoder.

[0072] In this embodiment, the encoder stores rotation information, wherein the rotation information is used to indicate the number of cup positions the motor needs to rotate. The position information sent by the encoder can be understood as the rotation position information of the reaction disk 220 corresponding to the current number of motor rotations.

[0073] In some embodiments, the rotation information may be stored in the encoder, and the rotation information may also be sent to the encoder via a lower computer, so that the rotation information can be modified by the lower computer to meet actual rotation requirements.

[0074] S3. Determine whether the next position of the current position is the target position.

[0075] In this embodiment, the target position information can be understood as the position of the reaction cup corresponding to the reaction cup on the reaction disk 220. For example, if there are 10 loading slots corresponding to the reaction cup on the reaction disk 220, that is, it can be understood that the reaction disk 220 can load 10 reaction cups at a time. If the target position is 10, the reaction disk 220 starts to rotate from the initial position and rotates to the position corresponding to the 10th reaction cup.

[0076] S4. When the next position of the current position is the target position, the first target data in the target data set is aggregated to obtain the second target data.

[0077] In this embodiment, if the first device detects that the position next to the current position is the target position, it means that the position identification of the reaction cup corresponding to the reaction disk 220 has been completed. Among them, during each rotation of the reaction disk 220, data of the load in the reaction cup at the corresponding position will be collected to obtain multiple first target data. After the corresponding verification of the reaction cup position is completed, all the collected first target data are the second target data finally obtained in this embodiment.

[0078] From the above analysis, it can be seen that the data acquisition method provided by the present application obtains the position information and optocoupler identification information of the object to be collected, and further analyzes the position information and optocoupler information. When the position information and the optocoupler identification information are consistent, the current position of the object to be collected is determined, and the first target data corresponding to the current position is collected, and the first target data is stored in the target data set. Finally, it is determined whether the next position of the current position is the target position, and when the next position of the current position is the target position, the first target data in the target data set is summarized to obtain the second target data. By comprehensively considering the position information and optocoupler information, the number of objects to be collected, such as sample collection containers, can be accurately verified, thereby improving the accuracy of sample collection container detection.

[0079] In a possible implementation, after the step of determining whether the next location of the current location is the target location, the method further includes:

[0080] If the next position of the current position is not the target position, the object to be collected is set at the next position of the current position, and the current position is updated to the next position of the current position;

[0081] S1 to S3 are repeatedly executed until the position next to the current position is the target position, and all the first target data are used as the second target data.

[0082] Specifically, if the first device detects that the next position of the current position is not the target position, it means that the detection of the reaction cup on the reaction disk 220 has not been completed. The current position can be increased by 1 until the next position of the current position is detected to be the target position. That is, in this embodiment, the process of S1 to S3 is repeated, and the corresponding position recognition process is completed.

[0083] Optionally, determining the current location of the object to be collected includes:

[0084] The current position of the object to be collected is determined according to at least one of the position information and the optical coupler identification information.

[0085] In this embodiment, the position information emitted by the encoder and the optocoupler identification information recognized by the counting optocoupler 250 can both determine the position of the object to be collected, such as a reaction cup. Comparing the position information and the optocoupler identification information can avoid errors such as position identification errors and missed statistics in the position of the reaction cup, thereby ensuring the accuracy of data collection and avoiding irreversible effects of erroneous data collection on the experiment.

[0086] In a possible implementation, the first device is in communication with the driver, and when the position information and the optical coupler identification information are inconsistent, the object to be collected is set at an initial position, including:

[0087] When the position information is inconsistent with the optical coupler identification information and a position reset instruction is received, the object to be collected is set at the initial position through the driver.

[0088] In this embodiment, during the process of position identification or data collection of the object loaded in the cuvette, re-collection can be performed at any time through the position reset instruction issued by the lower computer to avoid the influence of invalid collection process on the experimental results.

[0089] In summary, the data acquisition method provided by the present application obtains the position information and optocoupler identification information of the object to be collected, and further analyzes the position information and optocoupler information. When the position information and the optocoupler identification information are consistent, the current position of the object to be collected is determined, and the first target data corresponding to the current position is collected, and the first target data is stored in the target data set. Finally, it is determined whether the next position of the current position is the target position, and when the next position of the current position is the target position, the first target data in the target data set is summarized to obtain the second target data. By comprehensively considering the position information and optocoupler information, the number of objects to be collected, such as sample collection containers, can be accurately verified, thereby improving the accuracy of sample collection container detection.

[0090] Corresponding to the above method embodiment, the present application also provides a data acquisition device 300, see Figure 3 , Figure 3 A data acquisition device is provided in an embodiment of the present application, wherein the data acquisition device 300 in this embodiment may be the data acquisition device 200 in the above embodiment, wherein the device includes:

[0091] An acquisition module 310 is configured to acquire the position information and the optical coupler identification information of the object to be collected, and determine whether the position information is consistent with the optical coupler identification information;

[0092] The first determination module 320 is used to determine the current position of the object to be collected when the position information and the optical coupler identification information are consistent, collect first target data corresponding to the current position, and store the first target data in a target data set;

[0093] A second determination module 330 is configured to determine whether the next position of the current position is a target position;

[0094] The third determining module 340 is configured to, when the next position of the current position is the target position, aggregate the first target data in the target data set to obtain the second target data.

[0095] The data acquisition device provided in the present application obtains the position information and optical coupler identification information of the object to be collected through an acquisition module, and further analyzes the position information and optical coupler information. Then, the first determination module determines the current position of the object to be collected when the position information and the optical coupler identification information are consistent, and collects the first target data corresponding to the current position, and stores the first target data in the target data set. Then, the second determination module determines whether the next position of the current position is the target position. Finally, the third determination module determines whether the next position of the current position is the target position. When the next position of the current position is the target position, the first target data in the target data set is summarized to obtain the second target data. By comprehensively considering the position information and the optical coupler information, the number of objects to be collected, such as sample collection containers, can be accurately verified, thereby improving the accuracy of sample collection container detection.

[0096] This application also provides a computer device, see Figure 4 , Figure 4The following is a diagram showing the internal structure of a computer device provided in an embodiment of the present application. The computer device includes a processor, a memory, and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement the data acquisition method applied to the computer device in the above embodiment. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may execute the data acquisition method. It will be understood by those skilled in the art that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0097] The embodiment of the present application further discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the data acquisition method in the method embodiment is implemented.

[0098] The data acquisition method, apparatus, computer equipment, and computer-readable storage medium provided in the present application obtain position information and optical coupler identification information of the object to be collected, and further analyze the position information and optical coupler information. When the position information and the optical coupler identification information are consistent, the current position of the object to be collected is determined, and first target data corresponding to the current position is collected, and the first target data is stored in a target data set. Finally, it is determined whether the next position of the current position is the target position, and when the next position of the current position is the target position, the first target data in the target data set is summarized to obtain second target data. By comprehensively considering the position information and the optical coupler information, the number of objects to be collected, such as sample collection containers, can be accurately verified, thereby improving the accuracy of sample collection container detection.

[0099] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0100] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

Claims

1. A data collection method, characterized in that: Applied to a first device, the method includes: S1. Acquire location information and optical coupler identification information of an object to be collected, and determine whether the location information is consistent with the optical coupler identification information; S2. When the position information is consistent with the optical coupler identification information, determine the current position of the object to be collected, collect first target data corresponding to the current position, and store the first target data in a target data set; S3, determining whether the next position of the current position is the target position; S4. When the next position of the current position is the target position, aggregate the first target data in the target data set to obtain second target data.

2. The data collection method according to claim 1, wherein: After the step of obtaining the position information and the optical coupler identification information of the object to be collected and determining whether the position information is consistent with the optical coupler identification information, and before the step of determining whether the next position of the current position is the target position, the method further includes: When the position information and the optical coupler identification information are inconsistent, the object to be collected is set at the initial position, all the first target data in the target data set are cleared, and S1 is repeatedly executed until the position information and the optical coupler identification information are consistent, the current position of the object to be collected is determined, and the first target data corresponding to the current position is collected.

3. The data collection method according to claim 1 or 2, wherein: After the step of determining whether the next position of the current position is the target position, the method further includes: If the next position of the current position is not the target position, setting the object to be collected at the next position of the current position, and updating the current position to the next position of the current position; S1 to S3 are repeatedly executed until the next position of the current position is the target position, and all the first target data are used as second target data.

4. The data collection method according to claim 1, wherein: Determining the current position of the object to be collected includes: The current position of the object to be collected is determined according to at least one of the position information and the optical coupler identification information.

5. The data collection method according to claim 2, wherein: The first device is used to be externally connected to a driver and a motion mechanism corresponding to the object to be collected. Before the step of obtaining the position information and the optical coupler identification information of the object to be collected, the method further includes: When receiving a position control instruction, controlling the motion mechanism to operate through the driver; The step of obtaining the position information and optical coupler identification information of the object to be collected includes: receiving position information sent by the driver; Receive the optical coupler identification information sent by the motion mechanism.

6. The data collection method according to claim 5, wherein: The driver includes an encoder, and the receiving position information sent by the driver includes: Receive the position information sent by the encoder.

7. The data collection method according to claim 5, wherein: The first device is communicatively connected to the driver, and when the position information and the optical coupler identification information are inconsistent, the object to be collected is set at an initial position, including: When the position information is inconsistent with the optical coupler identification information and a position reset instruction is received, the object to be collected is set at the initial position by the driver.

8. A data acquisition device, characterized in that: The device comprises: An acquisition module is used to acquire the position information and optical coupler identification information of the object to be collected, and determine whether the position information is consistent with the optical coupler identification information; a first determining module, configured to determine the current position of the object to be collected, collect first target data corresponding to the current position, and store the first target data in a target data set when the position information is consistent with the optical coupler identification information; A second determining module is used to determine whether the next position of the current position is a target position; The third determining module is configured to, when the next position of the current position is the target position, aggregate the first target data in the target data set to obtain the second target data.

9. A computer device, characterized in that: The computer device includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the data collection method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by one or more processors, implements the data collection method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Sample storage method and device, computer equipment and storage medium

    CN112215311A

  • Sample detection data acquisition system and method and storage medium

    CN114878468A