Metadata-driven ubiquitous equipment access and monitoring system

Through the metadata-driven ubiquitous equipment access and monitoring system, control instructions are automatically parsed and generated, which solves the problem of manual configuration in equipment collaborative work and improves task execution efficiency.

CN120218545BActive Publication Date: 2025-09-05CHENGDU MOKE TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510357514.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-09-05
Estimated Expiration
2045-03-25

AI Technical Summary

Technical Problem

In the existing technology, due to the incompatibility of communication protocols between equipment, heterogeneous data formats and inconsistent interface specifications, manual configuration of control instructions is required when multiple equipment work together, affecting the efficiency of task execution.

Method used

Through the metadata-driven ubiquitous equipment access and monitoring system, the equipment management module is used to store the equipment metadata model, the equipment operation scheduling module sends scheduling instructions, and the equipment ubiquitous control agent module automatically parses the equipment metadata model, generates and sends control instructions, and monitors the execution of equipment tasks.

Benefits of technology

It realizes the automated collaborative task execution of equipment without human intervention, thus improving the efficiency of task execution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120218545B_ABST
    Figure CN120218545B_ABST
Patent Text Reader

Abstract

The present application provides a metadata-driven ubiquitous equipment access and monitoring system, in which the equipment library of the equipment management module stores the equipment metadata model; the equipment operation scheduling module sends scheduling instructions to the equipment ubiquitous control agent module; the equipment ubiquitous control agent module determines the target equipment when detecting the scheduling instruction corresponding to the target task; sets the execution tag corresponding to the target equipment based on the task information; parses the equipment metadata model to obtain control parameters; converts the scheduling instruction into a control instruction based on the control parameters and task information corresponding to the target equipment; and sends the control instruction to the target equipment based on the execution tag to monitor the business process of the target equipment executing the target task. The system of the present application can automatically generate the control instructions corresponding to each business process in the task. Even if multiple equipment need to collaborate to execute the task, there is no need for the user to participate in the corresponding operation of matching the control instructions of each equipment, thereby improving the execution efficiency of the task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of equipment control technology, and in particular to a metadata-driven ubiquitous equipment access and monitoring system. Background Art

[0002] With the accelerated deployment of new equipment such as satellites, drone clusters, optoelectronic radars, and signal detection equipment, various types of equipment generally have incompatible communication protocols, heterogeneous data formats, and inconsistent interface specifications due to differences in development years, functional positioning, and technical standards.

[0003] In the existing technology, each time a combat simulation-related task is performed, it is usually necessary for multiple equipment to work together. However, due to the differences between the equipment, before each task is performed, technicians need to configure corresponding control instructions in advance based on the differences between the equipment, so as to call each equipment to collaboratively perform the task through different control instructions. The method of calling each equipment to work together through the existing technology not only places high demands on the technical personnel's capabilities, but also affects the efficiency of task execution when a large number of equipment need to work together. Summary of the Invention

[0004] In view of this, the present application provides a metadata-driven ubiquitous equipment access and monitoring system. Through this system, the equipment ubiquitous control agent module can realize automated control of equipment to automatically complete target tasks without human intervention, thereby improving task execution efficiency.

[0005] In a first aspect, the present application provides a metadata-driven ubiquitous equipment access and monitoring system, the system comprising:

[0006] Equipment management module, equipment operation scheduling module and equipment ubiquitous control agent module;

[0007] The equipment management module includes an equipment library, and the equipment library is used to store equipment metadata models;

[0008] The equipment operation scheduling module is used to send scheduling instructions to the equipment ubiquitous control agent module;

[0009] The equipment ubiquitous control agent module is configured to determine at least one target equipment to execute the target task when a scheduling instruction corresponding to the target task is detected;

[0010] Based on the task information of the target task, setting an execution mark corresponding to the target equipment, the execution mark being used to record at least one execution time of the target equipment executing the target task;

[0011] Parsing a preset equipment metadata model corresponding to the target equipment to obtain control parameters corresponding to the target equipment, wherein the equipment metadata model is used to define standardized data of the corresponding target equipment;

[0012] converting the scheduling instruction into at least one control instruction based on the control parameters corresponding to the target equipment and the task information;

[0013] sending the control instruction to the target device based on the execution flag corresponding to the target device;

[0014] The target equipment is monitored for executing a business process related to the control instruction in the target task, so as to obtain execution data of the business process executed by the target equipment.

[0015] In an optional embodiment, the equipment management module is further configured to:

[0016] Collect metadata description information of newly added equipment;

[0017] Based on the metadata description information, an equipment metadata model corresponding to the newly added equipment is established.

[0018] In an optional embodiment, the equipment management module collects metadata description information of the newly added equipment, and is specifically used to: collect metadata description information of the newly added equipment when the newly added equipment is scanned and connected to the target network range; or obtain metadata description information uploaded by the newly added equipment when a registration message is received from the newly added equipment.

[0019] In an optional embodiment, the equipment ubiquitous control agent module parses a preset equipment metadata model corresponding to the target equipment, specifically for:

[0020] Generate a model cache queue, wherein the model cache queue is used to store equipment metadata models corresponding to all target equipment that execute the target task;

[0021] Parse each of the equipment metadata models in the model cache queue according to the queue order of the model cache queue.

[0022] In an optional embodiment, the equipment ubiquitous control agent module converts the scheduling instruction into at least one control instruction based on the control parameters corresponding to the target equipment and the task information, specifically for:

[0023] When the current time reaches a time range corresponding to an execution time recorded by the execution mark of the target device, determining a target business process to be executed by the target task at the execution time;

[0024] Obtaining process information of the target business process in the task information;

[0025] Based on the process information and the control parameters corresponding to the target equipment, the scheduling instruction is converted into a control instruction that matches the target equipment, and the control instruction is only used to control the target equipment to execute the target business process.

[0026] In an optional embodiment, after the equipment ubiquitous control agent module converts the scheduling instruction into a control instruction related to each business process that the target equipment is responsible for, the equipment ubiquitous control agent module is further configured to:

[0027] Determining at least one business process for which the target equipment is responsible based on the task information;

[0028] Obtaining process information of all business processes in the task information;

[0029] Based on the control parameters of the target device and the process information of each business process that the target device is responsible for, the scheduling instruction is converted into a control instruction related to each business process that the target device is responsible for.

[0030] In an optional embodiment, after the equipment ubiquitous control agent module converts the scheduling instruction into a control instruction related to each business process that the target equipment is responsible for, the equipment ubiquitous control agent module is further configured to: generate an instruction queue, the instruction queue being configured to store all control instructions related to the business processes for executing the target task;

[0031] The ubiquitous control agent for equipment sends the control instruction to the target equipment based on the execution tag corresponding to the target equipment, specifically for:

[0032] If the current time reaches a time range corresponding to an execution time in the execution tag of the target device, determining a business process to be executed by the target device at the execution time;

[0033] Selecting a target control instruction related to the business process to be executed from the instruction queue;

[0034] Sending the target control instruction to the target equipment.

[0035] In an optional embodiment, before sending the control instruction to the target equipment, the equipment ubiquitous control agent module is further configured to:

[0036] Obtaining the communication protocol and connection mode supported by the target equipment in the control parameters;

[0037] A remote connection is established with the target device based on the communication protocol and connection method.

[0038] In an optional embodiment, the equipment ubiquitous control agent module monitors the business process related to the control instruction in the target equipment executing the target task, specifically for:

[0039] receiving in real time status information uploaded by the target equipment during the business operation process of executing the business process related to the control instruction;

[0040] When the status information indicates that an abnormality occurs in the target equipment executing the business operation, alarm information corresponding to the business process is output.

[0041] In an optional embodiment, the equipment ubiquitous control agent module monitors the business process related to the control instruction in the target equipment executing the target task, specifically for:

[0042] receiving in real time the business data uploaded by the target equipment during the business operation process of executing the business process related to the control instruction;

[0043] Convert the business data into data in a target format.

[0044] Compared with the prior art, this application has the following advantages:

[0045] The present application provides a metadata-driven ubiquitous access and monitoring system for equipment, comprising: when an equipment ubiquitous control agent module detects a scheduling instruction corresponding to a target task issued by an equipment operation scheduling module, it determines at least one target equipment to execute the target task; based on the task information of the target task, it sets an execution tag corresponding to the target equipment, and the execution tag is used to record at least one execution time of the target equipment executing the target task; it parses a preset equipment metadata model corresponding to the target equipment to obtain control parameters corresponding to the target equipment, and the equipment metadata model is used to define standardized data of the target equipment corresponding to the target equipment; based on the control parameters and task information corresponding to the target equipment, it converts the scheduling instruction into at least one control instruction; based on the execution tag corresponding to the target equipment, it sends a control instruction to the target equipment to monitor the business process related to the control instruction in the target task executed by the target equipment. By applying the embodiments of the present application, when a task needs to be executed, the control instruction corresponding to each business process in the task can be automatically generated. Even if multiple equipment need to collaboratively execute the task, there is no need for the user to participate in the corresponding operation of matching the control instruction of each equipment, thereby improving the execution efficiency of the task. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.

[0047] Figure 1 A system structure diagram of a metadata-driven ubiquitous equipment access and monitoring system provided in an embodiment of the present application;

[0048] Figure 2 Flowchart of how the ubiquitous control agent module for equipment provided in the embodiment of the present application realizes control of equipment;

[0049] Figure 3 A flow chart of generating control instructions for the ubiquitous control agent module of the equipment provided in the embodiment of the present application;

[0050] Figure 4 Another flowchart of the ubiquitous control agent module for generating control instructions for equipment provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0052] In this application, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. The terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or apparatus comprising the element.

[0053] The present application can be used in a variety of general or special computing device environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multi-processor devices, and distributed computing environments including any of the above devices or devices.

[0054] The embodiment of the present application provides a metadata-driven ubiquitous equipment access and monitoring system, the system block diagram of which is as follows: Figure 1 As shown, the system includes: an equipment management module 10, an equipment operation scheduling module 20 and an equipment ubiquitous control agent module 30.

[0055] The equipment management module 10 includes an equipment library for storing equipment metadata models, which are used to define standardized data of equipment. The equipment management module 10 integrates equipment metadata models corresponding to multiple equipment, and each integrated equipment metadata model is stored in the equipment library.

[0056] The process of integrating the equipment metadata model corresponding to the equipment by the equipment management module 10 is as follows: collecting metadata description information of the newly added equipment; and establishing the equipment metadata model corresponding to the newly added equipment based on the metadata description information. The newly added equipment is the equipment newly connected to the preset target network.

[0057] In one embodiment, the equipment management module 10 may further include an equipment profile management submodule that scans the target network in real time for newly connected equipment. Upon detecting newly connected equipment within the target network range, the equipment management module 10 collects metadata description information for the newly connected equipment. Upon detecting newly connected equipment within the target network range, the equipment management module 10 sends a request message corresponding to the metadata description information to the newly connected equipment. If the newly connected equipment responds to the request message, the equipment management module 10 proactively obtains the metadata description information for the newly connected equipment, constructs an equipment metadata model corresponding to the newly connected equipment based on the metadata description information, and stores the equipment metadata model in the equipment library.

[0058] In another embodiment, the equipment management module 10 may further include an equipment registration management submodule. After connecting to the target network, the equipment may proactively send a registration message to the equipment management module 10. Upon receiving the registration message from the newly added equipment, the equipment registration management submodule of the equipment management module 10 responds to the registration message. The newly added equipment uploads metadata description information based on the response from the equipment registration management submodule. The equipment registration management submodule then obtains the metadata description information proactively uploaded by the newly added equipment, constructs an equipment metadata model corresponding to the newly added equipment based on the metadata description information, and stores the equipment metadata model in the equipment library.

[0059] The equipment operation scheduling module 20 is used to send scheduling instructions to the equipment ubiquitous control agent module 30. The equipment operation scheduling module 20 also includes an interaction module, which includes a display control submodule and a scheduling control submodule. The display control submodule is mainly used to display the various tasks that can be currently executed by the metadata-driven equipment ubiquitous access and monitoring system, and to display the operation page corresponding to the task. When the user selects a task through the operation page, the scheduling instruction corresponding to the task is generated. The scheduling control submodule can be an external device for selecting executable tasks or a control component connected to the external device in the metadata-driven equipment ubiquitous access and monitoring system. When the user selects a task through the external device or the control component, the scheduling instruction corresponding to the task is generated.

[0060] In the present application, if the equipment operation scheduling module 20 generates scheduling instructions corresponding to multiple tasks, they can be saved in a preset control queue according to the generation order of each scheduling instruction. According to the first-in-first-out principle in the control queue, each time a task needs to be executed, the equipment operation scheduling module obtains the scheduling instructions in the control queue and sends them to the equipment ubiquitous control agent module 30.

[0061] After detecting the scheduling instruction from the equipment operation scheduling module 20, the equipment ubiquitous control agent module 30 controls multiple equipments to collaboratively process the target task corresponding to the scheduling instruction according to the scheduling instruction.

[0062] refer to Figure 2 , Figure 2 The flowchart shown is the relevant execution steps of the equipment ubiquitous control agent module 30 in this application to control multiple equipment to collaboratively process the scheduling instruction according to the scheduling instruction:

[0063] S1: When a scheduling instruction corresponding to a target task is detected, at least one target equipment for executing the target task is determined.

[0064] The scheduling instruction may also be set in advance by the equipment operation scheduling module 20 according to a preset time node (eg, setting a timer, and automatically initiating a scheduling instruction corresponding to the target task when the timer reaches the target time).

[0065] According to the various business processes included in the target task, the target equipment responsible for each business process is determined. Specifically, the various business processes required to be executed by the target task and the target equipment responsible for each business process can be determined through the task information of the target task.

[0066] S2: Based on the task information of the target task, set the execution mark corresponding to the target equipment.

[0067] The execution mark is used to record at least one execution time of the target equipment executing the target task.

[0068] Task information includes the task type, task number, the tasks involved, the task processes, the task start time, and the execution time of each task process. Based on the task process details, the target equipment for executing each task process is determined. Based on the execution time of each task process, an execution flag is set for each target equipment.

[0069] In an optional embodiment, if the task information does not include the execution time of each business process, the execution time of each business process can be set based on the relationship between the business processes in the target task. Specifically, for the execution time of each business process in the target task, if there is no relationship between the business processes, the execution time of each business process is set based on the actual application; if there is a relationship between the business processes, the time required for each business process to complete is calculated, and the execution time corresponding to each business process is set based on the start time of the target task and the time required for each business process to complete.

[0070] For a target task requiring the coordinated operation of multiple target devices, not all target devices need to be used to execute the business processes within the same time period. Therefore, the target devices required for each execution time are determined based on the execution time of each business process in the task information and the process information of the business process. Each target device may be responsible for the operation of at least one business process, so the execution time of each business process required to be executed by the target device is used as the execution tag of the target device.

[0071] S3: Parse the equipment metadata model corresponding to the preset target equipment to obtain the control parameters corresponding to the equipment.

[0072] The equipment metadata model is used to define the standardized data of the corresponding target equipment. This standardized data includes control parameter descriptions such as the equipment's classification, model, performance parameters, connection method, interface type, and communication protocol. By parsing the equipment metadata model, the specific control parameters of the target equipment are obtained.

[0073] Before receiving the scheduling instruction, equipment metadata models of a plurality of equipment are stored in a preset equipment library, and each equipment metadata model is used to define the metadata structure and control parameter structure of its corresponding equipment.

[0074] After receiving a scheduling instruction, the system retrieves the instruction information. This information includes the task information and the equipment identifiers (e.g., equipment name and equipment ID) of each device that will perform the task. Based on the equipment identifiers, the system searches the equipment library for the corresponding equipment metadata model for each target device that will perform the task and parses the equipment metadata model.

[0075] In this embodiment of the present application, the equipment metadata models stored in the equipment library of the equipment management module 10 are updated in real time. However, if any equipment exits the target network, the equipment metadata model corresponding to that equipment in the equipment library is deleted. Conversely, if a new equipment is added to the target network, the equipment metadata model corresponding to the new equipment is added to the equipment library.

[0076] In the present application, the process of the equipment ubiquitous control agent module 30 parsing the equipment metadata model corresponding to the target equipment can be: generating a model cache queue, the model cache queue is used to store the corresponding equipment metadata models of all target equipment that execute the target task; according to the queue order of the model cache queue, parsing each equipment metadata model in the model cache queue.

[0077] It should be noted that after the model cache queue is generated, the model cache queue is persistently cached to prevent the equipment metadata model from being obtained from the model queue again for parsing when the target equipment is restarted during the execution of business process operations.

[0078] The queue order of each equipment metadata model in the model cache queue is sorted according to the first execution time in the execution tag of the target equipment.

[0079] For example, if equipment A, B, and C need to collaborate to complete a target task, the execution times recorded in equipment A's execution tag include 10:20 and 12:00, the execution times recorded in equipment B's execution tag include 10:00 and 13:00, and the execution time recorded in equipment C's execution tag is 11:00. The model cache queue is then sorted only according to the execution order of the first execution time in each equipment's execution tag. The order in which the equipment metadata models corresponding to each equipment are cached in the model cache queue is: equipment metadata model B corresponding to equipment B, equipment metadata model A corresponding to equipment A, and equipment metadata model C corresponding to equipment C. When parsing the equipment metadata models in the model cache queue, the parsing order is: corresponding equipment metadata model B, corresponding equipment metadata model A, and corresponding equipment metadata model C.

[0080] S4: Based on the control parameters and task information corresponding to the target equipment, convert the scheduling instruction into at least one control instruction.

[0081] It should be noted that the target task contains multiple business processes. In the process of generating control instructions, corresponding control instructions need to be generated for each business process. In the target task, the same target equipment may need to be responsible for the execution of multiple business processes. Therefore, in the process of converting the scheduling instructions into control instructions based on the control parameters and task information corresponding to the target equipment, corresponding control instructions will be generated according to each business process that the target equipment needs to be responsible for.

[0082] In an optional embodiment, for each target device responsible for the target task, the specific implementation process of converting the scheduling instruction into at least one control instruction based on the control parameters and task information corresponding to the target device is as follows: Figure 3 The flowchart shown, Figure 3 The flowchart shown includes the following steps:

[0083] S41: When the current time reaches a time range corresponding to an execution time recorded by an execution mark of a target device, a target business process to be executed by a target task at the execution time is determined.

[0084] In the target task, each business process has a corresponding execution time and a target device responsible for executing the business process. After setting the execution mark for each target device responsible for the target task, poll whether the current time reaches the time range corresponding to any execution time according to the execution time in the execution mark. The latest time t1 in the time range (t0-t1) is equal to the execution time T1.

[0085] S42: Obtain process information of the target business process in the task information.

[0086] The process information includes relevant execution parameters such as the flow program number, process name, process content, and process execution standards of the target business process.

[0087] S43: Based on the process information and the control parameters corresponding to the target equipment, the scheduling instruction is converted into a control instruction that matches the target equipment.

[0088] The control instruction is used only to control the target equipment to execute the target business process. The control instruction carries relevant execution parameters such as the target business process's flow program number, process name, process content, and process execution standard. It can also carry parameters such as the target equipment's corresponding device address, device port, and device communication method. It can also carry the original instruction information of the scheduling instruction.

[0089] Converting the dispatching instructions into control instructions that match the target equipment is based on the control parameters corresponding to the target equipment. Converting the dispatching instructions into instructions in a data format that the target equipment can receive, so that the target equipment can normally receive the relevant instructions and realize the call of relevant data and information.

[0090] Based on the contents of the above steps S41-S43, when converting the scheduling instructions into control instructions, it is possible to determine whether there is a business process that needs to be executed at the current time in a polling manner. The single polling process is only used for the business process that needs to be executed at the current time.

[0091] Optionally, after parsing and obtaining the control parameters corresponding to each target device responsible for the target task, a parameter cache queue corresponding to each control parameter can also be set up, and the parameter cache queue is used to cache each control parameter. A polling mechanism can be set up to poll the current time in real time or according to a preset time period to determine whether a new control instruction needs to be generated. If the polling mechanism detects that the current time is within the time range corresponding to any execution time (for example, current time T0 ≤ execution time T1 - Δt, where Δt is the time difference between the earliest time t0 and the latest time t1 within the time range corresponding to the execution time), the control parameters corresponding to the target device used to execute the target business process are obtained from the parameter cache queue, and the scheduling instruction is converted into a control instruction based on the control parameters and the process information of the target business process.

[0092] In conjunction with the embodiment corresponding to S3 above, after obtaining the equipment metadata models corresponding to each target equipment, each equipment metadata model can be stored in a model cache queue. After parsing each equipment metadata model in the model cache queue and obtaining control parameters, each control parameter can also be cached in a parameter cache queue. If control instructions corresponding to the target business process need to be generated at the current time, it is only necessary to obtain the control parameters of the target equipment from the parameter cache queue and convert the scheduling instructions into control instructions based on the process information of the target business process.

[0093] By applying the embodiments of the present application, even if the target equipment needs to execute multiple business processes, it is only necessary to parse the equipment metadata model once. Each time a business process is executed, it is only necessary to convert the scheduling instructions into control instructions for the business process to be executed based on the existing control parameters and the process information of the business process. Therefore, the process of generating scheduling instructions in this application can automatically implement the instruction generation process each time a business process needs to be executed, without the need for the user to participate in the relevant configuration. If corresponding control instructions need to be generated for a large number of equipment, they can also be executed quickly, thereby improving the execution efficiency of the target task.

[0094] In another optional embodiment, for each target device responsible for the target task, the specific implementation process of converting the scheduling instruction into at least one control instruction based on the control parameters and task information corresponding to the target device is as follows: Figure 3 The flowchart shown, Figure 3 The flowchart shown includes the following steps:

[0095] S44: Based on the task information, determine at least one business process that the target equipment is responsible for.

[0096] According to the task content in the task information, the target equipment responsible for each business process in the target task is determined. For the target equipment responsible for the target task specified in the scheduling instruction, each target equipment is responsible for at least one business process.

[0097] S45: Obtain process information of all business processes in the task information.

[0098] S46: Based on the control parameters of the target equipment and the process information of each business process that the target equipment is responsible for, converting the scheduling instruction into a control instruction related to each business process that the target equipment is responsible for.

[0099] If the target equipment is responsible for multiple business processes in the target task, the scheduling instructions will be converted into multiple control instructions at one time based on the process information of each business process that the target equipment is responsible for and the control instructions corresponding to the target equipment. The control instructions obtained by the conversion correspond one-to-one to each business process that the target equipment is responsible for.

[0100] Based on the implementation method of the present application, for each business process that each target equipment is responsible for, the scheduling instructions are converted into control instructions related to each business process at one time. When it is necessary to control the target equipment to execute any business process in the future, the control instructions related to the business process can be directly obtained without generating new control instructions again, thereby saving the instruction generation time and improving the execution efficiency of the target task.

[0101] Optionally, in the process of converting the scheduling instructions into control instructions related to multiple business processes simultaneously, the instruction conversion process can be accelerated by calling multiple threads to collaborate on the instruction conversion process, thereby further improving work efficiency.

[0102] S5: Based on the execution mark corresponding to the target equipment, a control instruction is sent to the target equipment, so that the target equipment executes the business process related to the control instruction in the target task.

[0103] The execution mark records the execution time of the business process in the target task that the target device is responsible for executing. If the current time reaches the time range corresponding to any execution time in the execution mark, a control instruction to execute the business process is sent to the target device.

[0104] In an embodiment of the present application, when a scheduling instruction corresponding to a target task is monitored, each target device that needs to execute the target is determined, and based on the task information of the target task, a corresponding execution tag is set for each target device, so as to determine the time when a control instruction needs to be sent to the target device through each execution tag. The equipment metadata model corresponding to the target equipment is obtained, and the equipment metadata model is parsed to determine the metadata structure of the target equipment, and the control parameters of the target equipment are obtained according to the metadata structure. Based on the control parameters of the target equipment and the task information of the target task, the scheduling instruction is converted into a control instruction, and when the current time reaches the time range corresponding to the execution time in the execution tag, the control instruction is sent to the target device. After receiving the control instruction, the target device executes the business process related to the control instruction according to the control parameters and task information carried in the control instruction.

[0105] In the process of generating control instructions, if the control instructions are generated according to the above-mentioned execution steps S41-S43, then after the control instructions are generated, the control instructions are directly sent to the target equipment responsible for executing the target business process; if the control instructions are generated according to the above-mentioned execution steps S44-S46, it is necessary to wait for the current time to reach the execution time range in the executable tag before the control instructions can be sent to the target equipment.

[0106] It can be understood that the control instruction generation process of the above S41-S43 is generated only after the current time reaches the time range corresponding to the execution time, while the control instruction generation process of the above S44-S46 can be generated in advance when the current time has not reached the time range corresponding to the execution time.

[0107] Through the control instruction generation process corresponding to S41-S43 or the control instruction generation process corresponding to S44-S46, the control instructions can be automatically generated without the need for the user to participate in the relevant configuration, thereby further improving the execution efficiency of the target task.

[0108] According to the process corresponding to S41-S43 above, before the current time reaches the execution time recorded in the execution tag, it is necessary to pre-determine the target business process that needs to be executed, so as to obtain control instructions in advance based on the process information of the target business process and the control parameters corresponding to the target equipment, and send control instructions to the target equipment until the current time is the execution time recorded in the execution tag.

[0109] In this application, after pre-generating control instructions corresponding to all business processes according to the above steps S44-S46, an instruction queue can also be generated. This instruction queue is used to store all control instructions related to the business processes for executing the target task. After the instruction queue is generated, the specific implementation process of sending the control instructions to the target equipment based on the execution flag corresponding to the target equipment is as follows:

[0110] If the current time reaches the time range corresponding to an execution time in the execution mark of the target device, determine the business process to be executed by the target device at the said execution time; select the target control instruction related to the business process to be executed from the instruction queue; and send the target control instruction to the target device.

[0111] The control instructions stored in the instruction queue can be sorted by their corresponding execution time. All control instructions are stored in the instruction queue. If the target device encounters an abnormality such as an execution interruption during the execution of any business process and needs to re-execute the business process, the control instruction can be retrieved from the instruction queue and resent to the target device, allowing the target device to re-execute the business process after receiving the control instruction.

[0112] Since different equipment supports different communication protocols and connection methods, in order to avoid communication failures caused by the communication process, it is necessary to establish a remote connection with the equipment in advance before sending a control instruction to the target equipment each time. After parsing the equipment metadata model corresponding to the target equipment to obtain the control parameters, the communication protocol and connection method supported by the target equipment can be directly determined. Among them, the communication protocols may include Modbus, RS-232, RS-485, Ethernet, etc., and the remote connection method may be to the target equipment connected through an independent thread. Therefore, before sending the control instruction to the target equipment, the communication protocol and connection method supported by the target equipment in the control parameters are obtained; and a remote connection is made to the target equipment based on the communication protocol and connection method.

[0113] In one embodiment, the relevant parameters and statements for remotely connecting to the target device according to the communication protocol and connection mode of the target device may be as follows:

[0114] {DevId: "", / / Equipment id;

[0115] DevConType: "", / / Equipment communication mode, Modbus, RS-232, RS-485, Ethernet, etc.

[0116] DevAddr: "", / / equipment address;

[0117] DevPort: "", / / Equipment port;

[0118] DevArgs / / Equipment parameters, automatically mapped and generated based on the metadata model, taking the control of antenna azimuth and pitch as an example;

[0119] {azimuth_deg:45.5,

[0120] elevation_deg:78.25

[0121] According to the metadata definition of the equipment metadata model, the "DevArgs" content is extracted to automatically generate control instructions. After the control instructions are generated, the control instructions can also be converted into a format supported by the target equipment. The formats supported by the target equipment can include JSON, XML, Bytes, and SCPI.

[0122] S6: Monitor the business process related to the control instruction in the target equipment executing the target task to obtain execution data of the business process executed by the target equipment.

[0123] The execution data includes business data generated during the process of the target equipment executing the business operation corresponding to the business process and the state information of the target equipment uploaded by the target equipment in real time.

[0124] In one embodiment, after sending the control command to the target device, the target device's business process execution can be monitored, and the target device's proactive feedback and business data can be obtained in real time. The status information indicates whether the target device is experiencing an anomaly, and the business data is used to determine the execution result of the business process executed by the target device.

[0125] By receiving in real time the status information uploaded by the target equipment during the business operation of the business process related to the execution of the control instruction; when the status information indicates that there is an abnormality in the business operation of the target equipment, the alarm information corresponding to the business process is output. If the target equipment does not execute the business operation of the business process according to the instruction after receiving the control instruction, it indicates that there is an error in the control instruction itself (such as a syntax error), or the software or hardware of the target equipment cannot keep up with the corresponding business operation, or the network connection is poor. When the status information indicates that there is an abnormality in the business operation of the target equipment, an alarm message is output. The alarm information includes the equipment name, equipment number, execution time, error description, original instruction information, etc., so that technical personnel can conduct technical troubleshooting of the abnormality based on the content of the alarm information when receiving the alarm information.

[0126] The equipment ubiquitous control agent module 30 receives business data uploaded by target equipment in real time during the execution of business processes related to control instructions. It converts the business data into a target format supported by the metadata-driven equipment ubiquitous access and monitoring system. After the business data is converted, it can be persistently stored. Simultaneously, the equipment ubiquitous control agent module 30 also sends the business data to the equipment operation scheduling module 20, which displays the business data. Based on the displayed business data, technicians can query the execution progress of the target task and retrieve business data for other business operations through the display interface.

[0127] In this embodiment of the present application, when the business operation of the last business process in the target task is completed, the equipment ubiquitous control agent module 30 can also generate an initialization instruction and send the initialization instruction to the target equipment to initialize each target equipment. In addition, it can also delete or clear the data stored in each pre-created queue (such as the instruction queue, model cache queue, and parameter cache queue).

[0128] By applying the embodiments of the present application, the equipment ubiquitous control agent module 30 can automatically generate control instructions for each device based on the received scheduling instructions when multiple devices need to complete the target task. Even if there are differences between the devices, different devices can still be called without manual operation, further improving the efficiency of task execution.

[0129] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple. For relevant parts, refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.

[0130] Those skilled in the art may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented by electronic hardware, computer software, or a combination of both.

[0131] To clearly illustrate the interchangeability of hardware and software, the above descriptions have generally described the components and steps of each example by function. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0132] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A metadata-driven ubiquitous equipment access and monitoring system, characterized by: include: Equipment management module, equipment operation scheduling module and equipment ubiquitous control agent module; The equipment management module includes an equipment library, and the equipment library is used to store equipment metadata models; The equipment operation scheduling module is used to send scheduling instructions to the equipment ubiquitous control agent module; The equipment ubiquitous control agent module is used to: When a scheduling instruction corresponding to a target task is detected, determining at least one target equipment to execute the target task; Based on the task information of the target task, setting an execution mark corresponding to the target equipment, the execution mark being used to record at least one execution time of the target equipment executing the target task; Parsing a preset equipment metadata model corresponding to the target equipment to obtain control parameters corresponding to the target equipment, wherein the equipment metadata model is used to define standardized data of the corresponding target equipment; converting the scheduling instruction into at least one control instruction based on the control parameters corresponding to the target equipment and the task information; sending the control instruction to the target device based on the execution flag corresponding to the target device; monitoring a business process related to the control instruction in execution of the target task by the target equipment to obtain execution data of the business process by the target equipment; The equipment ubiquitous control agent module converts the scheduling instruction into at least one control instruction based on the control parameters corresponding to the target equipment and the task information, specifically for: Determining at least one business process for which the target equipment is responsible based on the task information; Obtaining process information of all business processes in the task information; Based on the control parameters of the target equipment and the process information of each business process that the target equipment is responsible for, converting the scheduling instruction into a control instruction related to each business process that the target equipment is responsible for; wherein, after converting the scheduling instruction into a control instruction related to each business process for which the target equipment is responsible, the equipment ubiquitous control agent module is further configured to: generate an instruction queue, wherein the instruction queue is configured to store all control instructions related to the business processes for executing the target task; The equipment ubiquitous control agent module sends the control instruction to the target equipment based on the execution tag corresponding to the target equipment, specifically for: If the current time reaches a time range corresponding to an execution time in the execution tag of the target device, determining a business process to be executed by the target device at the execution time; Selecting a target control instruction related to the business process to be executed from the instruction queue; Sending the target control instruction to the target equipment.

2. The metadata-driven ubiquitous equipment access and monitoring system according to claim 1, characterized in that: The equipment management module is further used to: Collect metadata description information of newly added equipment; Based on the metadata description information, an equipment metadata model corresponding to the newly added equipment is established.

3. The metadata-driven ubiquitous equipment access and monitoring system according to claim 2, characterized in that: The equipment management module collects metadata description information of newly added equipment, specifically for: When the newly added equipment is found to be connected to the target network range, metadata description information of the newly added equipment is collected; or, when a registration message sent by the newly added equipment is received, metadata description information uploaded by the newly added equipment is obtained.

4. The metadata-driven ubiquitous equipment access and monitoring system according to claim 1, characterized in that: Before sending the control instruction to the target equipment, the equipment ubiquitous control agent module is further configured to: Obtaining the communication protocol and connection mode supported by the target equipment in the control parameters; A remote connection is established with the target device based on the communication protocol and connection method.

5. The metadata-driven ubiquitous equipment access and monitoring system according to claim 1, characterized in that: The equipment ubiquitous control agent module monitors the business process related to the control instruction in the target equipment executing the target task, and is specifically used to: receiving in real time status information uploaded by the target equipment during the business operation process of executing the business process related to the control instruction; When the status information indicates that an abnormality occurs in the target equipment executing the business operation, alarm information corresponding to the business process is output.

6. The metadata-driven ubiquitous equipment access and monitoring system according to claim 5, characterized in that: The ubiquitous control of the equipment is also used for: receiving in real time the business data uploaded by the target equipment during the business operation process of executing the business process related to the control instruction; Convert the business data into data in a target format.

7. A metadata-driven ubiquitous equipment access and monitoring system, characterized by: include: Equipment management module, equipment operation scheduling module and equipment ubiquitous control agent module; The equipment management module includes an equipment library, and the equipment library is used to store equipment metadata models; The equipment operation scheduling module is used to send scheduling instructions to the equipment ubiquitous control agent module; The equipment ubiquitous control agent module is used to: When a scheduling instruction corresponding to a target task is detected, determining at least one target equipment to execute the target task; Based on the task information of the target task, setting an execution mark corresponding to the target equipment, the execution mark being used to record at least one execution time of the target equipment executing the target task; Parsing a preset equipment metadata model corresponding to the target equipment to obtain control parameters corresponding to the target equipment, wherein the equipment metadata model is used to define standardized data of the corresponding target equipment; converting the scheduling instruction into at least one control instruction based on the control parameters corresponding to the target equipment and the task information; sending the control instruction to the target device based on the execution flag corresponding to the target device; monitoring a business process related to the control instruction in execution of the target task by the target equipment to obtain execution data of the business process by the target equipment; The equipment ubiquitous control agent module parses the preset equipment metadata model corresponding to the target equipment, specifically for: Generate a model cache queue, wherein the model cache queue is used to store equipment metadata models corresponding to all target equipment that execute the target task; Parsing each of the equipment metadata models in the model cache queue according to the queue order of the model cache queue; The equipment ubiquitous control agent module converts the scheduling instruction into at least one control instruction based on the control parameters corresponding to the target equipment and the task information, specifically for: When the current time reaches a time range corresponding to an execution time recorded by the execution mark of the target device, determining a target business process to be executed by the target task at the execution time; Obtaining process information of the target business process in the task information; Based on the process information and the control parameters corresponding to the target equipment, the scheduling instruction is converted into a control instruction that matches the target equipment, and the control instruction is only used to control the target equipment to execute the target business process.

Citation Information

Patent Citations

  • Metadata acquisition method, device and equipment and computer readable storage medium

    CN109656963A

  • Equipment intelligence method, equipment and readable storage medium

    CN114442537A