A laboratory equipment integrated control method, system and application
By using a device driver data caching pool and the mDNS multicast protocol in the laboratory LAN, the problems of low control efficiency and network consumption of laboratory equipment were solved, achieving efficient integrated control of equipment and reducing costs.
Patent Information
- Application Number
- CN202611183701.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-05
- Publication Date
- 2026-11-06
AI Technical Summary
In a laboratory environment, each additional independent device requires the redevelopment of control methods and systems, resulting in low control efficiency and high costs. Furthermore, the existing real-time heartbeat mechanism between devices consumes network resources, leading to network problems.
By initializing a device driver data cache pool in the local area network, broadcasting data using the mDNS multicast protocol, and implementing device status monitoring and business operations through the device driver data cache pool filtering and polling mechanism, redundant development is reduced, and the caching mechanism of the device driver data cache pool is used to replace heartbeat packets.
It improved the control efficiency of experimental equipment, reduced experimental and labor costs, and decreased network traffic consumption.
Smart Images

Figure CN123047331A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of experimental equipment control, and in particular to a laboratory equipment integrated control method, system and application. BACKGROUND
[0002] In a local area network in a laboratory environment, a control center (a computer or a server) is often needed to schedule various independent devices to complete different business functions, and the devices and the control center often do not share the same power supply. Each additional device requires the development of a new control method and system integrated into the control center, which is then controlled by the control method and system. This results in the need to develop a new control method and system for each additional independent device, and then control the device through the control method and system. Each device requires a set of programs, which is a heavy workload and greatly reduces the control efficiency of experimental equipment and greatly increases the experimental cost. In addition, the existing technology requires constant attention to whether each device is powered off and other issues. The conventional method is to establish a real-time heartbeat packet mechanism between each independent device to confirm whether the device is online. However, each device requires a real-time heartbeat packet, which consumes network resources and causes network timeouts, lag and other problems.
[0003] Therefore, a laboratory equipment integrated control method, system and application are developed to solve the above problems. SUMMARY
[0004] The present application provides a laboratory equipment integrated control method, system and application to solve the problems of low control efficiency, high experimental cost and high labor cost of existing experimental equipment control methods and systems.
[0005] The present application achieves the above-mentioned purposes through the following technical solutions: The present application provides a laboratory equipment integrated control method, which comprises: Initializing a device driver data cache pool, wherein the device driver data cache pool is a data cache list; Receiving driving data broadcast by experimental equipment, and adding the driving data to the device driver data cache pool; wherein all experimental equipment is connected to the same local area network, and each experimental equipment is assigned a unique fixed IP address, and all experimental equipment broadcasts data in the local area network through the mDNS multicast protocol; In response to a business instruction, traversing the driving data in the device driver data cache pool, screening out driving data matching the business instruction, and issuing driving data matching the business instruction to the corresponding experimental equipment to drive the corresponding experimental equipment to perform business operations.
[0006] Furthermore, the driving data of the experimental equipment includes a functional interface description, an interface address, and a parameter description; the functional interface description includes activity level, function code, and operation unit, and the business instruction includes a business identifier for matching the function code.
[0007] Furthermore, the driving data for the experimental equipment is a JSON string.
[0008] Furthermore, after adding the driver data to the preset device driver data cache pool, the state changes of the experimental device are monitored, including: Start polling; The device data of all experimental devices in the device driver data cache pool is sorted according to the device activity level; Calculate the total activity level of all devices, and divide the activity level of each device by the total activity level to obtain the current polling ratio of each device's activity level; Divide the sum of the activity levels by the number of device data to obtain the polling time slice; Within the time period corresponding to the total activity level, a traversal of all experimental device driver data in the device driver data cache pool is completed. The driver data of each experimental device is retrieved periodically according to the polling time slice, and a time message is sent to each experimental device. Then, the response messages of each experimental device in response to the time message are received. If no response message is received from the experimental device, it is determined that the experimental device is in an offline state.
[0009] Furthermore, when the experimental device is detected to be offline, the driver data corresponding to that experimental device is deleted from the device driver data cache pool.
[0010] Furthermore, when the experimental equipment is powered on again or the network is restored, the driver data sent by the experimental equipment is received again from the multicast address, and the received driver data of the experimental equipment is added to the device driver data cache pool again.
[0011] Furthermore, after driving the corresponding experimental equipment to perform business operations, the system receives the execution result returned by the experimental equipment interface and determines whether the business execution of the experimental equipment is complete or whether there is an abnormality.
[0012] The present invention also provides an integrated control system for laboratory equipment, for implementing the aforementioned integrated control method for laboratory equipment, comprising: An initialization module is used to initialize a device driver data cache pool, wherein the device driver data cache pool is a data cache list. An add module is used to receive driver data broadcast by experimental devices and add the driver data to a preset device driver data cache pool. All experimental devices are connected to the same local area network, and each experimental device is assigned a unique fixed IP address. All experimental devices broadcast data within the local area network through the mDNS multicast protocol. The business module is used to respond to business instructions, traverse the driver data in the device driver data cache pool, filter out the driver data that matches the business instructions in the device driver data cache pool, and send the driver data that matches the business instructions to the corresponding experimental device to drive the corresponding experimental device to perform business operations.
[0013] Furthermore, it also includes a monitoring module, which is used to monitor changes in the state of the experimental device after the driver data is added to a preset device driver data cache pool, including: Start polling; The device data of all experimental devices in the device driver data cache pool are sorted according to the device activity level; Calculate the total activity level of all devices, and divide the activity level of each device by the total activity level to obtain the current polling ratio of each device's activity level; Divide the total activity of each device by the amount of device data to obtain the polling time slice; Within the time period corresponding to the total activity level, a traversal of all experimental device driver data in the device driver data cache pool is completed. The driver data of each experimental device is retrieved periodically according to the polling time slice, and a time message is sent to each experimental device. Then, the response messages of each experimental device in response to the time message are received. If no response message is received from the experimental device, it is determined that the experimental device is in an offline state.
[0014] The present invention also provides an application of the aforementioned laboratory equipment integrated control method in a molecular detection experimental system.
[0015] The beneficial effects of this invention are as follows: The laboratory equipment integrated control method, system, and application proposed in this invention only require the laboratory equipment to report its driving data when a new laboratory equipment needs to be added. Then, the control center drives the equipment according to the data. There is no need to redevelop an independent control method and system for the newly added laboratory equipment, which greatly improves the control efficiency of the laboratory equipment and reduces the experimental cost and labor cost. Attached Figure Description
[0016] Figure 1 This is a control principle diagram of the laboratory equipment integrated control method of this application. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0018] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0019] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0020] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0021] This invention provides an integrated control method for laboratory equipment, comprising: Initialize the device driver data cache pool, which is a data cache list; The system receives driver data broadcast by the experimental equipment and adds the driver data to the device driver data cache pool. All experimental equipment is connected to the same local area network, and each experimental equipment is assigned a unique fixed IP address. All experimental equipment broadcasts data within the local area network through the mDNS multicast protocol. In response to a business instruction, the driver data in the device driver data cache pool is traversed, driver data matching the business instruction is selected, and driver data matching the business instruction is sent to the corresponding experimental device to drive the corresponding experimental device to perform business operations.
[0022] In one embodiment, the driving data of the experimental device includes a functional interface description, an interface address, and a parameter description; the functional interface description includes activity level, function code, and operation unit, and the business instruction includes a business identifier for matching the function code.
[0023] In one embodiment, the driving data for the experimental device is a JSON string.
[0024] In one embodiment, after adding the driver data to a preset device driver data cache pool, monitoring the state changes of the experimental device includes: Start polling; The device data of all experimental devices in the device driver data cache pool is sorted according to the device activity level; Calculate the total activity level of all devices, and divide the activity level of each device by the total activity level to obtain the current polling ratio of each device's activity level; Divide the sum of the activity levels by the number of device data to obtain the polling time slice; Within the time period corresponding to the total activity level, a traversal of all experimental device driver data in the device driver data cache pool is completed. The driver data of each experimental device is retrieved periodically according to the polling time slice, and a time message is sent to each experimental device. Then, the response messages of each experimental device in response to the time message are received. If no response message is received from the experimental device, it is determined that the experimental device is in an offline state.
[0025] In one embodiment, when the experimental device is detected to be offline, the driver data corresponding to the experimental device is deleted from the device driver data cache pool.
[0026] In one embodiment, when the experimental device is powered on again or the network is restored, the driver data resent by the experimental device is received from the multicast address, and the received driver data of the experimental device is added back to the device driver data cache pool.
[0027] In one embodiment, after driving the corresponding experimental device to perform a business operation, the system receives the execution result returned by the experimental device interface and determines whether the business execution of the experimental device is completed or whether there is an abnormality.
[0028] The present invention also provides an integrated control system for laboratory equipment, for implementing the aforementioned integrated control method for laboratory equipment, comprising: An initialization module is used to initialize a device driver data cache pool, wherein the device driver data cache pool is a data cache list. An adding module is used to receive driver data broadcast by experimental devices and add the driver data to a preset device driver data cache pool. All experimental devices are connected to the same local area network, and each experimental device is assigned a unique fixed IP address. All experimental devices broadcast data within the local area network through the mDNS multicast protocol. The mDNS protocol is a common UDP-based protocol in the Internet, and mDNS uses the IP multicast address 224.0.0.251. The business module is used to respond to business instructions, traverse the driver data in the device driver data cache pool, filter out the driver data that matches the business instructions in the device driver data cache pool, and send the driver data that matches the business instructions to the corresponding experimental device to drive the corresponding experimental device to perform business operations.
[0029] In one embodiment, a monitoring module is further included, which is used to monitor changes in the state of the experimental device after the driver data is added to a preset device driver data cache pool, including: Start polling; The device data of all experimental devices in the device driver data cache pool are sorted according to the device activity level; Calculate the total activity level of all devices, and divide the activity level of each device by the total activity level to obtain the current polling ratio of each device's activity level; Divide the total activity of each device by the amount of device data to obtain the polling time slice; Within the time period corresponding to the total activity level, a traversal of all experimental device driver data in the device driver data cache pool is completed. The driver data of each experimental device is retrieved periodically according to the polling time slice, and a time message is sent to each experimental device. Then, the response messages of each experimental device in response to the time message are received. If no response message is received from the experimental device, it is determined that the experimental device is in an offline state.
[0030] In one embodiment, the application of the laboratory equipment integrated control method in a molecular detection experimental system is also provided.
[0031] The following example, using the application of this invention in a certain experimental system, further illustrates the invention. This invention is located in the control center.
[0032] like Figure 1 As shown, devices A, B, C, and D upload their driver data to the device driver data cache pool that has been initialized in the control center (i.e., ...). Figure 1 In the virtual network blackboard, the driver data of device A, device B, device C, and device D constitute a data cache list. In response to a business instruction, the control center traverses the driver data in the device driver data cache pool, selects the driver data that matches the business instruction, and sends the matching driver data to the corresponding experimental device, thus driving the corresponding experimental device to perform the business operation.
[0033] For example, in a gene amplification experimental system, including a PCR reaction plate preparation device, a heating and shaking device, and a fluorescence scanning device, taking the PCR reaction plate water bath heating device as an example, the implementation principle of the present invention will be specifically explained as follows: For PCR reaction plate water bath heating devices, the driving data includes: 1. Interface description data, describing the function of the interface. For example, for a heating and oscillation device, the heating interface description includes five parts as follows: Activity level: 10 (unit: ms); Function code: Heating; Compatible consumables: SBS standard board; Operating unit: Temperature range 25-100°C; 2. Interface address: http: / / url:port / heater / heating; 3. Parameter description: Control temperature: xxx; After the device is powered on, this data is sent to the multicast address.
[0034] When the control center needs to complete the heating service, it iterates through the device data in the device driver data cache pool. First, it performs a similarity match between the "heating" identifier in the service instruction and the function code of the experimental device data. If the match is successful, it retrieves the device data and sends the driver data to drive the heating oscillation device according to the interface address and interface parameters. After the service is completed, it determines whether it is completed or abnormal based on the interface call.
[0035] When the heating and oscillation equipment loses power or experiences network malfunction, it cannot respond to the polling messages from the control center. If the control center does not receive a response message, it will erase the driving data of the experimental equipment from the device driving data cache pool. When the heating and oscillation equipment is powered on again or the network is restored, it will resend the driving data of the heating and oscillation equipment to the multicast address. The control center will repeat the above operation of sending driving data and polling.
[0036] The advantages of the laboratory equipment integrated control method, system, and application proposed in this invention compared to existing technologies are as follows: When a new device is added, the device only needs to report its drive data, and then the control center will drive the device based on the data. There is no need to develop independent control software, which saves manpower and time. The control center uses the caching mechanism of the device driver data cache pool to poll and confirm whether each device is offline, which greatly reduces network traffic compared to the heartbeat method.
[0037] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for integrated control of laboratory equipment, characterized in that, include: Initialize the device driver data cache pool, which is a data cache list; The system receives driver data broadcast by the experimental equipment and adds the driver data to the device driver data cache pool. All experimental equipment is connected to the same local area network, and each experimental equipment is assigned a unique fixed IP address. All experimental equipment broadcasts data within the local area network through the mDNS multicast protocol. In response to a business instruction, the driver data in the device driver data cache pool is traversed, driver data matching the business instruction is selected, and driver data matching the business instruction is sent to the corresponding experimental device to drive the corresponding experimental device to perform business operations.
2. The integrated control method for laboratory equipment according to claim 1, characterized in that, The driving data of the experimental equipment includes a functional interface description, an interface address, and a parameter description; the functional interface description includes activity level, function code, and operation unit, and the business instruction includes a business identifier for matching the function code.
3. The integrated control method for laboratory equipment according to claim 2, characterized in that, The driving data for the experimental equipment is a JSON string.
4. The integrated control method for laboratory equipment according to claim 2, characterized in that, After adding the driver data to the preset device driver data cache pool, monitor the state changes of the experimental device, including: Start polling; The device data of all experimental devices in the device driver data cache pool is sorted according to the device activity level; Calculate the total activity level of all devices, and divide the activity level of each device by the total activity level to obtain the current polling ratio of each device's activity level; Divide the sum of the activity levels by the number of device data to obtain the polling time slice; Within the time period corresponding to the total activity level, a traversal of all experimental device driver data in the device driver data cache pool is completed. The driver data of each experimental device is retrieved periodically according to the polling time slice, and a time message is sent to each experimental device. Then, the response messages of each experimental device in response to the time message are received. If no response message is received from the experimental device, it is determined that the experimental device is in an offline state.
5. The integrated control method for laboratory equipment according to claim 4, characterized in that, When the experimental equipment is detected to be offline, the driver data corresponding to the experimental equipment is deleted from the device driver data cache pool.
6. The integrated control method for laboratory equipment according to claim 5, characterized in that, When the experimental equipment is powered on again or the network is restored, the driver data sent by the experimental equipment is received again from the multicast address, and the received driver data of the experimental equipment is added to the device driver data cache pool again.
7. The integrated control method for laboratory equipment according to claim 1, characterized in that, After the corresponding experimental device is driven to perform business operations, the execution result returned by the experimental device interface is received to determine whether the business execution of the experimental device is completed or whether there is an exception.
8. A laboratory equipment integrated control system, used to implement the laboratory equipment integrated control method as described in any one of claims 1-7, characterized in that, include: An initialization module is used to initialize a device driver data cache pool, wherein the device driver data cache pool is a data cache list. An add module is used to receive driver data broadcast by experimental devices and add the driver data to a preset device driver data cache pool. All experimental devices are connected to the same local area network, and each experimental device is assigned a unique fixed IP address. All experimental devices broadcast data within the local area network through the mDNS multicast protocol. The business module is used to respond to business instructions, traverse the driver data in the device driver data cache pool, filter out the driver data that matches the business instructions in the device driver data cache pool, and send the driver data that matches the business instructions to the corresponding experimental device to drive the corresponding experimental device to perform business operations.
9. The integrated control system for laboratory equipment according to claim 8, characterized in that, It also includes a monitoring module, which is used to monitor changes in the state of the experimental device after the driver data is added to a preset device driver data cache pool, including: Start polling; The device data of all experimental devices in the device driver data cache pool are sorted according to the device activity level; Calculate the total activity level of all devices, and divide the activity level of each device by the total activity level to obtain the current polling ratio of each device's activity level; Divide the total activity of each device by the amount of device data to obtain the polling time slice; Within the time period corresponding to the total activity level, a traversal of all experimental device driver data in the device driver data cache pool is completed. The driver data of each experimental device is retrieved periodically according to the polling time slice, and a time message is sent to each experimental device. Then, the response messages of each experimental device in response to the time message are received. If no response message is received from the experimental device, it is determined that the experimental device is in an offline state.
10. The application of the laboratory equipment integrated control method according to any one of claims 1-7 in a molecular detection experimental system.
