Mode monitoring method, system, device and equipment, storage medium and program product

By determining the current operating mode and target equipment status in the mode monitoring system, obtaining and matching the mode comparison relationship set, and generating mode monitoring results, the problems of low mode monitoring efficiency and high maintenance cost in the existing technology are solved, and efficient mode monitoring and flexible interface display are achieved.

CN119717763APending Publication Date: 2025-03-28BEIJING URBAN CONSTR INTELLIGENT CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411852415.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In the prior art, the monitoring efficiency of mode control is low and the system maintenance cost is high, mainly due to the difficulty of flexible interface changes and mode changes that require modification of programs.

Method used

A mode monitoring method is provided, by determining the current operating mode of the subsystem to be monitored and the current operating status of the target device, obtaining the mode comparison relationship set, matching and obtaining the corresponding target expected operating status of the target device in the current operating mode, and generating the mode monitoring results.

Benefits of technology

It improves the acquisition efficiency of the target expected operating state and the generation efficiency of mode monitoring results, enhances interface flexibility and fluency, and reduces system maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119717763A_ABST
    Figure CN119717763A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a mode monitoring method, system and device, equipment, a storage medium and a program product. The method comprises the steps that the current operation mode of a to-be-monitored subsystem and the current operation state of target equipment in the to-be-monitored subsystem are determined; a mode contrast relation set is obtained, the mode contrast relation set comprises a plurality of mode contrast relation pairs, and each mode contrast relation pair comprises a set operation mode, associated equipment and a corresponding expected operation state of the associated equipment in the set operation mode; a target expected operation state corresponding to the target equipment in the current operation mode is obtained through matching from the multiple mode contrast relation pairs; and generating a mode monitoring result of the to-be-monitored subsystem according to the target expected operation state and the current operation state. Through the current operation mode and the current operation state, the target expected operation state can be obtained based on the pre-configured mode contrast relation set, the target expected operation state obtaining efficiency is improved, and therefore the mode monitoring result generation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this specification relate to the field of rail transit technology, and in particular to a mode monitoring method, system, device, equipment, storage medium and program product. Background Art

[0002] Mode control is a specific type of equipment group control. According to the process design requirements, a group of electromechanical equipment completes actions according to the control requirements and a certain sequence to achieve specific purposes such as ventilation and smoke exhaust. Mode control is achieved by activating a pre-defined control sequence in the system. It is often used to control the operating status of various types of equipment in the system, so that the system can respond to various situations in a timely manner.

[0003] At present, after designers design the mode, they often enter each mode and the corresponding device status into the system in a hard-coded form. When the staff checks whether the equipment is running according to the expected state corresponding to the mode, the interface will generate a data table with a fixed style. Because the interface is difficult to flexibly change according to user needs, the staff needs to search for the devices to be monitored one by one in the data table, resulting in low mode monitoring efficiency; and once the mode changes, the program needs to be modified, resulting in high system maintenance costs. Summary of the invention In view of this, an embodiment of this specification provides a mode monitoring method. One or more embodiments of this specification also relate to a mode monitoring system, a mode monitoring device, a computing device, a computer-readable storage medium and a computer program product to solve the technical defects existing in the prior art.

[0004] According to a first aspect of an embodiment of this specification, a mode monitoring method is provided, including: Determine the current operation mode of the subsystem to be monitored and the current operation status of the target device in the subsystem to be monitored; Acquire a mode control relationship set, wherein the mode control relationship set includes a plurality of mode control relationship pairs, and the mode control relationship pairs include a set operation mode, an associated device, and an expected operation state corresponding to the associated device under the set operation mode; Matching and obtaining a target expected operating state corresponding to the target device in the current operating mode from multiple mode comparison relationship pairs; According to the target expected operating state and the current operating state, the mode monitoring results of the subsystem to be monitored are generated.

[0005] According to a second aspect of an embodiment of this specification, a mode monitoring system is provided, including a subsystem to be monitored, a monitoring server and a monitoring terminal, wherein the subsystem to be monitored includes a target device: A monitoring terminal, used for sending a mode monitoring instruction for a subsystem to be monitored to a monitoring server; A monitoring server is used to determine the current operating mode of the subsystem to be monitored and the current operating state of the target device in response to a mode monitoring instruction; obtain a mode comparison relationship set, wherein the mode comparison relationship set includes a plurality of mode comparison relationship pairs, and the mode comparison relationship pairs include a set operating mode, an associated device, and an expected operating state corresponding to the associated device under the set operating mode; match and obtain a target expected operating state corresponding to the target device under the current operating mode from the plurality of mode comparison relationship pairs; generate a mode monitoring result for the target device according to the target expected operating state and the current operating state, and send the mode monitoring result to the monitoring terminal; The monitoring terminal is also used to receive and display the mode monitoring results.

[0006] According to a third aspect of an embodiment of this specification, a mode monitoring device is provided, including: A determination module configured to determine a current operation mode of the subsystem to be monitored and a current operation state of a target device in the subsystem to be monitored; An acquisition module is configured to acquire a mode control relationship set, wherein the mode control relationship set includes a plurality of mode control relationship pairs, and the mode control relationship pairs include a set operation mode, an associated device, and an expected operation state corresponding to the associated device under the set operation mode; A matching module is configured to match and obtain a target expected operating state corresponding to the target device in the current operating mode from a plurality of mode comparison relationship pairs; The generation module is configured to generate a mode monitoring result of the subsystem to be monitored according to the target expected operating state and the current operating state.

[0007] According to a fourth aspect of an embodiment of this specification, a computing device is provided, including: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned mode monitoring method are implemented.

[0008] According to a fifth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned mode monitoring method are implemented.

[0009] According to a sixth aspect of the embodiments of this specification, a computer program product is provided, comprising a computer program / instruction, which implements the steps of the above-mentioned mode monitoring method when executed by a processor.

[0010] An embodiment of the present specification realizes determining the current operating mode of a subsystem to be monitored and the current operating status of a target device in the subsystem to be monitored; obtaining a mode comparison relationship set, wherein the mode comparison relationship set includes multiple mode comparison relationship pairs, and the mode comparison relationship pairs include a set operating mode, an associated device, and an expected operating status corresponding to the associated device under the set operating mode; matching from multiple mode comparison relationship pairs to obtain a target expected operating status corresponding to the target device under the current operating mode; and generating a mode monitoring result of the subsystem to be monitored based on the target expected operating status and the current operating status.

[0011] In this way, by determining the current operating mode of the subsystem to be monitored and the current operating status of the target device in the subsystem to be monitored, the target expected operating status corresponding to the target device under the current operating mode can be matched based on the pre-configured mode comparison relationship set, thereby improving the efficiency of obtaining the target expected operating status, and then improving the efficiency of generating mode monitoring results; in addition, by pre-configuring the mode comparison relationship set, information can be obtained for the subsystem to be monitored and the target device, so that information can be displayed according to user needs, reducing interface cache data, thereby improving interface flexibility and interface fluency, and meeting user personalized operation needs; and, in the case of a mode change, only the configuration information needs to be modified, without modifying the program, thereby reducing system maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is an architecture diagram of a mode monitoring system provided by an embodiment of this specification; Figure 2 is a flow chart of a mode monitoring method provided by an embodiment of this specification; Figure 3 is a schematic diagram of mode configuration information of a mode monitoring method provided by an embodiment of this specification; Figure 4 is a state comparison process flow chart of a mode monitoring method provided by an embodiment of this specification; Figure 5 is a flow chart of an action analysis process of a mode monitoring method provided by an embodiment of the present specification; Figure 6 is a structural schematic diagram of a mode monitoring device provided by an embodiment of this specification; Figure 7 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0013] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0014] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0015] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0016] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0017] First, the terms involved in one or more embodiments of this specification are explained.

[0018] Environment and Equipment Monitoring System (Building Automation System, BAS): The environment and equipment monitoring system is referred to as the BAS system. It is an automatic monitoring system designed for monitoring the relevant electromechanical equipment in all stations, sections, and tunnel sections of the entire subway line. The monitored equipment mainly includes tunnel ventilation system equipment, station / section ventilation and air conditioning large system, ventilation and air conditioning small system, air conditioning water system equipment, water supply and drainage equipment, escalators, elevators, rolling doors, lighting systems (including intelligent lighting systems), emergency lighting power supplies, section water supply and drainage equipment, and other equipment operating status and system parameters, as well as the parameters of ambient temperature and humidity in the station public area and equipment room.

[0019] Integrated Supervisory Control System (ISCS): ISCS is a large-scale integrated new intelligent system that uses intelligent technology to collect data, monitor, alarm, link, and make decisions for each subsystem equipment in operation and emergency situations for subway and other rail transit lines and complex road networks.

[0020] Programmable Logic Controller (PLC): A programmable logic controller is a digital computing electronic system designed for use in industrial environments. It uses a programmable memory to store instructions for performing logical operations, sequential control, timing, counting, and arithmetic operations, and controls various types of mechanical equipment or production processes through digital or analog input and output.

[0021] Mode control is a specific type of equipment group control. According to the process design requirements, a group of electromechanical equipment completes actions according to the control requirements and a certain sequence to achieve specific purposes such as ventilation and smoke exhaust. Mode control is achieved by activating a pre-defined control sequence in the system. It is often used to control the operating status of various types of equipment in the system, so that the system can respond to various situations in a timely manner.

[0022] At present, after designers design the mode, they often enter each mode and the corresponding device status into the system in a hard-coded form. When the staff checks whether the equipment is running according to the expected state corresponding to the mode, the interface will generate a data table with a fixed style. Because the interface is difficult to flexibly change according to user needs, the staff needs to search for the devices to be monitored one by one in the data table, resulting in low mode monitoring efficiency; and once the mode changes, the program needs to be modified, resulting in high system maintenance costs.

[0023] Based on this, an embodiment of the present specification provides a mode monitoring method to determine the current operating mode of the subsystem to be monitored and the current operating status of the target device in the subsystem to be monitored; obtain a mode comparison relationship set, wherein the mode comparison relationship set includes multiple mode comparison relationship pairs, and the mode comparison relationship pairs include a set operating mode, an associated device, and an expected operating status corresponding to the associated device under the set operating mode; match and obtain the target expected operating status corresponding to the target device under the current operating mode from multiple mode comparison relationship pairs; and generate a mode monitoring result of the subsystem to be monitored based on the target expected operating status and the current operating status.

[0024] In this way, by determining the current operating mode of the subsystem to be monitored and the current operating status of the target device in the subsystem to be monitored, the target expected operating status corresponding to the target device under the current operating mode can be matched based on the pre-configured mode comparison relationship set, thereby improving the efficiency of obtaining the target expected operating status, and then improving the efficiency of generating mode monitoring results; in addition, by pre-configuring the mode comparison relationship set, information can be obtained for the subsystem to be monitored and the target device, so that information can be displayed according to user needs, reducing interface cache data, thereby improving interface flexibility and interface fluency, and meeting user personalized operation needs; and, in the case of a mode change, only the configuration information needs to be modified, without modifying the program, thereby reducing system maintenance costs.

[0025] In this specification, a mode monitoring method is provided. This specification also involves a mode monitoring system, a mode monitoring device, a computing device, a computer-readable storage medium and a computer program product, which are described in detail one by one in the following embodiments.

[0026] See also Figure 1 , Figure 1 The diagram shows an architecture diagram of a mode monitoring system provided according to an embodiment of the present specification. Specifically, the mode monitoring system 100 includes a monitoring terminal 102, a monitoring server 104 and a subsystem to be monitored 106.

[0027] The monitoring terminal is used to send a mode monitoring instruction for the subsystem to be monitored to the monitoring server.

[0028] A monitoring server is used to determine the current operating mode of the subsystem to be monitored and the current operating state of the target device in response to a mode monitoring instruction; obtain a mode comparison relationship set, wherein the mode comparison relationship set includes multiple mode comparison relationship pairs, and the mode comparison relationship pairs include a set operating mode, an associated device, and an expected operating state corresponding to the associated device under the set operating mode; match and obtain a target expected operating state corresponding to the target device under the current operating mode from multiple mode comparison relationship pairs; generate a mode monitoring result for the target device based on the target expected operating state and the current operating state, and send the mode monitoring result to a monitoring terminal.

[0029] The monitoring terminal is also used to receive and display the mode monitoring results.

[0030] In practical applications, the mode monitoring system 100 can be understood as an environment and equipment monitoring system. The monitoring server 104 can be understood as a comprehensive monitoring system. The mode monitoring system 100 can include multiple monitoring terminals 102. Multiple monitoring terminals 102 can establish communication connections with the monitoring server 104 respectively. In the system mode monitoring scenario, the monitoring server 104 is used to receive operation instructions sent by each monitoring terminal 102, and obtain mode operation information and equipment status information from the subsystem to be monitored 106, thereby realizing mode monitoring of the subsystem to be monitored 106.

[0031] Among them, the monitoring terminal 102 and the monitoring server 104, and the monitoring server 104 and the subsystem to be monitored 106 are connected through the network. The network provides a medium for the communication link. The network can include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The data transmitted between the monitoring terminal 102 and the monitoring server 104, and between the monitoring server 104 and the subsystem to be monitored 106 may need to be encoded, transcoded, compressed, etc.

[0032] The monitoring terminal 102 can be deployed in an electronic device and needs to rely on the device to run or some APPs in the device to run. For example, the electronic device can have a display screen and support information browsing, such as a personal mobile terminal such as a mobile phone, a tablet computer, a personal computer and other end-side devices. Various other types of applications can usually be configured in the electronic device, such as human-computer dialogue applications, model training applications, text processing applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0033] The monitoring server 104 can be understood as a comprehensive monitoring server. It should be noted that the monitoring server 104 can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. The server can also be a server of a distributed system, or a server combined with a blockchain. The server can also be a cloud server (cloud-side device) for basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.

[0034] In one or more optional embodiments of the present specification, the subsystem to be monitored may be a subsystem in any equipment system in a rail transit scenario. The following takes the subsystem to be monitored as a subsystem in a ventilation system as an example to further explain the mode monitoring system.

[0035] Specifically, the subsystem to be monitored 106 can be understood as a subsystem in the rail transit ventilation system, which can be a tunnel ventilation system, a small system at the AB end of the station, a large ventilation system for the entire station, and so on. There can be multiple subsystems 106 to be monitored, which can be various subsystems in the rail transit ventilation system. The subsystem to be monitored can specifically include system equipment under the subsystem, and an electromechanical controller corresponding to the subsystem. The electromechanical controller is used to receive the mode sending instruction sent by the monitoring server 104, and control the system device to execute the action corresponding to the mode sending instruction based on the mode sending instruction. The electromechanical controller can also be understood as a programmable logic controller.

[0036] In actual applications, a subsystem to be monitored can correspond to multiple set operating modes, and each device in the subsystem to be monitored can correspond to different operating states and execution actions under different set operating modes. By monitoring the current operating mode of the subsystem to be monitored and the current operating state of each device in the subsystem to be monitored, it is possible to check whether each device is operating in accordance with the expected operating state corresponding to the current operating mode of the system, so as to timely discover problems and avoid risks.

[0037] By applying the embodiments of the present specification, by determining the current operating mode of the subsystem to be monitored and the current operating status of the target device in the subsystem to be monitored, it is possible to match and obtain the target expected operating status corresponding to the target device under the current operating mode based on the pre-configured mode comparison relationship set, thereby improving the efficiency of obtaining the target expected operating status, and then improving the efficiency of generating mode monitoring results; in addition, by pre-configuring the mode comparison relationship set, it is possible to obtain information for the subsystem to be monitored and the target device, so that information can be displayed according to user needs, reducing interface cache data, thereby improving interface flexibility and interface fluency, and meeting user personalized operation needs; and, in the event of a mode change, only the configuration information needs to be modified, without the need to modify the program, thereby reducing system maintenance costs.

[0038] See also Figure 2 , Figure 2 A flow chart of a mode monitoring method provided according to an embodiment of the present specification is shown, which specifically includes the following steps.

[0039] Step 202: Determine the current operation mode of the subsystem to be monitored and the current operation status of the target device in the subsystem to be monitored.

[0040] In practical applications, the current operating mode of the subsystem to be monitored and the current operating status of the target device in the subsystem to be monitored can be determined, so as to implement mode monitoring of the subsystem to be monitored according to the current operating mode and the current operating status.

[0041] Specifically, the subsystem to be monitored can be understood as a subsystem in the rail transit ventilation system, which can be a tunnel ventilation system, a small system at the AB end of the station, a large ventilation system for the entire station, and so on. There can be multiple subsystems to be monitored, which can be various subsystems in the rail transit ventilation system. The current operating mode can be understood as the control mode in which the subsystem to be monitored is currently operating. The target device is a system device in the subsystem to be monitored, which can specifically be a ventilation device. The current operating state can be understood as the current operating state of the target device.

[0042] According to an optional embodiment of the present specification, determining the current operating mode of the subsystem to be monitored and the current operating state of the target device in the subsystem to be monitored may include the following steps: Acquire a mode information set and a target instruction identifier corresponding to the subsystem to be monitored, wherein the mode information set includes a plurality of mode information pairs, and the mode information pair includes a set operation mode and an instruction identifier corresponding to the set operation mode; Obtaining a current operation mode corresponding to a target instruction identifier by matching multiple mode information pairs; Obtain and parse the operating status information of the target device to obtain the current operating status.

[0043] Specifically, the target instruction identifier can be understood as the instruction identifier corresponding to the instruction issued in the mode. The target instruction identifier is a mode number recognizable by the electromechanical controller, and can also be called the mode hardware issued value. The mode information set includes multiple mode information pairs. The mode information pair can specifically be a mode table, and each mode table records the set operating mode and the instruction identifier corresponding to the set operating mode. The set operating mode can be understood as any one of the multiple operating modes corresponding to the subsystem to be monitored. The mode information pair can specifically include: the mode name of the set operating mode, the mode number, and the instruction identifier corresponding to the set operating mode.

[0044] Optionally, obtaining the target instruction identifier corresponding to the subsystem to be monitored may include: polling a lower mode feedback point of the subsystem to be monitored to obtain the target instruction identifier.

[0045] Optionally, obtaining the current operation mode corresponding to the target instruction identifier by matching from multiple mode information pairs may include: Based on the target instruction identifier, the instruction identifiers in the multiple mode information pairs are matched, and when the target mode information pair containing the target instruction identifier is matched, the target setting operation mode in the target mode information pair is determined as the current operation mode. The current operation mode may include a mode name and a mode number of the current operation mode.

[0046] Optionally, obtaining and parsing the operating status information of the target device to obtain the current operating status may include: Obtaining the operation status information generated by the target device during operation from the register; Parse the running status information and obtain the current running status.

[0047] It should be noted that the operation status information is the operation data generated in real time during the operation of the target device in the current operation mode.

[0048] By applying this embodiment, the current operation mode of the system can be matched through the target instruction identifier and the mode information set, so that the mode and device status can be monitored based on the current operation mode and the current operation status of the device.

[0049] According to an optional embodiment of the present specification, before acquiring the mode information set and the target instruction identifier corresponding to the subsystem to be monitored, the following steps may also be included: Acquire mode design information and preset corresponding relationship, wherein the preset corresponding relationship represents the corresponding relationship between the set operation mode and the instruction identifier; Extracting the set operation mode from the mode design information, and determining the instruction identifier corresponding to the set operation mode according to the preset corresponding relationship; Based on the set operation mode and the instruction identifier corresponding to the set operation mode, a mode information pair is constructed, and the mode information pair is added to the mode information set.

[0050] Optionally, the pattern design information may be obtained based on a pattern design drawing pre-designed by a pattern designer.

[0051] Specifically, the mode design diagram includes each set operation mode corresponding to the subsystem to be monitored, and the expected operation states corresponding to each target device in the subsystem to be monitored under each set operation mode.

[0052] Optionally, the preset corresponding relationship is obtained according to the electromechanical controller corresponding to the subsystem to be monitored, and the electromechanical controller stores the preset corresponding relationship between the instruction identifier of the instruction issued in the mode and the set operation mode.

[0053] Specifically, the preset corresponding relationship represents the corresponding relationship between the set operation mode and the instruction identifier.

[0054] In practical applications, the set operating mode can be extracted from the mode design information, and the correspondence between the set operating mode and the instruction identifier can be obtained from the electromechanical controller, so as to construct a mode information pair based on the mode name, mode number and the instruction identifier corresponding to the set operating mode.

[0055] By applying this embodiment, by constructing a mode information set, a correspondence between the instruction identifier of the instruction issued in the mode and the mode can be constructed, thereby facilitating the search for the corresponding set operation mode according to the instruction identifier, thereby improving the search efficiency of the set operation mode.

[0056] In the actual implementation process, the mode of the subsystem to be monitored may change, such as adding a new set operation mode, or modifying the relevant information of the original set operation mode. Through the configuration method, the configuration information of the mode can be modified or added efficiently.

[0057] According to an optional embodiment of the present specification, after adding the mode information pair to the mode information set, the following steps may also be included: Get the newly added setting operation mode; Determine a newly added instruction identifier corresponding to the newly added set operating mode, a target associated device corresponding to the newly added set operating mode, and a newly added expected operating state corresponding to the target associated device under the newly added set operating mode; Based on the newly set operating mode and the newly added instruction identifier, generate a newly added mode information pair, and add the newly added mode information pair to the mode information set; Based on the newly set operating mode, the target associated device and the newly expected operating state, a newly added mode control relationship pair is generated, and the newly added mode control relationship pair is added to the mode control relationship set.

[0058] Specifically, the newly added set operating mode can be understood as a newly added set operating mode for the ventilation system. The newly added instruction identifier is the instruction identifier corresponding to the newly added set operating mode. The target associated device can be understood as an associated device associated with the newly added set operating mode. When the newly added set operating mode is the set operating mode of the system to be monitored, the target associated device can be understood as the target device. The newly added expected operating state can be understood as the expected operating state corresponding to the target associated device under the newly added set operating mode.

[0059] Optionally, based on the newly set operating mode and the newly added instruction identifier, generating a newly added mode information pair, and adding the newly added mode information pair to the mode information set may include: Initialize mode information table; The mode name, mode number and new instruction identifier of the newly added set operating mode are added to the initialized mode information table.

[0060] Optionally, generating a new mode comparison relationship pair based on the newly set operating mode, the target associated device and the newly expected operating state, and adding the new mode comparison relationship pair to the mode comparison relationship set may include: Initialization mode comparison table; The mode number of the newly set operating mode, the device name of the target associated device, and the newly added expected operating status are added to the initialized mode comparison table.

[0061] By applying this embodiment, a new mode information pair is generated based on the newly set operating mode and the newly added instruction identifier, and the new mode information pair is added to the mode information set; a new mode comparison relationship pair is generated based on the newly set operating mode, the target associated device and the newly expected operating status, and the new mode comparison relationship pair is added to the mode comparison relationship set. When a new operating mode is discovered, configuration information for the newly set operating mode can be generated based on the mode information of the newly set operating mode, the corresponding instruction identifier and the expected operating status, thereby improving system maintenance efficiency and reducing maintenance costs.

[0062] According to another optional embodiment of the present specification, after adding the mode information pair to the mode information set, it may also include: Determine the set operation mode to be updated, and obtain the to-be-updated mode information corresponding to the set operation mode to be updated; Obtaining a mode information comparison table or a mode information table corresponding to the set operating mode to be updated; Based on the mode information to be updated, the mode information comparison table or the mode information table is updated.

[0063] Step 204: Acquire a mode control relationship set, wherein the mode control relationship set includes a plurality of mode control relationship pairs, and the mode control relationship pairs include a set operation mode, an associated device, and an expected operation state corresponding to the associated device under the set operation mode.

[0064] In practical applications, a mode comparison relationship set may be obtained, so as to search and obtain the expected operating state corresponding to the target device in the current operating mode based on the mode comparison relationship set.

[0065] Specifically, the mode comparison relationship set may include multiple mode comparison relationship pairs. The mode comparison relationship pair may specifically be a mode comparison table. The mode comparison table may record the association relationship between the set operation mode, the associated device, and the expected operation state. Among them, the set operation mode may be understood as the operation mode corresponding to the subsystem, the associated device may be understood as the system device in the subsystem, and the expected operation state may be understood as the operation state corresponding to the associated device when it operates normally without failure in the set operation mode.

[0066] According to an optional embodiment of the present specification, before obtaining the mode comparison relationship set, the following steps may also be included: Acquire mode design information, and extract the set operation mode from the mode design information; Determine, according to the mode design information, associated devices associated with the set operation mode, and extract the expected operation states corresponding to the associated devices in the set operation mode; Based on the set operation mode, associated equipment and expected operation status, a mode comparison relationship pair is constructed; Adds a pattern-contrast pair to a pattern-contrast set.

[0067] Optionally, the pattern design information may be obtained based on a pattern design drawing pre-designed by a pattern designer.

[0068] Specifically, the mode design diagram includes each set operating mode corresponding to the subsystem, and the expected operating states of each system device in the subsystem under each set operating mode.

[0069] Optionally, based on each subsystem, the system equipment included in each subsystem can be obtained; according to the set operating modes corresponding to each subsystem in the mode design diagram, and the system equipment included in each subsystem, the associated equipment associated with the set operating mode and the expected operating status of each associated equipment under the set operating mode can be determined.

[0070] In actual applications, a mode comparison table can be constructed based on the associated device names, expected operating states, and mode numbers.

[0071] By applying this embodiment, a mode comparison relationship pair is constructed based on the set operating mode, associated equipment and expected operating status, so that the mode number of the set operating mode, the device name of the associated equipment and the expected operating status corresponding to the associated equipment under the set operating mode can be pre-configured, thereby realizing the configuration of the mode comparison relationship and greatly improving the efficiency of searching and maintaining mode information.

[0072] Step 206: Match and obtain the target expected operating state corresponding to the target device in the current operating mode from multiple mode comparison relationship pairs.

[0073] In practical applications, based on obtaining the mode comparison relationship set, the target expected operating state corresponding to the target device in the current operating mode can be obtained by matching from multiple mode comparison relationship pairs.

[0074] According to an optional embodiment of the present specification, obtaining a target expected operating state corresponding to the target device in the current operating mode by matching from multiple mode comparison relationship pairs may include: Matching the target device with the associated device in each mode comparison relationship pair, and matching the current operation mode with the set operation mode in each mode comparison relationship pair, to obtain a target mode comparison relationship pair including the target device and the current operation mode; The expected operating state in the target pattern relationship pair is used as the target expected operating state.

[0075] Step 208: Generate a mode monitoring result of the subsystem to be monitored according to the target expected operating state and the current operating state.

[0076] In practical applications, when the target expected operating state corresponding to the target device in the current operating mode is obtained by matching from multiple mode comparison relationship pairs, the mode monitoring result of the subsystem to be monitored can be generated according to the target expected operating state and the current operating state.

[0077] Specifically, the mode monitoring result may include a monitoring result of whether the target device operates according to the expected operating state in the current operating mode, and may also include a monitoring result of whether the target device executes an execution action corresponding to the expected operating state.

[0078] According to an optional embodiment of the present specification, the pattern monitoring result includes a first result set.

[0079] Specifically, the first result set may be understood as a monitoring result set of whether the target device operates according to the expected operating state in the current operating mode.

[0080] Accordingly, generating a mode monitoring result of the subsystem to be monitored according to the target expected operating state and the current operating state may include the following steps: Determine whether the current operating state is consistent with the target expected operating state, and add the determination result to the first result set.

[0081] In actual applications, when the current operating state is consistent with the target expected operating state, the judgment result of the current target device is output as meeting the target expected operating state and added to the first result set, and the next target device is judged until all target devices are judged and the first result set is obtained.

[0082] By applying this embodiment, by judging whether the current operating state is consistent with the target expected operating state and adding the judgment result to the first result set, it is possible to determine whether each target device in the subsystem to be monitored is operating in accordance with the expected operating state corresponding to the current operating mode of the subsystem to be monitored, thereby timely locating the faulty device, achieving rapid positioning and troubleshooting of the faulty device, and improving the efficiency of fault discovery and troubleshooting.

[0083] According to another optional embodiment of the present specification, the pattern monitoring result includes a second result set.

[0084] Specifically, the second result set may be understood as a monitoring result set of whether the target device executes the execution action corresponding to the expected operation state in the current operation mode.

[0085] Accordingly, generating the mode monitoring result of the subsystem to be monitored according to the target expected operating state and the current operating state may include the following steps: Obtaining current action execution information of the target device in the current running state and the target execution action set corresponding to the target expected running state; Parse the current action execution information to obtain the current execution action set corresponding to the current running state; The currently executed actions in the currently executed action set are compared with the target executed actions in the target executed action set one by one, and the comparison results are added to the second result set.

[0086] Specifically, the current action execution information can be understood as the action information of the action executed by the target device in the current running state, which can be an action execution sequence including multiple actions, and can also include action execution parameters corresponding to each action. The target execution action set can be understood as the set of execution actions corresponding to the normal operation of the target device without failure in the target expected running state. The current execution action set can be understood as the set of current execution actions of the target device in the current running state.

[0087] Optionally, obtaining current action execution information of the target device in the current running state may include: The electrical signal generated by the target device executing the action in the register is used as the current action execution information.

[0088] Specifically, the current action execution information can be understood as the action code corresponding to the action executed by the device.

[0089] By applying this embodiment, by obtaining the current action execution information of the target device in the current running state and the target execution action set corresponding to the target expected running state; parsing the current action execution information to obtain the current execution action set corresponding to the current running state, it is possible to implement action analysis of the current running state of the target device, thereby obtaining the execution action of the target device in the current running state, and then troubleshooting and problem location can be performed based on the execution action of the target device in the current running state, thereby improving the efficiency of problem location.

[0090] Furthermore, parsing the current action execution information to obtain the current execution action set corresponding to the current running state may include the following steps: Acquire a mode action parsing set, wherein the mode action parsing set includes a plurality of mode action parsing pairs, and the mode action parsing pairs include associated devices, device operation states of the associated devices, and action parsing rules corresponding to the device operation states; From multiple mode action analysis pairs, matching and obtaining the target action analysis rules corresponding to the target device in the current running state; Based on the target action parsing rules, parse the current action execution information to obtain the current execution action set.

[0091] Specifically, the mode action parsing set may include multiple mode action parsing pairs. The mode action parsing pair may specifically be a mode action parsing table, which is used to record the association between the associated device, the device operating state, and the action parsing rule. The mode action parsing table may include the device class code of the associated device, the device operating state corresponding to the associated device, and the action parsing rule corresponding to the device operating state. The action parsing rule can be understood as the decoding information of the execution action, which is used to parse the current action execution information and obtain the current execution action.

[0092] Optionally, matching and obtaining a target action parsing rule corresponding to the target device in the current running state from multiple mode-action parsing pairs may include: Match the device class code of the target device with the device class code of the associated device in each mode-action parsing pair, and match the current operation state of the target device with the device operation state of the associated device in each mode-action parsing pair, to obtain a target mode-action parsing pair including the device class code and the current operation state of the target device; The action parsing rule in the target pattern-action parsing pair is used as the target action parsing rule.

[0093] Optionally, based on the target action parsing rule, parsing the current action execution information to obtain the current execution action set may include: According to the target action parsing rule, the current action execution information is parsed one by one, and the current action execution information obtained by parsing is added to the current execution action set until all the current action execution information is parsed.

[0094] By applying this embodiment, by acquiring a pattern action resolution set, a target action resolution rule corresponding to the target device in the current operating state is matched from multiple pattern action resolution pairs; based on the target action resolution rule, the current action execution information is parsed to obtain the current execution action set, which can realize action analysis of the current operating state of the target device, thereby improving the efficiency of acquiring the current execution action, and can quickly locate the problem based on the execution action that does not meet the expected operating state, thereby improving the troubleshooting efficiency.

[0095] According to an optional embodiment of the present specification, before obtaining the mode action analysis set, the following steps may also be included: Obtain the corresponding action description information of the associated device under the device running state; Generate action parsing rules corresponding to the device operation status according to the action description information; Based on the associated devices, device operating status and action parsing rules, a mode-action parsing pair is constructed, and the mode-action parsing pair is added to the mode-action parsing set.

[0096] Optionally, the action description information may be extracted from the mode design information.

[0097] Optionally, the device class code of the associated device can be obtained according to the device data corresponding to the subsystem; and a mode action parsing table can be generated according to the device class code of the associated device, the device operating status of the associated device, and the action parsing rules corresponding to the device operating status.

[0098] It should be noted that when a mode changes, such as when the expected operating state corresponding to the mode is updated, or when the device corresponding to the mode is changed, the configuration information in the mode action parsing table can be updated based on the updated operating state, action parsing rules or device class code. In the case of a new mode, a new mode action parsing table can also be initialized based on the device class code of each device in the subsystem to be monitored, the new device operating state, and the new action parsing rules.

[0099] By applying this embodiment, a mode-action resolution pair is constructed based on associated devices, device operating status, and action resolution rules, and the mode-action resolution pair is added to a mode-action resolution set. By pre-configuring the mode-action resolution tables corresponding to the system devices in each subsystem in a configured manner, the action resolution of each device in the current operating status can be implemented based on the mode-action resolution table, thereby improving the efficiency of obtaining the currently executed actions of the device.

[0100] By applying the embodiments of this specification, the current operating mode of the subsystem to be monitored and the current operating status of the target device in the subsystem to be monitored are determined; a mode comparison relationship set is obtained, wherein the mode comparison relationship set includes multiple mode comparison relationship pairs, and the mode comparison relationship pairs include set operating modes, associated devices, and expected operating statuses corresponding to the associated devices under the set operating mode; the target expected operating status corresponding to the target device under the current operating mode is obtained by matching from multiple mode comparison relationship pairs; and a mode monitoring result of the subsystem to be monitored is generated based on the target expected operating status and the current operating status.

[0101] In this way, by determining the current operating mode of the subsystem to be monitored and the current operating status of the target device in the subsystem to be monitored, the target expected operating status corresponding to the target device under the current operating mode can be matched based on the pre-configured mode comparison relationship set, thereby improving the efficiency of obtaining the target expected operating status, and then improving the efficiency of generating mode monitoring results; in addition, by pre-configuring the mode comparison relationship set, information can be obtained for the subsystem to be monitored and the target device, so that information can be displayed according to user needs, reducing interface cache data, thereby improving interface flexibility and interface fluency, and meeting user personalized operation needs; and, in the case of a mode change, only the configuration information needs to be modified, without modifying the program, thereby reducing system maintenance costs.

[0102] See also Figure 3 , Figure 3 A schematic diagram showing mode configuration information of a mode monitoring method provided by an embodiment of this specification is shown.

[0103] like Figure 3 As shown, the mode configuration information includes a mode comparison table, a mode information table and a mode action analysis table. The mode comparison table, the mode information table and the mode action analysis table can all be obtained according to the mode design diagram and the configuration of each subsystem of the ventilation system.

[0104] The device data table can be obtained based on the device information of the devices corresponding to each subsystem, and the device data table includes the device name and the device class code.

[0105] Based on the mode design diagram, the mode name and mode number of each mode corresponding to the subsystem can be obtained; based on the electromechanical controller corresponding to the subsystem, the corresponding relationship between each mode and the hardware-delivered value can be obtained. Therefore, according to the corresponding relationship between each mode and the hardware-delivered value, the hardware-delivered value corresponding to each mode can be determined. Based on the corresponding relationship between the mode name, mode number and hardware-delivered value, the mode information table can be configured.

[0106] Based on the mode design diagram, the mode number of each mode corresponding to the subsystem and the expected state of the system equipment in the subsystem under each mode can be obtained. Therefore, according to the device name, mode number and expected state in the device data table corresponding to the subsystem, the mode comparison table can be configured.

[0107] Based on the mode design diagram, the description information of the expected state corresponding to each mode can be obtained. According to the description information, the parsing rules can be generated. According to the device class code in the device data table, the device state of each system device and the parsing rules corresponding to the device state, the mode action parsing table can be configured.

[0108] Through the mode information table, mode comparison table and mode action analysis table, the mode monitoring of the ventilation system and the monitoring of the operating status and execution actions of the system equipment in each mode can be realized.

[0109] By using this embodiment, the device status can be monitored through a unified action analysis table. At the same time, when displayed in the interface, the currently running mode can be displayed in various styles according to the needs of the user. The mode comparison table and the device status can also be arbitrarily cut according to the needs of the user, so that the flexibility of the interface is greatly improved. At the same time, through configuration, only the data that needs to be displayed on the interface needs to be cached, and all data does not need to be cached, which can reduce the interface cache data and improve the interface fluency.

[0110] The following combination Figure 4 -Attached Figure 5 Taking the application of the mode monitoring method provided in this specification in the mode monitoring of the rail transit ventilation system as an example, the mode monitoring method is further described. Figure 4 A state comparison process flow chart of a mode monitoring method provided by an embodiment of the present specification is shown. Figure 5 A flow chart of the action analysis process of a pattern monitoring method provided by an embodiment of the present specification is shown.

[0111] like Figure 4As shown, the system devices of each ventilation subsystem can be polled to determine whether all devices have been parsed. If so, the first result set is returned directly. If not, it is determined whether the expected state of the current polled device is to maintain. If the expected state is to maintain, the result that the current state meets the expected state is added to the first result set; if the expected state is not to maintain, the device class code of the current polled device is obtained, and the state parsing rule is obtained according to the device class code and the expected state, and the current state of the current polled device is obtained by parsing.

[0112] Furthermore, the current state is compared to see if it is consistent with the expected state. If so, the current state that is consistent with the expected state is added to the first result set; if not, the current state that is inconsistent with the expected state is added to the first result set. Thus, through the mode comparison table, it is possible to determine whether the operating state of each system device is consistent with the expected operating state corresponding to the current operating mode of the system.

[0113] By applying the embodiments of this specification, when the station is in the debugging state, through the graphical display of the mode comparison table and the current equipment action analysis results, the system problems can be quickly located according to the ventilation system diagram and the mode drawing, which significantly improves the debugging efficiency. At the same time, the mode information can be modified by changing the configuration table without modifying the program, which can reduce the system maintenance cost and make the mode monitoring process simpler and more efficient. When the station is in operation, the mode comparison table can be used to quickly determine the state of the mode equipment, so that the faulty equipment can be intuitively displayed, which can reduce the station operation risk, reduce the equipment failure downtime, and improve the station operation stability rate.

[0114] like Figure 5 As shown, the system devices of each ventilation subsystem can be polled to determine whether all devices have been parsed. If so, the second result set is directly returned. If not, the device class code of the currently polled device is obtained, and the action parsing rule is queried from the mode action parsing table according to the device class code and the current operating status.

[0115] Furthermore, the device operation state is parsed according to the action parsing rules to obtain the current execution action of the device. The current execution action is compared with the target action corresponding to the expected state one by one to determine whether the current execution action meets the target action. If it meets the target action, the result that the current execution action meets the target action is added to the second result set; if it does not meet the target action, the result that the current state of the device is unknown is added to the second result set.

[0116] For example, when the action corresponding to the expected state is air-conditioning heating, and the currently executed action obtained through analysis is cooling, it means that the currently executed action does not meet the target action.

[0117] By applying the embodiments of this specification, when the station is in the debugging state, through the graphical display of the mode comparison table and the current equipment action analysis results, the system problems can be quickly located according to the ventilation system diagram and the mode drawing, which significantly improves the debugging efficiency. At the same time, the mode information can be modified by changing the configuration table without modifying the program, which can reduce the system maintenance cost and make the mode monitoring process simpler and more efficient. When the station is in operation, the mode comparison table can be used to quickly determine the state of the mode equipment, so that the faulty equipment can be intuitively displayed, which can reduce the station operation risk, reduce the equipment failure downtime, and improve the station operation stability rate.

[0118] Corresponding to the above method embodiment, this specification also provides a mode monitoring device embodiment, Figure 6 FIG. 2 shows a schematic diagram of the structure of a mode monitoring device provided by an embodiment of the present specification. Figure 6 As shown, the device comprises: The determination module 602 is configured to determine the current operation mode of the subsystem to be monitored and the current operation state of the target device in the subsystem to be monitored.

[0119] The acquisition module 604 is configured to acquire a mode control relationship set, wherein the mode control relationship set includes a plurality of mode control relationship pairs, and the mode control relationship pairs include a set operation mode, an associated device, and an expected operation state corresponding to the associated device under the set operation mode.

[0120] Matching module 606: configured to match and obtain the target expected operating state corresponding to the target device in the current operating mode from multiple mode comparison relationship pairs.

[0121] The generating module 608 is configured to generate a mode monitoring result of the subsystem to be monitored according to the target expected operating state and the current operating state.

[0122] Optionally, the determination module 602 is further configured to: Acquire a mode information set and a target instruction identifier corresponding to the subsystem to be monitored, wherein the mode information set includes a plurality of mode information pairs, and the mode information pair includes a set operation mode and an instruction identifier corresponding to the set operation mode; Obtaining a current operation mode corresponding to a target instruction identifier by matching multiple mode information pairs; Obtain and parse the operating status information of the target device to obtain the current operating status.

[0123] Optionally, the determination module 602 is further configured to: Acquire mode design information and preset corresponding relationship, wherein the preset corresponding relationship represents the corresponding relationship between the set operation mode and the instruction identifier; Extracting the set operation mode from the mode design information, and determining the instruction identifier corresponding to the set operation mode according to the preset corresponding relationship; Based on the set operation mode and the instruction identifier corresponding to the set operation mode, a mode information pair is constructed, and the mode information pair is added to the mode information set.

[0124] Optionally, the determination module 602 is further configured to: Get the newly added setting operation mode; Determine a newly added instruction identifier corresponding to the newly added set operating mode, a target associated device corresponding to the newly added set operating mode, and a newly added expected operating state corresponding to the target associated device under the newly added set operating mode; Based on the newly set operating mode and the newly added instruction identifier, generate a newly added mode information pair, and add the newly added mode information pair to the mode information set; Based on the newly set operating mode, the target associated device and the newly expected operating state, a newly added mode control relationship pair is generated, and the newly added mode control relationship pair is added to the mode control relationship set.

[0125] Optionally, the acquisition module 604 is further configured to: Acquire mode design information, and extract the set operation mode from the mode design information; Determine, according to the mode design information, associated devices associated with the set operation mode, and extract the expected operation states corresponding to the associated devices in the set operation mode; Based on the set operation mode, associated equipment and expected operation status, a mode comparison relationship pair is constructed; Adds a pattern-contrast pair to a pattern-contrast set.

[0126] Optionally, the mode monitoring result includes a first result set; the generating module 608 is further configured to: Determine whether the current operating state is consistent with the target expected operating state, and add the determination result to the first result set.

[0127] Optionally, the mode monitoring result includes a second result set; the generating module 608 is further configured to: Obtaining current action execution information of the target device in the current running state and the target execution action set corresponding to the target expected running state; Parse the current action execution information to obtain the current execution action set corresponding to the current running state; The currently executed actions in the currently executed action set are compared with the target executed actions in the target executed action set one by one, and the comparison results are added to the second result set.

[0128] Optionally, the generating module 608 is further configured to: Acquire a mode action parsing set, wherein the mode action parsing set includes a plurality of mode action parsing pairs, and the mode action parsing pairs include associated devices, device operation states of the associated devices, and action parsing rules corresponding to the device operation states; From multiple mode action analysis pairs, matching and obtaining the target action analysis rules corresponding to the target device in the current running state; Based on the target action parsing rules, parse the current action execution information to obtain the current execution action set.

[0129] Optionally, the generating module 608 is further configured to: Obtain the corresponding action description information of the associated device under the device running state; Generate action parsing rules corresponding to the device operation status according to the action description information; Based on the associated devices, device operating status and action parsing rules, a mode-action parsing pair is constructed, and the mode-action parsing pair is added to the mode-action parsing set.

[0130] By applying the embodiments of the present specification, by determining the current operating mode of the subsystem to be monitored and the current operating status of the target device in the subsystem to be monitored, it is possible to match and obtain the target expected operating status corresponding to the target device under the current operating mode based on the pre-configured mode comparison relationship set, thereby improving the efficiency of obtaining the target expected operating status, and then improving the efficiency of generating mode monitoring results; in addition, by pre-configuring the mode comparison relationship set, it is possible to obtain information for the subsystem to be monitored and the target device, so that information can be displayed according to user needs, reducing interface cache data, thereby improving interface flexibility and interface fluency, and meeting user personalized operation needs; and, in the event of a mode change, only the configuration information needs to be modified, without the need to modify the program, thereby reducing system maintenance costs.

[0131] The above is a schematic scheme of a mode monitoring device of this embodiment. It should be noted that the technical scheme of the mode monitoring device and the technical scheme of the mode monitoring method described above are of the same concept, and the details not described in detail in the technical scheme of the mode monitoring device can be found in the description of the technical scheme of the mode monitoring method described above.

[0132] Figure 7 The block diagram of a computing device 700 according to an embodiment of the present specification is shown. The components of the computing device 700 include but are not limited to a memory 710 and a processor 720. The processor 720 is connected to the memory 710 via a bus 730, and the database 750 is used to store data.

[0133] The computing device 700 also includes an access device 740 that enables the computing device 700 to communicate via one or more networks 760. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 740 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).

[0134] In one embodiment of the present specification, the above components of the computing device 700 and Figure 7 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 7 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0135] The computing device 700 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 700 may also be a mobile or stationary server.

[0136] The processor 720 is used to execute the following computer executable instructions, which implement the steps of the above-mentioned mode monitoring method when executed by the processor.

[0137] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned mode monitoring method belong to the same concept, and the details of the technical scheme of the computing device that are not described in detail can be referred to the description of the technical scheme of the above-mentioned mode monitoring method.

[0138] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which can implement the steps of the above-mentioned mode monitoring method when executed by a processor.

[0139] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned mode monitoring method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned mode monitoring method.

[0140] An embodiment of the present specification also provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned mode monitoring method when executed by a processor.

[0141] The above is a schematic scheme of a computer program product of this embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the above-mentioned mode monitoring method belong to the same concept, and the details not described in detail in the technical scheme of the computer program product can be referred to the description of the technical scheme of the above-mentioned mode monitoring method.

[0142] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0143] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0144] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0145] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0146] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A mode monitoring method, characterized in that: include: Determining a current operating mode of a subsystem to be monitored and a current operating state of a target device in the subsystem to be monitored; Acquire a mode control relationship set, wherein the mode control relationship set includes a plurality of mode control relationship pairs, and the mode control relationship pairs include a set operation mode, an associated device, and an expected operation state corresponding to the associated device under the set operation mode; Obtaining a target expected operating state corresponding to the target device under the current operating mode by matching the multiple mode comparison relationship pairs; A mode monitoring result of the subsystem to be monitored is generated according to the target expected operating state and the current operating state.

2. The method according to claim 1, characterized in that The determining of the current operation mode of the subsystem to be monitored and the current operation state of the target device in the subsystem to be monitored includes: Acquire a mode information set and a target instruction identifier corresponding to the subsystem to be monitored, wherein the mode information set includes a plurality of mode information pairs, and the mode information pair includes the set operation mode and an instruction identifier corresponding to the set operation mode; Obtaining the current operation mode corresponding to the target instruction identifier by matching from the multiple mode information pairs; Acquire and parse the operating status information of the target device to obtain the current operating status.

3. The method according to claim 2, characterized in that Before the acquisition mode information set and the target instruction identifier corresponding to the subsystem to be monitored, it also includes: Acquire mode design information and a preset correspondence relationship, wherein the preset correspondence relationship represents a correspondence relationship between a set operation mode and an instruction identifier; Extracting the set operation mode from the mode design information, and determining the instruction identifier corresponding to the set operation mode according to the preset corresponding relationship; Based on the set operation mode and the instruction identifier corresponding to the set operation mode, a mode information pair is constructed, and the mode information pair is added to the mode information set.

4. The method according to claim 3, characterized in that After adding the mode information pair to the mode information set, the method further includes: Get the newly added setting operation mode; Determine a newly added instruction identifier corresponding to the newly added set operating mode, a target associated device corresponding to the newly added set operating mode, and a newly added expected operating state corresponding to the target associated device under the newly added set operating mode; Based on the newly added set operation mode and the newly added instruction identifier, generate a newly added mode information pair, and add the newly added mode information pair to the mode information set; Based on the newly set operating mode, the target associated device and the newly expected operating state, a newly added mode control relationship pair is generated, and the newly added mode control relationship pair is added to the mode control relationship set.

5. The method according to claim 1, characterized in that Before acquiring the mode control relationship set, the method further includes: Acquiring mode design information, and extracting the set operation mode from the mode design information; Determine, according to the mode design information, an associated device associated with the set operation mode, and extract an expected operation state corresponding to the associated device under the set operation mode; Based on the set operation mode, the associated device and the expected operation state, construct a mode comparison relationship pair; The pattern mapping relationship pair is added to the pattern mapping relationship set.

6. The method according to any one of claims 1 to 5, characterized in that: The pattern monitoring results include a first result set; The generating the mode monitoring result of the subsystem to be monitored according to the target expected operating state and the current operating state includes: Determine whether the current operating state is consistent with the target expected operating state, and add the determination result to the first result set.

7. The method according to any one of claims 1 to 5, characterized in that: The pattern monitoring results include a second result set; The generating the mode monitoring result of the subsystem to be monitored according to the target expected operating state and the current operating state includes: Acquire current action execution information of the target device in the current running state and a target execution action set corresponding to the target expected running state; Parsing the current action execution information to obtain a current execution action set corresponding to the current running state; The currently executed actions in the currently executed action set are compared with the target executed actions in the target executed action set one by one, and the comparison results are added to the second result set.

8. The method according to claim 7, characterized in that The parsing the current action execution information to obtain the current execution action set corresponding to the current running state includes: Acquire a mode action parsing set, wherein the mode action parsing set includes a plurality of mode action parsing pairs, and the mode action parsing pairs include the associated device, the device operation state of the associated device, and the action parsing rule corresponding to the device operation state; From the multiple mode-action parsing pairs, matching and obtaining a target-action parsing rule corresponding to the target device in the current running state; Based on the target action parsing rule, the current action execution information is parsed to obtain the current execution action set.

9. The method according to claim 8, characterized in that Before obtaining the mode action parsing set, it also includes: Obtaining the action description information corresponding to the associated device under the running state of the device; Generate an action parsing rule corresponding to the device operation state according to the action description information; Based on the associated device, the device operating status and the action parsing rule, a mode-action parsing pair is constructed, and the mode-action parsing pair is added to the mode-action parsing set.

10. A mode monitoring system, characterized in that: It includes a subsystem to be monitored, a monitoring server and a monitoring terminal, wherein the subsystem to be monitored includes a target device: The monitoring terminal is used to send a mode monitoring instruction for the subsystem to be monitored to the monitoring server; The monitoring server is used to determine the current operating mode of the subsystem to be monitored and the current operating state of the target device in response to the mode monitoring instruction; Acquire a mode control relationship set, wherein the mode control relationship set includes a plurality of mode control relationship pairs, the mode control relationship pairs include a set operation mode, an associated device, and an expected operation state corresponding to the associated device under the set operation mode; obtain a target expected operation state corresponding to the target device under the current operation mode by matching from the plurality of mode control relationship pairs; generate a mode monitoring result for the target device according to the target expected operation state and the current operation state, and send the mode monitoring result to the monitoring terminal; The monitoring terminal is also used to receive and display the mode monitoring result.

11. A mode monitoring device, characterized in that: include: A determination module, configured to determine a current operation mode of the subsystem to be monitored and a current operation state of a target device in the subsystem to be monitored; An acquisition module is configured to acquire a mode control relationship set, wherein the mode control relationship set includes a plurality of mode control relationship pairs, and the mode control relationship pairs include a set operation mode, an associated device, and an expected operation state corresponding to the associated device under the set operation mode; A matching module, configured to match and obtain a target expected operating state corresponding to the target device under the current operating mode from the multiple mode comparison relationship pairs; A generating module is configured to generate a mode monitoring result of the subsystem to be monitored according to the target expected operating state and the current operating state.

12. A computing device, characterized in that: include: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer programs / instructions are executed by the processor, the steps of the pattern monitoring method according to any one of claims 1 to 9 are implemented.

13. A computer-readable storage medium, characterized in that: It stores a computer program / instruction, which, when executed by a processor, implements the steps of the pattern monitoring method described in any one of claims 1-9.

14. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a processor, implements the steps of the pattern monitoring method according to any one of claims 1 to 9.