Equipment data driving method and device, equipment and computer readable storage medium

By writing and orchestrating the logical operation components of laboratory equipment, a data flow driving the operation of the equipment is formed, which solves the error operation and delay problems caused by manual judgment in complex laboratory operations, and realizes the automated linkage and efficient operation of the equipment.

CN119917099APending Publication Date: 2025-05-02上海飞腾医药科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410199611.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-10-30
Filing Date
2024-02-23
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

In complex laboratory operation scenarios, since the interaction between devices mainly relies on manual judgment, problems such as error operation rate, operation delay and operation sequence error occur frequently.

Method used

By writing logical operation components associated with laboratory equipment and can control the operation of the equipment, and orchestrating these components in sequence according to preset device operation logic, forming a data stream that drives the operation of the equipment, thereby automatically controlling the operation of the laboratory equipment.

Benefits of technology

The automated operation of laboratory equipment is realized, the error operation rate and operation delay of manual participation is reduced, and the operation sequence is error-free.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917099A_ABST
    Figure CN119917099A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment data driving method and device, equipment and a computer readable storage medium. The method comprises the following steps: compiling a logic operation component which is related to the equipment and controls the equipment to operate according to a plurality of pieces of equipment; performing component logic sequence arrangement on the logic operation component according to a preset equipment operation logic to form an equipment driving data stream which is the same as the preset equipment operation logic and is used for driving equipment to operate; all the devices are started, and the devices are operated according to the device driving data flow. In the embodiment of the invention, equipment linkage and equipment automatic operation of the laboratory equipment can be realized, the misoperation rate of manual participation is reduced, and the conditions of operation delay and wrong operation sequence are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Now many laboratories have introduced many IoT devices (such as smart balances, magnetic stirrers, etc.), and coupled with the collection and control systems of some IoT devices, data collection of IoT devices and remote control of equipment have been completed, which has greatly improved the efficiency and accuracy of the laboratory, and also reduced the risks and error rates in the operation process to a certain extent.

[0003] Although the laboratory equipment has been transformed into intelligent equipment and data collection and remote control of the equipment have been realized, the interaction between the equipment still relies mainly on manual judgment. For example, the experimenter needs to see that the temperature collector has reached the threshold before issuing the start command of the agitator. The interaction of the equipment in the entire experimental process is completely connected by the experimenter. In some more complex operation scenarios (for example, when device A collects data of a certain value, it is necessary to operate M devices in series first, and then operate N devices in parallel after completion), manual operation errors, operation delays, and sequence errors occur frequently. Summary of the invention

[0004] The main purpose of the present invention is to propose a device data driving method, apparatus, device and readable storage medium, aiming to reduce the error rate of manual operation, reduce the operation delay and the occurrence of operation sequence errors.

[0005] To achieve the above object, the present invention provides a device data driving method, the method comprising:

[0006] According to a number of devices, write logic operation components related to the devices and controlling the operation of the devices;

[0007] Arrange the logic operation components in a logical order according to the preset device operation logic to form a device driving data flow that drives the device operation and is the same as the preset device operation logic;

[0008] All the devices are turned on, and the devices are operated according to the device driver data flow.

[0009] In an optional manner, the logic operation component includes an execution component for running a device and a selection component for selectively running at least two devices with the same function; the logic operation component related to the device and controlling the operation of the device is written according to the plurality of devices, including:

[0010] Writing the execution components for controlling the operation of the devices according to a plurality of devices;

[0011] A selection component is written according to at least two devices with the same function to select one device to run from among the at least two devices with the same function.

[0012] In an optional manner, the logic operation components are arranged in a component logic order according to a preset device operation logic to form a device driving data flow that drives the device operation in the same manner as the preset device operation logic, including:

[0013] Arranging the execution components and the selection components in a preset arrangement manner according to a preset device operation logic sequence to obtain a component arrangement sequence;

[0014] Arrange the execution component and the selection component to obtain input parameter data from a preset data container according to the component arrangement order and arrange the output parameter data of the execution component and the selection component to be updated to the data container to form a component input parameter data flow and a component output parameter data flow;

[0015] According to the component input parameter data stream and component output parameter data stream of the execution component, the component input parameter data stream and component output parameter data stream of the selection component and the component arrangement order, a device driving data stream that drives the device operation with the same logic as the preset device operation is formed.

[0016] In an optional manner, the manner of arranging the execution component and the selection component according to a preset arrangement comprises a serial arrangement, a parallel arrangement and a selection arrangement.

[0017] In an optional manner, the controlling the execution component and the selection component to obtain input parameter data from a preset data container according to the component arrangement order and updating the output parameter data of the execution component and the selection component into the data container to form a component input parameter data flow and a component output parameter data flow includes:

[0018] Arrange the execution components and the selection components according to the component arrangement order, and obtain component input parameter data streams of all the execution components and all the selection components from a preset data container;

[0019] Arrange the output parameter data obtained by the execution component and the selection component after running according to the component arrangement order, and update them into a preset data container to obtain the component input parameter data stream of all the execution components and all the selection components;

[0020] In an optional manner, all the devices are turned on, and the devices are operated according to the device driver data flow, including:

[0021] Turn on all of the said devices;

[0022] When the execution component and the selection component are executed, the output parameter data generated by the device is stored in the data container through the execution component or the selection component, and the device calls the input parameter data from the data container through the execution component or the selection component during operation to form an actual component input parameter data flow and component output parameter data flow;

[0023] The device is operated by controlling the execution components and selecting the components according to the component arrangement order, the component input parameter data flow and the component output parameter data flow.

[0024] In an optional manner, controlling the execution component and selecting the component to run the device according to the component arrangement order, the component input parameter data flow and the component output parameter data flow includes:

[0025] The execution component corresponding to the first device in the component arrangement sequence obtains the first output parameter data generated by the first device in the component arrangement sequence, and stores the first output parameter data in the data container;

[0026] The execution component corresponding to the second device in the component arrangement sequence filters and obtains the second input parameter data from the first output parameter data of the data container, and stores the second input parameter data in the data container;

[0027] The first selection component in the component arrangement sequence filters and obtains the third input parameter data from the second output parameter data of the data container, determines the size of the third input parameter data, and selects the third device or the fourth device in the component arrangement sequence to run according to the size of the third input parameter data;

[0028] By analogy, when the control execution component and the selection component are running, the component input parameter data flow and the component output parameter data flow are formed through the data container, thereby driving the operation of the device.

[0029] To achieve the above object, an embodiment of the present application provides a device, including:

[0030] Component editing module: used to write logic operation components related to a number of devices and controlling the operation of the devices;

[0031] Component arrangement module: used for arranging the logic operation components in component logic order according to the preset device operation logic, so as to form a device driving data flow that drives the device operation in the same manner as the preset device operation logic;

[0032] Device driver module: used to start all the devices and operate the devices according to the device driver data flow.

[0033] To achieve the above object, an embodiment of the present application further provides a device, including:

[0034] at least one processor; and,

[0035] a memory communicatively connected to the at least one processor; wherein,

[0036] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the device data driving method according to any one of claims 1 to 7.

[0037] In addition, to achieve the above-mentioned purpose, the present invention further provides a computer-readable storage medium storing a computer program, which implements the steps of the device data driving method as described above when executed by a processor.

[0038] In the embodiment of the present application, a device data-driven method is provided, by writing a logical operation component associated with the laboratory equipment and capable of controlling the operation of the laboratory equipment, and arranging the logical operation component in sequence according to the operation order of the laboratory equipment to be operated, forming a data flow that drives the operation of the equipment; and when the laboratory equipment is specifically operated, the operation of the laboratory equipment is controlled by the data flow of the equipment operation; the equipment linkage and equipment automation operation of the laboratory equipment are realized, the error rate of manual participation is reduced, and the operation delay and the occurrence of operation sequence errors are reduced. The laboratory equipment can be defined as an execution component, and a selection component is set when two devices with the same function need to select operation. The corresponding control of the laboratory equipment by the execution component, and the execution component and the selection component are arranged according to the specific operation order of the laboratory equipment, realize the data flow of the driving device; and when the equipment is specifically operated, the series, parallel or selection operation of the laboratory equipment is completed by the data flow control of the driving device. The equipment linkage and equipment automation operation of the laboratory equipment are realized, the error rate of manual participation is reduced, and the operation delay and the occurrence of operation sequence errors are reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a flowchart of a first embodiment of a device data driving method of the present invention;

[0041] Figure 2 A schematic diagram of a serial arrangement of a device data driving method of the present invention;

[0042] Figure 3 A schematic diagram of a parallel arrangement of a device data-driven method of the present invention;

[0043] Figure 4 A schematic diagram of the selection arrangement of the device data driving method of the present invention;

[0044] Figure 5 It is a schematic diagram of the process flow of the device data driving device of the present invention;

[0045] Figure 6 The present invention is a schematic structural diagram of a device provided by the present invention.

[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0047] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation of the present application should not be construed as any limitation, and the various embodiments can be combined and referenced with each other under the premise of no contradiction.

[0048] An embodiment of the present invention relates to a container operation method, the specific process is as follows Figure 1 As shown, at least the following steps are included:

[0049] Step 101, writing a logic operation component related to a plurality of devices and controlling the operation of the devices;

[0050] Step 102, arranging the logic operation components in a component logic order according to a preset device operation logic, so as to form a device driving data flow for driving the device operation that is the same as the preset device operation logic;

[0051] Step 103, start all the devices, and operate the devices according to the device driver data flow.

[0052] The implementation details of the container operation method of this embodiment are described in detail below. The following content is only provided for easy understanding of the implementation details and is not necessary for implementing this solution.

[0053] In step 101, a logic operation component related to the device and controlling the operation of the device is written according to several devices. In order to improve the intelligence of laboratory equipment, before controlling the operation of laboratory equipment, a logic operation component related to the device and controlling the operation of the device can be written according to several devices. Among them, the logic operation component is a script component, which is the smallest unit in the method, defined as a complete business logic code, supports hot refresh, real-time update, and real-time effectiveness. Among them, the logic operation component includes an execution component for running the device and a selection component for selecting and running at least two laboratory devices with the same function; wherein, the execution component can customize a component for each device, and the component contains a business logic function named "process", which is implemented according to the processing capacity of each device, such as the definition of the speed of each condition in the stirrer device component, and after entering the component, the current temperature value is taken from the data context, and the stirrer is adjusted to the defined speed according to the component definition. The selection component is a selection component for selecting and running at least two laboratory devices with the same function; in actual business, it is often necessary to determine which component to execute next through dynamic business logic. The selection component contains a "processSwitch" function, which selects which execution component to execute subsequently according to the specific parameters in the context. If there are two different models of peristaltic pumps in the experiment that can handle liquids with different flow rates, a selection component can be added in front of the actuators of the two peristaltic pumps. The logic implemented by the selection component is to obtain the current liquid flow rate in the data context. If the flow rate is less than X, select peristaltic pump actuator A; if the flow rate is greater than X, select peristaltic pump actuator B.

[0054] In one example, the logic operation components related to the devices and controlling the operation of the devices are written according to several devices, including: writing the execution components for controlling the operation of the devices according to several devices; writing the selection components for selecting one device to operate from at least two devices with the same function according to at least two devices with the same function. That is, the execution component logic of the peristaltic pump, pH meter, high and low temperature all-in-one machine, and cantilever stirrer in the laboratory equipment is written; the flow control, temperature control, and pH value control of the laboratory equipment are written as the selection component logic.

[0055] In step 102, after defining the script component, the script component is orchestrated, that is, after writing the logic running component, after building the components in step 101, it is equivalent to obtaining the unique logic processing execution component and selection component of each device of all IoT devices in the laboratory. Then, this method provides a set of regular expressions based on EL expressions, which can choreograph the above components in series, parallel, selection and other combinations, and finally form a data flow driven completely by the device.

[0056] In one example, the logic operation components are arranged in a component logical order according to a preset device operation logic to form a device driving data flow that drives the device operation with the same preset device operation logic, including: arranging the execution components and the selection components in a preset arrangement manner according to the preset device operation logic order to obtain a component arrangement order; that is, the arrangement order of the peristaltic pump, pH meter, high and low temperature integrated machine and cantilever agitator in the laboratory equipment and the component arrangement order formed by combining the selection components such as flow control, temperature control and pH value control with the peristaltic pump, pH meter, high and low temperature integrated machine and cantilever agitator in the laboratory equipment are obtained; when arranging the components, the flow control component specifically selects the peristaltic pump, and the selected peristaltic pump extracts the liquid into the reactor. After completion, the high and low temperature integrated machine performs a preset heating logic, heats to a specified temperature and calls the pH value control component, and performs the next step of cantilever agitator execution component selection according to the specific pH value of the reaction, and the selected cantilever agitator can automatically perform the preset stirring roadbed execution. Arrange the execution component and the selection component according to the component arrangement order to obtain input parameter data from a preset data container and arrange the output parameter data of the execution component and the selection component to update the data container to form a component input parameter data flow and a component output parameter data flow; according to the component input parameter data flow and the component output parameter data flow of the execution component, the component input parameter data flow and the component output parameter data flow of the selection component and the component arrangement order, form a device driver data flow that drives the device operation with the same logic as the preset device operation.

[0057] In a specific implementation, the execution component and the selection component are arranged in a preset arrangement manner including a serial arrangement manner, a parallel arrangement manner and a selection arrangement manner. The preset arrangement manner includes: Figures 2 to 4 The schematic arrangement is as follows. Specifically, the serial arrangement is Figure 2 As shown in the figure, the four components a, b, c, and d are executed in sequence. You can use the THEN keyword: THEN(a,b,c,d). Specifically, the parallel arrangement method is Figure 3 As shown in the figure, to execute three components a, b, and c in parallel, you can use the WHEN keyword: WHEN(a,b,c); Figure 3 In the parallel arrangement mode, after component a is executed, component b, c, and d are executed in parallel by default, and then component e is executed. Specifically, the rotation arrangement mode is Figure 4 As shown in the figure, in practical applications, we often encounter selectivity problems, that is, if the result 1 is returned, then enter the A process, if the result 2 is returned, then enter the B process, if the result 3 is returned, then enter the C process. We can use the SWITCH..TO keyword to select components: SWITCH(a).to(b,c,d). Figure 4 In the figure, a is the selection component, and b, c, and d are all execution components, which means that after component a makes a judgment, it selects one of b, c, and d to process.

[0058] In one example, to achieve orchestration, the differences between each component must be eliminated. If the input and output parameters of each component are inconsistent, then orchestration is impossible. Each component only needs to obtain the data it cares about from the data context, without worrying about who provides the data. Similarly, each component only needs to put the result data generated by its execution into the data context, without worrying about who the data is provided to. In this way, the data level is decoupled to a certain extent. Thus, the purpose of orchestration is achieved. Once the data is put into the data context, any node in the entire link can obtain it. According to the component arrangement sequence, the execution component and the selection component are controlled to obtain input parameter data from a preset data container and the output parameter data of the execution component and the selection component are updated to the data container to form a component input parameter data flow and a component output parameter data flow, including: arranging the execution component and the selection component from the preset data container according to the component arrangement sequence to obtain the component input parameter data flow of all the execution components and all the selection components; arranging the output parameter data obtained by the execution component and the selection component after running according to the component arrangement sequence to update the output parameter data to the preset data container to obtain the component input parameter data flow of all the execution components and all the selection components; the concept of data context is mentioned in the above two steps. Based on the above explanation, the data context is a data container for each component arrangement process in the method. When arranging the process, we can define the field name, field type and initial value required in the context container according to the needs of the component. Then, during the specific execution of the process, each component obtains its own input parameter from the data context according to its own needs, and updates its own output parameter to the data context after execution for use by subsequent components. The data container can be the memory of the device's system operation. During actual operation, the input and output parameter data can be read from the memory of the device's system operation. The data container is called a Map in the code and is composed of a group of<key,value> An abstract data structure composed of two or more keys, and the same key will only appear once. The code for the data container is written in each component using a scripting language (lua, JavaScript Python, etc.) to handle the work that the current component wants to complete. The script code can be customized by the user. The data container only manages the name and value of the data and has no code; there will be code in the execution component and the selection component. When choreographing the process, the data definitions needed for each process node (that is, the field name, type, and initial value) can be placed in the data container to facilitate all process nodes to assign or retrieve values ​​to this data.

[0059] In step 103, all the devices are turned on and run according to the device driver data flow. After the execution components and the selection components are arranged and the device driver data flow is formed, the specific arrangement process can be selected in the browser to start. When the first device in the process generates data, the subsequent data can be automatically transferred and operated between the devices according to the defined process.

[0060] In a specific implementation, all the devices are turned on, and the devices are run according to the device-driven data flow, including: turning on all the devices; when the execution component and the selection component are executed, the output parameter data generated by the device is stored in the data container through the execution component or the selection component, and the device calls the input parameter data from the data container through the execution component or the selection component during operation to form the actual component input parameter data flow and component output parameter data flow; according to the component arrangement order, the component input parameter data flow and the component output parameter data flow, the execution component and the selection component are controlled to run the device. When running the device according to the component arrangement order, the data definition (that is, the field name, type, and initial value) required by each process node can be placed in the data container, so that all process nodes can assign or retrieve values ​​to these data.

[0061] In one example, the execution component and the selection component are controlled to run the device according to the component arrangement sequence, the component input parameter data flow and the component output parameter data flow, including: the execution component corresponding to the first device in the component arrangement sequence obtains the first output parameter data generated by the first device in the component arrangement sequence, and stores the first output parameter data in the data container; the execution component corresponding to the second device in the component arrangement sequence selects and obtains the second input parameter data from the first output parameter data of the data container, and stores the second input parameter data in the data container; the first selection component in the component arrangement sequence selects and obtains the third input parameter data from the second output parameter data of the data container, determines the size of the third input parameter data, and selects the third device or the fourth device in the component arrangement sequence to run according to the size of the third input parameter data. By analogy, when controlling the execution component and selecting the component to run, the component input parameter data flow and the component output parameter data flow are formed through the data container, thereby driving the operation of the device.

[0062] Assume there are two components a and b; the business logic of a is to obtain the temperature of the device, and the business logic of b is to adjust the speed to the corresponding speed according to the device temperature; a complete business process is: a reads the current temperature of the device → a updates the current temperature to the data container → b obtains the current temperature from the data container → calls b's business logic to perform speed control → updates the current speed value to the data container for other components in the process to call. a obtains the current temperature again at the next time point, and then repeats the above process without interfering with each other's data.

[0063] In this embodiment, a device data-driven method is provided, which forms a data flow that drives the operation of the device by writing a logical operation component associated with the laboratory device and capable of controlling the operation of the laboratory device, and sequentially arranging the logical operation components according to the operation order of the laboratory device that needs to be operated; and when the laboratory device is specifically operated, the operation of the laboratory device is controlled by the data flow of the device operation; the device linkage and automatic operation of the laboratory device are realized, the error rate of manual operation is reduced, and the operation delay and the operation sequence error are reduced.

[0064] By defining the laboratory equipment as an execution component, a selection component can be set when two devices with the same function need to be selected for operation. The corresponding control of the laboratory equipment by the execution component and the arrangement of the execution component and the selection component according to the specific operation sequence of the laboratory equipment are realized to realize the data flow of the driving device; and when the equipment is running, the series, parallel or selective operation of the laboratory equipment is completed through the data flow control of the driving device. The equipment linkage and automatic operation of the laboratory equipment are realized, the error rate of manual participation is reduced, and the occurrence of operation delays and operation sequence errors is reduced.

[0065] Another embodiment of the present invention relates to a device data driving apparatus. The following is a specific description of the details of the scheduling system of this embodiment. The following content is only for the convenience of understanding the implementation details provided, and is not necessary for implementing this embodiment. Figure 5 is a schematic diagram of the device data driver described in this embodiment, including:

[0066] Component editing module 501: used to write logic operation components related to a plurality of devices and controlling the operation of the devices;

[0067] Component arrangement module 502: used to arrange the logic operation components in component logic order according to the preset device operation logic, so as to form a device driving data flow that drives the device operation in the same manner as the preset device operation logic;

[0068] Device driver module 503: used to start all the devices and operate the devices according to the device driver data flow.

[0069] For the component editing module 501, in one example, the logic operation components related to the devices and controlling the operation of the devices are written according to several devices, including: writing the execution components for controlling the operation of the devices according to several devices; writing the selection components for selecting one device to operate from at least two devices with the same function according to at least two devices with the same function. That is, the execution component logic of the peristaltic pump, pH meter, high and low temperature all-in-one machine, and cantilever stirrer in the laboratory equipment is written; the flow control, temperature control, and pH value control of the laboratory equipment are written as the selection component logic.

[0070] For the component orchestration module 502, the execution component and the selection component are controlled to obtain input parameter data from a preset data container according to the component orchestration sequence and the output parameter data of the execution component and the selection component are updated to the data container to form a component input parameter data flow and a component output parameter data flow, including: arranging the execution component and the selection component from the preset data container according to the component orchestration sequence to obtain the component input parameter data flow of all the execution components and all the selection components; arranging the output parameter data obtained by the execution component and the selection component after running according to the component orchestration sequence to update the output parameter data to the preset data container to obtain the component input parameter data flow of all the execution components and all the selection components; the concept of data context is mentioned in the above two steps. Based on the above explanation, the data context is a data container for each component orchestration process in the method. We can define the field name, field type and initial value required in the context container according to the needs of the component when arranging the process. Then, during the specific execution of the process, each component obtains its own input parameter from the data context according to its own needs, and updates its own output parameter to the data context after execution for use by subsequent components.

[0071] For the device driver module 503, all the devices are turned on, and the devices are run according to the device driver data flow, including: turning on all the devices; when the execution component and the selection component are executed, the output parameter data generated by the device is stored in the data container through the execution component or the selection component, and the device calls the input parameter data from the data container through the execution component or the selection component during operation to form an actual component input parameter data flow and component output parameter data flow; according to the component arrangement order, the component input parameter data flow and the component output parameter data flow, the execution component and the selection component are controlled to run the device.

[0072] In this embodiment, a device data driving device is provided, which is associated with laboratory equipment and can control the operation of laboratory equipment by writing a logical operation component that can control the operation of laboratory equipment, and arranges the logical operation component in sequence according to the operation order of the laboratory equipment to be operated, so as to form a data flow that drives the operation of the equipment; and when the laboratory equipment is specifically operated, the operation of the laboratory equipment is controlled by the data flow of the equipment operation; the equipment linkage and equipment automation operation of the laboratory equipment are realized, the error rate of manual participation is reduced, and the operation delay and the occurrence of operation sequence errors are reduced. The laboratory equipment can be defined as an execution component, and a selection component can be set when two devices with the same function need to be selected for operation. The corresponding control of the laboratory equipment by the execution component, and the execution component and the selection component are arranged according to the specific operation order of the laboratory equipment, realize the data flow of the driving device; and when the equipment is specifically operated, the series, parallel or selection operation of the laboratory equipment is completed by the data flow control of the driving device. The equipment linkage and equipment automation operation of the laboratory equipment are realized, the error rate of manual participation is reduced, and the operation delay and the occurrence of operation sequence errors are reduced.

[0073] It is not difficult to find that this embodiment is a system embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details and technical effects mentioned in the above embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above embodiment.

[0074] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

[0075] Another embodiment of the present invention relates to a device, such as Figure 6 As shown, it includes: at least one processor 601; and a memory 602 that is communicatively connected to the at least one processor 601; wherein the memory 602 stores instructions that can be executed by the at least one processor 601, and the instructions are executed by the at least one processor 601 so that the at least one processor 601 can execute the container operation method in the above-mentioned embodiments.

[0076] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor.

[0077] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.

[0078] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.

[0079] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0080] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A device data driving method, characterized in that: The method comprises: According to a number of devices, write logic operation components related to the devices and controlling the operation of the devices; Arrange the logic operation components in a logical order according to the preset device operation logic to form a device driving data flow that drives the device operation in the same manner as the preset device operation logic; All the devices are turned on and operated according to the device driver data flow.

2. The device data driving method according to claim 1, characterized in that: in, The logic operation component includes an execution component for running a device and a selection component for selectively running at least two devices with the same function; the logic operation component related to the device and controlling the operation of the device is written according to a plurality of devices, including: Writing the execution components for controlling the operation of the devices according to a plurality of devices; A selection component is written according to at least two devices with the same function to select one device to run from among the at least two devices with the same function.

3. The device data driving method according to claim 2, characterized in that: The logic operation components are arranged in a logical order according to the preset device operation logic to form a device driving data flow that drives the device operation in the same manner as the preset device operation logic, including: Arranging the execution components and the selection components in a preset arrangement manner according to a preset device operation logic sequence to obtain a component arrangement sequence; Arrange the execution component and the selection component to obtain input parameter data from a preset data container according to the component arrangement order and arrange the output parameter data of the execution component and the selection component to be updated to the data container to form a component input parameter data flow and a component output parameter data flow; According to the component input parameter data stream and component output parameter data stream of the execution component, the component input parameter data stream and component output parameter data stream of the selection component and the component arrangement order, a device driving data stream that drives the device operation with the same logic as the preset device operation is formed.

4. The device data driving method according to claim 3, characterized in that: in, The manner of arranging the execution component and the selection component according to a preset arrangement comprises a serial arrangement, a parallel arrangement and a selection arrangement.

5. The device data driving method according to claim 3, characterized in that: The controlling the execution component and the selection component to obtain input parameter data from a preset data container according to the component arrangement sequence and updating the output parameter data of the execution component and the selection component to the data container to form a component input parameter data flow and a component output parameter data flow includes: Arrange the execution components and the selection components according to the component arrangement order, and obtain component input parameter data streams of all the execution components and all the selection components from a preset data container; Arrange the output parameter data of the execution component and the selection component after running according to the component arrangement order, and update them into a preset data container to obtain the component input parameter data stream of all the execution components and all the selection components.

6. The device data driving method according to claim 5, characterized in that: Turning on all the devices and operating the devices according to the device driver data flow includes: Turn on all of the said devices; When the execution component and the selection component are executed, the output parameter data generated by the device is stored in the data container through the execution component or the selection component, and the device calls the input parameter data from the data container through the execution component or the selection component during operation to form an actual component input parameter data flow and component output parameter data flow; The device is operated by controlling the execution components and selecting the components according to the component arrangement order, the component input parameter data flow and the component output parameter data flow.

7. The device data driving method according to claim 6, characterized in that: Controlling the execution component and selecting the component to run the device according to the component arrangement order, the component input parameter data flow and the component output parameter data flow includes: The execution component corresponding to the first device in the component arrangement sequence obtains the first output parameter data generated by the first device in the component arrangement sequence, and stores the first output parameter data in the data container; The execution component corresponding to the second device in the component arrangement sequence filters and obtains the second input parameter data from the first output parameter data of the data container, and stores the second input parameter data in the data container; The first selection component in the component arrangement sequence filters and obtains the third input parameter data from the second output parameter data of the data container, determines the size of the third input parameter data, and selects the third device or the fourth device in the component arrangement sequence to run according to the size of the third input parameter data; By analogy, when the control execution component and the selection component are running, the component input parameter data flow and the component output parameter data flow are formed through the data container, thereby driving the operation of the device.

8. A device data driving apparatus, characterized in that: include: Component editing module: used to write logic operation components related to a number of devices and controlling the operation of the devices; Component arrangement module: used for arranging the logic operation components in component logic order according to the preset device operation logic, so as to form a device driving data flow that drives the device operation in the same manner as the preset device operation logic; Device driver module: used to start all the devices and operate the devices according to the device driver data flow.

9. A device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the device data driving method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the device data driving method according to any one of claims 1 to 7 is implemented.