CN113556267A - Terminal equipment state monitoring method and system and edge Internet of things proxy gateway - Google Patents

Terminal equipment state monitoring method and system and edge Internet of things proxy gateway Download PDF

Info

Publication number
CN113556267A
CN113556267A CN202110819677.8A CN202110819677A CN113556267A CN 113556267 A CN113556267 A CN 113556267A CN 202110819677 A CN202110819677 A CN 202110819677A CN 113556267 A CN113556267 A CN 113556267A
Authority
CN
China
Prior art keywords
monitored
gateway
terminal equipment
edge internet
terminal device
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
CN202110819677.8A
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.)
State Grid Corp of China SGCC
Global Energy Interconnection Research Institute
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Global Energy Interconnection Research Institute
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
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 State Grid Corp of China SGCC, Global Energy Interconnection Research Institute, Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202110819677.8A priority Critical patent/CN113556267A/en
Publication of CN113556267A publication Critical patent/CN113556267A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/065Generation of reports related to network devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]
    • 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
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • 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/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Power Engineering (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method and a system for monitoring the state of terminal equipment and an edge Internet of things proxy gateway, wherein the method comprises the following steps: registering gateway information to a monitoring platform, wherein the gateway information comprises identification numbers of terminal equipment connected with the edge Internet of things agent gateway, and the identification numbers comprise the serial number of the edge Internet of things agent gateway; receiving a call request, and sending the call request by a monitoring platform according to the identification number of the terminal equipment to be monitored; determining the terminal equipment to be monitored according to the identification number, and determining the working state of the terminal equipment to be monitored according to the interaction state with the terminal equipment to be monitored; and sending the working state of the terminal equipment to be monitored to the monitoring platform. By executing the invention, the active inspection and real-time monitoring of the terminal equipment can be realized, and the working state of the terminal equipment to be monitored can be sensed by the edge Internet of things proxy gateway according to the interaction state with the terminal equipment to be monitored, so that the working state of the terminal equipment to be monitored can be acquired even for a non-intelligent terminal.

Description

Terminal equipment state monitoring method and system and edge Internet of things proxy gateway
Technical Field
The invention relates to the technical field of power Internet of things, in particular to a method and a system for monitoring the state of terminal equipment and an edge Internet of things proxy gateway.
Background
With the continuous development of information-based construction and internet of things technology, part of typical applications of the internet of things have been built in different business systems, and the electric power internet of things has been initially scaled. However, each service system is established independently, a unified standard is lacked, especially for terminal devices, and due to the fact that technical systems and requirements of terminal devices in different service systems are inconsistent, data sharing and information interaction are obstructed, and a method and a management platform for comprehensively monitoring the terminal devices are lacked.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the defect that the mode of periodically reporting the working state in the prior art cannot adapt to the active routing inspection and real-time monitoring requirements of the important monitoring terminal of the power internet of things, so that a method and a system for monitoring the state of the terminal equipment and an edge internet of things proxy gateway are provided.
The invention provides a method for monitoring the state of terminal equipment, which is applied to an edge Internet of things proxy gateway and comprises the following steps: registering gateway information to a monitoring platform, wherein the gateway information comprises identification numbers of terminal equipment connected with the edge Internet of things agent gateway, and the identification numbers comprise the serial number of the edge Internet of things agent gateway; receiving a call request, sending the call request by a monitoring platform according to the identification number of the terminal equipment to be monitored, and transmitting the call request to an edge Internet of things proxy gateway according to the number of the edge Internet of things proxy gateway contained in the identification number of the terminal equipment to be monitored; determining the terminal equipment to be monitored according to the identification number in the call request, and determining the working state of the terminal equipment to be monitored according to the interaction state of the edge Internet of things proxy gateway and the terminal equipment to be monitored; and sending the working state of the terminal equipment to be monitored to the monitoring platform.
Optionally, in the method for monitoring a state of a terminal device provided by the present invention, registering gateway information with a monitoring platform includes: sending registration request information to a monitoring platform, wherein the registration request information comprises gateway information, and the gateway information comprises gateway basic information of a border Internet of things proxy gateway and terminal equipment basic information of each terminal equipment connected with the border Internet of things proxy gateway; and if the registration confirmation information is received, the gateway information registration on the monitoring platform is completed, and the registration confirmation information is the information which is sent by the monitoring platform after the monitoring platform carries out validity authentication on the gateway information according to the gateway basic information and the terminal equipment basic information and confirms that the gateway information is legal.
Optionally, in the method for monitoring a state of a terminal device provided by the present invention, determining a working state of the terminal device to be monitored according to an interaction state between the edge internet of things proxy gateway and the terminal device to be monitored includes: determining the interval duration from the latest receiving of the data sent by the terminal equipment to be monitored; and if the interval duration is less than or equal to the preset interval duration for sending data by the equipment to be monitored, judging that the working state of the terminal equipment to be monitored is a normal state.
Optionally, in the method for monitoring a state of a terminal device provided by the present invention, determining a working state of the terminal device to be monitored according to an interaction state between the edge internet of things proxy gateway and the terminal device to be monitored, further includes: and if the interval duration is longer than the preset interval duration for sending data by the equipment to be monitored, and a communication interface used for connecting the edge Internet of things proxy gateway and the terminal to be monitored and a local communication link of the edge Internet of things proxy gateway work normally, judging that the working state of the terminal equipment to be monitored is abnormal.
Optionally, in the method for monitoring a state of a terminal device provided by the present invention, determining a working state of the terminal device to be monitored according to an interaction state between the edge internet of things proxy gateway and the terminal device to be monitored, further includes: and if the interval duration is longer than the preset interval duration for sending data by the equipment to be monitored, and the communication interface used for connecting the edge Internet of things proxy gateway and the terminal to be monitored or the local communication link of the edge Internet of things proxy gateway is interrupted, judging that the working state of the terminal equipment to be monitored is communication interruption and the terminal equipment has no fault.
Optionally, in the method for monitoring a state of a terminal device provided by the present invention, if the terminal device to be monitored is an intelligent terminal and the working state of the terminal device to be monitored is a normal state, the method further includes: carrying out protocol conversion on the call request according to a communication protocol corresponding to the terminal equipment to be monitored, and sending the call request after the protocol conversion to the terminal equipment to be monitored; receiving a working state message sent by the terminal equipment to be monitored, and acquiring a refined working state of the terminal equipment to be monitored through the working state message, wherein the working state message is generated by the terminal equipment to be monitored according to a call request; and carrying out protocol conversion on the working state message according to a communication protocol corresponding to the monitoring platform, and sending the working state after the protocol conversion to the monitoring platform.
Optionally, the method for monitoring the state of the terminal device provided by the present invention further includes: sending an object model downloading request to a monitoring platform, wherein the object model downloading request comprises an identification number of a terminal device; and receiving the object model sent by the monitoring platform, wherein the object model sent by the monitoring platform is determined by the monitoring platform according to the identification number of the terminal equipment.
Optionally, the method for monitoring the state of the terminal device provided by the present invention further includes: receiving service data sent by each terminal device; and formatting the service data of each terminal device according to the object model corresponding to each terminal device, and sending the service data after formatting to the monitoring platform.
The second aspect of the present invention provides a method for monitoring a state of a terminal device, which is applied to a monitoring platform, and includes: receiving and storing gateway information of the edge Internet of things agent gateway, wherein the gateway information comprises identification numbers of terminal equipment connected with the edge Internet of things agent gateway, and the identification numbers comprise the serial number of the edge Internet of things agent gateway; sending a calling request according to the identification number of the equipment to be monitored, wherein the calling request is transmitted to the edge Internet of things proxy gateway according to the number of the edge Internet of things proxy gateway contained in the identification number of the equipment to be monitored; and receiving the working state of the terminal equipment to be monitored.
Optionally, in the method for monitoring a state of a terminal device provided by the present invention, receiving and storing gateway information of an edge internet of things proxy gateway includes: receiving registration request information, wherein the registration request information comprises gateway information, and the gateway information comprises gateway basic information of an edge Internet of things proxy gateway and terminal equipment basic information of each terminal equipment connected with the edge Internet of things proxy gateway; carrying out validity authentication on the gateway information according to the gateway basic information, the terminal equipment basic information and the preset configuration information; and if the gateway information is legal, storing the gateway information and sending registration confirmation information to the edge Internet of things proxy gateway.
Optionally, the method for monitoring the state of the terminal device provided by the present invention further includes: receiving an object model downloading request sent by an edge Internet of things proxy gateway, wherein the object model downloading request comprises an identification number of a terminal device; determining the equipment type of the terminal equipment according to the identification number of the terminal equipment; determining an object model of the terminal equipment according to the equipment type of the terminal equipment; and sending the object model of the terminal equipment to the edge Internet of things proxy gateway.
Optionally, the method for monitoring the state of the terminal device provided by the present invention further includes: and receiving the service data which is sent by the edge Internet of things proxy gateway and is formatted and processed according to the object model of each terminal device.
The third aspect of the present invention provides an edge internet of things proxy gateway, including: the local communication module is used for connecting the terminal equipment and determining the working state of the terminal equipment to be monitored according to the interaction state with the terminal equipment to be monitored; the protocol control module is used for encapsulating gateway information according to a preset protocol and/or encapsulating the working state of the terminal to be monitored according to the preset protocol; and the remote communication module is used for receiving the call request sent by the monitoring platform, and sending the gateway information encapsulated according to the preset protocol and/or the working state of the terminal to be monitored encapsulated according to the preset protocol to the monitoring platform.
A fourth aspect of the present invention provides a system for monitoring a state of a terminal device, including: the system comprises terminal equipment, a border Internet of things agent gateway and a monitoring platform, wherein the border Internet of things agent gateway registers gateway information to the monitoring platform, the gateway information comprises identification numbers of the terminal equipment connected with the border Internet of things agent gateway, and the identification numbers comprise the serial numbers of the border Internet of things agent gateway; the monitoring platform sends a calling request according to the identification number of the equipment to be monitored, and the calling request is transmitted to the edge Internet of things proxy gateway according to the number of the edge Internet of things proxy gateway contained in the identification number of the equipment to be monitored;
after receiving the call request, the edge Internet of things proxy gateway determines the terminal equipment to be monitored according to the identification number in the call request, determines the working state of the terminal equipment to be monitored according to the interaction state of the edge Internet of things proxy gateway and the terminal equipment to be monitored, and sends the working state of the terminal equipment to be monitored to the monitoring platform.
A fifth aspect of the present invention provides a computer apparatus comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to perform the method for monitoring the status of a terminal device as provided in the first aspect of the invention or the method for monitoring the status of a terminal device as provided in the second aspect of the invention.
A sixth aspect of the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the terminal device status monitoring method according to the first aspect of the present invention or the terminal device status monitoring method according to the second aspect of the present invention.
The technical scheme of the invention has the following advantages:
the method, the system and the edge Internet of things proxy gateway for monitoring the state of the terminal equipment, which are provided by the invention, connect a plurality of terminal equipment through the edge Internet of things proxy gateway, register gateway information containing identification numbers of all the terminal equipment in a monitoring platform by the edge Internet of things proxy gateway, can facilitate the monitoring platform to uniformly manage the terminal equipment, because the gateway information registered by the edge Internet of things proxy gateway to the monitoring platform comprises the identification numbers of all the terminal devices, the monitoring platform can actively initiate a call request according to the identification numbers of the terminal devices to be monitored at any time, because the identification number comprises the serial number of the edge Internet of things proxy gateway connected with the equipment to be monitored, the calling request is firstly sent to the edge Internet of things proxy gateway connected with the equipment to be monitored, and the edge Internet of things proxy gateway determines the equipment to be monitored according to the identification number and then senses the working state of the equipment to be monitored through the interaction state of the edge Internet of things proxy gateway and the terminal to be monitored. Therefore, by executing the invention, the monitoring platform can realize active inspection and real-time monitoring of the terminal equipment, and the call request sent by the monitoring platform can be sent to the edge Internet of things proxy gateway connected with the equipment to be monitored, and the edge Internet of things proxy gateway can sense the working state of the terminal equipment to be monitored according to the interaction state of the terminal equipment to be monitored and does not require the terminal equipment to be monitored to actively send the working state, so that the working state of the terminal equipment to be monitored can be acquired by executing the invention even for a non-intelligent terminal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a specific example of a terminal device state monitoring system in an embodiment of the present invention;
fig. 2 is a flowchart of a specific example of interaction among a terminal device, an edge internet of things proxy gateway, and a monitoring platform in the terminal device state monitoring system according to the embodiment of the present invention;
fig. 3 is a flowchart of a specific example of a method for monitoring a state of a terminal device according to an embodiment of the present invention;
fig. 4 is a flowchart of a specific example of a method for monitoring a state of a terminal device according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of a specific example of an edge internet of things proxy gateway in an embodiment of the present invention;
fig. 6 is a schematic block diagram of a specific example of a computer device in the embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that, unless explicitly stated or limited otherwise, the terms "connected" and "connected" are to be understood broadly, and may be, for example, directly connected or indirectly connected through an intermediate medium, wirelessly connected or wired. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The first aspect of the embodiment of the invention provides a terminal device state monitoring system, which comprises a terminal device 3, an edge internet of things proxy gateway 2 and a monitoring platform 1.
As shown in fig. 1, which is a schematic view of an application scenario of an embodiment of the present invention, an edge internet of things proxy gateway 2 is connected to a plurality of terminal devices 3 and a monitoring platform 1, and a terminal device state monitoring system in the embodiment shown in fig. 1 is described by taking an example that the monitoring platform 1 is connected to one edge internet of things proxy gateway 2, in a specific embodiment, one monitoring platform 1 may be connected to a plurality of edge internet of things proxy gateways 2 as needed to monitor all terminal devices 3 connected to each edge internet of things proxy gateway 2.
Terminal equipment 3 includes intelligent terminal and non-intelligent terminal, and intelligent terminal includes but not only is limited to patrols and examines robot, video camera, intelligent distribution transform terminal etc. and non-intelligent terminal includes but not only is limited to temperature sensor, humidity transducer, all kinds of microclimate sensor etc.. The edge internet of things proxy gateway 2 comprises a plurality of different types of local communication interfaces, such as an RS485 communication interface, an RS232 communication interface, an ethernet interface, a WiFi communication interface, and the like, and different types of terminal devices 3 can be connected with the edge internet of things proxy gateway 2 through different local communication interfaces in the edge internet of things proxy gateway 2. The edge internet of things proxy gateway 2 further comprises a plurality of different types of remote communication interfaces, such as an ethernet interface, a 4G interface, a 5G interface and the like, and the edge internet of things proxy gateway 2 is connected with the monitoring platform 1 through the remote communication interfaces.
The edge internet of things proxy gateway 2 and the monitoring platform 1 are both installed with Software Development Kits (SDKs) supporting the application program of the terminal device state monitoring method of the present invention or other third party application integration.
In the terminal device state monitoring system provided by the embodiment of the present invention, an interaction process among the terminal device 3, the edge internet of things proxy gateway 2, and the monitoring platform 1 is shown in fig. 2.
After establishing connection with the terminal device 3, the edge internet of things proxy gateway 2 performs step S11: and registering gateway information to the monitoring platform 1, wherein the gateway information comprises identification numbers of each terminal device 3 connected with the edge Internet of things agent gateway 2, and the identification numbers comprise the serial numbers of the edge Internet of things agent gateway 2.
In an optional embodiment, after the edge internet of things proxy gateway 2 is connected with the terminal devices 3, a system-unique identification number is allocated to each terminal device 3 according to a preset code number allocation rule, and the identification number includes the number of the edge internet of things proxy gateway 2.
For example, the identification number allocated by the edge internet of things proxy network to each terminal device 3 may be a 12-digit number, where the first 4 digits of the identification number are the number of the gateway, so as to distinguish different edge internet of things proxy gateways 2.
In an optional embodiment, different characters can be used in the edge internet of things proxy gateway 2 to represent different terminal device types, after the edge internet of things proxy gateway 2 is connected with the terminal device 3, the type of the terminal device 3 is determined, then a number is allocated to the terminal device 3, and finally a unique identification number of the terminal device 3 is formed according to the number of the edge internet of things proxy gateway 2, the characters corresponding to the type of the terminal device 3, and the number of the terminal device 3. In an alternative embodiment, the types of the terminal device 3 include, but are not limited to, a temperature sensor, a humidity sensor, a smart inspection robot, a smart distribution terminal, and the like.
The monitoring platform 1 performs step S12: receiving and storing the gateway information of the edge internet of things proxy gateway 2.
In an optional embodiment, after receiving the gateway information of the edge internet of things proxy gateway 2, the monitoring platform 1 performs validity detection on the gateway information, and when the validity detection passes, the monitoring platform 1 stores the gateway information, and the edge internet of things proxy gateway 2 completes registration.
When the monitoring platform 1 needs to actively monitor the working state of the terminal device 3, step S13 is executed: and sending a call request according to the identification number of the equipment to be monitored, wherein the call request is transmitted to the edge Internet of things proxy gateway 2 according to the number of the edge Internet of things proxy gateway 2 contained in the identification number of the equipment to be monitored.
In an optional embodiment, when the monitoring platform 1 selects the terminal device to be monitored and actively calls the working state of the terminal device to be monitored, the monitoring platform dials the identification number of the terminal device to be monitored, and because the identification number to be monitored includes the edge internet of things proxy gateway 2 connected with the terminal device to be monitored, the monitoring platform 1 can make a point-to-point call request to the edge internet of things proxy gateway 2 connected with the terminal device to be monitored according to the identification number of the terminal device to be monitored.
In an alternative embodiment, the call request may be in the form of an SIP INVITE message, illustratively a SIP message format as follows:
INVITE sip:010********SIP/2.0
Via:SIP/2.0/UDP 192.168.1.2:9545
Max-Forwards:70
Route:<sip:pcscf1.visited1.net:7531;lr;comp=sigcomp>,<sip:scscf1.home1.net;lr>
P-Preferred-Identity:"John Doe"<sip:user1_public1@home1.net>
P-Access-Network-Info:3GPP-UTRAN-TDD;utran-cell-id-3gpp=234151D0FCE11
Privacy:none
From:<sip:9999*******@192.168.2.89>;tag=2dc6e1000081463ba14f
To:<sip:8888********@192.168.2.89>
Call-ID:cb03a0s09a2sdfglkj490333@192.168.2.161
Cseq:1INVITE
Require:precondition,sec-agree
Proxy-Require:sec-agree
Supported:100rel
Security-Verify:ipsec-3gpp;q=0.1;alg=hmac-sha-1-96;spi-c=98765432;spi-s=87654321;port-c=8642;port-s=7531
Contact:<sip:192.168.1.2:9545>
Allow:INVITE,ACK,CANCEL,BYE,PRACK,UPDATE,REFER,MESSAGE
Content-Type:application/sdp
Content-Length:(…)
the edge internet of things proxy gateway 2 executes the following steps:
step S14: receiving a call request, determining the terminal equipment to be monitored according to the identification number in the call request, and determining the working state of the terminal equipment to be monitored according to the interaction state of the edge Internet of things proxy gateway 2 and the terminal equipment to be monitored. In an optional embodiment, when the call request sent by the monitoring platform 1 is an SIP message, the SIP message needs to be analyzed first, so as to obtain the identification number of the terminal device to be monitored.
In the embodiment of the present invention, the edge internet of things proxy gateway 2 may determine whether the terminal device to be monitored can normally transmit data according to the interaction state between the edge internet of things proxy gateway and the terminal device to be monitored, so as to determine the working state of the terminal device to be monitored. When the edge internet of things proxy gateway 2 senses the working state of the terminal device to be monitored through the interaction state, the computing resource of the terminal device to be monitored cannot be occupied, and the operation of the terminal device to be monitored cannot be influenced.
Step S15: and sending the working state of the terminal equipment to be monitored to the monitoring platform 1.
In an optional embodiment, after determining the working state of the terminal device to be monitored, the edge internet of things proxy gateway 2 performs local storage at the same time.
In an optional embodiment, after determining the working state of the terminal device to be monitored, the edge internet of things proxy gateway 2 may package the working state of the terminal device to be monitored into an SIP acknowledgement message and send the SIP acknowledgement message to the monitoring platform 1.
In an optional embodiment, when the working state of the terminal device to be monitored is packaged as the SIP acknowledgement message, different working states can be distinguished by using different message codes, so that the monitoring platform 1 is simpler and more convenient to determine the working state of the terminal device to be monitored.
The monitoring platform 1 performs step S16: and receiving the working state of the terminal equipment to be monitored.
In an optional embodiment, when the edge internet of things proxy gateway 2 packages the working state of the terminal device to be monitored into the SIP acknowledgement message and sends the SIP acknowledgement message to the monitoring platform 1, the monitoring platform 1 obtains the working state of the terminal device to be monitored by analyzing the SIP acknowledgement message.
In an optional embodiment, when the edge internet of things proxy gateway 2 uses different message codes to distinguish different working states, the monitoring platform 1 determines the working state of the terminal device to be monitored by identifying the message codes after analyzing the SIP acknowledgement message.
The terminal equipment state monitoring system provided by the embodiment of the invention connects a plurality of terminal equipment 3 through the edge Internet of things proxy gateway 2, the edge Internet of things proxy gateway 2 registers gateway information containing identification numbers of the terminal equipment 3 to the monitoring platform 1, so that the monitoring platform 1 can conveniently and uniformly manage the terminal equipment 3, because the gateway information registered by the edge Internet of things agent gateway 2 to the monitoring platform 1 comprises the identification numbers of all the terminal devices 3, the monitoring platform 1 can actively initiate a calling request at any time according to the identification numbers of the terminal devices to be monitored, because the identification number comprises the serial number of the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, the calling request is firstly sent to the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, and after the edge Internet of things proxy gateway 2 determines the equipment to be monitored according to the identification number, the working state of the equipment to be monitored is sensed through the interaction state of the equipment to be monitored and the terminal to be monitored. Therefore, by executing the embodiment of the invention, the monitoring platform 1 can realize active polling and real-time monitoring on the terminal equipment 3, and the call request sent by the monitoring platform 1 is sent to the edge internet of things proxy gateway 2 connected with the equipment to be monitored, and the edge internet of things proxy gateway 2 can sense the working state of the terminal equipment to be monitored according to the interaction state with the terminal equipment to be monitored, and does not require the terminal equipment to be monitored to actively send the working state, so that the working state of the terminal equipment to be monitored can be acquired by executing the embodiment of the invention even for a non-intelligent terminal.
In an optional embodiment, when the edge internet of things proxy gateway 2 registers gateway information with the monitoring platform 1, an interaction process between the edge internet of things proxy gateway 2 and the monitoring platform 1 specifically includes:
the edge internet of things agent gateway 2 sends registration request information to the monitoring platform 1, wherein the registration request information comprises gateway information, and the gateway information comprises gateway basic information of the edge internet of things agent gateway 2 and terminal equipment 3 basic information of each terminal equipment 3 connected with the edge internet of things agent gateway 2.
In an alternative embodiment, the gateway basic information of the edge internet of things proxy gateway 2 includes, but is not limited to, a gateway number; the terminal device basic information of each terminal device 3 includes, but is not limited to, the type, address, identification, number, and the like of each terminal device 3.
In an optional embodiment, the registration request information may be a REGISTER message sent according to the SIP protocol, where the message includes information such as identification numbers of all terminal devices 3 connected to the edge internet of things proxy gateway 2, and the format of the message is as follows:
REGISTER sip:192.168.2.89 SIP/2.0
Via:SIP/2.0/UDP 192.168.1.2:10586
Max-Forwards:70
From:<sip:9999********@192.168.2.89>;tag=a04c1391af3429491f2c4dfbe5e1b2e;epid=4f2e395931
To:<sip:8888********@192.168.2.89>
Call-ID:da56b0fab5c54398b16c0d9f9c0ffcf2@192.168.1.2
CSeq:1REGISTER
Contact:<sip:192.168.1.2:10586>;methods="INVITE,MESSAGE,INFO,SUBSCRIBE,OPTIONS,BYE,CANCEL,NOTIFY,ACK,REFER"
User-Agent:RTC/1.2.4949(BOL SIP Phone 1005)
Event:registration
Allow-Events:presence
Content-Length:0
and the monitoring platform 1 receives the registration request information and carries out validity authentication on the gateway information according to the gateway basic information, the terminal equipment basic information and the preset configuration information.
In an optional embodiment, preset configuration information may be configured in the monitoring platform 1 in advance, where the preset configuration information includes gateway configuration information of each edge internet of things proxy gateway 2 and terminal configuration information of the terminal device 3 connected to each edge internet of things proxy gateway 2, and after the monitoring platform 1 receives the registration request information, gateway configuration information and terminal configuration information corresponding to the edge internet of things proxy gateway 2 are determined according to the number of the edge internet of things proxy gateway 2, and the gateway basic information and the terminal device basic information in the gateway information are compared with the gateway configuration information and the terminal configuration information of the edge internet of things proxy gateway 2, and if the gateway basic information and the terminal device basic information are completely consistent, it is determined that the gateway information is legal, otherwise, it is determined that the gateway information is illegal.
If the gateway information is judged to be legal, the monitoring platform 1 stores the gateway information and sends registration confirmation information to the edge Internet of things agent gateway 2.
In an alternative embodiment, the registration confirmation information may be a message sent according to the SIP protocol, and the message format is as follows:
SIP/2.0 200 OK
Via:SIP/2.0/UDP 192.168.1.2:9545
From:<sip:9999********@192.168.2.89>,tag=2dc6e...
To:<sip:8888********@192.168.2.89>
Call-ID:31e72e80d5bo4f52aba6cb8bef3coco@192.168.1.2
CSeq:1 REGISTER
Content-Length:0
and if the gateway information is judged to be illegal, the monitoring platform 1 sends a registration refusing message to the edge Internet of things proxy gateway 2.
In an alternative embodiment, the reject registration message may be a message sent according to the SIP protocol, and the message format is illustratively as follows:
SIP/2.0 401 Unauthorized
Via:SIP/2.0/UDP 192.168.1.2:9545
From:<sip:9999********@192.168.2.89>,tag=2dc6e...
To:<sip:8888********@192.168.2.89>
Call-ID:31e72e80d5bo4f52aba6cb8bef3coco@192.168.1.2
CSeq:1 REGISTER
Content-Length:0
in an optional embodiment, the step of the edge internet of things proxy gateway 2 executing the step S14 to obtain the working state of the terminal device to be monitored specifically includes:
firstly, determining the interval duration of receiving the data sent by the terminal equipment to be monitored at the latest time.
And then, comparing the interval duration with the preset interval duration of the data sent by the equipment to be monitored.
In an optional embodiment, periods of data acquisition by different terminal devices 3 are different, so that preset interval durations for data transmission by different terminal devices 3 are different, and when the working state of the terminal device to be monitored is determined, the interval duration from the last time when the edge internet of things proxy gateway 2 receives the data transmitted by the terminal device to be monitored needs to be compared with the preset interval duration of the terminal device to be monitored.
And if the interval duration is less than or equal to the preset interval duration for sending data by the equipment to be monitored, judging that the working state of the terminal equipment to be monitored is a normal state.
In an optional embodiment, when the operating state of the terminal device to be monitored is a normal state, the SIP message format is as follows:
SIP/2.0 200 OK
Via:SIP/2.0/UDP 192.168.1.2:9545
From:<sip:9999********@192.168.2.89>,tag=d749165cdfed2151...
To:<sip:8888********@192.168.2.89>;tag=6b3e0000bf5c0000
Call-ID:31e72e80d5bo4f52aba6cb8bef3coco@192.168.1.2
CSeq:1 INVITE
Contact:<sip:192.168.1.2:5060>
Content-Type:application/sdp
Allow:INVITE,ACK,OPTIONS,BYE,CANCEL,REFER,SUBSCRIBE,NOTIFY,MESSAGE
Content-Length:118
if the interval duration is longer than the preset interval duration of data sent by the equipment to be monitored, whether a communication interface used for connecting the edge Internet of things proxy gateway 2 with the terminal to be monitored and a local communication link of the edge Internet of things proxy gateway 2 work normally is judged.
If the interval duration is longer than the preset interval duration for sending data by the equipment to be monitored, and the communication interface used for connecting the edge Internet of things proxy gateway 2 with the terminal to be monitored and the local communication link of the edge Internet of things proxy gateway 2 work normally, the working state of the terminal equipment to be monitored is judged to be abnormal.
In an optional embodiment, when the working state of the terminal device to be monitored is an abnormal state, the SIP message format is as follows:
SIP/2.0 401 Unauthorized
Via:SIP/2.0/UDP 192.168.1.2:9545
From:<sip:9999********@192.168.2.89>,tag=2dc6e...
To:<sip:8888********@192.168.2.89>
Call-ID:31e72e80d5bo4f52aba6cb8bef3coco@192.168.1.2
CSeq:1 INVITE
Content-Length:0
if the interval duration is longer than the preset interval duration for sending data by the equipment to be monitored, and the communication interface used for connecting the edge Internet of things proxy gateway 2 with the terminal to be monitored or the local communication link of the edge Internet of things proxy gateway 2 is interrupted, it is determined that the working state of the terminal equipment to be monitored is communication interruption, and the terminal equipment 3 has no fault.
In an optional embodiment, when the operating state of the terminal device to be monitored is communication interruption and the terminal device 3 has no fault, the format of the SIP message is as follows:
SIP/2.0 402 Unauthorized
Via:SIP/2.0/UDP 192.168.1.2:9545
From:<sip:9999********@192.168.2.89>,tag=2dc6e...
To:<sip:8888********@192.168.2.89>
Call-ID:31e72e80d5bo4f52aba6cb8bef3coco@192.168.1.2
CSeq:1 INVITE
Content-Length:0
in an optional embodiment, if the terminal device to be monitored is an intelligent terminal and the working state of the terminal device to be monitored is a normal state, the interaction process between the edge internet of things proxy gateway 2 and the terminal device to be monitored is as follows:
the edge internet of things proxy gateway 2 performs protocol conversion on the call request according to the communication protocol corresponding to the terminal device to be monitored, and sends the call request after the protocol conversion to the terminal device to be monitored.
In an optional embodiment, because different terminal devices 3 may communicate using different protocols, it cannot be guaranteed that the communication protocol used by the terminal device to be monitored is consistent with the communication protocol used by the monitoring platform 1, in the embodiment of the present invention, before forwarding the call request sent by the monitoring platform 1 to the terminal device to be monitored, the edge internet of things proxy gateway 2 performs protocol conversion on the call request according to the communication protocol corresponding to the terminal device to be monitored, so that the converted call request is consistent with the protocol of the terminal device to be monitored, and thus, unified management of the monitoring platform 1 on multiple different terminal devices 3 is achieved.
And the terminal equipment to be monitored analyzes the converted call request, generates a working state message according to the call request, and sends the working state message to the edge Internet of things proxy gateway 2, wherein the working state message comprises the refined working state of the terminal equipment to be monitored. Illustratively, the refined working state includes a normal state, a port exception, a hardware fault, a network fault, an application software fault, a data configuration error and the like.
The edge internet of things proxy gateway 2 receives a working state message sent by the terminal equipment to be monitored, acquires a refined working state of the terminal equipment to be monitored through the working state message, then performs protocol conversion on the working state message according to a communication protocol corresponding to the monitoring platform 1, and sends the working state after the protocol conversion to the monitoring platform 1.
In an optional embodiment, after the edge internet of things proxy gateway 2 obtains the refined working state of the terminal device to be monitored through the working state message, the refined working state of the terminal device to be monitored is locally stored.
In an optional embodiment, in the terminal device state monitoring system provided in the embodiment of the present invention, an interaction process between the edge internet of things proxy gateway 2 and the monitoring platform 1 further includes:
the edge internet of things agent gateway 2 sends an object model downloading request to the monitoring platform 1, wherein the object model downloading request comprises the identification number of the terminal device 3. The object model includes the requirements of the terminal device 3 for sending data message format, acquisition frequency, data type and the like.
The monitoring platform 1 receives an object model downloading request sent by the edge internet of things agent gateway 2, determines the equipment type of the terminal equipment 3 according to the identification number of the terminal equipment 3, then determines the object model of the terminal equipment 3 according to the equipment type of the terminal equipment 3, and sends the object model of the terminal equipment 3 to the edge internet of things agent gateway 2.
In an optional embodiment, the monitoring platform 1 stores object models corresponding to different types of terminal devices 3 in advance, and if the gateway information includes the device type of each terminal device 3 when the edge internet of things proxy gateway 2 registers the gateway information with the monitoring platform 1, the monitoring platform 1 can determine the device type corresponding to the identification number according to the identification number of the terminal device 3 in the object model download request; if the edge internet of things proxy gateway 2 allocates the identification number to the terminal device 3 and a character for identifying the type of the terminal device 3 exists in the identification number, the monitoring platform 1 may determine the device type corresponding to the identification number by using the character for identifying the type of the terminal device 3 in the identification number.
And the edge Internet of things proxy gateway 2 receives and stores the object model sent by the monitoring platform 1.
In an optional embodiment, in the terminal device state monitoring system provided in the embodiment of the present invention, an interaction process between the terminal device 3, the edge internet of things proxy gateway 2, and the monitoring platform 1 further includes:
the edge internet of things proxy gateway 2 receives the service data sent by each terminal device 3, formats the service data of each terminal device 3 according to the object model corresponding to each terminal device 3, and sends the formatted service data to the monitoring platform 1.
In an optional embodiment, the edge internet of things proxy gateway 2 may send the Message format to the monitoring platform 1 according to the SIP protocol, where the Message format is as follows:
MESSAGE sip:1897778888@192.168.2.48:6010 SIP/2.0
Call-ID:8e12c17121ac4121bf927f6fd8013358@192.168.2.89
From:<sip:8888*******@192.168.2.89>;tag=-0037-708c9a5cba8dd878
To:<sip:9999********@192.168.2.89>
CSeq:1 MESSAGE
Via:SIP/2.0/UDP 192.168.2.89:14010;branch=z9hG4bK--22bd7222
Max-Forwards:30
Allow:INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,UPDATE,PRACK,REFER,SUBSCRIBE,NOTIFY,MESSAGE
Contact:<sip:192.168.2.89:14010>
Content-Type:text/plain
Content-Length:5
< message body (formatted data) >
The monitoring platform 1 receives and stores the service data which is sent by the edge internet of things proxy gateway 2 and formatted according to the object model of each terminal device 3, and sends a receiving confirmation message to the edge internet of things proxy gateway 2.
If the edge internet of things proxy gateway 2 can send the Message to the monitoring platform 1 according to the SIP protocol, the monitoring platform 1 obtains formatted service data through protocol analysis after receiving the Message.
After receiving the service data sent by the terminal device 3, the edge internet of things proxy gateway 2 formats the service data of each terminal device 3 according to the object model corresponding to each terminal device 3 and then sends the service data to the monitoring platform 1, which is beneficial to orderly management of the terminal devices 3 by the monitoring platform 1.
Under the ubiquitous sensing requirement of the power internet of things on the massive terminal equipment 3, the terminal equipment state monitoring system provided by the embodiment of the invention realizes comprehensive and non-sensing acquisition and monitoring of various terminal states by deploying the edge internet of things proxy gateway 2 and utilizing the real-time property and the lightweight property (small data message) of the SIP communication protocol by virtue of the gateway sensing capability; meanwhile, the SIP protocol has a point-to-point call control function, so that the active calling and testing of the Internet of things monitoring platform 1 on the terminal can be realized, and specific reasons including the fault of the terminal equipment 3 or the communication interruption fault and the like during the offline of the equipment can be distinguished.
The embodiment of the present invention further provides a method for monitoring a state of a terminal device, which is applied to an edge internet of things proxy gateway 2, and as shown in fig. 3, the method includes:
step S21: the gateway information is registered in the monitoring platform 1, the gateway information includes the identification numbers of the terminal devices 3 connected to the edge internet of things proxy gateway 2, and the identification numbers include the number of the edge internet of things proxy gateway 2, for details, refer to the description of step S11 in the foregoing embodiment.
Step S22: receiving a call request, the monitoring platform 1 sends the call request according to the identification number of the terminal device to be monitored, and the call request is transmitted to the edge internet of things proxy gateway 2 according to the number of the edge internet of things proxy gateway 2 included in the identification number of the terminal device to be monitored, for details, refer to the description of step S14 in the above embodiment.
Step S23: determining the terminal device to be monitored according to the identification number in the call request, and determining the working state of the terminal device to be monitored according to the interaction state between the edge internet of things proxy gateway 2 and the terminal device to be monitored, for details, refer to the description of step S14 in the above embodiment.
Step S24: the working state of the terminal device to be monitored is sent to the monitoring platform 1, and the details refer to the description of step S15 in the above embodiment.
The terminal equipment state monitoring method provided by the invention connects a plurality of terminal equipment 3 through the edge Internet of things proxy gateway 2, the edge Internet of things proxy gateway 2 registers gateway information containing identification numbers of the terminal equipment 3 to the monitoring platform 1, the monitoring platform 1 can conveniently and uniformly manage the terminal equipment 3, because the gateway information registered by the edge Internet of things agent gateway 2 to the monitoring platform 1 comprises the identification numbers of all the terminal devices 3, the monitoring platform 1 can actively initiate a calling request at any time according to the identification numbers of the terminal devices to be monitored, because the identification number comprises the serial number of the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, the calling request is firstly sent to the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, and after the edge Internet of things proxy gateway 2 determines the equipment to be monitored according to the identification number, the working state of the equipment to be monitored is sensed through the interaction state of the equipment to be monitored and the terminal to be monitored. Therefore, by executing the embodiment of the invention, the active inspection and real-time monitoring of the terminal equipment 3 can be realized, in addition, the call request sent by the monitoring platform 1 can be sent to the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, the edge Internet of things proxy gateway 2 can sense the working state of the terminal equipment to be monitored according to the interaction state with the terminal equipment to be monitored, and the terminal equipment to be monitored is not required to actively send the working state, so that the working state of the terminal equipment to be monitored can be obtained by executing the embodiment of the invention even for a non-intelligent terminal.
In an optional embodiment, the step S11 specifically includes:
and sending registration request information to the monitoring platform 1, wherein the registration request information comprises gateway information, and the gateway information comprises gateway basic information of the edge Internet of things proxy gateway 2 and terminal equipment 3 basic information of each terminal equipment 3 connected with the edge Internet of things proxy gateway 2. For details, refer to the above description of the terminal device status monitoring system.
If receiving the registration confirmation information, the gateway information registration in the monitoring platform 1 is completed, and the registration confirmation information is the information which is sent by the monitoring platform 1 after the monitoring platform 1 carries out validity authentication on the gateway information according to the gateway basic information and the terminal equipment 3 basic information and confirms that the gateway information is legal. For details, refer to the above description of the terminal device status monitoring system.
In an optional embodiment, the method for determining the operating state of the terminal device to be monitored in step S24 includes:
and determining the interval duration of receiving the data sent by the terminal equipment to be monitored at the latest time.
If the interval duration is less than or equal to the preset interval duration of the data sent by the equipment to be monitored, judging that the working state of the terminal equipment to be monitored is a normal state;
if the interval duration is longer than the preset interval duration of data sent by the equipment to be monitored, and a communication interface used for connecting the edge Internet of things proxy gateway 2 with the terminal to be monitored and a local communication link of the edge Internet of things proxy gateway 2 work normally, judging that the working state of the equipment to be monitored is an abnormal state;
if the interval duration is longer than the preset interval duration for sending data by the equipment to be monitored, and the communication interface used for connecting the edge Internet of things proxy gateway 2 with the terminal to be monitored or the local communication link of the edge Internet of things proxy gateway 2 is interrupted, it is determined that the working state of the terminal equipment to be monitored is communication interruption, and the terminal equipment 3 has no fault. For details, refer to the above description of the terminal device status monitoring system.
In an optional embodiment, if the terminal device to be monitored is an intelligent terminal and the working state of the terminal device to be monitored is a normal state, the terminal device state monitoring method further includes:
firstly, carrying out protocol conversion on a call request according to a communication protocol corresponding to the terminal equipment to be monitored, and sending the call request after the protocol conversion to the terminal equipment to be monitored;
then, receiving a working state message sent by the terminal equipment to be monitored, and acquiring a refined working state of the terminal equipment to be monitored through the working state message, wherein the working state message is generated by the terminal equipment to be monitored according to the call request;
and finally, carrying out protocol conversion on the working state message according to a communication protocol corresponding to the monitoring platform 1, and sending the working state after the protocol conversion to the monitoring platform 1. For details, refer to the above description of the terminal device status monitoring system.
In an optional embodiment, the method for monitoring the state of the terminal device provided in the embodiment of the present invention further includes:
sending an object model downloading request to the monitoring platform 1, wherein the object model downloading request comprises an identification number of the terminal device 3; and receiving the object model sent by the monitoring platform 1, wherein the object model sent by the monitoring platform 1 is determined by the monitoring platform 1 according to the identification number of the terminal device 3. For details, refer to the above description of the terminal device status monitoring system.
In an optional embodiment, the method for monitoring the state of the terminal device provided in the embodiment of the present invention further includes:
receiving service data sent by each terminal device 3; and formatting the service data of each terminal device 3 according to the object model corresponding to each terminal device 3, and sending the service data after formatting to the monitoring platform 1. For details, refer to the above description of the terminal device status monitoring system.
The embodiment of the present invention further provides a method for monitoring a state of a terminal device, which is applied to a monitoring platform 1, and as shown in fig. 4, the method includes:
step S31: receiving and storing gateway information of the edge internet of things proxy gateway 2, where the gateway information includes identification numbers of each terminal device 3 connected to the edge internet of things proxy gateway 2, and the identification numbers include numbers of the edge internet of things proxy gateway 2, and the details refer to the description of step S12 in the above embodiment.
Step S32: sending a call request according to the identification number of the device to be monitored, where the call request is transmitted to the edge internet of things proxy gateway 2 according to the number of the edge internet of things proxy gateway 2 included in the identification number of the device to be monitored, for details, refer to the description of step S13 in the above embodiment.
Step S33: the operation state of the terminal device to be monitored is received, and the details refer to the description of step S16 in the above embodiment.
The terminal equipment state monitoring method provided by the invention connects a plurality of terminal equipment 3 through the edge Internet of things proxy gateway 2, the edge Internet of things proxy gateway 2 registers gateway information containing identification numbers of the terminal equipment 3 to the monitoring platform 1, the monitoring platform 1 can conveniently and uniformly manage the terminal equipment 3, because the gateway information registered by the edge Internet of things agent gateway 2 to the monitoring platform 1 comprises the identification numbers of all the terminal devices 3, the monitoring platform 1 can actively initiate a calling request at any time according to the identification numbers of the terminal devices to be monitored, because the identification number comprises the serial number of the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, the calling request is firstly sent to the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, and after the edge Internet of things proxy gateway 2 determines the equipment to be monitored according to the identification number, the working state of the equipment to be monitored is sensed through the interaction state of the equipment to be monitored and the terminal to be monitored. Therefore, by executing the embodiment of the invention, the active inspection and real-time monitoring of the terminal equipment 3 can be realized, in addition, the call request sent by the monitoring platform 1 can be sent to the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, the edge Internet of things proxy gateway 2 can sense the working state of the terminal equipment to be monitored according to the interaction state with the terminal equipment to be monitored, and the terminal equipment to be monitored is not required to actively send the working state, so that the working state of the terminal equipment to be monitored can be obtained by executing the embodiment of the invention even for a non-intelligent terminal.
In an optional embodiment, the step S31 specifically includes:
firstly, receiving registration request information, wherein the registration request information comprises gateway information, and the gateway information comprises gateway basic information of an edge Internet of things proxy gateway 2 and terminal equipment 3 basic information of each terminal equipment 3 connected with the edge Internet of things proxy gateway 2;
then, carrying out validity authentication on the gateway information according to the gateway basic information, the terminal equipment 3 basic information and the preset configuration information;
if the gateway information is legal, storing the gateway information and sending registration confirmation information to the edge Internet of things proxy gateway 2. The detailed description is given in the above embodiments of the terminal device status monitoring system.
In an optional embodiment, the method for monitoring the state of the terminal device provided in the embodiment of the present invention further includes:
firstly, receiving an object model downloading request sent by an edge Internet of things proxy gateway 2, wherein the object model downloading request comprises an identification number of a terminal device 3;
then, determining the equipment type of the terminal equipment 3 according to the identification number of the terminal equipment 3;
secondly, determining an object model of the terminal device 3 according to the device type of the terminal device 3;
and finally, sending the object model of the terminal equipment 3 to the edge Internet of things proxy gateway 2. The detailed description is given in the above embodiments of the terminal device status monitoring system.
In an optional embodiment, the method for monitoring the state of the terminal device provided in the embodiment of the present invention further includes:
and receiving the service data which is sent by the edge Internet of things proxy gateway 2 and formatted and processed according to the object model of each terminal device 3. The detailed description is given in the above embodiments of the terminal device status monitoring system.
The embodiment of the present invention further provides an edge internet of things proxy gateway 2, as shown in fig. 5, including:
the local communication module 41 is configured to connect the terminal device 3, and determine the working state of the terminal device to be monitored according to the interaction state with the terminal device to be monitored, for details, refer to the description of the edge internet of things proxy gateway 2 in the terminal device state monitoring system in the foregoing embodiment.
The protocol control module 42 is configured to encapsulate gateway information according to a preset protocol, and/or encapsulate a working state of the terminal to be monitored according to the preset protocol, for details, refer to the description of the edge internet of things proxy gateway 2 in the terminal device state monitoring system in the foregoing embodiment.
The remote communication module 43 is configured to receive a call request sent by the monitoring platform, and send gateway information encapsulated according to a preset protocol to the monitoring platform, and/or send a working state of the terminal to be monitored encapsulated according to the preset protocol, for details, refer to the description of the edge internet of things proxy gateway 2 in the terminal device state monitoring system in the foregoing embodiment.
In an alternative embodiment, as shown in fig. 5, the edge internet of things proxy gateway 2 further includes:
the signaling conversion module 44 is configured to perform protocol conversion on the call request according to the communication protocol corresponding to the terminal device to be monitored, and send the call request after the protocol conversion to the terminal device to be monitored, for details, refer to the description of the edge internet of things proxy gateway 2 in the terminal device state monitoring system in the foregoing embodiment.
The data processing module 45: the data processing module 45 is implemented by using a Docker container, and completes local processing of data collected by the terminal devices 3 by dynamically loading data processing APPs, and stores the local processing in a database, for details, refer to the description of the edge internet of things proxy gateway 2 in the terminal device state monitoring system in the above embodiment.
The data storage module 46 is used for storing data, and the details refer to the description of the edge internet of things proxy gateway 2 in the terminal device status monitoring system in the above embodiment.
The edge Internet of things agent gateway 2 provided by the implementation of the invention is connected with a plurality of terminal devices 3, and registers gateway information containing identification numbers of the terminal devices 3 with the monitoring platform 1, so that the monitoring platform 1 can conveniently carry out unified management on the terminal devices 3, because the gateway information registered by the edge Internet of things agent gateway 2 to the monitoring platform 1 comprises the identification numbers of all the terminal devices 3, the monitoring platform 1 can actively initiate a calling request at any time according to the identification numbers of the terminal devices to be monitored, because the identification number comprises the serial number of the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, the calling request is firstly sent to the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, and after the edge Internet of things proxy gateway 2 determines the equipment to be monitored according to the identification number, the working state of the equipment to be monitored is sensed through the interaction state of the equipment to be monitored and the terminal to be monitored. Therefore, by executing the embodiment of the invention, the active inspection and real-time monitoring of the terminal equipment 3 can be realized, in addition, the call request sent by the monitoring platform 1 can be sent to the edge Internet of things proxy gateway 2 connected with the equipment to be monitored, the edge Internet of things proxy gateway 2 can sense the working state of the terminal equipment to be monitored according to the interaction state with the terminal equipment to be monitored, and the terminal equipment to be monitored is not required to actively send the working state, so that the working state of the terminal equipment to be monitored can be obtained by executing the embodiment of the invention even for a non-intelligent terminal.
An embodiment of the present invention provides a computer device, as shown in fig. 6, the computer device mainly includes one or more processors 51 and a memory 52, and one processor 51 is taken as an example in fig. 6.
The computer device may further include: an input device 53 and an output device 54.
The processor 51, the memory 52, the input device 53 and the output device 54 may be connected by a bus or other means, as exemplified by the bus connection in fig. 6.
The processor 51 may be a Central Processing Unit (CPU). The Processor 51 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The memory 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the edge internet of things proxy gateway, or the terminal device status monitoring system, or the like. Further, the memory 52 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 52 may optionally include memory located remotely from the processor 51, which may be connected to the edge proxy gateway, or the end device condition monitoring system, via a network. The input device 53 may receive a computing request (or other numeric or character information) input by a user and generate a key signal input associated with an edge internet of things proxy gateway, or, a terminal equipment condition monitoring system. The output device 54 may include a display device such as a display screen for outputting the calculation result.
An embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer-readable storage medium stores computer-executable instructions, where the computer-executable instructions may execute the method for monitoring the state of the terminal device in any of the above method embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (16)

1. A terminal device state monitoring method is applied to an edge Internet of things proxy gateway and comprises the following steps:
registering gateway information to a monitoring platform, wherein the gateway information comprises identification numbers of terminal equipment connected with the edge Internet of things agent gateway, and the identification numbers comprise the serial number of the edge Internet of things agent gateway;
receiving a call request, wherein the monitoring platform sends the call request according to the identification number of the terminal equipment to be monitored, and the call request is transmitted to the edge Internet of things proxy gateway according to the number of the edge Internet of things proxy gateway contained in the identification number of the terminal equipment to be monitored;
determining terminal equipment to be monitored according to the identification number in the call request, and determining the working state of the terminal equipment to be monitored according to the interaction state of the edge Internet of things proxy gateway and the terminal equipment to be monitored;
and sending the working state of the terminal equipment to be monitored to the monitoring platform.
2. The method for monitoring the state of the terminal device according to claim 1, wherein registering gateway information with the monitoring platform comprises:
sending registration request information to the monitoring platform, wherein the registration request information comprises gateway information, and the gateway information comprises gateway basic information of the edge Internet of things proxy gateway and terminal equipment basic information of each terminal equipment connected with the edge Internet of things proxy gateway;
and if receiving registration confirmation information, indicating that gateway information registration on the monitoring platform is completed, wherein the registration confirmation information is information sent by the monitoring platform after the monitoring platform carries out validity authentication on the gateway information according to the gateway basic information and the terminal equipment basic information and confirms that the gateway information is legal.
3. The method for monitoring the state of the terminal device according to claim 1, wherein determining the working state of the terminal device to be monitored according to the interaction state of the border internet of things proxy gateway and the terminal device to be monitored comprises:
determining the interval duration from the latest receiving of the data sent by the terminal equipment to be monitored;
and if the interval duration is less than or equal to the preset interval duration of the data sent by the equipment to be monitored, judging that the working state of the terminal equipment to be monitored is a normal state.
4. The method for monitoring the state of the terminal device according to claim 3, wherein the working state of the terminal device to be monitored is determined according to the interaction state of the border internet of things proxy gateway and the terminal device to be monitored, further comprising:
and if the interval duration is longer than the preset interval duration for sending data by the equipment to be monitored, and the communication interface used for connecting the edge Internet of things proxy gateway and the terminal to be monitored and the local communication link of the edge Internet of things proxy gateway work normally, judging that the working state of the terminal equipment to be monitored is abnormal.
5. The method for monitoring the state of the terminal device according to claim 3 or 4, wherein the working state of the terminal device to be monitored is determined according to the interaction state of the border Internet of things proxy gateway and the terminal device to be monitored, and further comprising:
and if the interval duration is longer than the preset interval duration for sending data by the equipment to be monitored, and the communication interface used for connecting the edge Internet of things proxy gateway and the terminal to be monitored or the local communication link of the edge Internet of things proxy gateway is interrupted, judging that the working state of the terminal equipment to be monitored is communication interruption and the terminal equipment has no fault.
6. The method for monitoring the state of the terminal device according to claim 3, wherein if the terminal device to be monitored is an intelligent terminal and the working state of the terminal device to be monitored is a normal state, the method further comprises:
carrying out protocol conversion on the call request according to a communication protocol corresponding to the terminal equipment to be monitored, and sending the call request after the protocol conversion to the terminal equipment to be monitored;
receiving a working state message sent by the terminal equipment to be monitored, and acquiring a refined working state of the terminal equipment to be monitored through the working state message, wherein the working state message is generated by the terminal equipment to be monitored according to the call request;
and carrying out protocol conversion on the working state message according to a communication protocol corresponding to the monitoring platform, and sending the working state after the protocol conversion to the monitoring platform.
7. The method for monitoring the state of the terminal equipment according to claim 1, further comprising:
sending an object model downloading request to the monitoring platform, wherein the object model downloading request comprises an identification number of the terminal equipment;
and receiving the object model sent by the monitoring platform, wherein the object model sent by the monitoring platform is determined by the monitoring platform according to the identification number of the terminal equipment.
8. The method for monitoring the state of the terminal device according to claim 7, further comprising:
receiving service data sent by each terminal device;
and formatting the service data of each terminal device according to the object model corresponding to each terminal device, and sending the service data after formatting to the monitoring platform.
9. A terminal equipment state monitoring method is applied to a monitoring platform and comprises the following steps:
receiving and storing gateway information of an edge Internet of things agent gateway, wherein the gateway information comprises identification numbers of terminal equipment connected with the edge Internet of things agent gateway, and the identification numbers comprise the serial number of the edge Internet of things agent gateway;
sending a calling request according to the identification number of the equipment to be monitored, wherein the calling request is transmitted to the edge Internet of things proxy gateway according to the number of the edge Internet of things proxy gateway contained in the identification number of the equipment to be monitored;
and receiving the working state of the terminal equipment to be monitored.
10. The method for monitoring the state of the terminal device according to claim 9, wherein receiving and storing gateway information of the edge internet of things proxy gateway comprises:
receiving registration request information, wherein the registration request information comprises gateway information, and the gateway information comprises gateway basic information of the edge Internet of things proxy gateway and terminal equipment basic information of each terminal equipment connected with the edge Internet of things proxy gateway;
carrying out validity authentication on the gateway information according to the gateway basic information, the terminal equipment basic information and the preset configuration information;
and if the gateway information is legal, storing the gateway information and sending registration confirmation information to the edge Internet of things proxy gateway.
11. The method for monitoring the state of the terminal device according to claim 9, further comprising:
receiving an object model downloading request sent by the edge Internet of things proxy gateway, wherein the object model downloading request comprises an identification number of a terminal device;
determining the equipment type of the terminal equipment according to the identification number of the terminal equipment;
determining an object model of the terminal equipment according to the equipment type of the terminal equipment;
and sending the object model of the terminal equipment to the edge Internet of things proxy gateway.
12. The method for monitoring the status of the terminal device according to claim 11, further comprising:
and receiving the service data which is sent by the edge Internet of things proxy gateway and is formatted and processed according to the object model of each terminal device.
13. An edge internet of things proxy gateway, comprising:
the local communication module is used for connecting the terminal equipment and determining the working state of the terminal equipment to be monitored according to the interaction state with the terminal equipment to be monitored;
the protocol control module is used for encapsulating gateway information according to a preset protocol and/or encapsulating the working state of the terminal to be monitored according to the preset protocol;
and the remote communication module is used for receiving the call request sent by the monitoring platform and sending the gateway information encapsulated according to the preset protocol and/or the working state of the terminal to be monitored encapsulated according to the preset protocol to the monitoring platform.
14. A terminal device state monitoring system, comprising: terminal equipment, a border Internet of things proxy gateway and a monitoring platform,
the edge Internet of things agent gateway registers gateway information to a monitoring platform, wherein the gateway information comprises identification numbers of terminal equipment connected with the edge Internet of things agent gateway, and the identification numbers comprise the serial number of the edge Internet of things agent gateway;
the monitoring platform sends a calling request according to the identification number of the equipment to be monitored, and the calling request is transmitted to the edge Internet of things proxy gateway according to the number of the edge Internet of things proxy gateway contained in the identification number of the equipment to be monitored;
after receiving a call request, the edge Internet of things proxy gateway determines the terminal equipment to be monitored according to the identification number in the call request, determines the working state of the terminal equipment to be monitored according to the interaction state of the edge Internet of things proxy gateway and the terminal equipment to be monitored, and sends the working state of the terminal equipment to be monitored to the monitoring platform.
15. A computer device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to perform the terminal device condition monitoring method of any one of claims 1-12.
16. A computer-readable storage medium storing computer instructions for causing a computer to execute the terminal device status monitoring method according to any one of claims 1 to 12.
CN202110819677.8A 2021-07-20 2021-07-20 Terminal equipment state monitoring method and system and edge Internet of things proxy gateway Pending CN113556267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110819677.8A CN113556267A (en) 2021-07-20 2021-07-20 Terminal equipment state monitoring method and system and edge Internet of things proxy gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110819677.8A CN113556267A (en) 2021-07-20 2021-07-20 Terminal equipment state monitoring method and system and edge Internet of things proxy gateway

Publications (1)

Publication Number Publication Date
CN113556267A true CN113556267A (en) 2021-10-26

Family

ID=78103623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110819677.8A Pending CN113556267A (en) 2021-07-20 2021-07-20 Terminal equipment state monitoring method and system and edge Internet of things proxy gateway

Country Status (1)

Country Link
CN (1) CN113556267A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114281052A (en) * 2021-12-30 2022-04-05 中国兵器装备集团自动化研究所有限公司 Mechanical equipment running state monitoring device, system and method
CN114640633A (en) * 2022-03-29 2022-06-17 京东科技信息技术有限公司 Load balancer, implementation method thereof, load balancing method and gateway system
CN114697104A (en) * 2022-03-28 2022-07-01 国网山东省电力公司信息通信公司 Identification access method based on edge Internet of things agent data interaction terminal
CN114726916A (en) * 2022-03-01 2022-07-08 山东鲁软数字科技有限公司 Data transmission management system and method based on edge Internet of things agent
CN116300510A (en) * 2023-05-11 2023-06-23 深圳开鸿数字产业发展有限公司 Device control method, edge computing device, and storage medium
WO2024066059A1 (en) * 2022-09-30 2024-04-04 中通服和信科技有限公司 Industrial internet security system and method based on sdp and edge computing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888289A (en) * 2014-02-20 2014-06-25 北京优联实科信息科技有限公司 Gateway control method, gateway, management and control device and system
US20190020718A1 (en) * 2017-07-13 2019-01-17 American Megatrends, Inc. System and method for using general software to control internet of things (iot) system
CN112637344A (en) * 2020-12-23 2021-04-09 苏州三六零智能安全科技有限公司 Monitoring method, equipment and device of Internet of things equipment and storage medium
CN112714193A (en) * 2021-03-26 2021-04-27 深圳佳兆业科技集团有限公司 Community data processing system, method, device and equipment based on Internet of things platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888289A (en) * 2014-02-20 2014-06-25 北京优联实科信息科技有限公司 Gateway control method, gateway, management and control device and system
US20190020718A1 (en) * 2017-07-13 2019-01-17 American Megatrends, Inc. System and method for using general software to control internet of things (iot) system
CN112637344A (en) * 2020-12-23 2021-04-09 苏州三六零智能安全科技有限公司 Monitoring method, equipment and device of Internet of things equipment and storage medium
CN112714193A (en) * 2021-03-26 2021-04-27 深圳佳兆业科技集团有限公司 Community data processing system, method, device and equipment based on Internet of things platform

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114281052A (en) * 2021-12-30 2022-04-05 中国兵器装备集团自动化研究所有限公司 Mechanical equipment running state monitoring device, system and method
CN114726916A (en) * 2022-03-01 2022-07-08 山东鲁软数字科技有限公司 Data transmission management system and method based on edge Internet of things agent
CN114697104A (en) * 2022-03-28 2022-07-01 国网山东省电力公司信息通信公司 Identification access method based on edge Internet of things agent data interaction terminal
CN114640633A (en) * 2022-03-29 2022-06-17 京东科技信息技术有限公司 Load balancer, implementation method thereof, load balancing method and gateway system
CN114640633B (en) * 2022-03-29 2024-04-05 京东科技信息技术有限公司 Load balancer, realization method thereof, load balancing method and gateway system
WO2024066059A1 (en) * 2022-09-30 2024-04-04 中通服和信科技有限公司 Industrial internet security system and method based on sdp and edge computing
CN116300510A (en) * 2023-05-11 2023-06-23 深圳开鸿数字产业发展有限公司 Device control method, edge computing device, and storage medium

Similar Documents

Publication Publication Date Title
CN113556267A (en) Terminal equipment state monitoring method and system and edge Internet of things proxy gateway
CN106549863B (en) A kind of things-internet gateway, terminal and its protocol self-adapting method and apparatus
CN112671933B (en) Data processing method and system
JP4605819B2 (en) Method and system for remotely managing a machine via an IP link
CN112448933B (en) Method and system for self-adapting compatible platform inter-domain protocol
CN111711659B (en) Method and device for remotely managing terminal, equipment and storage medium thereof
CN105939201A (en) Method and device for checking state of server
CN111866063B (en) Online updating system, method and device for AI algorithm of industrial Internet of things
US11709722B2 (en) Extensible communication framework and communication method supporting multiple communication protocols
US20150237199A1 (en) Testing apparatus for communication system and method therefor
CN101115228A (en) Short message processing method and system
CN113965904A (en) Device registration method, device and storage medium
CN100527118C (en) Method and system for providing entity status information in a communication network
US11108588B2 (en) Configuration information to an internet of things multiplexer
CN116208956A (en) Login method and device of intercom terminal, electronic equipment and medium
CN102420823A (en) Simplified-session initiation protocol (SIP)-based simplified intelligent monitoring system and positioning and monitoring methods
CN114006942B (en) Data processing method, system, electronic equipment and storage medium
JP2012015629A (en) Application monitoring method of communication system
EP3550814B1 (en) Mobile terminal, event information display method, event information display program, and intercom system
CN117240913B (en) Proxy communication method, test system, terminal device and storage medium
CN109218450B (en) Client business service system and working method thereof
CN112653609A (en) VPN identification application method, device, terminal and storage medium
CN107347063B (en) Method for accessing monitoring front end in conference system and server
CN111512612A (en) Method for remote management of devices connected to a residential gateway
KR100717222B1 (en) Method For Auto Subscriber Audit Of Access Gateway System

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