Multi-device Cooperative Control Method, Apparatus, Device, and Storage Medium

By generating program control functions based on knowledge base and perceptual intelligent algorithms, combining and collaboratively controlling multi-group equipment, performing control and counter-control detection and frequent control monitoring, the problems of coordinated control and counter-control monitoring in the multi-equipment group control system are solved, and efficient coordinated control and monitoring of multi-equipment groups are achieved.

CN114416141BActive Publication Date: 2025-07-08PERSAGY TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210067784.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-20
Publication Date
2025-07-08
Estimated Expiration
2042-01-20

AI Technical Summary

Technical Problem

In the prior art, multi-device group control systems have challenges in collaborative control, multi-control target coordinated control and control and counter-monitoring monitoring, especially in terms of control coordination among multiple group equipment, coordinated control and control targets of multiple group equipment in a single control system, and control and inconsistent monitoring of multiple group equipment.

Method used

Through the knowledge base and perceptual intelligent algorithm, program control functions for multi-group devices facing multi-control targets are generated, program control functions are merged and coordinated control, control and counter-detection and frequent control monitoring are performed, and frequent control of multiple controllers are coordinated to realize coordinated control and counter-control monitoring of multiple devices.

Benefits of technology

The coordinated control and counter-control monitoring of multi-device groups are realized, and the problem of inability to effectively coordinate the control of multiple devices and multiple control targets in the existing technology is solved, and the coordination and monitoring efficiency of the control system are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114416141B_ABST
    Figure CN114416141B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention discloses a multi-device collaborative control method, device, equipment and storage medium. The method includes: generating a program control function for multiple groups of devices facing multiple control targets according to a preset knowledge base; merging the program control functions according to the devices, control priorities and device control relationships, and performing collaborative control on the multiple groups of devices; performing control feedback detection on the multiple groups of devices to obtain the control feedback situations of multiple control parties; monitoring the frequent control situations of each group of devices according to a perception intelligent algorithm, and coordinating the frequent controls of multiple control parties. The technical solution of the embodiment of the present invention realizes the collaborative control and control feedback monitoring of multiple groups of devices facing multiple control targets based on the knowledge base and the perception intelligent algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical fields of automatic control and intelligent systems, and in particular, to a multi-device collaborative control method, device, equipment, and storage medium. Background Art

[0002] Existing control systems mainly include constant value control, servo control, and program control systems. Constant value control means that the given value remains constant; servo control means that the set value changes continuously; program control is an automatic control achieved by a pre-compiled fixed program.

[0003] In the prior art, when controlling multiple groups of devices, problems of control coordination between multiple groups of devices are faced. The control coordination problems include: 1. Unified control of multiple control systems with different structures; 2. Coordinated control of multiple control targets of multiple groups of devices in a single control system; 3. Monitoring of inconsistent control and anti-control of multiple control targets of multiple groups of devices. Summary of the Invention

[0004] Embodiments of the present invention provide a multi-device collaborative control method, device, equipment, and storage medium to achieve collaborative control and control and anti-control monitoring of multiple groups of devices facing multiple control targets based on a knowledge base and a perception intelligent algorithm.

[0005] In a first aspect, embodiments of the present invention provide a multi-device collaborative control method, including:

[0006] Generating a program control function for multiple groups of devices facing multiple control targets according to a preset knowledge base;

[0007] Merging the program control functions according to the devices, control priorities, and device control relationships, and performing collaborative control on multiple groups of devices;

[0008] Performing control and anti-control detection on multiple groups of devices to obtain the control and anti-control situations of multiple control parties;

[0009] Monitoring the frequent control situations of each group of devices according to the perception intelligent algorithm, and coordinating the frequent controls of multiple control parties.

[0010] Optionally, generating a program control function for multiple groups of devices facing multiple control targets according to a preset knowledge base includes:

[0011] Selecting the devices to be controlled according to the control quantity relationship in the control target and control relationship knowledge base;

[0012] Generating a control target program control function for constant value control according to the product data of the devices to be controlled;

[0013] Selecting a control mode from the control mode knowledge base according to the current time of the system, and generating a control mode program control function for servo control;

[0014] Generate a supplementary program control function for program control according to the historical control feedback situations of multiple control parties.

[0015] Optionally, merge the program control functions according to devices, control priorities, and device control relationships, including:

[0016] Merge the program control functions belonging to the same device;

[0017] Remove and / or modify the program control functions with control feedback errors, inconsistent control modes, and inconsistent control targets according to the control priorities;

[0018] Adjust the timing control sequence of the program control functions according to the device control relationships.

[0019] Optionally, the control parties include: constant value control, follow-up control, and program control;

[0020] Perform control feedback detection on multi-group devices to obtain the control feedback situations of multiple control parties, including:

[0021] For each group of devices, obtain the device operation status in real time and obtain the program control functions of multiple control parties;

[0022] Compare the device operation status with the control target program control function to obtain the control feedback situation of the constant value control;

[0023] Compare the device operation status with the control mode program control function to obtain the control feedback situation of the follow-up control;

[0024] Compare the device operation status with the supplementary program control function to obtain the control feedback situation of the program control.

[0025] Optionally, according to the perception intelligent algorithm, monitor the frequent control situations of each group of devices and coordinate the frequent controls of multiple control parties, including:

[0026] Obtain the preset frequent control discovery time window and the frequent control frequency within a single time window;

[0027] Process the device operation status of each group of devices into control parameters corresponding to time, and split them into multiple window data according to the frequent control discovery time window;

[0028] Perform control change statistics on each window data, and determine whether each group of devices is frequently controlled according to the magnitude relationship between the statistical result and the frequent control frequency;

[0029] If it is frequently controlled, perform consistent update of the program control function to coordinate the frequent controls of multiple control parties.

[0030] Optionally, perform a consistent update of the program control function, including:

[0031] In response to modification operations on the control mode knowledge base, control relationship knowledge base, and control objectives, update the generation version of the program control function;

[0032] Generate a new version of the program control function according to the modified knowledge base, control objectives, and time;

[0033] Cache the new version of the program control function in the program control function executor, so that the program control function executor switches to the new version of the program control function to perform collaborative control on multi-group devices.

[0034] Optionally, the program control function is divided into four levels: 1 minute, 5 minutes, 1 hour, and 24 hours;

[0035] Generate a new version of the program control function according to the modified knowledge base, control objectives, and time, including:

[0036] For modification operations on the control mode knowledge base and control relationship knowledge base, perform long transaction control updates on the program control functions at the 1-hour and 24-hour levels;

[0037] For modification operations on the control objectives, perform short transaction control updates on the program control functions at the 1-minute and 5-minute levels, and perform long transaction control updates on the program control functions at the 1-hour and 24-hour levels.

[0038] In a second aspect, an embodiment of the present invention further provides a multi-device collaborative control device, including:

[0039] A function generation module, configured to generate a program control function for multi-group devices facing multiple control objectives according to a preset knowledge base;

[0040] A collaborative control module, configured to merge the program control functions according to devices, control priorities, and device control relationships, and perform collaborative control on multi-group devices;

[0041] A control anti-detection module, configured to perform control anti-detection on multi-group devices to obtain the control anti-situation of multiple control parties;

[0042] A frequent control monitoring module, configured to monitor the frequent control situations of each group of devices according to a perception intelligent algorithm, and coordinate the frequent controls of multiple control parties.

[0043] In a third aspect, an embodiment of the present invention further provides a computer device, the device including:

[0044] One or more processors;

[0045] A storage device, configured to store one or more programs,

[0046] When one or more programs are executed by one or more processors, the one or more processors implement a multi-device collaborative control method provided in any embodiment of the present invention.

[0047] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements a multi-device collaborative control method provided in any embodiment of the present invention.

[0048] In the embodiments of the present invention, by generating program control functions for multi-group devices facing multiple control objectives according to a preset knowledge base; merging the program control functions according to devices, control priorities, and device control relationships, and performing collaborative control on the multi-group devices; performing anti-control detection on the multi-group devices to obtain the anti-control situations of multiple control parties; and monitoring the frequent control situations of each group of devices according to a perception intelligent algorithm to coordinate the frequent control of multiple control parties, the problem in the prior art that multi-device multi-control objective collaborative control cannot be achieved is solved, and based on the knowledge base and the perception intelligent algorithm, multi-group device collaborative control and anti-control monitoring facing multiple control objectives can be realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1a is a flowchart of a multi-device collaborative control method in Embodiment 1 of the present invention;

[0050] Figure 1b is a schematic diagram of a building structure in Embodiment 1 of the present invention;

[0051] Figure 1c is a schematic diagram of the principle structure of multi-device collaborative control in Embodiment 1 of the present invention;

[0052] Figure 2 is a schematic diagram of the structure of a multi-device collaborative control device in Embodiment 2 of the present invention;

[0053] Figure 3 is a schematic diagram of the structure of a computer device in Embodiment 3 of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0054] The present invention will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only for explaining the present invention, rather than limiting the present invention. Additionally, it should be noted that for the sake of description, only parts related to the present invention are shown in the drawings rather than all the structures.

[0055] Embodiment 1

[0056] Figure 1aIt is a flowchart of a multi-device collaborative control method in Embodiment 1 of the present invention. This embodiment is applicable to the situation of collaborative control of multiple groups of devices for multiple control targets. This method can be executed by a multi-device collaborative control device, which can be implemented by hardware and / or software and is generally integrated in a computer device providing device control services. As Figure 1a shown, the method includes:

[0057] Step 110: Generate a program control function for multiple groups of devices facing multiple control targets according to a preset knowledge base.

[0058] In this embodiment, the knowledge base includes three types of knowledge: control subject, control mode, and control relationship. The control subject includes: building, functional area, control point, control party, and control target, which describes multiple control targets formed by multiple buildings, multiple functional areas, multiple control points, and multiple control parties with the functional area as the granularity. The control mode includes: product model, product model type, time frequency, device group, device, and control mode, which describes the time-oriented follow-up control targets of devices according to products, product categories, and device groups. The control relationship includes: device group, control quantity relationship, device control relationship, control priority, and control time priority, which describes the devices that can be controlled when the control party wants to control the device to reach the control target, as well as the relationship between the control quantity and the device, the device cooperation control relationship, the authority of the control party, and the time priority.

[0059] In this embodiment, as Figure 1bAs shown, each building is divided into different functional areas, and different control points are set in each functional area. At each control point, the control party controls each product device of different product categories in the functional area, and adjusts the control amount according to the control mode to achieve the control target. Among them, the corresponding data structures of each part include: Building: Building ID, Building Name. Functional Area: Functional Area ID, Building ID, Functional Area Name. Control Point: Control Point ID, Functional Area ID, Equipment ID, Control Point Name. Product: Product ID, Product Category, Product Model, Product Name. Product Category: Product Category ID, Product Category Name. Equipment: Equipment ID, Product ID, Product Category ID, Functional Area ID, Equipment Name. Time: Timestamp ID, Year ID, Quarter ID, Month ID, Day ID, Hour ID, Minute ID. Day: Day ID, Hour ID, Minute ID. Control Target: Control Target ID, Functional Area ID, Temperature, Lighting Brightness, Control Point Status ID. Control Point Status: Control Point Status ID, Functional Area ID, Control Point Status Name. Control Point Status Details: Control Point Status Details ID, Control Point Status ID, Control Point ID, Status Parameter, Status Value. Equipment Group: Equipment Group ID, Equipment Group Name. Equipment Group and Equipment Relationship: Equipment Group and Equipment Relationship ID, Equipment Group ID, Equipment ID. Control Mode: Control Mode ID, Control Mode Name. Control Mode Details: Control Mode Details ID, Day ID, Hour ID, Minute ID, Control Point Status ID. Control Quantity Relationship: Control Quantity Relationship ID, Control Point ID, Control Quantity. Equipment Control Relationship: Relationship ID, Relationship Name, Relationship Type, Source Equipment ID, Target Equipment ID. Control Priority: Priority ID, Level. Control Party: Control Party ID, Control Party Name. Control Party Priority: Control Party Priority ID, Control Party ID, Priority ID. Control Party Time Limit Priority: Control Party Time Limit Priority ID, Control Party ID, Time Limit Duration. Control Function Time Limit Priority: Control Function Time Limit Priority ID, Product ID, Equipment ID, Operating Parameter, Time Limit Duration.

[0060] Optionally, according to a preset knowledge base, a program control function for multiple groups of devices facing multiple control targets can be generated, which may include: selecting the devices to be controlled according to the control quantity relationship in the control target and control relationship knowledge base; generating a control target program control function for constant value control according to the product data of the devices to be controlled; selecting a control mode from the control mode knowledge base according to the current system time and generating a control mode program control function for follow-up control; generating a supplementary program control function for program control according to the historical control feedback of multiple control parties.

[0061] Among them, the data structure of the program control function includes: program control function ID, control function generation time, control function pre-execution time, control timeliness, control point ID, device ID, set parameters, and set parameter values. The data structure of the control feedback situation includes: control feedback ID, control feedback generation time, control feedback type, control party ID, control point ID, device ID, device operation generation time, timestamp ID, set parameters, set parameter values, operation parameters, and operation parameter values. Among them, the control feedback type includes: control errors caused by the inconsistency between the device operation state and the program control function; priority errors caused by the inconsistency between the device operation state and the program control function of the control party, such as the priority being modified, and when multiple controls are performed on the same device, a control value is selected according to the priority and control relationship. The data structure of the device operation state includes: device operation state ID, device operation generation time, control point ID, device ID, operation parameters, and operation parameter values.

[0062] Step 120: Merge the program control functions according to the device, control priority, and device control relationship, and perform collaborative control on multiple groups of devices.

[0063] In this embodiment, as Figure 1c shown, after generating the program control functions of multiple groups of devices facing multiple control targets according to multiple knowledge bases, the multiple program control functions are merged according to preset rules and input into the program control function executor to generate corresponding control instructions, and then the control instructions are sent to the corresponding group of devices for collaborative control to achieve the corresponding control targets.

[0064] Optionally, merging the program control functions according to the device, control priority, and device control relationship may include: merging the program control functions belonging to the same device; removing and / or modifying the program control functions with control feedback errors, inconsistent control modes, and inconsistent control targets according to the control priority; and adjusting the timing control sequence of the program control functions according to the device control relationship.

[0065] Step 130: Perform control feedback detection on multiple groups of devices to obtain the control feedback situations of multiple control parties.

[0066] Among them, the control parties include: constant value control, servo control, and program control. Optionally, performing control feedback detection on multiple groups of devices to obtain the control feedback situations of multiple control parties may include: for each group of devices, obtaining the device operation state in real time and obtaining the program control functions of multiple control parties; comparing the device operation state with the control target program control function to obtain the control feedback situation of the constant value control; comparing the device operation state with the control mode program control function to obtain the control feedback situation of the servo control; and comparing the device operation state with the supplementary program control function to obtain the control feedback situation of the program control.

[0067] In this embodiment, the control and anti-control detection obtains the device operation status from the group devices in real time, for example, the device operation status is updated every 10 s. When performing the control and anti-control detection, first, obtain the versions of all running and previously run program control functions, as well as the version switching time and the downtime. Secondly, based on the version switching time and the downtime, screen out the actually executed functions according to the "pre-execution time of the control function" of the program control function. Then, based on the "pre-execution time of the control function", "control timeliness", and "current time", screen out the program control functions that need to be detected for control and anti-control inconsistency, that is, screen out the program control functions that meet the conditions: "current time" - "pre-execution time of the control function" > "control timeliness" and "current time" - "pre-execution time of the control function" < 10 times "control timeliness". Finally, compare the real-time device operation status and the program control functions to identify the control and anti-control inconsistency of each parameter. Among them, the control and anti-control inconsistency detection runs every 10 s, and the latest updated device operation status is used each time it is executed.

[0068] Step 140: According to the perception intelligent algorithm, monitor the frequent control conditions of each group of devices and coordinate the frequent control of multiple control parties.

[0069] In this embodiment, according to the perception intelligent algorithm, the sensor can perceive the control change conditions of devices of the same type of product, perceive the frequent change conditions of device control, and predict whether frequent control will occur according to the device and the control initiation time. Among them, the perception attributes include: product ID, device ID, building ID, set parameters, start time, and end time.

[0070] Optionally, according to the perception intelligent algorithm, monitoring the frequent control conditions of each group of devices and coordinating the frequent control of multiple control parties may include: obtaining the preset frequent control discovery time window and the frequent control frequency within a single time window; processing the device operation status of each group of devices into control parameters corresponding to time, and splitting them into multiple window data according to the frequent control discovery time window; performing control change statistics on each window data, and determining whether each group of devices is frequently controlled according to the magnitude relationship between the statistical result and the frequent control frequency; if it is frequently controlled, perform consistent update of the program control function to coordinate the frequent control of multiple control parties.

[0071] In this embodiment, the device operation status of each device is processed into (minutes, set parameters). Each time "set parameters" appears, a control of the device occurs. Set a frequent control discovery time window. The system default time window is 60 minutes. Set the frequent control frequency within a time window. The system default is that more than 10 times is frequent control. Split the processed device operation status data into n window data according to the frequent control discovery time window, and perform control change statistics on each window data to obtain the statistical result (minutes, whether it is frequent control). As shown in the following table, the first row is the time series, the second row is the control occurrence, the third row is the control frequency, and the fourth row is whether frequent control occurs. Assume that there was no control in NULL before the 1st minute. The next 50 minutes (the number of minutes in the time window - the frequent control frequency) after frequent control occurs are all in the frequent control state.

[0072]

[0073] In this embodiment, machine learning can also be used to predict the control occurrence in the next time window each time. The prediction method is as follows: Use cosine similarity to calculate the time window with the closest control; Set the next time window of this time window as the predicted control; Use frequent control discovery to predict the minutes when frequent control may occur.

[0074] Optionally, the consistent update of the program control function can include: In response to the modification operations of the control mode knowledge base, control relationship knowledge base, and control objective, update the generated version of the program control function; Generate a new version of the program control function according to the modified knowledge base, control objective, and time; Cache the new version of the program control function in the program control function executor so that the program control function executor can switch to the new version of the program control function to perform collaborative control on multiple groups of devices.

[0075] In this embodiment, Figure 1c The generation of the program control function and the program control function executor in

[0076] Optionally, the program control function is divided into four levels: 1 minute, 5 minutes, 1 hour, and 24 hours; Generating a new version of the program control function according to the modified knowledge base, control objective, and time can include: For the modification operations of the control mode knowledge base and control relationship knowledge base, perform long transaction control updates on the program control functions at the 1-hour and 24-hour levels; For the modification operation of the control objective, perform short transaction control updates on the program control functions at the 1-minute and 5-minute levels, and perform long transaction control updates on the program control functions at the 1-hour and 24-hour levels.

[0077] In this embodiment, when the control mode and the control relationship knowledge base are modified, only the control functions at the 1-hour and 24-hour levels are updated, which is a long transaction control update. When the control target is modified, the control functions at four levels are updated. The last two levels are updated together with the modification of the control mode and the control relationship knowledge base; the first two levels are updated in a timely manner, which is a short transaction control update. Specifically, it is managed by the time limit priority.

[0078] In this embodiment, for the update of the 1-minute and 5-minute program control functions, the system adopts a data-driven architecture. After the control target is updated, a version update transaction data of the 1-minute and 5-minute program control functions is generated; according to the version update transaction data, Figure 1c "Program control function generation" in generates the program control function. After the generation is completed, the version status is updated to released; according to the control function version status, the actuator synchronizes the 1-minute and 5-minute program control functions and updates the execution.

[0079] Regarding the problem of frequent control updates, the perception intelligent algorithm can be used to detect whether a single device has frequent control updates. After a frequent control update occurs, within the frequent control update time window, the control targets of all devices cannot be updated uniformly. The control target adopts version control. Modifying the control target does not generate a program control function update transaction; after multiple people modify the same building and all submit, the program control function update is triggered. Among them, the control target version: version(operator, version number, version status), and the version status includes new, submitted, and completed program control function generation. The program control function version: version(control target version, program control function actuator, version number, version status), and the version status includes new, generated, and completed program control function actuator update. Each control target version corresponds to the generation of a program control function version, forming a queue in ascending order of the version number. After the program control version function is completed, a new program control function version generation process can enter.

[0080] It should be noted that after each version status is "completed", the version is cleared from the version cache queue. If not cleared, it is persistently stored. The version granularity is based on the building. Each building has a control target version and a program control function version, and the versions between buildings are isolated from each other.

[0081] In this embodiment, for the update of the program control function for 1 hour and 24 hours, it is similar to the "update of the program control function for 1 minute and 5 minutes", and the control mode and control relationship version are added. The versions of the control mode, control relationship, and control objective are managed independently. Program control function version: version(control objective version, program control function executor, control mode version number, control relationship version number, control objective version number, version status). According to the version update transaction data, the "program control function generation" triggers the generation process every half hour and on the hour. Each time it is generated, the latest versions of the control mode version number, control relationship version number, and control objective version number are obtained, and the version numbers are recorded. Compare whether the three version numbers this time are the same as the three version numbers of the previous version. If they are different, trigger the generation process.

[0082] In this embodiment, after the program control function is updated, the 1-minute program control function executes all versions in sequence. For the 5-minute, 1-hour, and 24-hour program control functions, there may be a situation where the old versions are not executed. Once the new version takes effect, the old version of the program control function will no longer be executed. After the device to be controlled obtains the program control function version status of "completed", the new version of the device takes effect at the next whole minute. If the 5-minute program control function changes frequently, there may be a situation where when the new version has not taken effect yet, it has already switched to the next new version. After it fails, the version status is updated to "invalid". The program control functions between the two version switching times are fully executed. The server records the switching time of the new version of the program control function.

[0083] In this embodiment, the program control function executor uses a heartbeat to confirm with the program controller function generation that it has not crashed. The heartbeat updates the program control function version information every 3 seconds. The downtime timeout is 20 seconds. When the program control function executor has no heartbeat for more than 20 seconds, the server determines that it has crashed and records the downtime. There will no longer be a crashed client in the program control function version control. When the crash is recovered, the latest program control function is obtained from the server, the client completes the version switch, the server records the downtime recovery time, and registers the client to the new program control function version control. The program control function will not be executed during the downtime.

[0084] In this embodiment, unified control of control systems with different structures is achieved: First, the control objectives are divided into indoor functional area descriptions; second, the follow-up control objective arrangements grouped by products and product categories; third, the unified program control function for group devices; fourth, the dynamic unified generation of the program control function based on the control relationship and control feedback; fifth, the distributed unified program control function executor.

[0085] In the embodiment of the present invention, a program control function for multi-group devices facing multiple control targets is generated according to a preset knowledge base; according to the devices, control priorities, and device control relationships, the program control functions are merged, and the multi-group devices are coordinately controlled; anti-control detection is performed on the multi-group devices to obtain the anti-control situations of multiple control parties; according to the perception intelligent algorithm, the frequent control situations of each group of devices are monitored, and the frequent controls of multiple control parties are coordinated, solving the problem in the prior art that multi-device and multi-control target coordinated control cannot be achieved, and realizing coordinated control and anti-control monitoring of multi-group devices facing multiple control targets based on the knowledge base and the perception intelligent algorithm.

[0086] Embodiment 2

[0087] Figure 2 FIG. is a schematic structural diagram of a multi-device cooperative control device in Embodiment 2 of the present invention. This embodiment is applicable to the situation of coordinating the control of multi-group devices facing multiple control targets. The device can be implemented by hardware and / or software and is generally integrated in a computer device providing device control services. As Figure 2 shown, the device includes:

[0088] A function generation module 210, configured to generate a program control function for multi-group devices facing multiple control targets according to a preset knowledge base;

[0089] A cooperative control module 220, configured to merge the program control functions according to the devices, control priorities, and device control relationships, and perform cooperative control on the multi-group devices;

[0090] An anti-control detection module 230, configured to perform anti-control detection on the multi-group devices to obtain the anti-control situations of multiple control parties;

[0091] A frequent control monitoring module 240, configured to monitor the frequent control situations of each group of devices according to the perception intelligent algorithm, and coordinate the frequent controls of multiple control parties.

[0092] In the embodiment of the present invention, a program control function for multi-group devices facing multiple control targets is generated according to a preset knowledge base; according to the devices, control priorities, and device control relationships, the program control functions are merged, and the multi-group devices are coordinately controlled; anti-control detection is performed on the multi-group devices to obtain the anti-control situations of multiple control parties; according to the perception intelligent algorithm, the frequent control situations of each group of devices are monitored, and the frequent controls of multiple control parties are coordinated, solving the problem in the prior art that multi-device and multi-control target coordinated control cannot be achieved, and realizing coordinated control and anti-control monitoring of multi-group devices facing multiple control targets based on the knowledge base and the perception intelligent algorithm.

[0093] Optionally, the function generation module 210 is configured to:

[0094] Select the device to be controlled according to the control quantity relationship in the control target and control relationship knowledge base;

[0095] Generate a control target program control function for constant value control according to the product data of the device to be controlled;

[0096] Select a control mode from the control mode knowledge base according to the current system time, and generate a control mode program control function for follow-up control;

[0097] Generate a supplementary program control function for program control according to the historical control feedback situations of multiple control parties.

[0098] Optionally, the cooperative control module 220 is used for:

[0099] Merge the program control functions belonging to the same device;

[0100] Remove and / or modify the program control functions with control feedback errors, inconsistent control modes, and inconsistent control targets according to the control priority;

[0101] Adjust the timing control sequence of the program control functions according to the device control relationship.

[0102] Optionally, the control parties include: constant value control, follow-up control, and program control;

[0103] The control feedback detection module 230 is used for:

[0104] For each group of devices, obtain the device operation status in real time, and obtain the program control functions of multiple control parties;

[0105] Compare the device operation status with the control target program control function to obtain the control feedback situation of constant value control;

[0106] Compare the device operation status with the control mode program control function to obtain the control feedback situation of follow-up control;

[0107] Compare the device operation status with the supplementary program control function to obtain the control feedback situation of program control.

[0108] Optionally, the frequent control monitoring module 240 includes:

[0109] An acquisition unit for acquiring a preset frequent control discovery time window and the frequent control frequency within a single time window;

[0110] A data processing unit for processing the device operation status of each group of devices into control parameters corresponding to time, and splitting them into multiple window data according to the frequent control discovery time window;

[0111] A judgment unit, configured to perform control change statistics on each window data, and determine whether each group of devices is frequently controlled according to the size relationship between the statistical result and the frequent control frequency;

[0112] A function update unit, configured to perform consistent update of the program control function if it is frequently controlled, so as to coordinate the frequent control of multiple control parties.

[0113] Optionally, the function update unit is configured to:

[0114] In response to the modification operations on the control mode knowledge base, the control relationship knowledge base, and the control target, update the generation version of the program control function;

[0115] Generate a new version of the program control function according to the modified knowledge base, control target, and time;

[0116] Cache the new version of the program control function into the program control function executor, so that the program control function executor switches to the new version of the program control function to perform collaborative control on multiple groups of devices.

[0117] Optionally, the program control function is divided into four levels: 1 minute, 5 minutes, 1 hour, and 24 hours;

[0118] The function update unit is specifically configured to:

[0119] For the modification operations on the control mode knowledge base and the control relationship knowledge base, perform long transaction control update on the program control functions at the 1-hour and 24-hour levels;

[0120] For the modification operation of the control target, perform short transaction control update on the program control functions at the 1-minute and 5-minute levels, and perform long transaction control update on the program control functions at the 1-hour and 24-hour levels.

[0121] The multi-device collaborative control device provided by the embodiments of the present invention can execute the multi-device collaborative control method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

[0122] Embodiment III

[0123] Figure 3 It is a schematic structural diagram of a computer device in Embodiment III of the present invention. Figure 3 It shows a block diagram of an exemplary device 12 suitable for implementing the embodiments of the present invention. Figure 3 The displayed device 12 is only an example and should not bring any limitation to the functions and usage scope of the embodiments of the present invention.

[0124] As Figure 3As shown, device 12 is embodied in the form of a general-purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples different system components including the system memory 28 and the processing unit 16.

[0125] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

[0126] Device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by device 12, including volatile and nonvolatile media, removable and non-removable media.

[0127] System memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Device 12 may further include other removable / non-removable, volatile / nonvolatile computer system storage media. By way of example only, a storage system 34 can be used for reading from and writing to non-removable, nonvolatile magnetic media ( Figure 3 not shown, typically referred to as a "hard disk drive"). Although Figure 3 not shown in the figure, a disk drive for reading from and writing to a removable nonvolatile disk (such as a "floppy disk") and an optical disk drive for reading from and writing to a removable nonvolatile optical disk (such as a CD-ROM, DVD-ROM, or other optical media) can be provided. In these instances, each drive can be connected to bus 18 by one or more data media interfaces. Memory 28 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of various embodiments of the present invention.

[0128] A program / utility 40 having a set (at least one) of program modules 42 can be stored, for example, in memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, and an implementation of a network environment may be included in each or some combination of these examples. Program modules 42 generally carry out the functions and / or methods of the embodiments described herein.

[0129] Device 12 can also communicate with one or more external devices 14 (such as a keyboard, a pointing device, a display 24, etc.), and can also communicate with one or more devices that enable a user to interact with the device 12, and / or communicate with any device that enables the device 12 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication can be carried out through an input / output (I / O) interface 22. Moreover, the device 12 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. As shown in the figure, the network adapter 20 communicates with other modules of the device 12 through a bus 18. It should be understood that although not shown in the figure, other hardware and / or software modules can be used in combination with the device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0130] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28. For example, it implements a multi-device collaborative control method provided by an embodiment of the present invention, including:

[0131] Generating program control functions for multiple groups of devices facing multiple control objectives according to a preset knowledge base;

[0132] Merging the program control functions according to the devices, control priorities, and device control relationships, and performing collaborative control on multiple groups of devices;

[0133] Performing anti-control detection on multiple groups of devices to obtain the anti-control situations of multiple control parties;

[0134] Monitoring the frequent control situations of each group of devices according to a perception intelligent algorithm, and coordinating the frequent controls of multiple control parties.

[0135] Embodiment 4

[0136] Embodiment 4 of the present invention also discloses a computer storage medium, on which a computer program is stored. When the program is executed by a processor, it implements a multi-device collaborative control method, including:

[0137] Generating program control functions for multiple groups of devices facing multiple control objectives according to a preset knowledge base;

[0138] Merging the program control functions according to the devices, control priorities, and device control relationships, and performing collaborative control on multiple groups of devices;

[0139] Performing anti-control detection on multiple groups of devices to obtain the anti-control situations of multiple control parties;

[0140] According to the perception intelligence algorithm, monitor the frequent control situations of various groups of devices and coordinate the frequent controls of multiple control parties.

[0141] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the computer-readable storage medium include: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device.

[0142] The computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which the computer-readable program code is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device.

[0143] The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0144] Computer program code for performing the operations of the present invention may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the operator's computer, partially on the operator's computer, executed as a stand-alone software package, partially on the operator's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the operator's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or, it may be connected to an external computer (e.g., connected through the Internet using an Internet service provider).

[0145] Note that the above is only the preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, more other equivalent embodiments may be included, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A multi-device collaborative control method, characterized in that, Including: Generate a program control function for multi-group devices facing multiple control objectives according to a preset knowledge base; wherein, the preset knowledge base includes three types of knowledge: control subject, control mode, and control relationship, and the data structure of the program control function includes: program control function ID, control function generation time, control function pre-execution time, control timeliness, control point ID, device ID, set parameters, and set parameter values; Merge the program control functions according to the devices, control priorities, and device control relationships, and perform collaborative control on the multi-group devices; Perform anti-control detection on the multi-group devices to obtain the anti-control situations of multiple control parties; Monitor the frequent control situations of each group of devices according to the perception intelligent algorithm, and coordinate the frequent control of multiple control parties; Among them, generating a program control function for multi-group devices facing multiple control objectives according to a preset knowledge base includes: Select the devices to be controlled according to the control objectives and the control quantity relationship in the control relationship knowledge base; Generate a control objective program control function for constant value control according to the product data of the devices to be controlled; Select a control mode from the control mode knowledge base according to the current system time, and generate a control mode program control function for follow-up control; Generate a supplementary program control function for program control according to the historical anti-control situations of multiple control parties.

2. The method according to claim 1, characterized in that, Merging the program control functions according to the devices, control priorities, and device control relationships includes: Merge the program control functions belonging to the same device; Remove and / or modify the program control functions with anti-control errors, inconsistent control modes, and inconsistent control objectives according to the control priorities; Adjust the timing control sequence of the program control functions according to the device control relationships.

3. The method according to claim 1, characterized in that, The control parties include: constant value control, follow-up control, and program control; Performing anti-control detection on the multi-group devices to obtain the anti-control situations of multiple control parties includes: For each group of devices, obtain the device operation status in real time and obtain the program control functions of multiple control parties; Compare the device operation status with the control objective program control function to obtain the anti-control situation of constant value control; Compare the device operation status with the control mode program control function to obtain the anti-control situation of follow-up control; Compare the device operation status with the supplementary program control function to obtain the anti-control situation of program control.

4. The method according to claim 1, characterized in that, Monitoring the frequent control situations of each group of devices according to the perception intelligent algorithm and coordinating the frequent control of multiple control parties includes: Obtain the preset frequent control discovery time window and the frequent control frequency within a single time window; Process the device operation status of each group of devices into control parameters corresponding to time, and split them into multiple window data according to the frequent control discovery time window; Perform control change statistics on each window data, and determine whether each group of devices is frequently controlled according to the size relationship between the statistical result and the frequent control frequency; If it is frequently controlled, perform consistent update of the program control function to coordinate the frequent control of multiple control parties.

5. The method according to claim 4, wherein Performing consistent update of the program control function includes: Respond to the modification operations on the control mode knowledge base, control relationship knowledge base, and control objectives, and update the program control function generation version; Generate a new version of the program control function according to the modified knowledge base, control objectives, and time; Cache the new version of the program control function in the program control function executor so that the program control function executor can switch to the new version of the program control function to perform collaborative control on multi-group devices.

6. The method according to claim 5, characterized in that, The program control functions are divided into four levels: 1 minute, 5 minutes, 1 hour, and 24 hours; Generate a new version of the program control function according to the modified knowledge base, control objectives, and time, including: For the modification operations of the control mode knowledge base and the control relationship knowledge base, perform long transaction control updates on the program control functions at the 1-hour and 24-hour levels; For the modification operations of the control objectives, perform short transaction control updates on the program control functions at the 1-minute and 5-minute levels, and perform long transaction control updates on the program control functions at the 1-hour and 24-hour levels.

7. A multi-device collaborative control device, characterized in that, Including: A function generation module for generating program control functions for multi-group devices facing multiple control objectives according to a preset knowledge base; wherein, the preset knowledge base includes three types of knowledge: control subjects, control modes, and control relationships, and the data structure of the program control function includes: program control function ID, control function generation time, control function pre-execution time, control validity period, control point ID, device ID, set parameters, and set parameter values; A collaborative control module for merging the program control functions according to the devices, control priorities, and device control relationships, and performing collaborative control on multi-group devices; A control feedback detection module for performing control feedback detection on multi-group devices to obtain the control feedback situations of multiple control parties; A frequent control monitoring module for monitoring the frequent control situations of each group of devices according to the perception intelligent algorithm and coordinating the frequent controls of multiple control parties; Among them, the function generation module includes: A to-be-controlled device selection unit for selecting to-be-controlled devices according to the control quantity relationship in the control objectives and the control relationship knowledge base; A function generation unit for generating a control objective program control function with constant value control according to the product data of the to-be-controlled devices; selecting a control mode from the control mode knowledge base according to the current system time to generate a control mode program control function with follow-up control; generating a supplementary program control function for program control according to the historical control feedback situations of multiple control parties.

8. A computer device, characterized in that, The device includes: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the multi-device collaborative control method according to any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the multi-device collaborative control method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Cooperative control system

    CN112666911A

  • Terminal control system, terminal management device, terminal control device, terminal control method, terminal management program, and terminal control program

    JP2013239124A