CN117675976A - Equipment monitoring method, device, equipment and storage medium - Google Patents

Equipment monitoring method, device, equipment and storage medium Download PDF

Info

Publication number
CN117675976A
CN117675976A CN202311781579.5A CN202311781579A CN117675976A CN 117675976 A CN117675976 A CN 117675976A CN 202311781579 A CN202311781579 A CN 202311781579A CN 117675976 A CN117675976 A CN 117675976A
Authority
CN
China
Prior art keywords
information
monitoring
equipment
state
protocol template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311781579.5A
Other languages
Chinese (zh)
Inventor
李宏波
牟桂贤
张皖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202311781579.5A priority Critical patent/CN117675976A/en
Publication of CN117675976A publication Critical patent/CN117675976A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application relates to a device monitoring method, a device and a storage medium. The method receives device information and status information from a transmitting device at a controller; analyzing the state information according to the protocol template corresponding to the equipment information, extracting the state parameters from the state information, generating monitoring information carrying the state parameters, and sending the equipment information and the monitoring information to the receiving equipment; receiving equipment information and monitoring information from a controller at a cloud platform; analyzing the monitoring information according to the protocol template corresponding to the equipment information and extracting state parameters from the monitoring information; displaying state parameters in a preset monitoring interface, and receiving and executing an adjustment instruction; and generating state information carrying the adjusted state parameters according to the protocol template corresponding to the equipment information, and sending the equipment information and the state information to the controller. The method and the device can ensure that the receiving equipment correctly reads the monitoring information, and avoid the problem of protocol incompatibility.

Description

Equipment monitoring method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of intelligent control technologies, and in particular, to a device monitoring method, an apparatus, a device, and a storage medium.
Background
With the continuous progress of technology, humans have come to the digital age. In the digital development direction, the prior art can combine digital buildings with intelligent buildings, so that people, things and things in the buildings are presented in the form of data and are operated and maintained online, and the purpose of intelligent monitoring is achieved.
In the field of equipment monitoring, conventional edge control can only perform field control, but cannot perform remote control. Although the management software can be controlled remotely, the management software needs to be provided with a special server on site, and the cost for arranging the special server is slightly high when facing to numerous lightweight projects. At this time, in order to meet the demands of different users, a concept of monitoring equipment by using a cloud platform is proposed.
Under normal conditions, the cloud platform monitoring equipment is used, and the cloud platform is required to support the internet of things protocol adopted by the equipment. However, the same type of equipment pushed by different manufacturers and different types of equipment have differences in protocols, and the problem of protocol incompatibility often occurs between the cloud platform and the equipment, so that the cloud platform cannot monitor the equipment normally. Even if different manufacturers adopt the same standard protocol, the cloud platform can not correctly identify information from different devices because of the difference of field contents defined by different manufacturers, and still cannot normally monitor the devices. If it is desired that the cloud platform be able to correctly identify information from different devices, additional code development or parameter configuration of the cloud platform is required. However, the code development method needs to write corresponding codes for each protocol separately, the configuration programming method needs to configure parameters, the contents such as point names and addresses are also required to be configured one by one, and the programming workload is removed, so that the field debugging workload of the two methods is also very large.
Disclosure of Invention
The application provides a device monitoring method, device and storage medium, so as to solve the problem that protocol incompatibility often occurs between a cloud platform and the device.
Aiming at the technical problems, the technical scheme is solved by the following embodiments:
the embodiment of the application provides a device monitoring method, which comprises the following steps that: receiving device information and status information from a transmitting device; inquiring a protocol template corresponding to the equipment information in a pre-configured protocol template; analyzing the state information according to a protocol template corresponding to the equipment information and extracting state parameters from the state information; generating monitoring information carrying the state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the monitoring information to receiving equipment; wherein the monitoring information is identifiable information of the receiving device and information formats of the monitoring information and the status information are different.
Before the query of the protocol template corresponding to the equipment information, the method further comprises the following steps: acquiring equipment information of electromechanical equipment through a preset configuration device and correspondingly configuring a protocol template matched with the equipment information for the electromechanical equipment; wherein the device information includes: basic information and protocol information of the electromechanical device; storing a protocol template correspondingly configured for the electromechanical device; and sending the protocol template correspondingly configured for the electromechanical device to the cloud platform, so that the cloud platform stores the protocol template correspondingly configured for the electromechanical device.
Wherein the type of the status information includes: a status report type and a status control type; the protocol template corresponding to the equipment information comprises: a storage address corresponding to the state parameter; the analyzing the state information and extracting the state parameters from the state information according to the protocol template corresponding to the equipment information comprises the following steps: when the equipment information is of a status report type, analyzing the status information according to a protocol template corresponding to the equipment information and extracting the status parameter at a storage address corresponding to the status parameter; when the equipment information is of a state control type, analyzing the state information according to a protocol template corresponding to the equipment information and extracting the state parameter from an information group containing a storage position corresponding to the state parameter.
Wherein, the type of the monitoring information comprises: a status report type and a status control type; the protocol template corresponding to the equipment information comprises: a storage address corresponding to the state parameter; the step of generating the monitoring information carrying the state parameters according to the protocol template corresponding to the equipment information and sending the equipment information and the monitoring information to the receiving equipment comprises the following steps: when the type of the monitoring information is a state reporting type, the sending equipment is electromechanical equipment, and the receiving equipment is a cloud platform; according to the protocol template corresponding to the equipment information, generating monitoring information in a recognizable reading format of the cloud platform and sending the equipment information and the monitoring information to the cloud platform; the monitoring information comprises at least one information group, wherein the information group is used for storing the state parameters and storage addresses corresponding to the state parameters; when the type of the monitoring information is a state control type, the sending equipment is a cloud platform, and the receiving equipment is electromechanical equipment; according to the protocol template corresponding to the equipment information, generating monitoring information in a protocol format recognizable by the electromechanical equipment and sending the equipment information and the monitoring information to the electromechanical equipment; the state parameters carried in the monitoring information are stored in storage addresses corresponding to the state parameters.
The embodiment of the application also provides a device monitoring method, which comprises the following steps of: receiving device information and monitoring information from a controller; the monitoring information is identifiable information of the cloud platform; inquiring a protocol template corresponding to the equipment information in a pre-stored protocol template; analyzing the monitoring information according to a protocol template corresponding to the equipment information and extracting state parameters from the monitoring information; displaying the state parameters in a preset monitoring interface, and receiving and executing an adjustment instruction for adjusting the state parameters; generating state information carrying the adjusted state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the state information to the controller; wherein, the information formats of the state information and the monitoring information are the same.
Wherein, the protocol template corresponding to the equipment information comprises: a storage address corresponding to the state parameter; analyzing the monitoring information and extracting state parameters from the monitoring information according to a protocol template corresponding to the equipment information, wherein the method comprises the following steps: and analyzing the monitoring information according to the protocol template corresponding to the equipment information, and extracting the state parameters from the information group containing the storage positions corresponding to the state parameters.
Wherein, the protocol template corresponding to the equipment information comprises: an interface template; and displaying the state parameters in a preset monitoring interface, wherein the method comprises the following steps: acquiring a monitoring interface corresponding to the interface template; wherein the monitoring interface comprises a display area; binding the state parameters to the display area in the monitoring interface correspondingly; loading the monitoring interface, and loading the state parameters bound to the display area in the display area of the monitoring interface.
The embodiment of the application also provides a device monitoring apparatus, which comprises: the device comprises at the controller side: the system comprises a first receiving module, a first query module, a first analysis module and a first sending module; the first receiving module is used for receiving the equipment information and the state information from the sending equipment; the first query module is used for querying a protocol template corresponding to the equipment information in a pre-configured protocol template; the first analysis module is used for analyzing the state information according to the protocol template corresponding to the equipment information and extracting state parameters from the state information; the first sending module is used for generating monitoring information carrying the state parameters according to the protocol template corresponding to the equipment information and sending the equipment information and the monitoring information to receiving equipment; wherein the monitoring information is identifiable information of the receiving device and information formats of the monitoring information and the state information are different; alternatively, the device includes, on the cloud platform side: the device comprises a second receiving module, a second query module, a second analysis module, a device monitoring module and a second sending module; the second receiving module is used for receiving the equipment information and the monitoring information from the controller; the monitoring information is identifiable information of the cloud platform; the second query module is used for querying a protocol template corresponding to the equipment information in a pre-stored protocol template; the second analysis module is used for analyzing the monitoring information according to the protocol template corresponding to the equipment information and extracting state parameters from the monitoring information; the device monitoring module is used for displaying the state parameters in a preset monitoring interface and receiving and executing an adjustment instruction for adjusting the state parameters; the second sending module is used for generating state information carrying the adjusted state parameters according to the protocol template corresponding to the equipment information and sending the equipment information and the state information to the controller; wherein, the information formats of the state information and the monitoring information are the same.
The embodiment of the application also provides equipment monitoring equipment, which comprises: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; at least one memory coupled to the at least one bus, wherein the processor is configured to: and executing the equipment monitoring program stored in the memory to realize the equipment monitoring method executed on the controller side or the equipment monitoring method executed on the cloud platform side.
The embodiment of the application also provides a computer readable storage medium, which stores computer executable instructions, and the computer executable instructions are executed to implement the device monitoring method executed on the controller side or the device monitoring method executed on the cloud platform side.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the method provided by the embodiment of the application can be used for receiving the equipment information and the state information from the sending equipment at the controller; inquiring a protocol template corresponding to the equipment information in a pre-configured protocol template; analyzing the state information according to a protocol template corresponding to the equipment information and extracting state parameters from the state information; generating monitoring information carrying the state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the monitoring information to receiving equipment; wherein the monitoring information is identifiable information of the receiving device and information formats of the monitoring information and the status information are different. Receiving equipment information and monitoring information from a controller at a cloud platform; the monitoring information is identifiable information of the cloud platform; inquiring a protocol template corresponding to the equipment information in a pre-stored protocol template; analyzing the monitoring information according to a protocol template corresponding to the equipment information and extracting state parameters from the monitoring information; displaying the state parameters in a preset monitoring interface, and receiving and executing an adjustment instruction for adjusting the state parameters; generating state information carrying the adjusted state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the state information to the controller; wherein, the information formats of the state information and the monitoring information are the same. According to the method and the device for processing the monitoring information, the protocol template is positioned according to the device information, the state parameters in the state information are extracted according to the protocol template, and the state parameters are assembled into the identifiable information of the receiving device according to the protocol template, so that the receiving device can be ensured to correctly read the monitoring information, and the problem of protocol incompatibility between the receiving device and the sending device is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
FIG. 1 is a flow chart of a device monitoring method performed at a controller according to an embodiment of the present application;
FIG. 2 is a flow chart of a device monitoring method performed at a cloud platform according to an embodiment of the present application;
fig. 3 is a schematic diagram of a device monitoring system according to an embodiment of the present application.
FIG. 4 is a flowchart of protocol template configuration steps according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating steps for reporting status parameters according to one embodiment of the present application;
FIG. 6 is a schematic diagram of the content structure of a protocol template according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating steps for state parameter adjustment according to one embodiment of the present application;
FIG. 8 is a flowchart illustrating the steps for status parameter delivery according to one embodiment of the present application;
FIG. 9 is a block diagram of a device monitoring apparatus provided at a controller according to an embodiment of the present application;
FIG. 10 is a block diagram of a device monitoring apparatus disposed on a cloud platform according to an embodiment of the present application;
fig. 11 is a block diagram of a device monitoring device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
The following disclosure provides many different embodiments, or examples, for implementing different structures of the application. In order to simplify the disclosure of the present application, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present application. Furthermore, the present application may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
The embodiment of the application provides a device monitoring method. The execution body of the embodiment is a controller. As shown in fig. 1, a flowchart of a device monitoring method performed at a controller according to an embodiment of the present application is shown.
Step S110, device information and status information from the transmitting device are received.
The sending equipment is electromechanical equipment to be monitored or a cloud platform for monitoring. The electromechanical devices are for example: multi-split air conditioner, intelligent lamp, sensor, etc.
The device information is device information of the electromechanical device. The device information includes, but is not limited to, basic information of the electromechanical device. Of course, the device information may also include protocol information. Basic information includes, but is not limited to: the type, name, unique code (e.g., serial number), model number, and manufacturer of the electromechanical device. For example: the type of the electromechanical equipment is a multi-split air conditioner, the name of the electromechanical equipment is a multi-split air conditioner outdoor unit, the model is 000231, and the manufacturer is A. Protocol information includes, but is not limited to: protocol name (protocol type).
The type of the state information is the state reporting type of the electromechanical equipment or the state control type of the cloud platform. The state information of the state reporting type is used for reporting current state parameters of the electromechanical device to the cloud platform. The state information of the state control type is used for the cloud platform to regulate and control the current state parameters of the electromechanical equipment, namely, control instructions sent to the electromechanical equipment by the cloud platform.
Step S120, in the pre-configured protocol templates, inquiring the protocol templates corresponding to the equipment information.
The protocol template refers to a standard format of protocol content. Further, aiming at different protocols, the key contents of the protocols are arranged according to a fixed format, so that a protocol template can be formed.
For example: the storage position of each state parameter in the information is described in the protocol template according to the specific content of the protocol, so that the meaning and the content of each field in the state information can be correctly interpreted according to the protocol template.
Because the protocols of different protocol types contain different contents, the protocols of the same type of different manufacturers may be different in field definition, different protocol templates are required to be configured correspondingly for the protocols of different protocol types and the protocols of the same protocol type but different field definitions, and one protocol template can be uniquely determined through the basic information and the protocol information of the electromechanical equipment.
Step S130, analyzing the state information and extracting state parameters from the state information according to the protocol template corresponding to the equipment information.
Because the protocol template is a standard format of the protocol content, each field in the state information can be correctly analyzed based on the protocol template corresponding to the equipment information, and the state parameters are extracted from each field in the state information.
Step S140, according to the protocol template corresponding to the equipment information, generating monitoring information carrying the state parameter, and sending the equipment information and the monitoring information to receiving equipment; wherein the monitoring information is identifiable information of the receiving device and information formats of the monitoring information and the status information are different.
The type of the monitoring information is a state control type or a state report type. The monitoring information of the state reporting type is used for reporting the current state parameters of the electromechanical equipment to the cloud platform. The monitoring information of the state control type is used for regulating and controlling the current state parameters of the electromechanical equipment by the cloud platform.
When the sending device is an electromechanical device, the receiving device is a cloud platform.
When the transmitting device is a cloud platform, the receiving device is an electromechanical device.
Because the protocol template is a standard format of the protocol content, according to the protocol template corresponding to the equipment information, the state parameters can be assembled into the information which can be identified by the cloud platform to form a state report type, and the state parameters can be assembled into the information which can be identified by the electromechanical equipment to form the state report type.
In the present embodiment, device information and status information from a transmitting device are received at a controller side; inquiring a protocol template corresponding to the equipment information in a pre-configured protocol template; analyzing the state information according to a protocol template corresponding to the equipment information and extracting state parameters from the state information; and generating monitoring information carrying the state parameters according to the protocol template corresponding to the equipment information, and sending the equipment information and the monitoring information to receiving equipment. According to the method and the device for processing the monitoring information, the protocol template is positioned according to the device information, the state parameters in the state information are extracted according to the protocol template, and the state parameters are assembled into the identifiable information of the receiving device according to the protocol template, so that the receiving device can be ensured to correctly read the monitoring information, and the problem of protocol incompatibility between the receiving device and the sending device is avoided.
The following describes a device monitoring method on the cloud platform side. Fig. 2 is a flowchart of a device monitoring method performed on a cloud platform according to an embodiment of the present application.
Step S210, receiving equipment information and monitoring information from a controller; the monitoring information is identifiable information of the cloud platform.
The monitoring information is identifiable information of a cloud platform generated by the controller for the cloud platform according to a protocol template corresponding to the equipment information, and the monitoring information carries state parameters.
Step S220, inquiring a protocol template corresponding to the equipment information in a pre-stored protocol template.
Step S230, analyzing the monitoring information and extracting state parameters from the monitoring information according to the protocol template corresponding to the equipment information.
And setting an analysis program on the cloud platform, wherein the analysis program analyzes the monitoring information according to the protocol template corresponding to the equipment information and extracts the state parameters from the monitoring information. Further, an parsing program may be set for each device type correspondence, and the parsing program may be queried according to the device type in the device information. Of course, the device analysis program can also be corresponding to each protocol template, and the analysis program can be queried according to the basic information and the protocol information in the protocol template.
Step S240, displaying the state parameter in a preset monitoring interface, and receiving and executing an adjustment instruction for adjusting the state parameter.
And the adjusting instruction is used for adjusting the parameter value in the state parameter.
Step S250, generating state information carrying the adjusted state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the state information to the controller; wherein, the information formats of the state information and the monitoring information are the same.
In this embodiment, the cloud platform receives device information and monitoring information from the controller; inquiring a protocol template corresponding to the equipment information in a pre-stored protocol template; analyzing the monitoring information according to a protocol template corresponding to the equipment information and extracting state parameters from the monitoring information; displaying the state parameters in a preset monitoring interface, and receiving and executing an adjustment instruction for adjusting the state parameters; generating state information carrying the adjusted state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the state information to the controller; wherein the monitoring information is identifiable information of the receiving device and information formats of the monitoring information and the status information are different. The monitoring information in the embodiment of the application is identifiable information of a cloud platform generated by a controller according to a protocol template corresponding to equipment information, and the monitoring information carries state parameters; after the monitoring information is received, a protocol template can be positioned according to the equipment information, state parameters in the monitoring information are extracted according to the protocol template, the state parameters are displayed in a monitoring interface according to the protocol template, the size of the state parameters is adjusted according to the regulation and control instruction, and the state information is generated according to the adjusted state parameters, so that the problem of protocol incompatibility between the electromechanical equipment and the cloud platform can be avoided.
The embodiment of the invention provides a cloud platform capable of realizing rapid monitoring, which can rapidly monitor the state of equipment and meet the requirement of differential monitoring by supporting protocol import and identification, automatically matching analysis information, differential monitoring interfaces and functional interfaces and rapidly adding and integrating new proprietary protocols, and does not need to configure point positions and interfaces one by one.
Embodiments of the present application are described further below in conjunction with a system diagram of device monitoring as shown in fig. 3. The equipment monitoring system comprises a controller, a cloud platform and electromechanical equipment. The electromechanical device may be connected to a controller, and the controller may be connected to the cloud platform. The controller may act as an intermediary between the mechatronic device and the cloud platform.
In order to correctly interpret the state information and the monitoring information, the embodiment relates to the inquiry of the protocol templates in both the controller and the cloud platform, and the protocol templates can be configured for the electromechanical device according to the device information of the electromechanical device before the inquiry of the protocol templates corresponding to the device information.
As shown in fig. 4, a flowchart of protocol template configuration steps according to an embodiment of the present application is shown.
In step S410, the controller collects device information of the electromechanical device through a preset configuration device and correspondingly configures a protocol template matched with the device information for the electromechanical device.
In step S420, the controller stores a protocol template configured for the electromechanical device.
The device information includes: basic information and protocol information of the electromechanical device.
The protocol template comprises: basic information and protocol information. The basic information is, for example, a device name or a device type, etc. The protocol information is, for example, a protocol name or a protocol type. The protocol types are, for example: MQTT protocol, HTTP protocol, modbus TCP protocol, etc.
The configuration means may be configuration software. The configuration software may be used to configure a protocol template, a network address of a controller, a network address of a cloud platform to which the controller is to be connected, and the like.
In particular, the configuration software may be pre-installed in the electromechanical device, or pre-installed in the controller, or pre-installed in the network device.
When the protocol template is configured for the electromechanical equipment, an address configuration interface of configuration software can be opened, the network address of the controller and the network address of the cloud platform to be connected with the controller are input, and network connection is established with the controller according to the network address of the controller. The protocol configuration interface of the configuration software can be opened, basic information and protocol information of the electromechanical device can be selected in the interface, the configuration software receives the basic information and the protocol information of the electromechanical device selected by a user, a matched protocol template can be uniquely determined in a protocol template library, the protocol template is correspondingly configured for the electromechanical device, the configuration software sends the protocol template correspondingly configured for the electromechanical device to the controller, and meanwhile, the network address of the cloud platform is sent to the controller. The controller stores the protocol templates to query the stored protocol templates for the required protocol templates.
Further, in the pre-configured protocol templates, if the protocol template corresponding to the equipment information is not queried, the protocol template is configured for the electromechanical equipment through configuration software according to the equipment information of the electromechanical equipment. Or, downloading the protocol template corresponding to the equipment information from the network side through configuration software. By the method, the imported protocol template can be added, rapid expansion of the protocol is realized, and more devices are identified.
In step S430, the controller sends a protocol template configured for the electromechanical device to the cloud platform, so that the cloud platform stores the protocol template configured for the electromechanical device.
In step S440, the cloud platform receives the protocol template configured for the electromechanical device and sent by the controller, and stores the protocol template configured for the electromechanical device.
And the controller establishes network connection with the cloud platform according to the network address of the cloud platform sent by the configuration software. The controller actively reports the protocol template and the basic information of the controller (such as the name, the MAC address, the model, the type and the like of the controller) to the cloud platform. The cloud platform stores the protocol template and basic information of the controller, the follow-up cloud platform can request the state of the electromechanical device, the controller requests the electromechanical device to report the state information, the controller analyzes the information based on the stored protocol template, converts the information into information which can be identified by the cloud platform, feeds back the information to the cloud platform, and the cloud platform can display the information and send monitoring information (control instructions) to the electromechanical device.
Further, if the cloud platform cannot query the protocol template corresponding to the equipment information in the stored protocol templates, the controller can obtain the protocol template corresponding to the equipment information or download the protocol template corresponding to the equipment information from the network side.
In the embodiment of the application, the protocol import is supported, the system has flexibility, and different protocol templates can be imported according to the requirements of users. The protocol template is automatically matched and analyzed, so that the method can be rapidly adapted to communication protocols of different devices. Further, the system of the present embodiment has an interface expansion capability, which is required in order to cope with the situation in which the technological development is rapid. By means of plug-in, the method supports rapid addition and integration of new protocols, and ensures that the system can keep up with the continuously changing equipment protocol standard.
The following describes the device monitoring process of the present application by taking a multi-split air conditioner as an example:
step 1, starting configuration software, opening an address configuration interface of the configuration software, inputting a default IP address of a controller in the address configuration interface, such as 127.0.1.1, and inputting an IP address of a cloud platform to be connected with the controller, such as: xx.xx.xx.xx or domain names (such as test.closed.com).
And 2, the configuration software sends a connection request to the controller according to the IP address of the controller, after the connection is successful, a protocol configuration interface of the configuration software is opened, in the protocol configuration interface, the equipment type of the electromechanical equipment is selected as a multi-split air conditioner, the protocol type is Modbus RTU, the protocol template is matched according to the multi-split air conditioner and the Modbus RTU, and the protocol template and the IP address of the cloud platform are sent to the controller.
The configuration software may extend the protocol template through a plug-in. For example: an electricity meter needs to be accessed, however, the configuration software does not support the protocol of the electricity meter, and a plug-in of the configuration software can be used for downloading a protocol template of the electricity meter. Of course, the controller and the cloud platform can also download the protocol template online, i.e. the ammeter can be accessed.
And 3, the controller stores the protocol template, is connected with the cloud platform according to the IP address of the cloud platform, and sends the protocol template and the basic information of the controller to the cloud platform after the connection is successful.
And 4, the cloud platform receives and stores the basic information of the protocol template and the controller.
And 5, the electromechanical device sends basic information and unique codes of the electromechanical device to the cloud platform, the cloud platform queries the unique codes in a pre-stored unique code list, if the unique codes can be queried, the electromechanical device is determined to be legal equipment, and the electromechanical device and the cloud platform are bound according to the basic information of the electromechanical device. After the electromechanical device is bound, the cloud platform can request the device state, regulate and control the electromechanical device according to the device state returned by the controller, and send a control instruction to the electromechanical device through the controller.
The device monitoring method of the embodiments of the present application may be performed based on the controller and the stored protocol templates already in the cloud platform. The device monitoring process of the embodiment of the application comprises a state parameter reporting stage, a state parameter adjusting stage and a state parameter issuing stage.
The process of reporting the state parameters is described first. In the state parameter reporting stage, the sending equipment is electromechanical equipment, and the receiving equipment is a cloud platform.
Fig. 5 is a flowchart illustrating a step of reporting status parameters according to an embodiment of the present application.
In step S510, the controller receives device information and status information from the mechatronic device.
The status information includes: at least one status parameter.
The status parameter is a set of information whose contents include, but are not limited to: parameter name, parameter attribute (parameter value), storage location, read-write attribute, and parameter unit. For example: the temperature state parameters of the air conditioner include: the parameter name is temperature, the parameter attribute is 25, the storage address is 252, the read-write attribute is read-only, and the parameter unit is the temperature.
The types of state parameters include: run classes and function classes. The state parameters of the operation class are parameters related to the operation state of the electromechanical equipment, such as: temperature, wind speed, mode, etc. The state parameters of the functional class are parameters for understanding the operation condition of the electromechanical device, such as: whether a fault occurs, the current power consumption, etc.
The type of status information includes: a status report type and a status control type.
The state parameters of the state reporting type are used for reporting the current state parameters of the electromechanical device to the cloud platform by the electromechanical device. Further, the state information reported by the electromechanical device adopts a protocol format adopted by the electromechanical device.
In this embodiment, the status information includes at least: protocol header and valid data. Of course, check bits may also be included. Further, the protocol header formats of different protocols are different, and the formats of valid data are also different. The valid data is typically: data length + start location of storage + data content. The state information occupies valid data for transmission. When the information is analyzed, the direct analysis does not know what content the data represents and what meaning the value represents, and the protocol template can be used for assisting in understanding the content and meaning of the data.
In step S520, the controller queries a protocol template corresponding to the device information in the pre-configured protocol templates.
Fig. 6 is a schematic diagram of a content structure of a protocol template according to an embodiment of the present application. The protocol template comprises: protocol information, basic information, protocol details and interface templates.
Protocol information may uniquely determine a protocol type, including but not limited to: manufacturer information and protocol name. For example: modbus RTU protocol of a manufacturer.
The base information may uniquely identify an electromechanical device. Basic information includes, but is not limited to: device name. For example: multi-split air conditioner, centrifuge, temperature sensor.
Protocol details are used to describe state parameters in the protocol. Protocol details include, but are not limited to: parameter name, parameter attribute, storage address, read-write attribute, and parameter unit. The storage position is a storage starting position.
Interface templates include, but are not limited to: template type and functional rights. The template type is used for limiting the style of the monitoring interface corresponding to the state parameters of the function class. Template types include, but are not limited to: cards, electronic maps, system diagrams, lists. The function authority is used for limiting the style of the monitoring interface corresponding to the state parameters of the function class. Functional rights include, but are not limited to: fault, alarm, energy, billing.
For example: the protocol templates of the multi-split air conditioner are as follows:
device type: multi-split air conditioner
Protocol type: modbus RTU
Protocol details:
{ on/off, boolean (01: on, 00: off), 01, write, null },
{ mode, enumerated values (00: cooling, 01: heating, 02: air supply), 02, write, null }, { temperature, value, 03, write, °c },
{ wind speed, enumerated values (00: low, 01: medium, 02: high), 04, write, null } { indoor Unit failure, boolean quantity (01: failure, 00: no failure), 05, read, null }
Interface template: { card, failure })
Wherein each row in the protocol detail represents a state parameter, each field in the state parameter represents a meaning, and the meaning of the same field in different state parameters is the same. The content of the state parameter is illustrated with the first state parameter in the protocol details. The 1 st field "on/off" is a parameter name. The 2 nd field Boolean quantity (01: power on, 00: power off) is a parameter attribute, if 01, it indicates start, if 00, it indicates power off. The 3 rd field "01" indicates that the memory address is 01. The 4 th field "Write" indicates that the read-Write attribute is readable and writable. The 5 th field "null" indicates that the unit is none.
In step S530, when the device information is of a status report type, the controller analyzes the status information according to the protocol template corresponding to the device information and extracts the status parameter at the storage address corresponding to the status parameter.
The protocol template corresponding to the equipment information comprises: and a storage address corresponding to the state parameter. And the state parameters can be extracted from the corresponding storage locations of the state information.
Specifically, the protocol details of the protocol template include the parameter name, the parameter attribute, the storage address, the read-write attribute and the parameter unit of each state parameter, so that the state parameter stored in each storage address can be resolved in the state information according to the protocol template, and the corresponding state parameter can be extracted from each storage address.
For example: according to the protocol template corresponding to the multi-split air conditioner, the state parameters corresponding to the on-off machine can be extracted from the storage position 01 of the state information, and the state parameters corresponding to the mode can be extracted from the storage position 01.
Step S540, the controller generates monitoring information in a recognizable reading format of the cloud platform according to a protocol template corresponding to the equipment information and sends the equipment information and the monitoring information to the cloud platform; the monitoring information comprises at least one information group, and the information group is used for storing the state parameters and storage addresses corresponding to the state parameters.
The type of the monitoring information comprises: a status report type and a status control type. The monitoring information of the state reporting type is used for reporting current state parameters to the cloud platform by the electromechanical device.
And when the type of the monitoring information is a state reporting type, the controller is electromechanical equipment, and the receiving equipment is a cloud platform. In order to ensure that the cloud platform can accurately analyze the monitoring information, the monitoring information needs to be in an information format which can be identified by the cloud in common. In this embodiment, the cloud platform identifiable reading format may be a list format.
When the monitoring information is generated, sequentially writing each extracted state parameter into the list according to the extraction sequence of the state parameters, wherein each state parameter is one line of data in the list to form the monitoring information. In the monitoring information, the status parameter is also an information group, and the same information group is written in the same row of the list.
For example: the generated monitoring information is shown in table 1, but it should be understood by those skilled in the art that the content of the monitoring information is not limited to the following table.
TABLE 1
In this embodiment, the monitoring information is identifiable information of the cloud platform and information formats of the monitoring information and the status information are different. Further, the monitoring information adopts a list format, and the state information adopts a protocol format supported by the electromechanical equipment.
After the monitoring information reaches the cloud platform, the state parameters of the electromechanical device can be regulated and controlled on the basis of the monitoring information at the cloud platform.
The process of state parameter adjustment is described below. In the state parameter adjustment stage, the execution main body is a cloud platform. FIG. 7 is a flowchart illustrating the steps for state parameter adjustment according to an embodiment of the present application.
Step S710, the cloud platform receives equipment information and monitoring information from the controller; the monitoring information is identifiable information of the cloud platform.
In step S720, the cloud platform queries a protocol template corresponding to the device information in the pre-stored protocol templates.
Step S730, the cloud platform analyzes the monitoring information according to the protocol template corresponding to the device information and extracts the state parameter from the information group containing the storage location corresponding to the state parameter.
In this embodiment, the monitoring information adopts a list format, and each row has a status parameter, but the meaning and content of the status parameter of each row can be obtained only by analyzing by means of a protocol template. Further, since the protocol details of the protocol template include the parameter name, the parameter attribute, the storage address, the read-write attribute and the parameter unit of each state parameter, the parameter name, the parameter attribute, the storage address, the read-write attribute and the parameter unit in each row can be identified according to the storage address recorded in each row in the list.
In this embodiment, according to the basic information and the protocol information included in the protocol template, the parsing program corresponding to the protocol template, that is, the parsing program corresponding to the device information, may be downloaded from the network side. Of course, the controller may configure the protocol template for the electromechanical device by using the configuration software, and simultaneously, may correspondingly configure the parsing program for the protocol template, and send the parsing program to the cloud platform along with the protocol template.
And the cloud platform runs an analysis program corresponding to the equipment information, analyzes the monitoring information according to a protocol template corresponding to the equipment information, and extracts the state parameters from an information group containing a storage position corresponding to the state parameters.
In step S740, the cloud platform displays the state parameters in a preset monitoring interface, and receives and executes an adjustment instruction for adjusting the state parameters.
The protocol template corresponding to the equipment information comprises: and (5) an interface template.
Acquiring a monitoring interface corresponding to the interface template; wherein the monitoring interface comprises a display area; binding the state parameters to the display area in the monitoring interface correspondingly; loading the monitoring interface, and loading the state parameters bound to the display area in the display area of the monitoring interface.
The number of state parameters is at least one. The number of display areas is at least one. Binding a status parameter to a display area. The binding mode comprises the following steps: random binding or binding according to preset rules. The binding according to the preset rule is as follows: the first state parameter binds to a first display area, the second state parameter binds to a second display area, and so on.
Further, the interface template includes a template type and a function right. The mode of the monitoring interface corresponding to the template type and the mode of the monitoring interface corresponding to the function authority are the same or different. The state parameters of the function class need to be adapted to the function in the monitoring interface, namely, after the function authority authorization in the interface template is obtained, the function parameters are displayed in the monitoring interface. According to different functional authorities, the authorized entity can be an electromechanical device, a cloud platform or a third party server.
Specifically, a monitoring interface corresponding to the template type and a monitoring interface corresponding to the function authority are respectively obtained; the method comprises the steps of loading a monitoring interface corresponding to a state parameter of an operation class to a display area in the monitoring interface corresponding to a binding template type, and loading the state parameter of the operation class bound by the display area in the display area of the monitoring interface; according to basic information of the electromechanical equipment, requesting an authorized main body to obtain the function permission in the interface template, after obtaining the function permission, loading the monitoring interface and loading the state parameters of the function class bound in the display area of the monitoring interface, wherein the state parameters of the function class are correspondingly bound in the display area of the monitoring interface. The monitoring interface corresponding to the function authority may be independent of the monitoring interface corresponding to the template type, or the monitoring interface corresponding to the function authority may be embedded in the monitoring interface corresponding to the template type.
Further, an operation control may be provided in the monitoring interface for adjusting a status parameter in the monitoring interface. Further, an operation control is correspondingly set for the state parameter of each operation class so as to adjust the parameter value of the state parameter of the operation class.
Further, a presentation icon may be set and displayed for the electromechanical device in the monitoring interface according to the device type of the electromechanical device. To better distinguish between different device types, different device types use different presentation icons.
Further, the style of the monitoring interface includes, but is not limited to: cards, electronic maps, system diagrams, lists. If the mode of the monitoring interface is a card, only one card displays the state parameter corresponding to one electromechanical device. If the style of the monitoring interface is an electronic map, taking a display image corresponding to the electromechanical device as an icon on the electronic map, clicking the display icon, and popping up the state parameter of the electromechanical device corresponding to the display icon. If the monitoring interface is a system diagram, display icons corresponding to the electromechanical devices can be displayed in one monitoring interface, the display icons are plotted into topological diagrams according to the connection relation of the electromechanical devices, the display icons are clicked, and state parameters of the electromechanical devices corresponding to the display icons are popped up. If the monitoring interface is a list, the state parameters of a plurality of electromechanical devices are recorded in the list, and each state parameter of the electromechanical devices occupies one row of the list.
Step S750, generating state information carrying the adjusted state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the state information to the controller; wherein, the information formats of the state information and the monitoring information are the same.
The status information may refer to the monitoring information to generate a list format. Each row in the list corresponds to an adjusted state parameter.
In the design of the monitoring interface, the embodiment can design different types of monitoring interfaces according to the monitoring requirements of different electromechanical devices. The user can configure the interface template in the protocol template and the mode of the monitoring interface according to own business requirements, thereby realizing customized interface display, realizing different interface functions, realizing rapid monitoring and operation of the equipment and enabling the user to intuitively know the state and performance index of the electromechanical equipment.
The state information generated in this embodiment is used to regulate and control the current state parameters of the electromechanical device, so that the generated state information needs to be sent to the controller, and the controller performs format conversion on the state information according to the protocol template and sends the format conversion to the electromechanical device.
The following describes the procedure for issuing the status parameter. In the state parameter issuing stage, the type of the monitoring information is a state control type, the sending equipment is a cloud platform, and the receiving equipment is electromechanical equipment. Fig. 8 is a flowchart illustrating the steps for issuing status parameters according to an embodiment of the present application.
In step S810, the controller receives device information and status information from the cloud platform.
In step S820, the controller queries the protocol template corresponding to the device information in the pre-configured protocol templates.
In step S830, when the device information is of a state control type, the controller analyzes the state information according to the protocol template corresponding to the device information and extracts the state parameter from the information group including the storage location corresponding to the state parameter.
Step S840, the controller generates monitoring information in a protocol format recognizable by the electromechanical device according to the protocol template corresponding to the device information and sends the device information and the monitoring information to the electromechanical device; the state parameters carried in the monitoring information are stored in storage addresses corresponding to the state parameters.
The mechatronic device may recognize the protocol format, i.e., the format of the protocol employed by the mechatronic device.
The embodiment of the application also provides a device monitoring device.
Fig. 9 is a block diagram of an apparatus monitoring device provided at a controller according to an embodiment of the present application. The device comprises at the controller side: a first receiving module 910, a first querying module 920, a first parsing module 930, and a first sending module 940.
The first receiving module 910 is configured to receive device information and status information from a transmitting device.
The first query module 920 is configured to query, in a pre-configured protocol template, a protocol template corresponding to the device information.
The first parsing module 930 is configured to parse the state information according to the protocol template corresponding to the device information and extract a state parameter from the state information.
A first sending module 940, configured to generate, according to a protocol template corresponding to the device information, monitoring information carrying the status parameter, and send the device information and the monitoring information to a receiving device; wherein the monitoring information is identifiable information of the receiving device and information formats of the monitoring information and the status information are different.
Fig. 10 is a block diagram of a device monitoring apparatus provided on a cloud platform according to an embodiment of the present application. The device comprises the following components on the cloud platform side: the second receiving module 1010, the second querying module 1020, the second parsing module 1030, the device monitoring module 1040, and the second transmitting module 1050.
A second receiving module 1010 for receiving the device information and the monitoring information from the controller; the monitoring information is identifiable information of the cloud platform.
And a second query module 1020, configured to query, in a pre-stored protocol template, a protocol template corresponding to the device information.
And the second parsing module 1030 is configured to parse the monitoring information according to the protocol template corresponding to the device information and extract the status parameter from the monitoring information.
The device monitoring module 1040 is configured to display the state parameter in a preset monitoring interface, and receive and execute an adjustment instruction for adjusting the state parameter.
A second sending module 1050, configured to generate status information carrying the adjusted status parameter according to a protocol template corresponding to the device information, and send the device information and the status information to the controller; wherein, the information formats of the state information and the monitoring information are the same.
The functions of the apparatus in the embodiments of the present application have been described in the foregoing method embodiments, so that the descriptions of the embodiments are not exhaustive, and reference may be made to the related descriptions in the foregoing embodiments, which are not repeated herein.
The embodiment of the application also provides equipment monitoring equipment, as shown in fig. 11, which is a structural diagram of the equipment monitoring equipment according to an embodiment of the application.
The device monitoring device includes: a processor 1110, a communication interface 1120, a memory 1130, and a communication bus 1140. Wherein processor 1110, communication interface 1120, and memory 1130 perform communication with each other via communication bus 1140.
Memory 1130 for storing computer programs.
In one embodiment of the present application, the processor 1110 is configured to implement any one of the foregoing device monitoring methods executed by the controller when executing the program stored in the memory 1130, where the method includes: receiving device information and status information from a transmitting device; inquiring a protocol template corresponding to the equipment information in a pre-configured protocol template; analyzing the state information according to a protocol template corresponding to the equipment information and extracting state parameters from the state information; generating monitoring information carrying the state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the monitoring information to receiving equipment; wherein the monitoring information is identifiable information of the receiving device and information formats of the monitoring information and the status information are different.
Before the query of the protocol template corresponding to the equipment information, the method further comprises the following steps: acquiring equipment information of electromechanical equipment through a preset configuration device and correspondingly configuring a protocol template matched with the equipment information for the electromechanical equipment; wherein the device information includes: basic information and protocol information of the electromechanical device; storing a protocol template correspondingly configured for the electromechanical device; and sending the protocol template correspondingly configured for the electromechanical device to the cloud platform, so that the cloud platform stores the protocol template correspondingly configured for the electromechanical device.
Wherein the type of the status information includes: a status report type and a status control type; the protocol template corresponding to the equipment information comprises: a storage address corresponding to the state parameter; the analyzing the state information and extracting the state parameters from the state information according to the protocol template corresponding to the equipment information comprises the following steps: when the equipment information is of a status report type, analyzing the status information according to a protocol template corresponding to the equipment information and extracting the status parameter at a storage address corresponding to the status parameter; when the equipment information is of a state control type, analyzing the state information according to a protocol template corresponding to the equipment information and extracting the state parameter from an information group containing a storage position corresponding to the state parameter.
Wherein, the type of the monitoring information comprises: a status report type and a status control type; the protocol template corresponding to the equipment information comprises: a storage address corresponding to the state parameter; the step of generating the monitoring information carrying the state parameters according to the protocol template corresponding to the equipment information and sending the equipment information and the monitoring information to the receiving equipment comprises the following steps: when the type of the monitoring information is a state reporting type, the sending equipment is electromechanical equipment, and the receiving equipment is a cloud platform; according to the protocol template corresponding to the equipment information, generating monitoring information in a recognizable reading format of the cloud platform and sending the equipment information and the monitoring information to the cloud platform; the monitoring information comprises at least one information group, wherein the information group is used for storing the state parameters and storage addresses corresponding to the state parameters; when the type of the monitoring information is a state control type, the sending equipment is a cloud platform, and the receiving equipment is electromechanical equipment; according to the protocol template corresponding to the equipment information, generating monitoring information in a protocol format recognizable by the electromechanical equipment and sending the equipment information and the monitoring information to the electromechanical equipment; the state parameters carried in the monitoring information are stored in storage addresses corresponding to the state parameters.
In one embodiment of the present application, the processor 1110 is configured to implement any one of the foregoing device monitoring methods executed on the cloud platform when executing the program stored in the memory 1130, where the device monitoring method includes: receiving device information and monitoring information from a controller; the monitoring information is identifiable information of the cloud platform; inquiring a protocol template corresponding to the equipment information in a pre-stored protocol template; analyzing the monitoring information according to a protocol template corresponding to the equipment information and extracting state parameters from the monitoring information; displaying the state parameters in a preset monitoring interface, and receiving and executing an adjustment instruction for adjusting the state parameters; generating state information carrying the adjusted state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the state information to the controller; wherein, the information formats of the state information and the monitoring information are the same.
Wherein, the protocol template corresponding to the equipment information comprises: a storage address corresponding to the state parameter; analyzing the monitoring information and extracting state parameters from the monitoring information according to a protocol template corresponding to the equipment information, wherein the method comprises the following steps: and analyzing the monitoring information according to the protocol template corresponding to the equipment information, and extracting the state parameters from the information group containing the storage positions corresponding to the state parameters.
Wherein, the protocol template corresponding to the equipment information comprises: an interface template; and displaying the state parameters in a preset monitoring interface, wherein the method comprises the following steps: acquiring a monitoring interface corresponding to the interface template; wherein the monitoring interface comprises a display area; binding the state parameters to the display area in the monitoring interface correspondingly; loading the monitoring interface, and loading the state parameters bound to the display area in the display area of the monitoring interface.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the above-mentioned device monitoring method executed on the controller side or the device monitoring method executed on the cloud platform side. Since the above detailed description has been made on the device monitoring method performed on the controller side or the device monitoring method performed on the cloud platform side, the description of the present embodiment is not exhaustive, and reference may be made to the related description in the foregoing embodiment, which is not repeated herein.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the above description of embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus a general purpose hardware platform, or may be implemented by hardware. Based on such understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the related art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the method described in the respective embodiments or some parts of the embodiments.
It is to be understood that the terminology used herein is for the purpose of describing particular example embodiments only, and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises," "comprising," "includes," "including," and "having" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order described or illustrated, unless an order of performance is explicitly stated. It should also be appreciated that additional or alternative steps may be used.
The foregoing is merely a specific embodiment of the application to enable one skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of device monitoring, the steps performed at a controller comprising:
receiving device information and status information from a transmitting device;
inquiring a protocol template corresponding to the equipment information in a pre-configured protocol template;
analyzing the state information according to a protocol template corresponding to the equipment information and extracting state parameters from the state information;
generating monitoring information carrying the state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the monitoring information to receiving equipment; wherein the monitoring information is identifiable information of the receiving device and information formats of the monitoring information and the status information are different.
2. The method of claim 1, further comprising, prior to said querying the protocol template corresponding to the device information:
acquiring equipment information of electromechanical equipment through a preset configuration device and correspondingly configuring a protocol template matched with the equipment information for the electromechanical equipment; wherein the device information includes: basic information and protocol information of the electromechanical device;
storing a protocol template correspondingly configured for the electromechanical device;
and sending the protocol template correspondingly configured for the electromechanical device to the cloud platform, so that the cloud platform stores the protocol template correspondingly configured for the electromechanical device.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the type of the state information includes: a status report type and a status control type;
the protocol template corresponding to the equipment information comprises: a storage address corresponding to the state parameter;
the analyzing the state information and extracting the state parameters from the state information according to the protocol template corresponding to the equipment information comprises the following steps:
when the equipment information is of a status report type, analyzing the status information according to a protocol template corresponding to the equipment information and extracting the status parameter at a storage address corresponding to the status parameter;
When the equipment information is of a state control type, analyzing the state information according to a protocol template corresponding to the equipment information and extracting the state parameter from an information group containing a storage position corresponding to the state parameter.
4. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the type of the monitoring information comprises: a status report type and a status control type;
the protocol template corresponding to the equipment information comprises: a storage address corresponding to the state parameter;
the step of generating the monitoring information carrying the state parameters according to the protocol template corresponding to the equipment information and sending the equipment information and the monitoring information to the receiving equipment comprises the following steps:
when the type of the monitoring information is a state reporting type, the sending equipment is electromechanical equipment, and the receiving equipment is a cloud platform; according to the protocol template corresponding to the equipment information, generating monitoring information in a recognizable reading format of the cloud platform and sending the equipment information and the monitoring information to the cloud platform; the monitoring information comprises at least one information group, wherein the information group is used for storing the state parameters and storage addresses corresponding to the state parameters;
When the type of the monitoring information is a state control type, the sending equipment is a cloud platform, and the receiving equipment is electromechanical equipment; according to the protocol template corresponding to the equipment information, generating monitoring information in a protocol format recognizable by the electromechanical equipment and sending the equipment information and the monitoring information to the electromechanical equipment; the state parameters carried in the monitoring information are stored in storage addresses corresponding to the state parameters.
5. The device monitoring method is characterized by comprising the following steps of:
receiving device information and monitoring information from a controller; the monitoring information is identifiable information of the cloud platform;
inquiring a protocol template corresponding to the equipment information in a pre-stored protocol template;
analyzing the monitoring information according to a protocol template corresponding to the equipment information and extracting state parameters from the monitoring information;
displaying the state parameters in a preset monitoring interface, and receiving and executing an adjustment instruction for adjusting the state parameters;
generating state information carrying the adjusted state parameters according to a protocol template corresponding to the equipment information, and sending the equipment information and the state information to the controller; wherein, the information formats of the state information and the monitoring information are the same.
6. The method of claim 5, wherein the step of determining the position of the probe is performed,
the protocol template corresponding to the equipment information comprises: a storage address corresponding to the state parameter;
analyzing the monitoring information and extracting state parameters from the monitoring information according to a protocol template corresponding to the equipment information, wherein the method comprises the following steps:
and analyzing the monitoring information according to the protocol template corresponding to the equipment information, and extracting the state parameters from the information group containing the storage positions corresponding to the state parameters.
7. The method of claim 5, wherein the step of determining the position of the probe is performed,
the protocol template corresponding to the equipment information comprises: an interface template;
and displaying the state parameters in a preset monitoring interface, wherein the method comprises the following steps:
acquiring a monitoring interface corresponding to the interface template; wherein the monitoring interface comprises a display area;
binding the state parameters to the display area in the monitoring interface correspondingly;
loading the monitoring interface, and loading the state parameters bound to the display area in the display area of the monitoring interface.
8. An appliance monitoring apparatus, comprising:
the device comprises at the controller side: the system comprises a first receiving module, a first query module, a first analysis module and a first sending module; wherein,
A first receiving module for receiving device information and status information from a transmitting device;
the first query module is used for querying a protocol template corresponding to the equipment information in a pre-configured protocol template;
the first analysis module is used for analyzing the state information according to the protocol template corresponding to the equipment information and extracting state parameters from the state information;
the first sending module is used for generating monitoring information carrying the state parameters according to the protocol template corresponding to the equipment information and sending the equipment information and the monitoring information to receiving equipment; wherein the monitoring information is identifiable information of the receiving device and information formats of the monitoring information and the state information are different;
alternatively, the device includes, on the cloud platform side: the device comprises a second receiving module, a second query module, a second analysis module, a device monitoring module and a second sending module; wherein,
the second receiving module is used for receiving the equipment information and the monitoring information from the controller; the monitoring information is identifiable information of the cloud platform;
the second query module is used for querying a protocol template corresponding to the equipment information in a pre-stored protocol template;
The second analysis module is used for analyzing the monitoring information according to the protocol template corresponding to the equipment information and extracting state parameters from the monitoring information;
the device monitoring module is used for displaying the state parameters in a preset monitoring interface and receiving and executing an adjustment instruction for adjusting the state parameters;
the second sending module is used for generating state information carrying the adjusted state parameters according to the protocol template corresponding to the equipment information and sending the equipment information and the state information to the controller; wherein, the information formats of the state information and the monitoring information are the same.
9. A device monitoring apparatus, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; at least one memory coupled to the at least one bus, wherein the processor is configured to: executing the device monitoring program stored in the memory to implement the device monitoring method of any one of claims 1 to 4 or the device monitoring method of any one of claims 5 to 7.
10. A computer-readable storage medium storing computer-executable instructions that are executed to implement the device monitoring method of any one of claims 1-4 or the device monitoring method of any one of claims 5-7.
CN202311781579.5A 2023-12-21 2023-12-21 Equipment monitoring method, device, equipment and storage medium Pending CN117675976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311781579.5A CN117675976A (en) 2023-12-21 2023-12-21 Equipment monitoring method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311781579.5A CN117675976A (en) 2023-12-21 2023-12-21 Equipment monitoring method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117675976A true CN117675976A (en) 2024-03-08

Family

ID=90073302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311781579.5A Pending CN117675976A (en) 2023-12-21 2023-12-21 Equipment monitoring method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117675976A (en)

Similar Documents

Publication Publication Date Title
US7554931B2 (en) System and method for remote dynamic network configuration
US7852860B2 (en) Protocol conversion apparatus, communication apparatus, method and program
US7506048B1 (en) Method and system for monitoring network connected devices and displaying device status
US10069937B2 (en) Retrieving data from a server
CN100586075C (en) Household network device controlling method and equipment management apparatus
US11949736B2 (en) Data capture on a serial device
US20010034754A1 (en) Device, system and method for providing web browser access and control of devices on customer premise gateways
KR20040029636A (en) Apparatus for distributing and displaying home network device of the same type
CN103999137A (en) System and method for optimized appliance control
CN113590101B (en) Intelligent device function page configuration method, server and client
CN110891005A (en) IOT equipment control method, cloud server and IOT equipment control system
WO2005104448A2 (en) Systems and methods for controlling and monitoring multiple electronic devices
CN109361579B (en) Intelligent equipment control method, system and storage medium
WO2016058368A1 (en) Home appliance control method and control device, and home data terminal
WO2022252702A1 (en) Method and apparatus for linkage control of household appliances and cloud control device
CA2620064C (en) Dynamically extensible and automatically configurable building automation system and architecture
CN108986807A (en) Device control method and apparatus, storage medium, and electronic apparatus
US20120280801A1 (en) Controlled device, device control system, device control program and device control method
CN113467965A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN117675976A (en) Equipment monitoring method, device, equipment and storage medium
CN107341007A (en) Display terminal and its timing start-up method, computer-readable recording medium
JP2009111901A (en) Centralized management device, and centralized management system
EP3723346A1 (en) Selective address space aggregation
CN114061044A (en) Air conditioning system and information processing method thereof, wire controller and user equipment
CN114064485A (en) Software testing method, system, computer equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination