Sound field experiment arrangement execution system based on task process
By designing a sound field experimental orchestration execution system based on task flow, the problems of complex experimental processes and large manpower investment in the field of sound field calculation in the existing technology are solved, and the automated orchestration and execution of experimental tasks are realized, the consistency and automation of experiments are improved, and labor costs are saved.
Patent Information
- Application Number
- CN202411957783.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-05-09
AI Technical Summary
The existing underwater experiments in the field of sound field calculation require a large number of manual control equipment, resulting in complex experimental processes, large manpower investment and differences in experimental results.
Design a sound field experimental orchestration execution system based on task flow, including activity model definition module, process orchestration module, management scheduling module, process analysis module, real-time regulation module, execution visualization module and resource management module to realize the automated orchestration and execution of experimental tasks.
By automatically orchestrating and performing experimental tasks, differences in human operations are reduced, the consistency of experiments is ensured, the degree of automation of sound field experiments is improved, and a large amount of labor costs are saved.
Smart Images

Figure CN119960735A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of sound field experiments, and in particular relates to a sound field experiment arrangement and execution system based on task flow. Background Art
[0002] The current field of sound field calculation requires a large number of underwater experiments, including underwater experiments in pools, lakes, and offshore environments. Each type of experiment requires the use of the control variable method to conduct multiple sets of experiments on multiple sets of equipment at different frequencies, angles, depths, and distances. Usually, this process requires manual control of the corresponding control panel, which makes the overall experimental process very complicated and requires a lot of manpower investment. At the same time, due to differences in operation, differences in experiments may occur. Summary of the invention
[0003] In order to solve the above problems in the prior art, an embodiment of the present invention provides a sound field experiment scheduling and execution system based on task flow.
[0004] According to one aspect of the present invention, there is provided a sound field experiment choreography and execution system based on task flow, comprising an activity model definition module, a process choreography module, a management and scheduling module, a process parsing module, a real-time control module, an execution visualization module and a resource management module, wherein the activity model definition module is used to create an atomic activity model and a combined activity model; the process choreography module is used to design an experimental task flow for the atomic activity model and the combined activity model; the management and scheduling module is used to uniformly manage and schedule experimental tasks; the process parsing module is used to parse the experimental task flow issued for execution; the real-time control module generates a control instruction set according to the process parsing module, and processes the instructions in the control instruction set in sequence; the execution visualization module is used to visualize the execution process and results of the sound field experiment task flow; and the resource management module is used to store resources.
[0005] Preferably, the workflow of the activity model definition module is as follows: create the atomic activity model and store it in the resource management module to generate an activity template library, select the corresponding atomic activity model from the activity template library, create an activity instance on the canvas and set properties, establish a connection relationship between activities, create the combined activity model, and store the combined activity model in the resource management module.
[0006] Preferably, the process arrangement module sets the jump conditions between activities in the experimental task process, the execution order between activities, and the association relationship between activities and equipment in the experimental task.
[0007] Preferably, the workflow of the management and scheduling module is as follows: check whether all submitted experimental tasks have been executed. If not, schedule the experimental task with the highest current priority to start execution. Check whether the resources required to execute the current experimental task are met. If so, issue a command to start execution. If not, generate an alarm message, suspend the current experimental task, and automatically start processing the next high-priority experimental task.
[0008] Preferably, the process analysis module receives the experimental task issued by the management and scheduling module for execution, extracts structured experimental task information, and performs preliminary verification on the structured experimental task information to verify whether the logic of the experimental task process is correct.
[0009] Preferably, the structured experimental task information includes basic experimental information, experimental equipment and conditions, and experimental steps and logic. The basic experimental information includes the experiment name, experiment purpose, experiment date and time; the experimental equipment and conditions include a list of equipment required for the experiment and the conditions required to support the experiment; the experimental steps and logic are used to clarify the content of each step and the sequence and logical relationship between the steps.
[0010] Preferably, the workflow of the real-time control module is as follows: listen to the control instruction set transmitted by the process analysis module, execute the latest instruction, identify the device and execution parameters corresponding to the instruction, convert the instruction into a control instruction recognizable by the device and send it to the device end for execution, and control the operation of the corresponding device.
[0011] Preferably, the execution visualization module receives the experimental task information from the process analysis module and visualizes the data statistical results in a graphical form.
[0012] Preferably, the resource management module includes a database submodule and an HTTP service submodule. The database submodule is used to store resource files and data. The HTTP service submodule provides an interface for external modules to access the task flow resource database by providing an HTTP API.
[0013] The beneficial effects brought by the present invention are as follows:
[0014] It can be seen from the above scheme that the embodiment of the present invention provides a sound field experiment scheduling and execution system based on task flow, which supports the reuse of task flow through the constructed atomic task model and combined task model to avoid duplication of work; through the task flow and process analysis module, it realizes automatic command control of experimental tasks to various experimental equipment, which not only avoids the differences in manual operations and ensures the consistency of experiments, but also improves the automation of the sound field experiment process and saves a lot of manpower costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A module diagram showing a sound field experiment arrangement and execution system based on task flow according to an embodiment of the present invention;
[0016] Figure 2 An overall flow chart showing a sound field experiment arrangement and execution system based on task flow according to an embodiment of the present invention;
[0017] Figure 3 A flowchart showing an activity model definition module according to an embodiment of the present invention;
[0018] Figure 4 A flowchart showing a process orchestration module according to an embodiment of the present invention;
[0019] Figure 5 A flowchart showing a management and scheduling module according to an embodiment of the present invention;
[0020] Figure 6 A flowchart showing a process analysis module according to an embodiment of the present invention;
[0021] Figure 7 A flowchart showing a real-time control module according to an embodiment of the present invention;
[0022] Figure 8 A flowchart showing an execution visualization module according to an embodiment of the present invention;
[0023] Fig. 9 A flow chart showing a resource management module according to an embodiment of the present invention.
[0024] In the figure, 1 is the activity model definition module; 2 is the process orchestration module; 3 is the management scheduling module; 4 is the process analysis module; 5 is the real-time control module; 6 is the execution visualization module; and 7 is the resource management module. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] Example
[0027] like Figure 1As shown, an embodiment of the present invention provides a sound field experiment scheduling and execution system based on task flow, including an activity model definition module 1, a process scheduling module 2, a management and scheduling module 3, a process analysis module 4, a real-time control module 5, an execution visualization module 6 and a resource management module 7, wherein the activity model definition module 1 is used to create an atomic activity model and a combined activity model; the process scheduling module 2 is used to design the experimental task flow for the atomic activity model and the combined activity model; the management and scheduling module 3 is used to uniformly manage and schedule the experimental tasks; the process analysis module 4 is used to analyze the experimental task flow issued for execution; the real-time control module 5 generates a control instruction set according to the process analysis module 4, and processes the instructions in the control instruction set in sequence; the execution visualization module 6 is used to visualize the execution process and results of the sound field experiment task flow; the resource management module 7 is used to store resources.
[0028] The detailed process of each module is described in detail below:
[0029] 1. Sound field experiment task activity model definition module 1
[0030] like Figure 3 As shown, the sound field experiment task activity model definition module 1 mainly realizes the definition and construction of typical activity models in the sound field experiment task. At the same time, the activity model supports combined construction, and a composite combined activity is formed by assembling a flowchart. The attributes of the activity can be configured to include information such as device frequency, working time, incident angle, energy dependence, etc. The attribute configuration of the combined activity includes the setting of jump conditions and the setting of execution order between activities.
[0031] If the activity template library in the resource management module 7 lacks the activities required for the sound field experiment task flow, an activity model is first created and stored in the library. When the activity model is complete, an activity is selected from the template library, and an activity instance is created on the canvas, and its properties are edited, and the connection relationship between the activities (i.e., the jump condition) is established. After the sound field experiment task flow is assembled, it is stored in the library through the sound field experiment resource management module 7. In addition, the local task flow can be stored in the library by combining activities.
[0032] 2. Acoustic Field Experiment Task Process Arrangement Module 2
[0033] like Figure 4As shown, the sound field experiment task process arrangement module 2 takes the atomic activity model and the combined activity model generated by the experimental task activity model definition module 1 as the basis, assembles the activities in the form of a flowchart, and sets the activity model to form the sound field experiment task process. In the process arrangement module 2, it is mainly necessary to set the jump conditions between activities in the process, the execution order between activities, and the association between activities and equipment in the experimental task.
[0034] The task flow generated by the sound field experiment task flow arrangement module 2 will serve as the basic information of the sound field experiment task management scheduling module 3. In this system, according to the purpose of the sound field experiment, it is necessary to design multiple different sound field experiment task flows according to the characteristics of the specific sound field experiment, or distinguish and set the key attributes of different activity models in a single experimental task flow (such as the set transmission frequency), and then form a set of sound field experiment task flows. By running different experimental task flows, users can obtain corresponding conclusions from the experimental results. When the activity model required by the task flow is complete, select the applicable activity model from the activity template library, create an activity instance on the canvas, set its properties, establish the connection relationship between the activities, and complete the design of the task flow. After the task flow is designed, it is stored in the warehouse to provide basic information for the subsequent experimental tasks to run on the device side.
[0035] 3. Sound field experiment task management and scheduling module 3
[0036] like Figure 5 As shown, the sound field experiment task process management and scheduling module 3 mainly realizes the unified management and scheduling of the experimental tasks. When each device is online, the experimental tasks are scheduled and operated according to the time sequence, priority, etc. and sent to the sound field experiment task real-time control module 5, so as to realize the orderly operation of the sound field experiment tasks.
[0037] The sound field experiment task management and scheduling module 3 first checks whether all the experimental tasks submitted by the user have been executed. If there are experimental tasks that have not been executed, the scheduling will start. First, the experimental task with the highest current priority will be processed. First, check whether the resources required to execute the current task are met. If they are met, send them down and start execution. If not, an alarm message will be generated, the current experimental task will be suspended, and the next high-priority experimental task will be automatically processed. When the experimental task starts to execute, the experimental task scheduling management module 3 will monitor the execution status of the current task in real time and display the execution status on the front-end interface. When all the processes of an experimental task are completed, the task management subsystem will continue to send the next experimental task for execution. At the same time, it can be configured to automatic mode or manual mode as needed.
[0038] 4. Sound field experiment task flow analysis module 4
[0039] like Figure 6 As shown, the sound field experiment task process analysis module 4 mainly receives the sound field experiment task arranged by the user, generates structured experiment task information after analysis, and serves as the input of the sound field experiment task real-time control module 5. The structured experiment task information includes basic experiment information, experiment equipment and conditions, and experiment steps and logic. The basic experiment information includes the name of the experiment, the purpose of the experiment, the date and time of the experiment, etc. The experiment equipment and conditions include the list of equipment required for the experiment and the conditions required to support the experiment, including energy, venue, etc. The experiment steps and logic mainly clarify the content of each step and the sequence and logical relationship between the steps.
[0040] 5. Real-time control module of sound field equipment 5
[0041] like Figure 7 As shown, the real-time control module 5 of the sound field experiment task is the scheduling control module responsible for the operation of the activity model to the equipment at the bottom of the system. This module obtains the activity model and the equipment associated with the activity model required for the current experimental task through the generated results of the incoming sound field experiment task process analysis module 4, and schedules each device to run according to the set parameters according to the time sequence, so as to achieve the smooth operation of the experimental task. At the same time, the execution status of each activity model is collected and passed to the experimental task execution visualization module 6.
[0042] The real-time control module 5 of the sound field experiment task obtains the control instruction set generated by the sound field experiment task process analysis module 4. After receiving the control instruction set, the real-time control module 5 of the experiment task will process the instructions in the instruction set in sequence. Identify the corresponding device and execution parameters for each instruction, and convert the instruction into a control instruction that can be recognized by the device. Finally, send the control instruction to the device end to control the operation of the corresponding device. Monitor the operating status of the sub-device in real time during the operation. When all instructions are executed, the execution of this experimental task is completed.
[0043] 6. Visualization module for executing sound field experiment tasks
[0044] like Figure 8 As shown, the sound field experiment task execution visualization module 6 is used to visualize the experimental task flow analysis process, and presents the execution process and analysis results of the analysis task flow through the implementation rendering and change of the graphical flowchart style state, the real-time display of the activity model details data, and the statistical display of the result data. Through the sound field experiment task execution visualization module 6, the user can view the execution progress of the current experimental task, and at the same time view and compare the analysis of different experimental task flows, thereby realizing the analysis of the factors affecting the experiment.
[0045] The sound field experiment task execution visualization module 6 is implemented by real-time rendering of multiple styles of flowchart graphics, and provides a visualization display of data statistical results. After the experimental task scheduling operation is started, the sound field experiment task execution visualization module 6 first reads the task process information, completes the initialization setting of the flowchart canvas based on this information, draws the task process on the canvas in the form of a flowchart, and starts to monitor the output data of the process analysis module 4. After receiving the process analysis process data, the sound field experiment task execution visualization module 6 will synchronously update the status of each node of the canvas flowchart, perform real-time statistics on the data, and synchronously update the analysis interface of the statistical results.
[0046] VII. Sound field experiment resource management module 7
[0047] like Fig. 9 As shown, the sound field experiment resource management module 7 is a resource storage management module at the bottom of the system, which is responsible for the storage of all activity models and related resource files and data, and provides a resource access interface to provide an interface for other functional modules to query, obtain, upload, update, and delete resource files / data. The sound field experiment resource management module 7 mainly includes two submodules, namely, a database submodule and an HTTP service submodule. The database submodule implements the storage of resource files and data, and the HTTP service submodule provides an interface for external modules to access the task flow resource database by providing an HTTP API.
[0048] like Figure 2 As shown in the figure, the task-flow-oriented sound field experiment scheduling and execution system mainly abstracts the experiment in the form of tasks, models the activities involved in the experimental tasks, and controls the activity nodes in the process to achieve the construction of the experimental task process. At the same time, the control of various types of equipment is achieved through a unified device control interface, so that the entire scheduling experiment task is carried out automatically and orderly, thereby realizing the automatic and orderly progress of multiple groups of experimental tasks under the entire sound field experiment task. The overall process is as follows:
[0049] First, use the sound field experiment task activity model definition module 1 to create atomic activity models and combined activity models. When the activities required for the sound field experiment task process are missing in the activity template library, it is necessary to first create an atomic activity model and store it into the library through the sound field experiment resource management module 7. When the atomic activity model is complete, select an activity from the template library, create an activity instance on the canvas, edit its properties, and establish a connection relationship between activities (i.e., jump conditions). After the combined activity is assembled, it is stored into the library through the sound field experiment resource management module 7;
[0050] Second, use the sound field experiment task process arrangement module 2 to design the experimental task process. When the activity model required by the experimental task process is complete, select the applicable activity model from the activity template library (it can be an atomic task or a combined task), create an activity instance on the canvas, set its properties, establish the connection relationship between activities, and complete the detailed process design of the sound field experiment task. After the experimental task process is designed, it is stored in the library through the sound field experiment resource management module 7 to provide basic information for the subsequent experimental task scheduling and operation;
[0051] Third, after the sound field experiment tasks are arranged, they will be submitted to the sound field experiment task management and scheduling module 3. When each device is powered on and idle, the sound field experiment task management and scheduling module 3 will issue the corresponding tasks for execution and monitor the running status of the scheduled tasks in real time;
[0052] Fourth, the sound field experiment task process analysis module 4 will analyze the experimental task process issued for execution, generate control instructions according to the analysis content, and issue the control instructions to the sound field experiment task real-time control module 5 according to the execution order of each sub-activity;
[0053] Fifth, the real-time control subsystem mainly converts control instructions into control commands that can be recognized by each device unit, so as to realize the control of various devices on the instrument, such as switch control, operation parameter control, operation time control, etc. In this way, the equipment will operate according to the process arranged within the experimental task;
[0054] Sixth, when the sound field experiment task is started, the sound field experiment task execution visualization module 6 will first read the experimental task process information issued by the process analysis module 4, and complete the initialization of the flowchart canvas according to the information, and draw the experimental task process on the canvas in the form of a flowchart, and at the same time start to monitor the output data of the experimental task process real-time control module 5. After receiving the process data of the experimental task process real-time control module 5, the sound field experiment task execution visualization module 6 will synchronously update the status of each activity node of the canvas flowchart;
[0055] Seventh, after receiving the control command issued by the sound field task real-time control module 5, each device will operate according to the command. At the same time, during the operation of each device, the data related to each device will be pushed into the platform database through the data management module;
[0056] Eighth, after the current sound field experiment task is completed, the next sound field experiment task will be scheduled to run until all submitted sound field experiment tasks are completed.
[0057] The above are preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A sound field experiment arrangement and execution system based on task flow, characterized in that: The invention comprises an activity model definition module (1), a process arrangement module (2), a management and scheduling module (3), a process analysis module (4), a real-time control module (5), an execution visualization module (6) and a resource management module (7), wherein the activity model definition module (1) is used to create an atomic activity model and a combined activity model; the process arrangement module (2) is used to design an experimental task process for the atomic activity model and the combined activity model; the management and scheduling module (3) is used to perform unified management and scheduling of experimental tasks; the process analysis module (4) is used to analyze the experimental task process sent for execution; the real-time control module (5) generates a control instruction set according to the process analysis module (4) and processes the instructions in the control instruction set in sequence; the execution visualization module (6) is used to visualize the execution process and results of the acoustic field experimental task process; and the resource management module (7) is used to store resources.
2. According to the task flow-based sound field experiment arrangement and execution system of claim 1, it is characterized in that: The workflow of the activity model definition module (1) is as follows: creating the atomic activity model and storing it in the resource management module (7) to generate an activity template library, selecting the corresponding atomic activity model from the activity template library, creating an activity instance on the canvas and setting properties, establishing a connection relationship between activities, creating the combined activity model, and storing the combined activity model in the resource management module (7).
3. According to the task flow-based sound field experiment arrangement and execution system of claim 1, it is characterized in that: The process arrangement module (2) sets the jump conditions between activities in the experimental task process, the execution order between activities, and the association relationship between activities and equipment in the experimental task.
4. According to the task flow-based sound field experiment arrangement and execution system of claim 1, it is characterized in that: The workflow of the management and scheduling module (3) is as follows: check whether all submitted experimental tasks have been executed. If not, schedule the experimental task with the highest current priority to start execution. Check whether the resources required to execute the current experimental task are met. If so, issue a command to start execution. If not, generate an alarm message, suspend the current experimental task, and automatically start processing the next high-priority experimental task.
5. According to the task flow-based sound field experiment arrangement and execution system of claim 1, it is characterized in that: The process analysis module (4) receives the experimental task issued by the management and scheduling module (3) for execution, extracts structured experimental task information, and performs preliminary verification on the structured experimental task information to verify whether the logic of the experimental task process is correct.
6. The task flow-based sound field experiment arrangement and execution system according to claim 5 is characterized in that: The structured experimental task information includes basic experimental information, experimental equipment and conditions, and experimental steps and logic. The basic experimental information includes the experiment name, experiment purpose, experiment date and time; the experimental equipment and conditions include a list of equipment required for the experiment and the conditions required to support the experiment; the experimental steps and logic are used to clarify the content of each step and the sequence and logical relationship between the steps.
7. The task flow-based sound field experiment arrangement and execution system according to claim 1 is characterized in that: The working process of the real-time control module (5) is as follows: monitor the control instruction set transmitted by the process analysis module (4), execute the latest instruction, identify the device and execution parameters corresponding to the instruction, convert the instruction into a control instruction recognizable by the device and send it to the device end for execution, and control the operation of the corresponding device.
8. The sound field experiment arrangement and execution system based on task flow according to claim 1 is characterized in that: The execution visualization module (6) receives the experimental task information from the process analysis module (4) and visualizes the data statistical results in a graphical form.
9. The task flow-based sound field experiment arrangement and execution system according to claim 1 is characterized in that: The resource management module (7) comprises a database submodule and an HTTP service submodule. The database submodule is used to store resource files and data. The HTTP service submodule provides an interface for external modules to access the task flow resource database by providing an HTTP API.