System equipment integration method, biological detection control method and related device

By initializing and matching business function components in the biological detection automation system to adapt to changes in physical equipment and calling devices using virtual function interfaces, the problem of frequent adjustment of device control layer code is solved, and the system equipment adjustability and efficiency are improved.

CN119248383APending Publication Date: 2025-01-03HC BIOENG (CHENGDU) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411369043.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

When physical equipment is replaced or added in the existing biological detection automation system, the code of the equipment control layer needs to be adjusted a lot to adapt to the new equipment, resulting in poor adjustability of the system equipment and high manpower consumption.

Method used

By initializing the business function components when the system is powered on, matching and allocating physical devices, and calling physical devices using the virtual function interface, the business function components are adaptively compatible with device changes, isolating business management and device control, and avoiding frequent modification of the device control layer code.

Benefits of technology

The system equipment adjustability of the biodetection automation system is improved, and the need for human resources to adjust codes at the equipment control layer is reduced, ensuring that the equipment control layer focuses on business management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248383A_ABST
    Figure CN119248383A_ABST
Patent Text Reader

Abstract

The invention provides a system equipment integration method, a biological detection control method and a related device, and relates to the technical field of biological detection. Functional isolation is carried out between biological detection business management and physical equipment operation control by setting the business function component, and the business function component is adaptively compatible with the actual equipment change condition of the related physical equipment when the biological detection automation system is powered on; related physical equipment is called through the abstracted virtual function interface to execute the biological detection service, so that the adjustment of the physical equipment does not influence an equipment control layer, and the equipment control layer is ensured to focus on the management of the biological detection service; a large amount of human resources do not need to be consumed to modify the codes of the equipment control layer to adapt to the adjusted actual physical equipment condition, so that the system equipment adjustability of the biological detection automation system is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of biological detection technology, and in particular to a system equipment integration method, a biological detection control method and related devices. Background Art

[0002] With the continuous development of science and technology, biological detection technology has been widely used in hospitals, health and epidemic prevention stations, blood transfusion stations, biochemical laboratories, environmental laboratories, food analysis laboratories and other scenarios because it can detect biological components, microorganisms or biomarkers in liquid samples based on biological and chemical reactions to evaluate the safety, quality and health status of the corresponding liquid samples.

[0003] At present, for the automation system of biological detection technology, it is usually necessary to integrate the operation control of multiple physical devices that collaboratively realize the biological detection function into the device control layer, and the device control layer calls the hardware function interface of each physical device according to the biological detection business to be executed, so as to drive each physical device to collaboratively execute the biological detection business. However, it is worth noting that the device control layer of such an automation system needs to take into account both the management of biological detection business and the precise control of physical equipment. When the automation system has physical device device replacement, direct replacement of physical equipment, or addition of physical equipment due to changes in business needs or physical equipment failure, the original program code of the automation system at the device control layer will not be compatible with the actual physical equipment status, and the system R&D personnel need to spend a lot of time and energy to adjust or rewrite the device control layer code to achieve effective adaptation between the device control layer code and the actual physical equipment status. The overall system equipment has poor adjustability and high manpower loss. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a system equipment integration method, a biological detection control method, a biological detection automation system and a readable storage medium, which can perform functional isolation between biological detection business management and physical equipment operation control by setting up business function components, and the business function components adaptively adapt to the actual equipment change status of related physical equipment when the system is powered on, and call the relevant physical equipment to execute biological detection business through the abstracted virtual function interface, so that the adjustment of physical equipment will not affect the equipment control layer, ensuring that the equipment control layer focuses on biological detection business management, without spending a lot of human resources to modify the equipment control layer code to adapt to the actual physical equipment status after adjustment, thereby effectively improving the system equipment adjustability of the biological detection automation system.

[0005] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0006] In a first aspect, the present application provides a system equipment integration method, which is applied to a biological detection automation system, and the method comprises:

[0007] When the biological detection automation system is powered on, all created business function components connected to the device control layer of the biological detection automation system are initialized, and device attribute information of all physical devices currently deployed by the biological detection automation system is obtained; each created business function component corresponds to a business type, each created business function component includes at least one virtual function interface, and each virtual function interface corresponds to a physical device function;

[0008] For each physical device, according to the device attribute information of the physical device, the physical device is matched with all the created business function components respectively by functional interface;

[0009] When it is detected that the physical device successfully matches the target business function component, the physical device is assigned to the target business function component for calling, and then the device driver parameters and real-time operating status of the physical device are obtained, and the device attribute information, device driver parameters and real-time operating status of the physical device are recorded in the target business function component, wherein the target business function component is any created business function component.

[0010] In an optional implementation manner, each created business function component records an identifier association relationship between a type identifier of a corresponding business type and a function identifier of a corresponding virtual function interface, wherein each function identifier corresponds to a physical device function alone. Then, for each physical device, the step of matching the physical device with all created business function components according to the device attribute information of the physical device includes:

[0011] For each created business function component, according to the actual function identifier in the device attribute information of the physical device, a function identifier search is performed in the identifier association relationship corresponding to the created business function component;

[0012] If the actual function identifier of the physical device is found in the identifier association relationship corresponding to the created business function component, the created business function component is used as the target business function component that successfully matches the physical device, otherwise it is determined that the created business function component fails to match the physical device.

[0013] In an optional embodiment, the method further comprises:

[0014] When there is at least one unallocated physical device after the biological detection automation system is powered on, for each unallocated physical device, according to the business association relationship between different business types and different physical device functions, and the actual function identifier of the unallocated physical device in the corresponding device attribute information, it is detected whether there is an expected business function component in all created business function components, wherein the business type corresponding to the expected business function component is consistent with the expected business type corresponding to the actual function identifier;

[0015] If it is detected that the expected service function component does not exist in all created service function components, a service function component connected to the device control layer is created separately for the expected service type, and a virtual function interface corresponding to the physical device function pointed to by the actual function identifier is created in the created service function component;

[0016] After completing the virtual function interface creation operation for all unassigned physical devices, a prompt is provided to power on the biological detection automation system again.

[0017] In an optional implementation, for each unallocated physical device, the step of detecting whether there is an expected business function component in all created business function components according to the business association relationship between different business types and different physical device functions, and the actual function identifier of the unallocated physical device in the corresponding device attribute information, includes:

[0018] Determining, according to the service association relationship, an expected service type corresponding to the actual function identifier of the unassigned physical device;

[0019] Searching for the expected business function component corresponding to the expected business type among all created business function components;

[0020] If the expected business function component is found, it is determined that the expected business function component exists in all created business function components; otherwise, it is determined that the expected business function component does not exist in all created business function components.

[0021] In an optional implementation manner, before completing the virtual function interface creation operation for all unassigned physical devices, the method further includes:

[0022] If it is detected that the expected service function component exists in all created service function components, a virtual function interface corresponding to the physical device function pointed to by the actual function identifier is created at the expected service function component.

[0023] In a second aspect, the present application provides a biological detection control method, which is applied to a biological detection automation system, wherein the biological detection automation system uses the system device integration method described in any one of the aforementioned embodiments to assign all physical devices to different created business function components for calling, and the method includes:

[0024] The device control layer of the biological detection automation system identifies the service type of the target biological detection service to be executed, and sends the target biological detection service to the existing service function component with matching service type;

[0025] Calling the existing business function component to perform business execution analysis on the target biological detection business according to the device attribute information and real-time operation status of each physical device allocated to it, and determining all target physical devices required to execute the target biological detection business;

[0026] For each target physical device, the existing business function component is called to generate a device control instruction matching the target biological detection business based on the device driver parameters of the target physical device, and the target physical device is driven to execute the device control instruction through the corresponding virtual function interface, so that all target physical devices can collaboratively execute the target biological detection business.

[0027] In an optional implementation, the step of calling the existing business function component to perform business execution analysis on the target biological detection business according to the device attribute information and real-time operation status of each physical device allocated to the component, and determining all target physical devices required to execute the target biological detection business includes:

[0028] Extracting service parameters of the target biological detection service to obtain at least one set of target service parameters, wherein each set of target service parameters corresponds to a physical device function involved in the existing service function component;

[0029] According to the real-time operating status of all the physical devices to which the existing business function components are allocated, selecting a physical device to be screened that is currently in an idle state from all the physical devices;

[0030] For each set of target business parameters, any candidate physical device is selected from all the physical devices to be screened, and the candidate physical device is used as a target physical device for the target biological detection business, wherein the candidate physical device satisfies the set of target business parameters, and the actual device function of the candidate physical device matches the set of target business parameters.

[0031] In an optional implementation, for each target physical device, the step of calling the existing business function component to generate a device control instruction matching the target biological detection business based on the device driver parameters of the target physical device includes:

[0032] According to the device driver parameters of the target physical device, key information of the target business parameters corresponding to the target physical device is extracted to obtain target key information adapted to the device driver parameters of the target physical device;

[0033] The target key information and the device driver parameters of the target physical device are merged to generate a device control instruction for the target physical device.

[0034] In a third aspect, the present application provides a biological detection automation system, the system comprising a main control device and multiple physical devices, the main control device is constructed with a device control layer and at least one business function component, each business function component is connected to the device control layer, each business function component corresponds to a business type separately, each business function component includes at least one virtual function interface, each virtual function interface corresponds to a physical device function separately and can be assigned at least one physical device, wherein the device control layer is used to generate biological detection services of different business types, and call the business function component matching the biological detection service to drive at least one physical device to execute the biological detection service;

[0035] The main control device stores a computer program and can run the computer program to implement the system device integration method described in any one of the aforementioned implementations, or the biological detection control method described in any one of the aforementioned implementations.

[0036] In a fourth aspect, the present application provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a biological detection automation system, it implements the system equipment integration method described in any one of the aforementioned embodiments, or the biological detection control method described in any one of the aforementioned embodiments.

[0037] In this case, the beneficial effects of the embodiments of the present application may include the following:

[0038] When the biological detection automation system is powered on, the present application will initialize all created business function components connected to the device control layer of the biological detection automation system, and obtain the device attribute information of all physical devices currently deployed in the biological detection automation system. Then, for each currently deployed physical device, according to the device attribute information of the physical device, the physical device is matched with all created business function components respectively for function interface, and when it is detected that the physical device matches the target business function component successfully, the physical device is assigned to the target business function component for calling, and at the same time, the device attribute information, device driver parameters and real-time operation status of the physical device are recorded in the target business function component, and the target business function component is adaptively compatible with the actual device change status of the relevant physical device, and can call the relevant physical device to perform biological detection business through the abstracted virtual function interface, so as to isolate the function between the biological detection business management and the physical device operation control by setting the business function component, ensure that the adjustment of the physical device will not affect the device control layer, so that the device control layer can focus on the management of the biological detection business, without spending a lot of human resources to modify the device control layer code to adapt to the actual physical device status after adjustment, so as to effectively improve the system equipment adjustability of the biological detection automation system.

[0039] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A schematic diagram of the composition of the biological detection automation system provided in the embodiment of the present application;

[0042] Figure 2 A schematic diagram of the connection between the service function components and the device control layer provided in the embodiment of the present application;

[0043] Figure 3 One of the flow diagrams of the system equipment integration method provided in the embodiment of the present application;

[0044] Figure 4 The second flowchart of the system device integration method provided in the embodiment of the present application;

[0045] Figure 5A schematic diagram of a biological detection control method provided in an embodiment of the present application;

[0046] Figure 6 for Figure 5 A schematic flow chart of the sub-steps included in step S320;

[0047] Figure 7 for Figure 5 Schematic diagram of the flow chart of the sub-steps included in step S330.

[0048] Icons: 10-Biological detection automation system; 11-Main control equipment; 12-Physical equipment. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0050] 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 which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0051] 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, further definition and explanation thereof is not required in subsequent drawings.

[0052] In the description of the present application, it should be understood that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, or are the orientations or positional relationships in which the product of the application is conventionally placed when in use, or are the orientations or positional relationships conventionally understood by those skilled in the art. They are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0053] In the description of this application, it should also be noted that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0054] In addition, in the description of the present application, it is understood that the relational terms such as the term "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements that are not clearly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood by specific circumstances.

[0055] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0056] Please refer to Figure 1 and Figure 2 ,in Figure 1 is a schematic diagram of the composition of the biological detection automation system 10 provided in the embodiment of the present application, Figure 2 It is a connection diagram of the business function components and the device control layer provided in the embodiment of the present application. In the embodiment of the present application, the biological detection automation system 10 may include a main control device 11 and multiple physical devices 12, and the multiple physical devices 12 cooperate with each other to realize the biological detection automation function, and each of the physical devices 12 has at least one physical device function (for example, the physical device "single-channel pipette" or "multi-channel pipette" has two physical device functions "liquid suction" and "liquid spraying", the physical device "constant temperature oscillator" has two physical device functions "heating" and "oscillation", and the physical device "magnetic device" has one physical device function "magnetic suction"), and the number of physical devices with the same physical device function in the multiple physical devices 12 can be multiple.

[0057] Among them, the main control device 11 is constructed with a device control layer and at least one business function component for the multiple physical devices 12, so that each business function component can correspond individually to a type of biological detection business managed by the device control layer (for example, the "pipetting business function component" corresponds individually to the biological detection business type "sample pipetting business", the "heating oscillation business function component" corresponds individually to the biological detection business type "solution constant temperature mixing business", and the "magnetic suction business function component" corresponds individually to the biological detection business type "magnetic separation business"). Each business function component includes at least one virtual function interface, and corresponds individually to a physical device function through a single virtual function interface, wherein the virtual function interfaces included in different business function components are different from each other (for example, the "pipetting business function component" includes two abstracted virtual function interfaces "liquid aspiration virtual function interface" and "liquid spraying virtual function interface", and the "magnetic suction business function component" includes an abstracted virtual function interface "magnetic suction virtual function interface", wherein the virtual function interfaces "liquid aspiration virtual function interface", "liquid spraying virtual function interface" and "magnetic suction virtual function interface" correspond to different physical device functions).

[0058] In this embodiment, the main control device 11 can be respectively communicated and connected with the multiple physical devices 12, and the multiple physical devices 12 are respectively assigned to the virtual function interfaces included in each business function component for calling, so that each virtual function interface and the physical device function corresponding to at least one physical device 12 to which the virtual function interface is assigned are consistent; the device control layer is respectively connected to the at least one business function component, so that the device control layer responds to the biological detection needs of the system users, generates a biological detection business matching the biological detection needs, and calls the business function component with the same business type as the generated biological detection business to execute the business, and each business function component can call the assigned biological detection business through all virtual function interfaces included in it when obtaining the biological detection business matching the business type it is responsible for. At least one of all the assigned physical devices 12 executes the bioassay service, wherein each constructed business function component will record the device-related information (for example, device attribute information, device driver parameters and real-time operation status, etc.) of the related physical device assigned to itself when the bioassay automation system 10 is powered on, so as to adaptively be compatible with the actual device change status of the related physical device, wherein the device attribute information may include the device name of the corresponding physical device 12, the actual function identifier representing the function of the specific physical device, the device component composition (for example, an 8-channel pipetting head or a 96-channel pipetting head), etc., the device driver parameters are used to represent the relevant parameters for driving the movement of the corresponding physical device 12, and the real-time operation status is used to represent whether the real-time working state of the corresponding physical device 12 is an idle state or a busy state.

[0059] Therefore, the various business function components constructed in the biological detection automation system 10 can realize the functional isolation between the biological detection business management and the physical equipment operation control, so that the device control layer in the biological detection automation system 10 can only focus on the biological detection business management, without paying attention to whether there are actual physical equipment changes in the corresponding automation system (for example, adding a physical device 12 with a certain physical device function related to the created business function component, replacing the original physical device 12 with the same physical device function, replacing some components of the original physical device 12, adding a physical device 12 for performing other biological detection businesses unrelated to the created business function component, adding a physical device 12 with other physical device functions unrelated to the existing virtual function interface, etc.), and at the same time, the actual physical device change status will not affect the device control layer code, and the actual device change status of the relevant physical devices can be directly adaptively compatible with each business function component, without spending a lot of human resources to modify the device control layer code to adapt to the actual physical device status after the change, which can effectively improve the system equipment adjustability of the biological detection automation system 10.

[0060] On this basis, the main control device 11 can pre-store a first specific computer program related to the physical device allocation operation and the business function component creation operation, and by running the first specific computer program, functional isolation is performed between the biological detection business management and the physical device operation control by setting up a business function component. The business function component adaptively adapts to the actual device change status of the relevant physical device when the system is powered on, and calls the relevant physical device 12 to execute the biological detection business through the abstracted virtual function interface, so that the adjustment of the physical device will not affect the device control layer, ensuring that the device control layer focuses on the biological detection business management, without spending a lot of human resources to modify the device control layer code to adapt to the actual physical device status after adjustment, thereby effectively improving the system equipment adjustability of the biological detection automation system 10.

[0061] In addition, the main control device 11 may also pre-store a second specific computer program related to driving different physical devices 12 to perform biological detection services based on the created business function components, and by running the second specific computer program, drive the appropriate physical device 12 to perform the desired biological detection service without modifying the device control layer code, so that the device control layer can only focus on the management of the biological detection service and avoid the negative impact of physical device adjustments on the device control layer.

[0062] Understandably, Figure 1 The block diagram shown is only a schematic diagram of a composition of the biological detection automation system 10. The biological detection automation system 10 may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0063] In the present application, in order to ensure that the biodetection automation system 10 can utilize the business function components to adaptively and compatiblely adapt to the actual equipment changes of related physical equipment when the system is powered on, and realize the functional isolation between the biodetection business management and the physical equipment operation control, so that the adjustment of the physical equipment will not affect the equipment control layer, and ensure that the equipment control layer can only focus on the biodetection business management, and the business function components are responsible for the physical equipment operation control, there is no need to spend a lot of human resources to modify the equipment control layer code to adapt to the actual physical equipment status after the change, so as to effectively improve the adjustability of the system equipment, the embodiment of the present application achieves the above-mentioned purpose by providing a system equipment integration method, and the system equipment integration method provided by the present application is described in detail below.

[0064] Please refer to Figure 3 , Figure 3 This is one of the flow diagrams of the system device integration method provided in the embodiment of the present application. In the embodiment of the present application, the system device integration method may include steps S210 to S230.

[0065] Step S210, when the biological detection automation system is powered on, all created business function components connected to the device control layer of the biological detection automation system are initialized, and device attribute information of all physical devices currently deployed in the biological detection automation system is obtained.

[0066] In this embodiment, when the biological detection automation system 10 is powered on, the main control device 11 will load all the currently existing created business function components and initialize each created business function component to clear the device-related information of the relevant physical device 12 recorded by each created business function component before the system is powered on, so that each created business function component only records the type identifier of the business type it is responsible for and the identification association relationship between the function identifiers of each existing virtual function interface, wherein the identification association relationship is used to characterize the biological detection business type that the corresponding created business function component currently needs to be responsible for, and the physical device function composition that the created business function component can currently involve when the physical device is called.

[0067] When the biological detection automation system 10 is powered on, all physical devices 12 currently included in the biological detection automation system 10 will feedback their own device attribute information to the main control device 11, so that the main control device 11 can abstractly integrate multiple physical devices 12 that undertake the same type of biological detection business into the same business function component, and the business function component will replace the existing device control layer to implement the physical device operation control function, so that the adjustment of the physical device will not affect the device control layer in this application, ensuring that the device control layer can focus on the management of the biological detection business, without spending a lot of human resources to modify the device control layer code to adapt to the actual physical device status after the adjustment.

[0068] Step S220 : for each physical device, matching the physical device with all created business function components based on the device attribute information of the physical device.

[0069] In this embodiment, after the main control device 11 obtains the device attribute information of each physical device 12 currently included in the biological detection automation system 10, it will, for each currently existing physical device 12, based on the actual function identifier recorded in the device attribute information of the physical device 12 (i.e., the identifier representing the physical device function possessed by the physical device 12), search among all currently existing created business function components to see whether there is a virtual function interface that matches the actual function identifier, so as to achieve function interface matching between the physical device 12 and each created business function component.

[0070] Among them, when one or several virtual function interfaces included in a created business function component match all actual function identifiers of a physical device 12, it can be indicated that all physical device functions possessed by the physical device 12 are used to execute biological detection business corresponding to the business type that the created business function component is responsible for. At this time, no matter whether the physical device 12 is a physical device 12 with a newly added physical device function related to an existing virtual function interface, or a brand new physical device 12 after the original physical device 12 is replaced with the same physical device function, or the original physical device 12 with only some components replaced, the physical device 12 needs to be divided into the created business function component for calling, and the created business function component implements the physical device operation control function for the physical device 12.

[0071] If all the existing created business function components do not include a virtual function interface that matches the actual function identifier of a physical device 12, it means that the physical device 12 is a physical device 12 that was added before the system was powered on and is unrelated to the existing virtual function interface or the created business function component. At this time, it is necessary to create or adjust the business function component separately for the physical device 12 so that the modified business function component composition can effectively be compatible with the actual device change status of the physical device 12, thereby improving the system equipment adjustability of the biological detection automation system 10.

[0072] Optionally, in an implementation of this embodiment, for each physical device 12 currently deployed by the biological detection automation system 10, the step of matching the physical device 12 with all created business function components according to the device attribute information of the physical device 12 may include:

[0073] For each created business function component, according to the actual function identifier in the device attribute information of the physical device 12, a function identifier search is performed in the identifier association relationship corresponding to the created business function component;

[0074] If the actual function identifier of the physical device 12 is found in the identifier association relationship corresponding to the created business function component, the created business function component is used as the target business function component that successfully matches the physical device 12, otherwise it is determined that the created business function component fails to match the physical device.

[0075] Therefore, the present application can achieve matching of the physical device composition of the biological detection automation system 10 when the system is powered on with the functional interfaces between each created business function component by executing the specific step process of the above step S220.

[0076] Step S230, when it is detected that the physical device successfully matches the target business function component, the physical device is assigned to the target business function component for calling, and then the device driver parameters and real-time operating status of the physical device are obtained, and the device attribute information, device driver parameters and real-time operating status of the physical device are recorded in the target business function component.

[0077] In this embodiment, the target business function component is any created business function component; the main control device 11 divides the actual system physical device composition according to the physical device function type, so that multiple physical devices 12 that undertake the same type of biological detection business can be abstractly integrated into the same business function component, and the business function component calls each physical device 12 assigned to perform business execution for this type of biological detection business (i.e., a certain type of biological detection business), so as to ensure that the business function component can achieve functional isolation between biological detection business management and physical device operation control for this type of biological detection business, prevent physical device adjustments from affecting the device control layer, so that the device control layer can only focus on biological detection business management, without spending a lot of human resources to modify the device control layer code to adapt to the actual physical device status after the change, so as to effectively improve the adjustability of system equipment.

[0078] Among them, when a current physical device 12 of the biological detection automation system 10 is assigned to a target business function component for calling, the main control device 11 will inform the physical device 12 to provide device-related information feedback. At this time, the physical device 12 will send its own device driver parameters to the main control device 11, and the main control device 11 will record the device driver parameters of the physical device 12 in the corresponding target business function component. At the same time, the physical device 12 will also feedback its own real-time operating status to the main control device 11 in real time, and the main control device 11 will update the real-time operating status of the physical device 12 in the corresponding target business function component record in real time, thereby ensuring that the business function component in this application can adaptively and compatible with the actual device change status of the relevant physical device when the system is powered on, and call the relevant physical device to perform biological detection business through the abstracted virtual function interface, thereby realizing the functional isolation between biological detection business management and physical device operation control.

[0079] Therefore, the present application can implement functional isolation between biodetection business management and physical equipment operation control by executing the above steps S210 to S230 and utilizing business function components to adaptively adapt to actual equipment changes of related physical equipment when the system is powered on, so that physical equipment adjustments will not affect the equipment control layer, ensuring that the equipment control layer can only focus on biodetection business management, with business function components responsible for physical equipment operation control. There is no need to spend a lot of human resources to modify the equipment control layer code to adapt to the actual physical equipment conditions after changes, so as to effectively improve the adjustability of system equipment.

[0080] Optionally, see Figure 4 , Figure 4 This is the second flow chart of the system device integration method provided in the embodiment of the present application. Figure 3 Compared with the system device integration method shown, Figure 4 The system device integration method shown may also include steps S250 to S280 to construct adaptive business function components and / or virtual function interfaces for the physical devices 12 that are not allocated when the system is powered on, to ensure that the unallocated physical devices 12 can be abstractly integrated into appropriate business function components for calling when the system is powered on next time, thereby avoiding the impact of actual physical device changes on the device control layer code.

[0081] Step S250, when there is at least one unallocated physical device after the biological detection automation system is powered on, for each unallocated physical device, based on the business association relationship between different business types and different physical device functions, and the actual function identifier of the unallocated physical device in the corresponding device attribute information, check whether there is an expected business function component among all created business function components.

[0082] In this embodiment, for the biological detection automation system 10, when the biological detection automation system 10 is powered on for the first time, the number of created business function components at the main control device 11 is 0 (that is, there are no created business function components at the main control device 11). At this time, each physical device 12 currently deployed by the biological detection automation system 10 belongs to an unallocated physical device, and when the biological detection automation system 10 is not powered on for the first time, the number of created business function components at the main control device 11 is greater than 0. At this time, each unallocated physical device in the biological detection automation system 10 belongs to a special physical device added before the system is powered on, and the special physical device is not related to the existing virtual function interface or the created business function component.

[0083] In this embodiment, the main control device 11 may store business associations between different types of biological detection services and different physical device functions, and the business associations record the physical device functions required to perform the biological detection services of the corresponding business types, and the business associations may be adjusted by system users according to the needs of biological detection services. Therefore, when the main control device 11 determines all unallocated physical devices of the biological detection automation system 10 after power-on, it will traverse all unallocated physical devices in a specific order, and for each unallocated physical device traversed, according to the business associations and the actual function identifier of the unallocated physical device, in the existing created business function components before traversing to the unallocated physical device, find whether the business type corresponding to a certain business function component is consistent with the expected business type associated with the actual function identifier, so as to detect whether there is an expected business function component in all currently created business function components. Among them, the business type corresponding to the expected business function component is consistent with the expected business type corresponding to the actual function identifier of a certain unallocated physical device.

[0084] In this embodiment, when traversing to an unallocated physical device and detecting that there is an expected business function component that matches the unallocated physical device among all the created business function components that exist at that time, it means that the expected business function component may not have a virtual function interface that matches the function of the unallocated physical device among all the virtual function interfaces that exist at that time. At this time, it is necessary to construct a virtual function interface that matches the function of the unallocated physical device based on the expected business function component by executing step S260 to ensure that the corresponding modified expected business function component can effectively be compatible with the actual device change status of the unallocated physical device, thereby improving the system equipment adjustability of the biological detection automation system 10. When it is detected that there is no expected business function component matching the unallocated physical device among all the existing created business function components at that time, it means that the business function component responsible for the expected business type corresponding to the unallocated physical device has not been created. At this time, it is necessary to create an additional adapted expected business function component for the unallocated physical device by executing step S270, and build a virtual function interface matching the function of the unallocated physical device based on the created expected business function component to ensure that the corresponding newly added expected business function component can also effectively be compatible with the actual device change status of the unallocated physical device, thereby improving the system equipment adjustability of the biological detection automation system 10.

[0085] Optionally, in an implementation of this embodiment, for each unassigned physical device of the biological detection automation system 10 after the system is powered on, the step of detecting whether there is an expected business function component in all created business function components according to the business association relationship between different business types and different physical device functions, and the actual function identifier of the unassigned physical device in the corresponding device attribute information, may include:

[0086] Determining, according to the service association relationship, an expected service type corresponding to the actual function identifier of the unassigned physical device;

[0087] Searching for the expected business function component corresponding to the expected business type among all created business function components;

[0088] If the expected business function component is found, it is determined that the expected business function component exists in all created business function components; otherwise, it is determined that the expected business function component does not exist in all created business function components.

[0089] Therefore, the present application can automatically detect whether there is a desired business function component matching the unallocated physical device among all the created business function components existing at that time by executing the specific step process of step S250 above, for each unallocated physical device traversed in sequence.

[0090] Step S260: Create a virtual function interface corresponding to the physical device function pointed to by the actual function identifier at the desired business function component.

[0091] In this embodiment, when traversing to an unallocated physical device, and there is an expected business function component matching the unallocated physical device at that time, it is possible to preferentially detect whether the function identifiers of all virtual function interfaces existing at that time of the expected business function component match the actual function identifier of the unallocated physical device, so as to avoid the phenomenon of repeated creation of virtual function interfaces. Among them, if it is detected that the function identifier of a certain virtual function interface is consistent with the actual function identifier, it means that the virtual function interface matching the function of the unallocated physical device has been successfully created before traversing to the unallocated physical device, and there is no need to repeatedly create a virtual function interface corresponding to the actual function identifier; and if it is detected that the function identifiers of all virtual function interfaces existing at that time are different from the actual function identifier, it means that the virtual function interface matching the function of the unallocated physical device has not been created at that time, and it is necessary to create a virtual function interface corresponding to the physical device function pointed to by the actual function identifier at the expected business function component.

[0092] Step S270: A service function component connected to the device control layer is created separately for the expected service type, and a virtual function interface corresponding to the physical device function pointed to by the actual function identifier is created in the created service function component.

[0093] Step S280: After completing the virtual function interface creation operation for all unassigned physical devices, a prompt is given to power on the biological detection automation system again.

[0094] In this embodiment, when it is ensured that all unassigned physical devices of the biological detection automation system 10 after power-on have corresponding virtual function interfaces with device functions matching the existing created business function components by executing the above steps S250 to S270, the main control device 11 can prompt the outside to "re-power on the biological detection automation system 10", and then start the next system power-on process under the operation of the system user or the system automatic power-on restart program, so that the biological detection automation system 10 can execute the above steps S210 to S230 when the system is powered on next time, and all physical devices 12 currently deployed by the biological detection automation system 10 are abstractly integrated into each created business function component for calling, thereby avoiding the impact of actual physical device changes on the device control layer code, eliminating the need to spend a lot of human resources to modify the device control layer code to adapt to the actual physical device conditions after changes, and effectively improving the adjustability of system equipment.

[0095] Therefore, the present application can construct an adaptive business function component and / or virtual function interface for the physical device 12 that is not assigned when the system is powered on by executing the above steps S250 to S280, thereby ensuring that the unassigned physical device 12 can be abstracted and integrated into the appropriate business function component for calling when the system is powered on next time, thereby avoiding the impact of actual physical device changes on the device control layer code and effectively improving the adjustability of the system equipment.

[0096] In the present application, in order to ensure that the biodetection automation system 10 can drive the appropriate physical device 12 to perform the desired biodetection business by calling the business function component without modifying the device control layer code, so that the device control layer can only focus on the management of the biodetection business and avoid the negative impact of physical device adjustments on the device control layer, the embodiment of the present application achieves the above-mentioned purpose by providing a biodetection control method. The biodetection control method provided by the present application is described in detail below.

[0097] Please refer to Figure 5 , Figure 5Schematic diagram of the biological detection control method provided in the embodiment of the present application. In the embodiment of the present application, the biological detection control method may include steps S310 to S330.

[0098] Step S310 : the device control layer of the biological detection automation system identifies the service type of the target biological detection service to be executed, and sends the target biological detection service to an existing service function component with matching service type.

[0099] In this embodiment, when the device control layer responds to the biological detection needs of the system user and generates a target biological detection business that matches the biological detection needs (for example, "transfer the reagents in the first column of the 96-well deep-well plate to the first column of the 8-well strip of the PCR plate at a speed of 200 μl / s"), it will search for existing business function components that match the target biological detection business type from a large number of created business function components (for example, Figure 2 ), and sends the target biological detection business to the matching existing business function component to call the existing business function component to drive the allocated part of the physical device 12 to execute the target biological detection business.

[0100] Step S320 , calling the existing business function component to perform business execution analysis on the target biological detection business according to the device attribute information and real-time operation status of each physical device allocated to it, and determining all target physical devices required to execute the target biological detection business.

[0101] In this embodiment, when the existing business function component receives the target biological detection business, it will perform a business execution analysis on the target biological detection business, determine the relevant hardware parameter conditions that the target physical device required to execute the target biological detection business must meet, and then perform physical device screening based on the device attribute information and real-time operating status of each physical device allocated to the existing business function component, so as to select the target physical device composition that can currently execute the target biological detection business.

[0102] Optionally, see Figure 6 , Figure 6 yes Figure 5 Flow chart of sub-steps included in step S320 of the present application. In the embodiment of the present application, step S320 may include sub-steps S321 to S323 to quickly and accurately determine the adapted target physical device composition for the target biological detection service.

[0103] Sub-step S321 , extracting service parameters of the target biological detection service to obtain at least one set of target service parameters.

[0104] In this embodiment, each set of target business parameters corresponds to a physical device function involved in the existing business function component. For example, for the biological detection business "transferring the reagents in the first column of the 96-well deep-well plate to the first column of the 8-well wells of the PCR plate at a speed of 200μl / s", the business action of the biological detection business can be disassembled into the task work "pipetting liquid at a speed of 200μl / s in the first column of the 96-well deep-well plate" and the task work "spraying liquid at a speed of 200μl / s in the first column of the 8-well well of the PCR plate". The biological detection business involves two physical device functions involved in the "liquid transfer business function component", namely "pipetting liquid" and "spraying liquid". A set of target business parameters corresponding to the physical device function "liquid aspiration" is "the number of liquid aspiration heads is at least 8, the liquid aspiration position is the first column of a 96-well deep-well plate, the liquid aspiration speed is 200 μl / s, and the liquid aspiration volume per well is the volume of a single well of a 96-well deep-well plate (for example, 100 μl)", and another set of target business parameters corresponding to the physical device function "liquid spraying" is "the number of liquid spraying heads is at least 8, the liquid spraying position is the first column of a PCR plate, the liquid spraying speed is 200 μl / s, and the liquid spraying volume per well is the volume of a single well of a 96-well deep-well plate (for example, 100 μl)".

[0105] Sub-step S322, according to the real-time running status of all the physical devices to which the existing business function components are allocated, selecting a physical device to be screened that is currently in an idle state from all the physical devices.

[0106] In this embodiment, for any business functional component, since it can record the real-time operating status of each physical device assigned to it through the communication connection between the main control device 11 and different physical devices 12, and when it is necessary to execute a certain biological detection business, it can select the physical device to be screened that is currently in an idle state from the many physical devices 12 assigned to it, so as to further extract the target physical device suitable for executing the biological detection business from the selected physical devices to be screened.

[0107] Sub-step S323 , for each set of target service parameters, select any candidate physical device from all selected physical devices to be screened, and use the candidate physical device as a target physical device for the target biological detection service.

[0108] In this embodiment, any candidate physical device needs to meet the corresponding target business parameters, and the actual device function of the candidate physical device must also match the set of target business parameters. It can be understood that when a physical device 12 itself takes into account multiple physical device functions under the same type of biological detection business (for example, the physical device "96-channel pipette" has two physical device functions "liquid aspiration" and "liquid spraying"), if the physical device 12 is selected as the target physical device, the physical device 12 can be responsible for the task action execution of multiple sets of target business parameters of the target biological detection business.

[0109] Therefore, the present application can quickly and accurately determine the adapted target physical device composition for the target biological detection business by executing the above sub-steps S321 to S323.

[0110] Step S330, for each target physical device, call the existing business function component to generate a device control instruction matching the target biological detection business based on the device driver parameters of the target physical device, and drive the target physical device to execute the device control instruction through the corresponding virtual function interface, so that all target physical devices can collaboratively execute the target biological detection business.

[0111] In this embodiment, when all target physical devices required to execute the target biological detection service are determined, device control instructions matching the target biological detection service can be generated for each target physical device according to the device driver parameters of each target physical device, and then according to the actual physical device function corresponding to each device control instruction, the virtual function interface matching the device function is called to send the corresponding device control instruction to the adapted target physical device to drive the corresponding target physical device to execute the received device control instruction, thereby executing the target biological detection service collaboratively through all target physical devices. Among them, when a physical device 12 executes a device control instruction, the actual working state of the physical device 12 will be set to a busy state, at which time the physical device 12 will update its real-time operating state at the business function component to which it belongs in a busy state, and when the physical device 12 completes the execution of the device control instruction, the actual working state of the physical device 12 will be set to an idle state, at which time the physical device 12 will update its real-time operating state at the business function component to which it belongs in an idle state.

[0112] Optionally, see Figure 7 , Figure 7 yes Figure 5Flow chart of the sub-steps included in step S330. In an embodiment of the present application, the step "for each target physical device, calling the existing business function component based on the device driver parameters of the target physical device to generate a device control instruction matching the target biological detection business" in step S330 may include sub-steps S331 to S332 to generate a device control instruction corresponding to the relevant physical device function for the target biological detection business.

[0113] Sub-step S331 , extracting key information of target business parameters corresponding to the target physical device according to the device driver parameters of the target physical device, and obtaining target key information adapted to the device driver parameters of the target physical device.

[0114] Sub-step S332, merging the target key information and the device driver parameters of the target physical device to generate a device control instruction for the target physical device.

[0115] Each device control instruction is used to drive the corresponding target physical device to execute a task action that matches the corresponding target business parameter.

[0116] Therefore, the present application can generate device control instructions corresponding to the functions of relevant physical devices for the target biological detection business by executing the above sub-steps S331 to S332.

[0117] At the same time, the present application can drive the appropriate physical device 12 to perform the desired biological detection business by calling the business function component without modifying the device control layer code by executing the above steps S310 to S320, so that the device control layer can only focus on the management of the biological detection business and avoid the negative impact of physical device adjustments on the device control layer.

[0118] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0119] In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. If the various functions provided by the present application are implemented in the form of software functional modules and sold or used as independent products, they can be stored in a readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, including a number of instructions to make the biological detection automation system 10 of any composition perform all or part of the steps of the method recorded in each embodiment of the present application. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or CD and other various media that can store program codes.

[0120] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A system equipment integration method, characterized in that: Applied to a biological detection automation system, the method comprises: When the biological detection automation system is powered on, all created business function components connected to the device control layer of the biological detection automation system are initialized, and device attribute information of all physical devices currently deployed by the biological detection automation system is obtained; each created business function component corresponds to a business type, each created business function component includes at least one virtual function interface, and each virtual function interface corresponds to a physical device function; For each physical device, according to the device attribute information of the physical device, the physical device is matched with all the created business function components respectively by functional interface; When it is detected that the physical device successfully matches the target business function component, the physical device is assigned to the target business function component for calling, and then the device driver parameters and real-time operating status of the physical device are obtained, and the device attribute information, device driver parameters and real-time operating status of the physical device are recorded in the target business function component, wherein the target business function component is any created business function component.

2. The method according to claim 1, characterized in that Each created business function component records an identifier association relationship between a type identifier of a corresponding business type and a function identifier of a corresponding virtual function interface, wherein each function identifier corresponds to a physical device function alone. Then, for each physical device, the step of matching the physical device with all created business function components according to device attribute information of the physical device includes: For each created business function component, according to the actual function identifier in the device attribute information of the physical device, a function identifier search is performed in the identifier association relationship corresponding to the created business function component; If the actual function identifier of the physical device is found in the identifier association relationship corresponding to the created business function component, the created business function component is used as the target business function component that successfully matches the physical device, otherwise it is determined that the created business function component fails to match the physical device.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: When there is at least one unallocated physical device after the biological detection automation system is powered on, for each unallocated physical device, according to the business association relationship between different business types and different physical device functions, and the actual function identifier of the unallocated physical device in the corresponding device attribute information, it is detected whether there is an expected business function component in all created business function components, wherein the business type corresponding to the expected business function component is consistent with the expected business type corresponding to the actual function identifier; If it is detected that the expected business function component does not exist in all the created business function components, a business function component connected to the device control layer is created separately for the expected business type, and a virtual function interface corresponding to the physical device function pointed to by the actual function identifier is created in the created business function component; After completing the virtual function interface creation operation for all unassigned physical devices, a prompt is provided to power on the biological detection automation system again.

4. The method according to claim 3, characterized in that For each unallocated physical device, the step of detecting whether there is an expected business function component in all created business function components according to the business association relationship between different business types and different physical device functions, and the actual function identifier of the unallocated physical device in the corresponding device attribute information, includes: Determining, according to the service association relationship, an expected service type corresponding to the actual function identifier of the unassigned physical device; Searching for the expected business function component corresponding to the expected business type among all created business function components; If the expected service function component is found, it is determined that the expected service function component exists in all created service function components; otherwise, it is determined that the expected service function component does not exist in all created service function components.

5. The method according to claim 3, characterized in that: Before completing the virtual function interface creation operation for all unassigned physical devices, the method further includes: If it is detected that the expected service function component exists in all created service function components, a virtual function interface corresponding to the physical device function pointed to by the actual function identifier is created at the expected service function component.

6. A biological detection control method, characterized in that: Applied to a biological detection automation system, wherein the biological detection automation system adopts the system device integration method according to any one of claims 1 to 5 to allocate all physical devices to different created business function components for calling, and the method comprises: The device control layer of the biological detection automation system identifies the service type of the target biological detection service to be executed, and sends the target biological detection service to the existing service function component with matching service type; Calling the existing business function component to perform business execution analysis on the target biological detection business according to the device attribute information and real-time operation status of each physical device allocated to it, and determining all target physical devices required to execute the target biological detection business; For each target physical device, the existing business function component is called to generate a device control instruction matching the target biological detection business based on the device driver parameters of the target physical device, and the target physical device is driven to execute the device control instruction through the corresponding virtual function interface, so that all target physical devices can collaboratively execute the target biological detection business.

7. The method according to claim 6, characterized in that The step of calling the existing business function component to perform business execution analysis on the target biological detection business according to the device attribute information and real-time operation status of each physical device allocated to the component, and determining all target physical devices required to execute the target biological detection business, includes: Extracting service parameters of the target biological detection service to obtain at least one set of target service parameters, wherein each set of target service parameters corresponds to a physical device function involved in the existing service function component; According to the real-time operating status of all the physical devices to which the existing business function components are allocated, selecting a physical device to be screened that is currently in an idle state from all the physical devices; For each set of target business parameters, any candidate physical device is selected from all the physical devices to be screened, and the candidate physical device is used as a target physical device for the target biological detection business, wherein the candidate physical device satisfies the set of target business parameters, and the actual device function of the candidate physical device matches the set of target business parameters.

8. The method according to claim 7, characterized in that For each target physical device, the step of calling the existing business function component to generate a device control instruction matching the target biological detection business based on the device driver parameters of the target physical device includes: According to the device driver parameters of the target physical device, key information of the target business parameters corresponding to the target physical device is extracted to obtain target key information adapted to the device driver parameters of the target physical device; The target key information and the device driver parameters of the target physical device are merged to generate a device control instruction for the target physical device.

9. A biological detection automation system, characterized in that: The system includes a main control device and multiple physical devices, wherein a device control layer and at least one business function component are constructed at the main control device, each business function component is connected to the device control layer, each business function component corresponds to a business type, each business function component includes at least one virtual function interface, each virtual function interface corresponds to a physical device function and can be assigned at least one physical device, wherein the device control layer is used to generate biological detection services of different business types, and call the business function component matching the biological detection service to drive at least one physical device to execute the biological detection service; The main control device stores a computer program and can run the computer program to implement the system device integration method described in any one of claims 1 to 5, or the biological detection control method described in any one of claims 6 to 8.

10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a biological detection automation system, it implements the system equipment integration method described in any one of claims 1 to 5, or the biological detection control method described in any one of claims 6 to 8.