CN115623046B - Sensing equipment monitoring method and system - Google Patents
Sensing equipment monitoring method and system Download PDFInfo
- Publication number
- CN115623046B CN115623046B CN202211629526.7A CN202211629526A CN115623046B CN 115623046 B CN115623046 B CN 115623046B CN 202211629526 A CN202211629526 A CN 202211629526A CN 115623046 B CN115623046 B CN 115623046B
- Authority
- CN
- China
- Prior art keywords
- information
- equipment
- internet
- things gateway
- gateway
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method and a system for monitoring sensing equipment, wherein the method comprises the following steps: the upper layer application issues instruction information to the first message middleware; the method comprises the steps that the Internet of things gateway monitors first message middleware, and when the instruction information is monitored, the instruction information is sent to corresponding target sensing equipment according to equipment identification in the instruction information; the target sensing equipment acquires the instruction information and reports the equipment information to the Internet of things gateway according to a control instruction in the instruction information; the Internet of things gateway acquires equipment information, analyzes the equipment information according to an equipment template corresponding to the target sensing equipment to generate a descriptive file, and sends the descriptive file to second message middleware; the upper layer application monitors the second message middleware and acquires the descriptive file in the second message middleware. The invention provides the device information acquisition and analysis through the Internet of things gateway, facilitates the upper application platform to master the state of the sensing device, and provides powerful guarantee for realizing scene intellectualization and informatization.
Description
Technical Field
The invention relates to the field of equipment monitoring, in particular to a method and a system for monitoring sensing equipment.
Background
At present, the domestic traffic infrastructure is gradually improved, and the intelligentized level of road traffic and water transport traffic is increasingly improved. In order to improve the perception capability of the road and the waterway and comprehensively strengthen road treatment and safety precaution, a large amount of perception equipment is put into construction along the road and the waterway by related departments, such as: video monitoring, anemorumbometer, velocity of flow appearance, big dipper basic station, AIS basic station, multi-functional information board, intelligent machine case etc.. The devices are densely distributed on two sides of the road, are large in quantity and are scattered, and great troubles are caused to traffic management departments and maintenance units.
At present, the domestic universal inspection method still adopts a manual mode, is assisted by monitoring vehicles and ships, and completes the state detection and statistics of facility equipment through periodic inspection along the road. The method excessively depends on manual inspection, is low in efficiency and low in timeliness, and how to check the equipment state in real time and detect the equipment running condition becomes an urgent requirement of a traffic management department and a maintenance unit.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a sensing device monitoring method and system for solving the problem of low detection efficiency of sensing devices in the prior art.
The invention discloses a perception device monitoring method, which is applied to a perception device monitoring system, wherein the perception device monitoring system comprises an upper application, an internet of things gateway and a plurality of perception devices connected with the internet of things gateway, and the perception device monitoring method comprises the following steps:
the upper layer application issues instruction information to first message middleware, wherein the instruction information comprises a control instruction and a device identifier of the sensing device;
the Internet of things gateway monitors the first message middleware, and when the instruction information is monitored, the Internet of things gateway sends the instruction information to corresponding target sensing equipment according to equipment identification in the instruction information;
the target sensing equipment acquires the instruction information and reports equipment information to the Internet of things gateway according to a control instruction in the instruction information;
the Internet of things gateway acquires the equipment information, analyzes the equipment information according to an equipment template corresponding to the target sensing equipment to generate a descriptive file, and sends the descriptive file to a second message middleware;
and the upper layer application monitors the second message middleware and acquires the descriptive file in the second message middleware.
Further, in the method for monitoring a sensing device, the analyzing, by the internet of things gateway, the device information according to the device template corresponding to the target sensing device to generate the descriptive file includes:
the Internet of things gateway converts the equipment information into information content in a preset data format;
and the Internet of things gateway extracts information from the information content according to an equipment template corresponding to the target sensing equipment, judges the equipment state according to the extracted information and a function preset in the equipment template, and stores the extracted information and a judgment result as a descriptive file.
Further, in the above sensing device monitoring method, the step of sending the instruction information to the corresponding target sensing device by the internet of things gateway according to the device identifier in the instruction information includes:
the Internet of things gateway generates a random number, and encrypts the instruction information and the generated random number together to obtain encrypted information;
the Internet of things gateway sends the encrypted information to corresponding target sensing equipment according to the equipment identification;
the step that the target perception equipment reports equipment information to the Internet of things gateway according to the control instruction in the instruction information comprises the following steps:
the target sensing equipment decrypts the encrypted information and reports the equipment information and the decrypted random number to the Internet of things gateway according to the control instruction;
the step of analyzing the device information by the internet of things gateway according to the device template corresponding to the target sensing device further comprises the following steps:
the Internet of things gateway authenticates the equipment information according to the random number;
and if the authentication is passed, the Internet of things gateway executes the step of analyzing the equipment information according to the equipment template corresponding to the target sensing equipment.
Further, in the method for monitoring sensing equipment, the internet of things gateway is respectively connected to sensing equipment of different equipment types through a plurality of ports, and the step of sending the instruction information to the corresponding target sensing equipment by the internet of things gateway according to the equipment identifier in the instruction information includes:
the Internet of things gateway determines the equipment type of the corresponding target sensing equipment according to the equipment identification in the instruction information;
and sending the instruction information to the target perception equipment through a port corresponding to the equipment type.
Further, in the method for monitoring a sensing device, the instruction information further includes gateway information, the gateway information includes a gateway number, a gateway server IP, a port, a subnet mask and a DNS, and after the step of reporting the device information to the internet of things gateway by the target sensing device according to the control instruction in the instruction information, the method further includes:
the target sensing equipment judges whether gateway information of the Internet of things gateway is stored in a storage system of the target sensing equipment;
if so, updating corresponding gateway information in a storage system according to the gateway information in the instruction information;
if not, adding gateway information in the instruction information in the self storage system.
The invention also discloses a perception device monitoring system, which comprises an upper application, an internet of things gateway and a plurality of perception devices connected with the internet of things gateway, wherein,
the upper layer application is used for issuing instruction information to the first message middleware, wherein the instruction information comprises a control instruction and a device identifier of the sensing device;
the Internet of things gateway is used for monitoring the first message middleware, sending the instruction information to corresponding target sensing equipment according to an equipment identifier in the instruction information and acquiring equipment information of the target sensing equipment when the instruction information is monitored, analyzing the equipment information according to an equipment template corresponding to the target sensing equipment to generate a descriptive file, and sending the descriptive file to a second message middleware;
the target sensing equipment is used for acquiring the instruction information and reporting equipment information to the Internet of things gateway according to a control instruction in the instruction information;
the upper layer application is further configured to monitor the second message middleware and obtain the descriptive file in the second message middleware.
Further, in the above sensing device monitoring system, the analyzing, by the internet of things gateway, the device information according to the device template corresponding to the target sensing device to generate the descriptive file includes:
the Internet of things gateway converts the equipment information into information content in a preset data format;
and the Internet of things gateway extracts information from the information content according to an equipment template corresponding to the target sensing equipment, judges the equipment state according to the extracted information and a preset function in the equipment template, and stores the extracted information and a judgment result as a descriptive file.
Further, in the above sensing device monitoring system, the step of sending the instruction information to the corresponding target sensing device by the internet of things gateway according to the device identifier in the instruction information includes:
the Internet of things gateway generates a random number, encrypts the instruction information and the generated random number together to obtain encrypted information, and sends the encrypted information to corresponding target sensing equipment according to the equipment identification;
the step that the target perception equipment reports equipment information to the Internet of things gateway according to the control instruction in the instruction information comprises the following steps:
the target sensing equipment decrypts the encrypted information and reports the equipment information and the decrypted random number to the Internet of things gateway according to the control instruction;
the step of analyzing the device information by the internet of things gateway according to the device template corresponding to the target sensing device further comprises the following steps:
the Internet of things gateway authenticates the equipment information according to the random number;
and if the authentication is passed, the Internet of things gateway executes the step of analyzing the equipment information according to the equipment template corresponding to the target sensing equipment.
Further, in the system for monitoring sensing devices, the internet of things gateway respectively accesses sensing devices of different device types through a plurality of ports, and the step of sending the instruction information to the corresponding target sensing device by the internet of things gateway according to the device identifier in the instruction information includes:
determining the equipment type of the corresponding target perception equipment according to the equipment identification in the instruction information;
and sending the instruction information to the target perception equipment through a port corresponding to the equipment type.
Further, in the system for monitoring a sensing device, the instruction information further includes gateway information, the gateway information includes a gateway number, a gateway server IP, a port, a subnet mask, and a DNS, and the target sensing device is further configured to:
judging whether gateway information of the Internet of things gateway is stored in a self storage system;
if so, updating corresponding gateway information in a storage system according to the gateway information in the instruction information;
if not, adding gateway information in the instruction information in the self storage system.
In the invention, the unified access to the sensing equipment information can be finished through the Internet of things gateway, the equipment information is analyzed according to the equipment template, the information of the equipment is pushed to the message middleware after being successfully analyzed, and the upper application platform can display and respond the message when monitoring the message. According to the invention, the equipment information is acquired and analyzed through the Internet of things gateway, so that the upper application platform can master the state of the sensing equipment and the acquired fault information at the first time, and powerful guarantee is provided for scene intellectualization and informatization.
Drawings
FIG. 1 is a flow chart of a sensing device monitoring method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a sensing device monitoring method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a monitoring system for a sensing device according to a third embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
These and other aspects of embodiments of the invention will be apparent with reference to the following description and attached drawings. In the description and drawings, particular embodiments of the invention have been disclosed in detail as being indicative of some of the ways in which the principles of the embodiments of the invention may be practiced, but it is understood that the scope of the embodiments of the invention is not limited correspondingly. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
The perception device monitoring method in the embodiment of the invention is applied to a perception device monitoring system, wherein the perception device monitoring system comprises an upper application, an internet of things gateway and a plurality of perception devices connected with the internet of things gateway.
It should be noted that the internet of things gateway in the embodiment of the present invention is constructed based on the jetlink and the node-red related technologies and framework. The internet of things gateway can provide powerful support for equipment interconnection and scene intellectualization, and provides a reliable data source for upper-layer application and big data analysis. The internet of things gateway can be directly connected with equipment or a third-party gateway platform, collects the equipment and equipment induction data, is provided with an interface for encapsulating static data, is used for being called by a cloud upper platform (upper application), adopts message queues and configuration push frequency, reduces the response pressure of equipment data reporting frequency to an upper application server, and can transmit an instruction issued by the upper application to specific equipment, thereby realizing the controllability, credibility and accessibility of the connection equipment.
The internet of things gateway can meet adaptation expansion of different devices, provide unified life cycle management of the devices and process fusion of the devices, provide standard services of device perception acquisition and control, safety and other related services for upper-layer application, and can be deployed in the forms of container application, independent application programs and the like; the internet of things gateway can be deployed in various forms according to the size of the actual load and the requirement on the computing capacity.
Referring to fig. 1, a sensing device monitoring method according to a first embodiment of the present invention includes steps S11 to S15.
And S11, the upper layer application issues instruction information to the first message middleware, wherein the instruction information comprises a control instruction and a device identifier of the sensing device.
The upper layer application issues instruction information in real time, the instruction information is stored in a first message middleware, the message middleware is a supporting software system which is based on a queue and message transmission technology and provides synchronous or asynchronous and reliable message transmission for an application system in a network environment, and the message middleware used in the embodiment is MQTT and is used for forwarding information generated by the Internet of things gateway.
The message instruction includes a control instruction and a device identifier of the sensing device, where the control instruction is a command for acquiring device information, and the device identifier is used to identify a specific device, such as a device number. It is to be understood that in other embodiments of the present invention, the sensing device monitoring system includes a plurality of internet of things gateways, and in order to facilitate the sensing device to identify a specific internet of things gateway, the device message further includes gateway information, which includes a gateway number, a gateway server IP, a port, a subnet mask, and a DNS.
And S12, the Internet of things gateway monitors the first message middleware, and when the instruction information is monitored, the instruction information is sent to corresponding target sensing equipment according to the equipment identification in the instruction information.
And step S13, the target sensing equipment acquires the instruction information and reports the equipment information to the Internet of things gateway according to a control instruction in the instruction information.
The internet of things gateway monitors the information of the first message middleware, and when instruction information issued by an upper layer application is monitored, the instruction information is sent to corresponding target sensing equipment according to equipment identification in the instruction information. It can be understood that the upper layer application can simultaneously issue instruction information for a plurality of sensing devices, and the internet of things gateway distinguishes each instruction information according to the device identifier and sends each instruction information to the corresponding target sensing device.
And after the target sensing equipment acquires the instruction information, reporting own equipment information to the Internet of things gateway according to the instruction requirement. The information reported by the device may be state data of the device, such as on/off, communication, power supply, lightning protection, gating, temperature and humidity, and is used by the upper layer application to determine whether the running state of the device is normal.
And S14, the Internet of things gateway acquires the equipment information, analyzes the equipment information according to an equipment template corresponding to the target sensing equipment to generate a descriptive file, and sends the descriptive file to a second message middleware.
And after acquiring the equipment information of the target sensing equipment, the Internet of things gateway analyzes the equipment information according to an equipment template corresponding to the target sensing equipment to generate a descriptive file. The device template is a template file that abstracts the monitoring data points of a class of devices into device data points. When the equipment is created, the equipment monitoring data can be quickly checked by associating the corresponding equipment template. For example, for a MODBUS protocol device, a device template may be associated by creating a slave device.
The descriptive file is used for defining the attribute, state, event and action of the equipment to qualitatively, quantitatively and centrally manage the behavior and analysis of the equipment, so that developers and upper application docking personnel can conveniently interact with the equipment in a two-way manner without knowing the inherent complex analysis protocol of the equipment. When the implementer draws the specific information of a certain device according to the descriptive file standard, the access gateway is analyzed into a component of engineering identification. The descriptive file of the equipment adopts a json character string format, and the whole content comprises: product information, equipment attribute, equipment state information, equipment event and equipment action.
The definition of the equipment template can be realized by using the descriptive file standard, after the basic attribute and the behavior of the equipment are defined, the front-end sensing equipment transmits the parameters, the associated data is formed by corresponding key value pairs, the equipment state is judged by a function preset in the equipment template, and whether the equipment has abnormity or faults or not is further analyzed, wherein the specific fault point is located, and the number of the abnormal value is further analyzed. And returning the values, and finally displaying the values to an upper application end for graphical display.
And step S15, the upper layer application monitors the second message middleware and acquires the descriptive file in the second message middleware.
The second message middleware is a supporting software system which is based on queue and message transmission technology and provides synchronous or asynchronous and reliable message transmission for the application system in a network environment, and is the same as the first message middleware. The upper layer application obtains the descriptive files of the sensing devices from the second message middleware.
In the embodiment, the sensing equipment information can be uniformly accessed through the internet of things gateway, the equipment information is analyzed according to the equipment template, after the information of the equipment is analyzed successfully, the information is pushed to the message middleware according to the pushing frequency set by the event, and the upper application platform monitors the message display and responds. The equipment information is acquired and analyzed through the Internet of things gateway, so that an upper application platform can master the state of the sensing equipment and the acquired fault information at the first time, and powerful guarantee is provided for scene intellectualization and informatization.
Referring to fig. 2, a sensing device monitoring method according to a second embodiment of the present invention is applied to a sensing device monitoring system, where the sensing device monitoring system includes an upper application, an internet of things gateway, and a plurality of sensing devices connected to the internet of things gateway, and the sensing device monitoring method includes steps S21 to S26.
Step S21, the upper layer application issues instruction information to the first message middleware, wherein the instruction information comprises a control instruction, a device identifier of the sensing device and gateway information of the Internet of things gateway. The gateway information includes a gateway number, a gateway server IP, a port, a subnet mask, and a DNS.
The upper layer application issues instruction information in real time, the instruction information is stored in a first message middleware, and the message middleware is a supporting software system which is based on a queue and message transmission technology and provides synchronous or asynchronous and reliable message transmission for an application system in a network environment.
And S22, the Internet of things gateway monitors the first message middleware, generates a random number when monitoring the instruction information, encrypts the instruction information and the generated random number together to obtain encrypted information, and then sends the encrypted information to the target sensing equipment corresponding to the equipment identification.
In order to guarantee the information transmission safety between the Internet of things gateway and the sensing equipment, when the Internet of things gateway sends instruction information to the target sensing equipment, the Internet of things gateway also sends a random number value which is generated randomly, and the random number value is used for authentication of information continuation information of the subsequent equipment. And the Internet of things gateway encrypts the instruction information and the random number through an agreed algorithm to obtain encrypted information.
Further, the internet of things gateway is respectively connected to sensing devices of different device types through a plurality of ports, and the step of sending the encrypted information to the target sensing device by the internet of things gateway includes:
the Internet of things gateway determines the equipment type of the corresponding target sensing equipment according to the equipment identification;
and sending the encrypted information to the target perception equipment through a port corresponding to the equipment type.
The Internet of things gateway is respectively accessed to sensing equipment of different equipment types through a plurality of ports, namely one type of equipment uses one transmission channel, and the information transmission channel of each type of sensing equipment is configured through the ports.
And step S23, after the target sensing equipment acquires the encrypted information, decrypting the encrypted information, and reporting the equipment information and the decrypted random number to the Internet of things gateway.
And after the target sensing equipment acquires the encrypted information, decrypting the encrypted information by adopting the agreed algorithm to obtain the instruction information and the random number. And the target sensing equipment reports the equipment information corresponding to the control instruction in the instruction information and the decrypted random number to the Internet of things gateway.
Further, the step of reporting the device information and the decrypted random number to the internet of things gateway by the target sensing device further includes:
the target sensing equipment judges whether gateway information of the Internet of things gateway is stored in a self storage system;
if yes, updating corresponding gateway information in the storage system according to the gateway information in the instruction information.
And if not, adding gateway information in the instruction information in the self storage system.
And after the target sensing equipment successfully decrypts the encrypted information, judging whether the own storage system stores the gateway information of the Internet of things gateway or not, if so, comparing whether the information of the Internet of things gateway in the storage system is the same as the gateway information in the currently acquired instruction information or not, and if not, updating the gateway information in the storage system. If the storage system does not store the gateway information of the internet of things, the gateway information is newly added in the storage system of the storage system.
The gateway information contains information such as gateway server IP, ports, sub masks, DNS and the like, and the target sensing equipment can send the equipment information to the corresponding Internet of things gateway according to a specified information transmission channel through the gateway information.
And step S24, after acquiring the equipment information and the random number, the Internet of things gateway authenticates the equipment information according to the random number.
And S25, if the authentication is passed, the Internet of things gateway analyzes the equipment information according to the equipment template corresponding to the target sensing equipment to generate a descriptive file, and sends the descriptive file to a second message middleware.
And after acquiring the equipment information of the target sensing equipment, the Internet of things gateway analyzes the equipment information according to an equipment template corresponding to the target sensing equipment to generate a descriptive file. The device template is a template file for uniformly abstracting monitoring data points of a type of device into device data points. When the equipment is created, the equipment monitoring data can be quickly checked by associating the corresponding equipment template.
The descriptive file is used for defining the property, state, event and action of the equipment to qualitatively and quantitatively manage the behavior and analysis of the equipment, so that developers and upper application docking personnel can simply and conveniently interact with the equipment in a two-way manner without knowing the inherent complex analysis protocol of the equipment. When an implementer draws specific information of a certain device according to the descriptive file standard, the access gateway is analyzed into a component identified by engineering.
And step S26, the upper layer application monitors the second message middleware and acquires the descriptive file in the second message middleware.
The second message middleware is a supporting software system based on queue and message transmission technology and providing synchronous or asynchronous and reliable message transmission for the application system in the network environment, which is the same as the first message middleware. And the upper layer application acquires the descriptive files of all the perception devices from the second message middleware.
In this embodiment, the upper layer application sends control instruction information to the message middleware, the internet of things gateway monitors the message, analyzes the validity of the message and the authentication instruction, converts the message and the authentication instruction through the device template, and then sends the message to the device according to a transmission channel configured for the device, and the gateway monitors the message returned by the device and returns the message to the upper layer application. The Internet of things gateway provides equipment control service, and equipment and upper end application can conveniently realize bidirectional connection.
The gateway core service mainly comprises interface service and memory logic relationship initialization, equipment pool initialization, transmission protocol pool initialization, equipment template and transmission protocol binding relationship initialization and the like. The novel internet of things gateway can be used for carrying out centralized unified data acquisition, transmission, encapsulation and reapplication based on multiple sensing devices with internet of things functions.
Referring to fig. 3, a sensing device monitoring system in a third embodiment of the present invention includes an upper application 31, an internet of things gateway 32, and a plurality of sensing devices 33 connected to the internet of things gateway 32, wherein,
the upper layer application 31 is configured to issue instruction information to the first message middleware, where the instruction information includes a control instruction and a device identifier of the sensing device;
the internet of things gateway 32 is configured to monitor the first message middleware, and when monitoring the instruction information, the internet of things gateway sends the instruction information to a corresponding target sensing device according to a device identifier in the instruction information, acquires device information of the target sensing device, analyzes the device information according to a device template corresponding to the target sensing device to generate a descriptive file, and sends the descriptive file to a second message middleware;
the target sensing equipment is used for acquiring the instruction information and reporting equipment information to the Internet of things gateway according to a control instruction in the instruction information;
the upper layer application 31 is further configured to monitor the second message middleware and obtain the descriptive file in the second message middleware.
Further, in the above sensing device monitoring system, the analyzing, by the internet of things gateway, the device information according to the device template corresponding to the target sensing device to generate the descriptive file includes:
the Internet of things gateway converts the equipment information into information content in a preset data format;
and the Internet of things gateway extracts information from the information content according to an equipment template corresponding to the target sensing equipment, judges the equipment state according to the extracted information and a preset function in the equipment template, and stores the extracted information and a judgment result as a descriptive file.
Further, in the system for monitoring sensing equipment, the step of sending the instruction information to the corresponding target sensing equipment by the internet of things gateway according to the equipment identifier in the instruction information includes:
the Internet of things gateway generates a random number, encrypts the instruction information and the generated random number together to obtain encrypted information, and sends the encrypted information to corresponding target sensing equipment according to the equipment identification;
the step that the target perception equipment reports equipment information to the Internet of things gateway according to the control instruction in the instruction information comprises the following steps:
the target sensing equipment decrypts the encrypted information and reports the equipment information and the decrypted random number to the Internet of things gateway according to the control instruction;
the step of analyzing the device information by the internet of things gateway according to the device template corresponding to the target sensing device further comprises:
the Internet of things gateway authenticates the equipment information according to the random number;
and if the authentication is passed, the Internet of things gateway executes the step of analyzing the equipment information according to the equipment template corresponding to the target sensing equipment.
Further, in the above sensing device monitoring system, the internet of things gateway respectively accesses sensing devices of different device types through a plurality of ports, and the step of sending the instruction information to the corresponding target sensing device by the internet of things gateway according to the device identifier in the instruction information includes:
determining the equipment type of the corresponding target perception equipment according to the equipment identification in the instruction information;
and sending the instruction information to the target perception equipment through a port corresponding to the equipment type.
Further, in the system for monitoring sensing devices, the instruction information further includes gateway information, where the gateway information includes a gateway number, a gateway server IP, a port, a subnet mask, and a DNS, and the target sensing device is further configured to:
judging whether gateway information of the Internet of things gateway is stored in a self storage system;
if so, updating corresponding gateway information in a storage system according to the gateway information in the instruction information;
if not, adding gateway information in the instruction information in the self storage system.
The implementation principle and the generated technical effect of the monitoring system of the sensing device provided by the embodiment of the invention are the same as those of the embodiment of the method, and for the sake of brief description, no part of the embodiment of the apparatus is mentioned, and reference may be made to the corresponding contents in the embodiment of the method.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus (e.g., a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or execute the instructions). For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that various changes and modifications can be made by those skilled in the art without departing from the spirit of the invention, and these changes and modifications are all within the scope of the invention. Therefore, the protection scope of the present patent should be subject to the appended claims.
Claims (8)
1. A sensing device monitoring method is applied to a sensing device monitoring system, the sensing device monitoring system comprises an upper application, an Internet of things gateway and a plurality of sensing devices connected with the Internet of things gateway, and the sensing device monitoring method comprises the following steps:
the upper layer application issues instruction information to a first message middleware, wherein the instruction information comprises a control instruction and a device identifier of the sensing device;
the Internet of things gateway monitors the first message middleware, and when the instruction information is monitored, the Internet of things gateway sends the instruction information to corresponding target sensing equipment according to equipment identification in the instruction information;
the target sensing equipment acquires the instruction information and reports equipment information to the Internet of things gateway according to a control instruction in the instruction information;
the Internet of things gateway acquires the equipment information, analyzes the equipment information according to an equipment template corresponding to the target sensing equipment to generate a descriptive file, and sends the descriptive file to a second message middleware;
the upper layer application monitors the second message middleware and acquires the descriptive file in the second message middleware;
the equipment template is a template file for uniformly abstracting monitoring data points of one type of equipment into equipment data points, and the step that the internet of things gateway analyzes the equipment information according to the equipment template corresponding to the target sensing equipment so as to generate a descriptive file comprises the following steps:
the Internet of things gateway converts the equipment information into information content in a preset data format;
and the Internet of things gateway extracts information from the information content according to an equipment template corresponding to the target sensing equipment, judges the equipment state according to the extracted information and a preset function in the equipment template, and stores the extracted information and a judgment result as a descriptive file, wherein the descriptive file is used for defining the attribute, the state, the event and the action of the sensing equipment.
2. The sensing device monitoring method according to claim 1, wherein the step of sending the instruction information to the corresponding target sensing device by the internet of things gateway according to the device identifier in the instruction information comprises:
the Internet of things gateway generates a random number, and encrypts the instruction information and the generated random number together to obtain encrypted information;
the Internet of things gateway sends the encrypted information to corresponding target sensing equipment according to the equipment identification;
the step that the target perception device reports the device information to the internet of things gateway according to the control instruction in the instruction information comprises the following steps:
the target sensing equipment decrypts the encrypted information and reports the equipment information and the decrypted random number to the Internet of things gateway according to the control instruction;
the step of analyzing the device information by the internet of things gateway according to the device template corresponding to the target sensing device further comprises the following steps:
the Internet of things gateway authenticates the equipment information according to the random number;
and if the authentication is passed, the Internet of things gateway executes the step of analyzing the equipment information according to the equipment template corresponding to the target sensing equipment.
3. The sensing device monitoring method according to claim 1, wherein the internet of things gateway is respectively connected to sensing devices of different device types through a plurality of ports, and the step of sending the instruction information to the corresponding target sensing device by the internet of things gateway according to the device identifier in the instruction information includes:
the Internet of things gateway determines the equipment type of the corresponding target sensing equipment according to the equipment identification in the instruction information;
and sending the instruction information to the target perception equipment through a port corresponding to the equipment type.
4. The method for monitoring the cognitive device according to claim 1, wherein the instruction information further includes gateway information, the gateway information includes a gateway number, a gateway server IP, a port, a subnet mask, and a DNS, and after the step of the target cognitive device reporting the device information to the internet of things gateway according to the control instruction in the instruction information, the method further includes:
the target sensing equipment judges whether gateway information of the Internet of things gateway is stored in a self storage system;
if so, updating corresponding gateway information in a storage system according to the gateway information in the instruction information;
and if not, adding gateway information in the instruction information in the self storage system.
5. A perception device monitoring system is characterized by comprising an upper application, an Internet of things gateway and a plurality of perception devices connected with the Internet of things gateway, wherein,
the upper layer application is used for issuing instruction information to the first message middleware, wherein the instruction information comprises a control instruction and a device identifier of the sensing device;
the Internet of things gateway is used for monitoring the first message middleware, sending the instruction information to corresponding target sensing equipment according to an equipment identifier in the instruction information and acquiring equipment information of the target sensing equipment when the instruction information is monitored, analyzing the equipment information according to an equipment template corresponding to the target sensing equipment to generate a descriptive file, and sending the descriptive file to a second message middleware;
the target sensing equipment is used for acquiring the instruction information and reporting equipment information to the Internet of things gateway according to a control instruction in the instruction information;
the upper layer application is also used for monitoring the second message middleware and acquiring the descriptive file in the second message middleware;
the device template is a template file for uniformly abstracting monitoring data points of a type of device into device data points, and the step of analyzing the device information by the internet of things gateway according to the device template corresponding to the target sensing device to generate a descriptive file comprises the following steps:
the Internet of things gateway converts the equipment information into information content in a preset data format;
and the Internet of things gateway extracts information from the information content according to an equipment template corresponding to the target sensing equipment, judges the equipment state according to the extracted information and a preset function in the equipment template, and stores the extracted information and a judgment result as a descriptive file, wherein the descriptive file is used for defining the attribute, the state, the event and the action of the sensing equipment.
6. The sensing device monitoring system according to claim 5, wherein the step of the internet of things gateway sending the instruction information to the corresponding target sensing device according to the device identifier in the instruction information comprises:
the Internet of things gateway generates a random number, encrypts the instruction information and the generated random number together to obtain encrypted information, and sends the encrypted information to corresponding target sensing equipment according to the equipment identification;
the step that the target perception device reports the device information to the internet of things gateway according to the control instruction in the instruction information comprises the following steps:
the target sensing equipment decrypts the encrypted information and reports the equipment information and the decrypted random number to the Internet of things gateway according to the control instruction;
the step of analyzing the device information by the internet of things gateway according to the device template corresponding to the target sensing device further comprises the following steps:
the Internet of things gateway authenticates the equipment information according to the random number;
and if the authentication is passed, the Internet of things gateway executes the step of analyzing the equipment information according to the equipment template corresponding to the target sensing equipment.
7. The perception device monitoring system as claimed in claim 5, wherein the internet of things gateway respectively accesses perception devices of different device types through a plurality of ports, and the step of sending the instruction information to the corresponding target perception device by the internet of things gateway according to the device identifier in the instruction information includes:
determining the equipment type of the corresponding target sensing equipment according to the equipment identification in the instruction information;
and sending the instruction information to the target perception equipment through a port corresponding to the equipment type.
8. The aware device monitoring system of claim 5, wherein the instruction information further includes gateway information including a gateway number, a gateway server IP, a port, a subnet mask, and a DNS, the target aware device further to:
judging whether gateway information of the Internet of things gateway is stored in a self storage system;
if so, updating corresponding gateway information in a storage system according to the gateway information in the instruction information;
and if not, adding gateway information in the instruction information in the self storage system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211629526.7A CN115623046B (en) | 2022-12-19 | 2022-12-19 | Sensing equipment monitoring method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211629526.7A CN115623046B (en) | 2022-12-19 | 2022-12-19 | Sensing equipment monitoring method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115623046A CN115623046A (en) | 2023-01-17 |
CN115623046B true CN115623046B (en) | 2023-03-10 |
Family
ID=84879560
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211629526.7A Active CN115623046B (en) | 2022-12-19 | 2022-12-19 | Sensing equipment monitoring method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115623046B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000181831A (en) * | 1998-12-18 | 2000-06-30 | Canon Inc | Device and method for controlling network device and storage medium |
CN102143511A (en) * | 2011-03-31 | 2011-08-03 | 广州联正达通信科技股份有限公司 | System and method for wirelessly sensing and monitoring indoor distribution device |
CN103095823A (en) * | 2013-01-09 | 2013-05-08 | 大唐软件技术股份有限公司 | Object description method and object information interaction system in Internet of Things system |
CN103516555A (en) * | 2013-10-23 | 2014-01-15 | 中国科学院信息工程研究所 | Network device monitoring method and system |
CN105573224A (en) * | 2014-10-08 | 2016-05-11 | 深圳中兴力维技术有限公司 | Monitoring method, monitoring device, and monitoring system based on abstract model |
CN106130185A (en) * | 2016-07-18 | 2016-11-16 | 中国南方电网有限责任公司 | A kind of monitoring system of electric substation modeling method based on status monitoring information |
CN106878449A (en) * | 2017-03-10 | 2017-06-20 | 腾讯科技(深圳)有限公司 | Apparatus control method and device |
CN110688828A (en) * | 2019-09-20 | 2020-01-14 | 京东数字科技控股有限公司 | File processing method and device, file processing system and computer equipment |
CN111813622A (en) * | 2020-06-28 | 2020-10-23 | 厦门科灿信息技术有限公司 | Equipment monitoring method and device |
CN113900834A (en) * | 2021-09-24 | 2022-01-07 | 天津同阳科技发展有限公司 | Data processing method, device, equipment and storage medium based on Internet of things technology |
CN114095581A (en) * | 2020-07-31 | 2022-02-25 | 深圳富桂精密工业有限公司 | Data processing method, system and computer readable storage medium |
CN114546394A (en) * | 2021-12-31 | 2022-05-27 | 电子科技大学 | Unified Internet of things peripheral access and control method |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4745337B2 (en) * | 2005-05-24 | 2011-08-10 | パナソニック株式会社 | Gateway device and control device |
US9208233B1 (en) * | 2012-12-31 | 2015-12-08 | Google Inc. | Using synthetic descriptive text to rank search results |
US20150381737A1 (en) * | 2014-06-30 | 2015-12-31 | Davra Networks Limited | Gateway device and a gateway system for an internet-of-things environment |
WO2018049515A1 (en) * | 2016-09-16 | 2018-03-22 | Joseph Wilson | System and method for the efficient generation and exchange of descriptive information with media data |
US11327114B2 (en) * | 2018-06-15 | 2022-05-10 | State Grid Hebei Electric Power Research Institute | Fully-automatic closed-loop detection method and device for intelligent substation |
US11500911B2 (en) * | 2018-07-31 | 2022-11-15 | Sap Se | Descriptive text generation for data visualizations |
CN112636462A (en) * | 2020-11-13 | 2021-04-09 | 国网浙江省电力有限公司湖州供电公司 | MQTT-based power distribution Internet of things system and method thereof |
CN112685029B (en) * | 2020-12-30 | 2024-07-16 | 京东科技控股股份有限公司 | Method, device, equipment and storage medium for generating visual template |
-
2022
- 2022-12-19 CN CN202211629526.7A patent/CN115623046B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000181831A (en) * | 1998-12-18 | 2000-06-30 | Canon Inc | Device and method for controlling network device and storage medium |
CN102143511A (en) * | 2011-03-31 | 2011-08-03 | 广州联正达通信科技股份有限公司 | System and method for wirelessly sensing and monitoring indoor distribution device |
CN103095823A (en) * | 2013-01-09 | 2013-05-08 | 大唐软件技术股份有限公司 | Object description method and object information interaction system in Internet of Things system |
CN103516555A (en) * | 2013-10-23 | 2014-01-15 | 中国科学院信息工程研究所 | Network device monitoring method and system |
CN105573224A (en) * | 2014-10-08 | 2016-05-11 | 深圳中兴力维技术有限公司 | Monitoring method, monitoring device, and monitoring system based on abstract model |
CN106130185A (en) * | 2016-07-18 | 2016-11-16 | 中国南方电网有限责任公司 | A kind of monitoring system of electric substation modeling method based on status monitoring information |
CN106878449A (en) * | 2017-03-10 | 2017-06-20 | 腾讯科技(深圳)有限公司 | Apparatus control method and device |
CN110688828A (en) * | 2019-09-20 | 2020-01-14 | 京东数字科技控股有限公司 | File processing method and device, file processing system and computer equipment |
CN111813622A (en) * | 2020-06-28 | 2020-10-23 | 厦门科灿信息技术有限公司 | Equipment monitoring method and device |
CN114095581A (en) * | 2020-07-31 | 2022-02-25 | 深圳富桂精密工业有限公司 | Data processing method, system and computer readable storage medium |
CN113900834A (en) * | 2021-09-24 | 2022-01-07 | 天津同阳科技发展有限公司 | Data processing method, device, equipment and storage medium based on Internet of things technology |
CN114546394A (en) * | 2021-12-31 | 2022-05-27 | 电子科技大学 | Unified Internet of things peripheral access and control method |
Also Published As
Publication number | Publication date |
---|---|
CN115623046A (en) | 2023-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021022987A1 (en) | Vehicle-road cooperation apparatus and method, electronic device and storage medium | |
CN111092869B (en) | Security management and control method for terminal access to office network and authentication server | |
CN104022904B (en) | Distributed computer room information technoloy equipment management platform | |
CN113645230B (en) | System and method for analyzing credibility value of node | |
CN103685608B (en) | A kind of method and device for automatically configuring secure virtual machine IP address | |
CN106850549B (en) | Distributed encryption service gateway and implementation method | |
CN112766672A (en) | Network security guarantee method and system based on comprehensive evaluation | |
CN103368768A (en) | Automatically scaled network overlay with heuristic monitoring in hybrid cloud environment | |
CN103067356B (en) | Ensure the system and method for business virtual machine safety | |
CN105978716B (en) | Information technoloy equipment and the processing of the monitoring information Homogeneous of rotating ring equipment and three-dimensional rendering method | |
CN101154181A (en) | Computer maintenance support system and analysis server | |
US20180324063A1 (en) | Cloud-based system for device monitoring and control | |
CN105893211A (en) | Method and system for monitoring | |
CN108199860A (en) | A kind of alert processing method and the network equipment | |
CN115147956A (en) | Data processing method and device, electronic equipment and storage medium | |
CN115623046B (en) | Sensing equipment monitoring method and system | |
KR101663504B1 (en) | Method and system for providing integrated managing service based smart water grid | |
CN111031050B (en) | Monitoring method and device for electricity consumption information acquisition system | |
CN106452970A (en) | Analysis system for network flow monitoring | |
CN112751874A (en) | Equipment policy control method and device, electronic equipment and storage medium | |
Geetanjali et al. | IoTexpert: Interconnection, interoperability and integration of IoT platforms | |
CN117370053A (en) | Information system service operation-oriented panoramic monitoring method and system | |
CN112054925A (en) | Method and device for deploying background service | |
US20030172288A1 (en) | Method and device for coping with illegal accesses to a data server | |
CN115834080A (en) | Block chain-based gateway for time-space data chaining of Internet of things and working method thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |