CN113691593A - Internet of things monitoring equipment and monitoring method of internet of things - Google Patents

Internet of things monitoring equipment and monitoring method of internet of things Download PDF

Info

Publication number
CN113691593A
CN113691593A CN202110915608.7A CN202110915608A CN113691593A CN 113691593 A CN113691593 A CN 113691593A CN 202110915608 A CN202110915608 A CN 202110915608A CN 113691593 A CN113691593 A CN 113691593A
Authority
CN
China
Prior art keywords
internet
things
functional module
monitoring
equipment
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.)
Granted
Application number
CN202110915608.7A
Other languages
Chinese (zh)
Other versions
CN113691593B (en
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.)
Qingdao Hisense Smart Life Technology Co Ltd
Original Assignee
Qingdao Hisense Smart Life Technology 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 Qingdao Hisense Smart Life Technology Co Ltd filed Critical Qingdao Hisense Smart Life Technology Co Ltd
Priority to CN202110915608.7A priority Critical patent/CN113691593B/en
Publication of CN113691593A publication Critical patent/CN113691593A/en
Application granted granted Critical
Publication of CN113691593B publication Critical patent/CN113691593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses monitoring equipment of the Internet of things and a monitoring method of the Internet of things, and belongs to the field of the Internet of things. After sending the first monitoring request for the first functional module in the control device to the control device, the monitoring device may determine whether the first functional module is abnormal based on response information output by the first functional module sent by the control device. Therefore, the monitoring of the first functional module in the control equipment is realized, and the operation reliability of the control equipment in the Internet of things is effectively ensured.

Description

Internet of things monitoring equipment and monitoring method of internet of things
Technical Field
The application relates to the field of the Internet of things, in particular to monitoring equipment of the Internet of things and a monitoring method of the Internet of things.
Background
The internet of things may include an internet of things device and a control device. The control device can send a control instruction to the internet of things device, and the internet of things device can execute the operation indicated by the control instruction. For example, assuming that the internet of things device is an air conditioner, the control instruction may be an instruction for setting the temperature of the air conditioner to 25 degrees celsius (deg.c), and the air conditioner may set the temperature of the air conditioner to 25 deg.c after receiving the control instruction.
However, if an abnormality occurs in the internet of things device (or the control device) in the internet of things, the internet of things device (or the control device) cannot correctly execute the corresponding instruction. Therefore, a method capable of monitoring the internet of things device (or control device) in the internet of things is needed at present to ensure that a worker can repair the internet of things device (or control device) in time when the internet of things device (or control device) in the internet of things is abnormal, so as to ensure normal operation of the internet of things device (or control device) in the internet of things.
Disclosure of Invention
The embodiment of the application provides monitoring equipment of the Internet of things and a monitoring method of the Internet of things, and can solve the problems in the related art. The technical scheme is as follows:
on one hand, the monitoring method of the Internet of things is provided, and is applied to monitoring equipment in the Internet of things, the Internet of things further comprises Internet of things equipment and control equipment, and the control equipment comprises a plurality of functional modules; the method comprises the following steps:
sending a first monitoring request aiming at a first functional module in the plurality of functional modules to the control device, wherein the first monitoring request carries parameter information of a first interface of the first functional module, and the first monitoring request is used for indicating the control device to call the first interface based on the parameter information of the first interface so as to operate the first functional module, and feeding back response information output by the first functional module to the monitoring device;
receiving response information output by the first functional module and sent by the control equipment;
and determining whether the first functional module is abnormal or not based on the response information output by the first functional module.
Optionally, the method further includes:
if the first functional module is determined to be abnormal based on the response information output by the first functional module, determining the priority of the first functional module;
and outputting alarm information in a communication mode corresponding to the priority of the first functional module.
Optionally, the response information output by the first functional module includes a status code and/or a response duration; the method further comprises the following steps:
if the state code is an abnormal state code, determining that the first functional module is abnormal;
and if the response time length exceeds a time length threshold value, determining that the first functional module is abnormal.
Optionally, the method further includes:
after the response information output by the first functional module and sent by the control equipment is received, storing the response information of the first functional module;
and responding to the inquiry request aiming at the response information of the first functional module, and displaying the response information of the first functional module.
Optionally, a monitoring plug-in is integrated in the monitoring device, and the monitoring plug-in is configured to send the first monitoring request, receive response information output by the first functional module, and determine whether the first functional module is abnormal based on the response information output by the first functional module.
Optionally, the method further includes:
sending a second monitoring request aiming at a second functional module in the plurality of functional modules to the control device, wherein the second monitoring request carries parameter information of a second interface of the second functional module and device information of the internet of things device, and the second monitoring request is used for indicating the control device to call the second interface based on the parameter information of the second interface so as to enable the second functional module to simulate interaction with the internet of things device, and feeding back response information output by the second functional module and state information of the internet of things device to the monitoring device;
receiving response information output by the second function module and state information of the Internet of things equipment, which are sent by the control equipment;
and determining whether the second functional module is abnormal or not based on the response information output by the second functional module, and/or determining whether the equipment of the Internet of things is abnormal or not based on the state information.
On the other hand, the monitoring method of the Internet of things is provided, and is applied to monitoring equipment in the Internet of things, the Internet of things further comprises Internet of things equipment and control equipment, and the control equipment comprises a plurality of functional modules; the method comprises the following steps:
sending a second monitoring request aiming at a second function module in the plurality of function modules to the control device, wherein the second monitoring request carries parameter information of a second interface of the second function module and device information of internet of things devices in the plurality of internet of things devices, and the second monitoring request is used for instructing the control device to call the second interface based on the parameter information of the second interface so as to enable the second function module to simulate interaction with the internet of things devices, and feeding back response information output by the second function module and state information of the internet of things devices to the monitoring device;
receiving response information output by the second function module and state information of the Internet of things equipment, which are sent by the control equipment;
and determining whether the second functional module is abnormal or not based on the response information output by the second functional module, and/or determining whether the equipment of the Internet of things is abnormal or not based on the state information.
In yet another aspect, an internet of things monitoring device is provided, the monitoring device including a processor and a communication module; the Internet of things further comprises Internet of things equipment and control equipment, wherein the control equipment comprises a plurality of functional modules;
the communication module is used for establishing communication connection with the control equipment;
the processor is configured to:
sending a first monitoring request aiming at a first functional module in the plurality of functional modules to the control device, wherein the first monitoring request carries parameter information of a first interface of the first functional module, and the first monitoring request is used for indicating the control device to call the first interface based on the parameter information of the first interface so as to operate the first functional module, and feeding back response information output by the first functional module to the monitoring device;
receiving response information output by the first functional module and sent by the control equipment;
and determining whether the first functional module is abnormal or not based on the response information output by the first functional module.
In another aspect, an internet of things monitoring device is provided, where the monitoring device includes a processor and a communication module; the Internet of things further comprises Internet of things equipment and control equipment, wherein the control equipment comprises a plurality of functional modules;
the communication module is used for establishing communication connection with the control equipment;
the processor is configured to:
sending a second monitoring request aiming at a second function module in the plurality of function modules to the control device, wherein the second monitoring request carries parameter information of a second interface of the second function module and device information of internet of things devices in the plurality of internet of things devices, and the second monitoring request is used for instructing the control device to call the second interface based on the parameter information of the second interface so as to enable the second function module to simulate interaction with the internet of things devices, and feeding back response information output by the second function module and state information of the internet of things devices to the monitoring device;
receiving response information output by the second function module and state information of the Internet of things equipment, which are sent by the control equipment;
and determining whether the second functional module is abnormal or not based on the response information output by the second functional module, and/or determining whether the equipment of the Internet of things is abnormal or not based on the state information.
In another aspect, an internet of things is provided, where the internet of things includes a monitoring device, an internet of things device, and a control device, and the control device includes a plurality of function modules;
the monitoring device comprises the internet of things monitoring device in the aspect;
the control device is used for feeding back response information of a first functional module in the plurality of functional modules, response information of a second functional module in the plurality of functional modules and state information of the internet of things device to the monitoring device.
In yet another aspect, a computer-readable storage medium having instructions stored therein is provided. When the instructions are loaded and executed by the processor, the method for monitoring the internet of things is realized.
In another aspect, a computer program product containing instructions is provided, which when run on a computer causes the computer to execute the method for monitoring the internet of things according to the above aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the embodiment of the application provides monitoring equipment of the internet of things and a monitoring method of the internet of things. Therefore, the monitoring of the first functional module in the control equipment is realized, and the operation reliability of the control equipment in the Internet of things is effectively ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an internet of things provided in an embodiment of the present application;
fig. 2 is a flowchart of a monitoring method for an internet of things according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another monitoring method for the internet of things according to an embodiment of the present disclosure;
FIG. 4 is a diagram of an alarm message provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a query interface provided by an embodiment of the present application;
fig. 6 is a schematic diagram of another internet of things provided in an embodiment of the present application;
fig. 7 is a flowchart of a monitoring method for an internet of things according to an embodiment of the present disclosure;
fig. 8 is a flowchart of another monitoring method for the internet of things according to the embodiment of the present application;
fig. 9 is a schematic diagram of a monitoring device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an internet of things provided in an embodiment of the present application, and as shown in fig. 1, the internet of things includes a monitoring device 10, an internet of things device 20, and a control device 30, where the number of the internet of things devices 20 in the internet of things may be at least one, and fig. 1 illustrates that the internet of things includes one internet of things device 20 as an example.
The monitoring device 10 and the control device 30, and the control device 30 and the internet of things device 20 may be connected through a wired network or a wireless network.
The monitoring device 10 may be a device that monitors the control device 30 and the internet of things device 20, and referring to fig. 1, the monitoring device 10 may be a computer.
The control device 30 may include a plurality of function modules, and the control device 30 may implement the corresponding functions by calling an interface of each function module to run the function module. The plurality of functional modules may include a first functional module and a second functional module, the first functional module is a module that does not need to interact with the internet of things device 20, and the second functional module is a module that needs to interact with the internet of things device 20. The number of the first functional modules and the number of the second functional modules can be one or more.
For example, the control device 30 may invoke an interface of a second function module to operate the second function module, so that the second function module sends a control instruction to the internet of things device 20. The control device 30 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center.
The internet of things device 20 is a device that performs an operation indicated by the control instruction sent by the control device 30, for example, the internet of things device 20 may be an air conditioner, an electric lamp, a refrigerator, a fan, or the like, and fig. 1 illustrates the internet of things device 20 as an air conditioner as an example.
Fig. 2 is a flowchart of a monitoring method for an internet of things according to an embodiment of the present disclosure, where the monitoring method is applied to the monitoring device 10 shown in fig. 1. As shown in fig. 2, the method includes:
step 201, sending a first monitoring request aiming at a first functional module in a plurality of functional modules to a control device.
In this embodiment, the monitoring device may periodically or in real time send a first monitoring request for a first functional module of the plurality of functional modules to the control device. The first monitoring request carries parameter information of a first interface of the first functional module, where the parameter information may include an address of the first interface and a request parameter, and the first functional module may output a response result corresponding to the request parameter based on the request parameter.
After receiving a first monitoring request for a first functional module sent by a monitoring device, a control device may call the first interface to run the first functional module based on parameter information of the first interface, and after the first functional module outputs response information, feed back the response information output by the first functional module to the monitoring device.
The response information may include at least one of a response result, a status code, and a response duration, and the response result in the response information may be a result output by the first functional module after the control device operates the first functional module based on the request parameter. The status code in the response message is used to indicate an operation status of the first functional module, and the operation status may include: a normal state and an abnormal state. The response time length in the response message is the time length from the time when the control device starts to operate the first functional module to the time when the first functional module outputs the response message.
For example, if the first functional module can obtain weather information of each city, and the request parameter of the first interface is city a, after the control device calls the first interface based on the address of the first interface to run the first functional module, the response information output by the first functional module may include: weather information, status code of city a: 200 and response duration: 10 milliseconds (ms), the status code 200 indicates that the operational status of the first functional module is normal.
Step 202, receiving response information output by the first function module and sent by the control device.
After acquiring the response information output by the first function module, the control device may send the response information output by the first function module to the monitoring device, and correspondingly, the monitoring device may receive the response information output by the first function module and sent by the control device.
Step 203, determining whether the first functional module is abnormal or not based on the response information output by the first functional module.
The monitoring device may determine whether the first functional module is abnormal based on the response information output by the first functional module after receiving the response information output by the first functional module transmitted by the control device.
To sum up, the embodiment of the present application provides a monitoring method for an internet of things, where after sending a first monitoring request for a first functional module in a control device to a control device, a monitoring device may determine whether the first functional module is abnormal based on response information output by the first functional module sent by the control device. Therefore, the monitoring of the first functional module in the control equipment is realized, and the operation reliability of the control equipment in the Internet of things is effectively ensured.
Fig. 3 is a flowchart of another monitoring method for the internet of things according to the embodiment of the present application, where the monitoring method is applied to the internet of things shown in fig. 1. As shown in fig. 3, the method may include:
step 301, the monitoring device sends a first monitoring request for a first functional module of the plurality of functional modules to the control device.
The monitoring device may periodically or in real time send a first monitoring request for a first functional module of the plurality of functional modules to the control device. The first monitoring request carries parameter information of a first interface of the first functional module, where the parameter information may include an address of the first interface and a request parameter, and the first functional module may output a response result corresponding to the request parameter based on the request parameter. The first interface may be a hypertext transfer protocol (http) interface, or may be a hypertext transfer protocol over secure layer (https) interface.
After receiving a first monitoring request for a first functional module sent by a monitoring device, a control device may call the first interface to run the first functional module based on parameter information of the first interface, and after the first functional module outputs response information, feed back the response information output by the first functional module to the monitoring device.
The response information may include at least one of a response result, a status code, and a response duration, and the response result in the response information may be a result output by the first functional module after the control device operates the first functional module based on the request parameter.
For example, if the function implemented by the first function module is to acquire weather information of each city, and the request parameter of the first interface may be city a, after the control device calls the first interface to run the first function module based on the address and the request parameter of the first interface, the response result output by the first function module may include the weather information of city a: clear.
The status code in the response message is used to indicate the operation status of the first functional module, which may include a normal status or an abnormal status.
The state code may include a 2 × series state code, a 5 × series state code, or a 4 × series state code, and the × may be an integer greater than or equal to 0 and less than 10. The 2 x series status code is used for indicating that the operation status of the first functional module is a normal status, and the 5 x series status code and the 4 x series status code are both used for indicating that the operation status of the first functional module is an abnormal status. The 5 x series of status codes indicates that the first functional module is abnormal due to an internal problem of the first functional module. The 4 × series status code indicates that an abnormality occurs in the first functional module due to a problem on the monitoring device side, for example, parameter information of the first interface transmitted by the monitoring device is incorrect.
The response time length is the time length from the time when the control device starts to operate the first functional module to the time when the first functional module outputs the response information. For example, the response duration may be 10 milliseconds (ms).
Step 302, the monitoring device receives response information output by the first function module and sent by the control device.
After acquiring the response information output by the first function module, the control device may send the response information output by the first function module to the monitoring device, and correspondingly, the monitoring device may receive the response information output by the first function module sent by the control device.
Step 303, if the monitoring device determines that the first functional module is abnormal based on the response information output by the first functional module, determining the priority of the first functional module.
After receiving the response information output by the first functional module sent by the control device, the monitoring device may determine whether the first functional module is abnormal based on the response information output by the first functional module. If it is determined that the first functional module is abnormal, the monitoring device may determine the priority of the first functional module. If it is determined that the first functional module is not abnormal, the process may be ended.
In this embodiment of the application, if the response information output by the first functional module includes a status code, the monitoring device may detect whether the status code is an abnormal status code, and if the status code is an abnormal status code, the monitoring device may determine that the first functional module is abnormal. If the status code is not an abnormal status code, the monitoring device may determine that the first functional module is not abnormal.
The monitoring device may be pre-stored with an abnormal status code, and the abnormal status code may include a 5 × series status code and a 4 × series status code. For example, if the status code included in the response information output by the first functional module is 500, the monitoring device may determine that the status code is an abnormal status code, and thus may determine that the first functional module is abnormal.
If the response information output by the first functional module includes the response duration, the monitoring device may determine whether the response duration exceeds a duration threshold. If the response time length exceeds the time length threshold value, the monitoring equipment can determine that the first functional module is abnormal. If the response time length does not exceed the time length threshold, the monitoring device may determine that the first functional module is not abnormal.
The duration threshold may be a fixed duration pre-stored in the monitoring device. For example, if the response time included in the response information output by the first functional module is 10ms, and the time threshold is 7ms, since 10ms >7ms, the monitoring device may determine that an abnormality occurs in the first functional module.
In this embodiment of the present application, the monitoring device may store a first correspondence between the identifiers of the plurality of function modules and the priorities of the plurality of function modules in advance. Wherein the priorities of the plurality of functional modules may include a high priority, a medium priority, and a low priority.
If the monitoring device determines that the first functional module is abnormal based on the response information output by the first functional module, the monitoring device may determine a priority corresponding to the identifier of the first functional module from the first corresponding relationship based on the identifier of the first functional module, so as to determine the priority of the first functional module.
And step 304, the monitoring equipment outputs the alarm information in a communication mode corresponding to the priority of the first functional module.
After determining the priority of the first functional module, the monitoring device may output the alarm information in a communication manner corresponding to the priority of the first functional module. Wherein, the alarm information may include at least one of text information for indicating that the first functional module is abnormal and response information output by the first functional module. For example, referring to fig. 4, the text message 00 may be: and if the first functional module is abnormal, the first functional module is required to be repaired in time.
The monitoring device may pre-store second corresponding relations between priorities of the plurality of functional modules and a plurality of communication modes, where the plurality of communication modes may include mailboxes, short messages, instant communications, and the like. If the plurality of communication modes include the mailbox, the address of the mailbox can be stored in the monitoring device in advance. If the plurality of communication modes comprise short messages, the monitoring equipment can also store mobile terminal numbers for receiving the short messages in advance. If the plurality of communication modes include instant messaging, the monitoring device may further pre-store an account number of the instant messaging.
After determining the priority of the first function module, the monitoring device may determine a communication method corresponding to the priority of the first function module from the second correspondence, and may output alarm information based on the communication method.
For example, if it is determined that the priority of the first function module is a high priority and the priority corresponds to the short message in the communication mode, the monitoring device may output the alarm information to the mobile terminal number of the short message corresponding to the high priority of the first function module, and referring to fig. 4, the mobile terminal may display the alarm information after receiving the alarm information.
In the embodiment of the application, the monitoring device can also receive the priority and the communication mode of the function module sent by other terminal devices, and update the first corresponding relation and the second corresponding relation, so that the priority and the alarm mode of the function module can be defined by users, and the expandability of the monitoring device is improved.
Step 305, the monitoring device stores the response information of the first functional module.
After receiving the response information output by the first functional module sent by the control device, the monitoring device may also correspondingly store the identifier of the first functional module and the response information of the first functional module.
In this embodiment of the application, a database may be established in the monitoring device, and the monitoring device may store the identifier of the first functional module and the response information of the first functional module in the database correspondingly. Alternatively, the database may be a time series database, and the data stored to the database (such as the identification of the first functional module and the response information of the first functional module) has a time stamp, thereby facilitating a subsequent quick query of the data based on the time stamp of the data. By way of example, the timing database may be an infilux database.
Step 306, the monitoring device responds to the query request aiming at the response information of the first functional module, and displays the response information of the first functional module.
After storing the response information of the first functional module, the monitoring device may further display the response information of the first functional module in response to a query request for the response information of the first functional module.
The query interface of the monitoring device may display a text input box and a query button, and the monitoring device may generate a query request for response information of a first function module after receiving an identification of the first function module input in the text input box and a selection operation for the query button. And the monitoring device may further respond to the query request, obtain response information corresponding to the identifier of the first function module from the database based on the identifier of the first function module, and may display the response information of the first function module in the query interface.
For example, referring to fig. 5, if the identifier of the first function module is 1xx01, after the monitoring device receives 1xx01 in the text input box 01 and receives a selection operation for the query button 02, the monitoring device may obtain response information corresponding to 1xx01 from the database, where the response information may include that weather information of city a is clear, a status code is 400, and a response time duration is 10 ms.
Step 307, the monitoring device sends a second monitoring request for a second functional module of the plurality of functional modules to the control device.
In this embodiment, the monitoring device may also send a second monitoring request for a second functional module of the plurality of functional modules to the control device periodically or in real time. The second monitoring request carries parameter information of a second interface of the second functional module and equipment information of the internet of things equipment, the internet of things equipment can be any one of a plurality of internet of things equipment which are in binding relation with the control equipment, and the equipment information of the internet of things equipment can include identification of the internet of things equipment and the like. The second interface may be an http interface or may be an https interface.
In this application embodiment, the monitoring device may be configured with a model of the internet of things device, and the model of the internet of things device may implement the same function as the internet of things device. After receiving a second monitoring request, which is sent by the monitoring device and is directed to the second functional module, the control device may call the second interface based on parameter information of the second interface to enable the second functional module to simulate interaction with the internet of things device, and feed back response information output by the second functional module and state information of the internet of things device to the monitoring device. The state information of the internet of things device may include normal state information, abnormal state information or unknown state.
Optionally, the control device may call the second interface based on the parameter information of the second interface to operate the second function module to interact with the model of the internet of things device, so as to realize simulation of interaction with the internet of things device.
It is understood that the control device may invoke the second interface based on the parameter information of the second interface to operate the second function module to send the control instruction to the model of the internet of things device. If the first function module is abnormal, the model of the internet of things equipment cannot receive the control instruction, and the control equipment cannot receive an execution result returned by the model of the internet of things equipment, so that the control equipment can determine the state information of the internet of things equipment according to the unknown state.
If the model of the internet of things equipment receives the control instruction and the model of the internet of things equipment is not abnormal, the control equipment can determine normal state information as the state information of the internet of things equipment after determining that the execution result returned by the model of the internet of things equipment is the correct execution result. The normal execution result shows that the model of the internet of things equipment can accurately execute the function indicated by the control command.
If the model of the internet of things device receives the control instruction and the model of the internet of things device is abnormal, the control device can determine the abnormal state information as the state information of the internet of things device after determining that the execution result returned by the model of the internet of things device is the abnormal execution result. The abnormal execution result may be that the model of the internet of things device may not execute the function indicated by the control instruction, or the model of the internet of things device may not accurately execute the function indicated by the control instruction.
For example, if the internet of things device is an air conditioner, the second function module is configured to send a temperature control instruction to the internet of things device of which the type is the air conditioner, and the request parameter of the second interface is 25 ℃, the control device may call the second interface to operate the second function module to send the temperature control instruction to the model of the air conditioner based on the address of the second interface and the request parameter of the second interface, where the temperature control instruction is used to instruct the model of the air conditioner to adjust the temperature of the air conditioner to 25 ℃.
If the model of the air conditioner receives the temperature control instruction, the execution result returned by the model of the air conditioner to the control equipment is as follows: the temperature has been adjusted to 25 ℃, the control device may determine that the execution result is a correct execution result after receiving the execution result, and thus may determine the normal state information as the state information of the internet of things device.
If the model of the internet of things equipment receives the temperature control instruction, the execution result returned to the control equipment by the model of the internet of things equipment is as follows: after the air conditioner is turned off, the control device may determine that the execution result does not conform to the function indicated by the temperature control instruction after receiving the execution result, and thus may determine that the execution result is an erroneous execution result, and the control device may determine the abnormal state information as the state information of the internet of things device.
And 308, the monitoring equipment receives response information output by the second function module and state information of the internet of things equipment, which are sent by the control equipment.
After the control device acquires the response information output by the second function module and the state information of the internet of things device, the control device may send the response information output by the second function module and the state information of the internet of things device to the monitoring device, and correspondingly, the monitoring device may receive the response information output by the second function module and the state information of the internet of things device, and may store the response information output by the second function module and the state information of the internet of things device.
Optionally, the monitoring device may store the identifier of the second function module and the response information output by the second function module in the database, and may store the identifier of the internet of things device and the state information of the internet of things device in the database. Thereafter, the monitoring device may display the response information of the second functional module in response to the query request for the response information of the second functional module, and the process may refer to step 306 described above.
And the monitoring equipment can respond to the query instruction aiming at the state information of the equipment of the Internet of things and display the state information of the equipment of the Internet of things. Optionally, after receiving the identifier of the internet of things device input in the text input box and the selection operation for the query button, the monitoring device may generate a query request for the status information of the internet of things device. And the monitoring equipment can respond to the query request, query the state information corresponding to the identifier of the Internet of things equipment from the database based on the identifier of the Internet of things equipment, and display the state information of the Internet of things equipment in a query interface.
Step 309, the monitoring device determines whether the second function module is abnormal based on the response information output by the second function module, and/or determines whether the internet of things device is abnormal based on the state information.
After receiving the response information output by the second function module and the state information of the internet of things device, which are sent by the control device, the monitoring device may determine whether the second function module is abnormal based on the response information output by the second function module, and/or determine whether the internet of things device is abnormal based on the state information.
In this embodiment of the application, the process of determining, by the monitoring device, whether the second function module is abnormal based on the response information output by the second function module may refer to the process of determining, by the monitoring device, whether the first function module is abnormal based on the response information output by the first function module, which is not described herein again in this embodiment of the application.
And if the monitoring device determines that the second function module is abnormal, determining the priority of the second function module, and outputting the alarm information in a communication manner corresponding to the priority of the second function module, where the process may refer to step 303 and step 304.
If the state information of the internet of things device includes abnormal state information, the monitoring device may determine that the internet of things device is abnormal. If the state information of the internet of things device includes normal state information, the monitoring device may determine that the internet of things device is not abnormal.
If the monitoring equipment determines that the Internet of things equipment is abnormal, the priority of the Internet of things equipment can be determined, and the alarm information can be output in a communication mode corresponding to the priority of the Internet of things equipment.
The monitoring equipment can be used for determining the third corresponding relation between the identifications of the multiple Internet of things equipment and the priorities of the multiple Internet of things equipment and the fourth corresponding relation between the priorities of the multiple Internet of things equipment and the multiple communication modes.
The monitoring device may determine, based on the identifier of the internet of things device, a priority corresponding to the identifier of the internet of things device from the third corresponding relationship, thereby determining the priority of the internet of things device, and then the monitoring device may determine, from the fourth corresponding relationship, a communication manner corresponding to the priority of the internet of things device, and may output alarm information based on the communication manner.
After the model of the internet of things device in the monitoring device is bound and connected with the control device, the monitoring device may send a model communication connection request for the internet of things device to the control device, and after the communication connection with the control device is successfully established. The control equipment can periodically send heartbeat detection signals aiming at the model of the Internet of things equipment to the monitoring equipment, and correspondingly, the model of the Internet of things equipment can periodically send heartbeat response data to the control equipment. After receiving the heartbeat response data sent by the model of the internet of things device, the control device may determine the online state as the state information of the internet of things device, and may send the state information to the monitoring device.
In this embodiment of the application, if the plurality of functional modules integrated in the control device include a plurality of first functional modules, the monitoring device may simultaneously send a first monitoring request for the plurality of first functional modules to the control device to perform the above steps 302 to 304, thereby improving the efficiency of monitoring the plurality of first functional modules. Or may sequentially send a first monitoring request for a plurality of first function modules to the control device to perform the above steps 302 to 304, which is not limited in this embodiment of the application.
Each first functional module may include at least one first sub-functional module, and if the first functional module includes one first sub-functional module, the control device may implement a complete function by operating the first sub-functional module. If the first function module comprises a plurality of first sub-function modules, the control device is indicated to operate the plurality of first sub-function modules to realize a complete function.
In this embodiment of the application, if the plurality of function modules integrated in the control device include a plurality of second function modules, the monitoring device may simultaneously send a second monitoring request for the plurality of second function modules to the control device to perform the above step 308 and step 309, so as to improve the efficiency of monitoring the plurality of second function modules and the internet of things device. Or may sequentially send a second monitoring request for a plurality of second function modules to the control device to perform the steps 308 and 309, which is not limited in this embodiment of the application.
Each second functional module may include at least one second sub-functional module, and if the second functional module includes one second sub-functional module, the control device may implement a complete function by operating the second sub-functional module. If the second function module includes a plurality of second sub-function modules, the control device may implement a complete function by operating the plurality of second sub-function modules.
It is understood that before the internet of things device interacts with the control device, the user needs to log in the control device, create a home in the control device, add the internet of things device in the created home, and then the internet of things device can interact with the control device. Illustratively, the second function module includes a login sub-function module, a create family sub-function module, and a bind sub-function module. In the process of binding the internet of things device and the control device, firstly, a user can log in the control device on any device, the control device can verify the login information by operating the login submodule after receiving the login information sent by any device, and a token is generated after the login information is successfully verified. The login information includes a user name and a password.
Second, the user needs to create a family under his account (e.g., username). After receiving a family creating instruction which is sent by any one device and carries family information and a token, the control device can verify the token by operating a family creating sub-function module, and correspondingly stores the family information and the user name after successfully verifying the token. For example, the information of the family may include an identification of the family.
And finally, the control equipment is bound with the Internet of things equipment in the family. After the control device successfully creates the family, if the binding instruction sent by any device is received and carries the identification of the family, the identification of the internet of things device and the identification of the control device, the control device can correspondingly store the identification of the family, the identification of the internet of things device and the identification of the control device by operating the binding sub-functional module, and can send the binding success instruction to the control device.
As can be seen from the above, if the internet of things device and the control device need to be bound, the control device needs to run the login sub-function module, create the family sub-function module, and bind the sub-function module to implement the function.
Prior to step 301, the monitoring device may store configuration information of the first functional module, configuration information of the second functional module, and configuration information of the stored internet of things device. The configuration information of the first functional module includes a type of a first interface of the first functional module and parameter information of the first interface. The configuration information of the second functional module includes a type of a second interface of the second functional module and parameter information of the second interface. The configuration information of the internet of things device includes device information of the internet of things device, for example, the device information of the internet of things device may include an identifier of the internet of things device, login information of a user to which the internet of things device belongs, an identifier of a family, and the like.
The type of the first interface and the type of the second interface may be a post (post) type, a get (get) type, a put (put) type, a delete (delete) type, and the like.
Optionally, the configuration information of the first functional module, the configuration information of the second functional module and the configuration information of the internet of things device can be sent to the monitoring device by other terminal devices, that is, the user can customize the functional module and the internet of things device to be monitored, so that the expandability of the monitoring device is improved, and the flexibility of monitoring the internet of things is further improved. And, through first functional module and the second functional module separately control, reduced the coupling nature of supervisory equipment.
In this embodiment, a monitoring plug-in may be integrated in the monitoring device, and the monitoring plug-in is configured to execute the monitoring method of the internet of things, that is, execute the steps 201 to 203, and the steps 301 to 309. For example, the monitoring plug-in may be configured to send a first monitoring request, receive response information output by the first functional module, and determine whether the first functional module is abnormal based on the response information output by the first functional module. By adopting the monitoring plug-in to execute the monitoring method of the Internet of things, the monitoring efficiency of the Internet of things can be improved. Moreover, the monitoring plug-in is simple and convenient to use, and the operation and maintenance cost is low.
The number of the monitoring devices in the internet of things can be one or more, referring to fig. 6, the number of the monitoring devices in the internet of things can be five, each monitoring device can be integrated with a monitoring plug-in, and the control devices monitored by different monitoring devices and the internet of things devices can be the same or different. The monitoring plug-in may include a configuration module 401, a first monitoring module 402, a second monitoring module 403, a device monitoring module 404, a data storage module 405, a database 406, an alert module 407, and a display module 408.
The configuration module 401 is configured to receive configuration information of the first function module, configuration information of the second function module, and configuration information of the internet of things device.
If the first functional module includes a first sub-functional module, the configuration module 401 is further configured to send the configuration information of the first functional module to the first monitoring module 402, where the first monitoring module 402 is configured to store the configuration information of the first functional module and execute the steps 301 and 302.
If the first functional module includes a plurality of first sub-functional modules, the configuration module 401 is further configured to send configuration information of the first functional module to the second monitoring module 403. The configuration module 401 is further configured to send configuration information of a second function module and configuration information of the internet of things device to the second monitoring module 403, where the second monitoring module 403 is configured to store the configuration information of the first function module, the configuration information of the second function module, and the configuration information of the internet of things device, execute the step 301 and the step 302, and send response information output by the first function module to the storage module 405, so that the storage module 405 executes the step 305.
The second monitoring module 403 is further configured to execute the steps 307 and 308, and send the response information output by the second function module and the status information of the internet of things device to the storage module 405, so that the storage module 405 stores the response information output by the second function module and the status information of the internet of things device in the database 406. The alarm module 407 is configured to perform the steps 303, 304, and 309. The display module 408 is used for executing the step 306.
In this embodiment of the application, in the process of establishing a binding between the model of the internet of things device and the control device for the first time, the second monitoring module 403 needs to carry the device information of the internet of things device, and after receiving the device information of the internet of things device, the control device may verify the device information, and after successfully verifying the device information, send a token to the control device. The control device may further send the token to the second monitoring module 403, where the second monitoring module 403 may carry the token when sending a second monitoring request to the control device in the following, so that the control device verifies the identity of the second monitoring module 403. The second monitoring module is further configured to send the token to the first monitoring module 402, where the second monitoring module 402 may carry the token when sending the first monitoring request to the control device, so that the control device verifies the identity of the first monitoring module 402.
In this application embodiment, can monitor every functional module in thing networking device and the controlgear through supervisory equipment to realize the effective control to the internal service of thing networking device and controlgear in the thing networking, from this when thing networking device appears unusually, can in time restore this thing networking device, ensure the normal operating of thing networking device, and when the controlgear appears unusually, can in time restore this controlgear, ensure controlgear's normal operating.
It should be noted that the sequence of the steps of the monitoring method for the internet of things provided by the embodiment of the application can be properly adjusted, and the steps can also be deleted according to the situation. For example, the step 301 and the step 307 may be performed simultaneously, thereby improving the efficiency of monitoring the internet of things. Or the above-mentioned steps 307 to 309 may be performed before step 301. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
To sum up, the embodiment of the present application provides a monitoring method for an internet of things, where after sending a first monitoring request for a first functional module integrated in a control device to a control device, a monitoring device may determine whether the first functional module is abnormal based on response information output by the first functional module sent by the control device. Therefore, the monitoring of the first functional module in the control equipment is realized, and the operation reliability of the control equipment in the Internet of things is effectively ensured.
And after the monitoring device sends a second monitoring request for a second functional module integrated in the control device to the control device, the monitoring device may determine whether the second functional module is abnormal based on response information output by the second functional module, and/or determine whether the internet of things device is abnormal based on state information. Therefore, the control equipment and the Internet of things equipment are monitored, and the operation reliability of the control equipment and the Internet of things equipment in the Internet of things is effectively ensured.
Fig. 7 is a flowchart of a monitoring method for an internet of things according to an embodiment of the present application, where the method is applied to a monitoring device in the internet of things. As shown in fig. 7, the method includes:
step 701, sending a second monitoring request for a second functional module of the plurality of functional modules to the control device.
The second monitoring request carries parameter information of a second interface of the second functional module and equipment information of the internet of things equipment in the plurality of pieces of internet of things equipment, and the second monitoring request is used for indicating the control equipment to call the second interface based on the parameter information of the second interface so as to enable the second functional module to simulate interaction with the internet of things equipment, and feeding back response information output by the second functional module and state information of the internet of things equipment to the monitoring equipment.
And step 702, receiving response information output by the second function module and state information of the internet of things equipment, which are sent by the control equipment.
Step 703, determining whether the second functional module is abnormal based on the response information output by the second functional module, and/or determining whether the internet of things equipment is abnormal based on the state information.
For the specific implementation process of step 701 to step 703, reference may be made to steps 307 to 309, which is not described herein again in this embodiment of the present application.
To sum up, the embodiment of the present application provides a monitoring method for an internet of things, where after sending a second monitoring request for a second functional module integrated in a control device to a control device, a monitoring device may determine whether the second functional module is abnormal based on response information output by the second functional module, and/or determine whether the internet of things device is abnormal based on state information. Therefore, the control equipment and the Internet of things equipment are monitored, and the operation reliability of the control equipment and the Internet of things equipment in the Internet of things is effectively ensured.
Fig. 8 is a flowchart of a monitoring method for an internet of things according to an embodiment of the present application, where the method is applied to the internet of things. As shown in fig. 8, the method may include:
step 801, the monitoring device sends a second monitoring request for a second functional module of the plurality of functional modules to the control device.
The second monitoring request carries parameter information of a second interface of the second functional module and equipment information of the internet of things equipment in the plurality of pieces of internet of things equipment, and the second monitoring request is used for indicating the control equipment to call the second interface based on the parameter information of the second interface so as to enable the second functional module to simulate interaction with the internet of things equipment, and feeding back response information output by the second functional module and state information of the internet of things equipment to the monitoring equipment.
Step 802, the monitoring device receives response information output by the second function module and state information of the internet of things device, which are sent by the control device.
Step 803, if the monitoring device determines that the second functional module is abnormal based on the response information output by the second functional module, the priority of the second functional module is determined.
And step 804, the monitoring equipment outputs the alarm information in a communication mode corresponding to the priority of the second functional module.
Step 805, the monitoring device stores the response information of the second functional module.
In step 806, the monitoring device displays the response information of the second functional module in response to the query request for the response information of the second functional module.
And 807, if the monitoring equipment determines that the equipment of the internet of things is abnormal based on the state information, determining the priority of the equipment of the internet of things.
And 808, outputting alarm information by the monitoring equipment in a communication mode corresponding to the priority of the Internet of things equipment.
Step 809, the monitoring device stores the status information of the internet of things device.
Step 810, the monitoring device responds to the query request for the state information of the internet of things device, and the state information of the internet of things device is displayed.
For the specific implementation process of steps 801 to 810, reference may be made to steps 301 to 309, and this embodiment of the present application is not described herein again.
It should be noted that the sequence of the steps of the monitoring method for the internet of things provided by the embodiment of the application can be properly adjusted, and the steps can also be deleted according to the situation. For example, steps 807 and 808 described above may be performed before step 301. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
The monitoring plug-in is further configured to perform the steps 701 to 703, and the steps 801 to 810.
To sum up, the embodiment of the present application provides a monitoring method for an internet of things, where after sending a second monitoring request for a second functional module integrated in a control device to a control device, a monitoring device may determine whether the second functional module is abnormal based on response information output by the second functional module, and/or determine whether the internet of things device is abnormal based on state information. Therefore, the control equipment and the Internet of things equipment are monitored, and the operation reliability of the control equipment and the Internet of things equipment in the Internet of things is effectively ensured.
The embodiment of the application provides an internet of things monitoring device, and as shown in fig. 9, the monitoring device 10 includes a processor 101 and a communication module 102.
The communication module 102 is used for establishing a communication connection with a control device.
The processor 101 is configured to:
sending a first monitoring request aiming at a first functional module in the plurality of functional modules to the control equipment, wherein the first monitoring request carries parameter information of a first interface of the first functional module, and the first monitoring request is used for indicating the control equipment to call the first interface based on the parameter information of the first interface so as to operate the first functional module, and feeding back response information output by the first functional module to the monitoring equipment.
And receiving response information output by the first functional module and sent by the control equipment.
Whether the first functional module is abnormal is determined based on the response information output by the first functional module.
To sum up, the embodiment of the present application provides a monitoring method for an internet of things, where after sending a first monitoring request for a first functional module integrated in a control device to a control device, a monitoring device may determine whether the first functional module is abnormal based on response information output by the first functional module sent by the control device. Therefore, the monitoring of the first functional module in the control equipment is realized, and the operation reliability of the control equipment in the Internet of things is effectively ensured.
Optionally, the processor 101 is further configured to:
and if the first functional module is determined to be abnormal based on the response information output by the first functional module, determining the priority of the first functional module.
And outputting the alarm information by adopting a communication mode corresponding to the priority of the first functional module.
Optionally, the response information output by the first functional module includes a status code and/or a response duration; the processor 101 is further configured to:
and if the state code is the abnormal state code, determining that the first functional module is abnormal.
And if the response time length exceeds the time length threshold value, determining that the first functional module is abnormal.
Optionally, the processor 101 is further configured to:
and after receiving the response information output by the first functional module and sent by the control equipment, storing the response information of the first functional module.
And responding to the inquiry request of the response information of the first functional module, and displaying the response information of the first functional module.
Optionally, a monitoring plug-in is integrated in the monitoring device, and the monitoring plug-in is configured to send a first monitoring request, receive response information output by the first function module, and determine whether the first function module is abnormal based on the response information output by the first function module.
Optionally, the processor 101 is further configured to:
and sending a second monitoring request aiming at a second function module in the plurality of function modules to the control equipment, wherein the second monitoring request carries parameter information of a second interface of the second function module and equipment information of the Internet of things equipment, and the second monitoring request is used for indicating the control equipment to call the second interface based on the parameter information of the second interface so as to enable the second function module to simulate interaction with the Internet of things equipment, and feeding back response information output by the second function module and state information of the Internet of things equipment to the monitoring equipment.
And receiving response information output by the second function module and state information of the Internet of things equipment, which are sent by the control equipment.
And determining whether the second functional module is abnormal or not based on the response information output by the second functional module, and/or determining whether the equipment of the Internet of things is abnormal or not based on the state information.
To sum up, the embodiment of the present application provides a monitoring method for an internet of things, where after sending a first monitoring request for a first functional module integrated in a control device to a control device, a monitoring device may determine whether the first functional module is abnormal based on response information output by the first functional module sent by the control device. Therefore, the monitoring of the first functional module in the control equipment is realized, and the operation reliability of the control equipment in the Internet of things is effectively ensured.
The embodiment of the application provides an internet of things monitoring device, and as shown in fig. 9, the monitoring device 10 includes a processor 101 and a communication module 102.
The communication module 102 is used for establishing a communication connection with a control device.
The processor 101 is configured to:
and sending a second monitoring request aiming at a second functional module in the plurality of functional modules to the control equipment, wherein the second monitoring request carries parameter information of a second interface of the second functional module and equipment information of the Internet of things equipment in the plurality of Internet of things equipment, and the second monitoring request is used for indicating the control equipment to call the second interface based on the parameter information of the second interface so as to enable the second functional module to simulate interaction with the Internet of things equipment, and feeding back response information output by the second functional module and state information of the Internet of things equipment to the monitoring equipment.
And receiving response information output by the second function module and state information of the Internet of things equipment, which are sent by the control equipment.
And determining whether the second functional module is abnormal or not based on the response information output by the second functional module, and/or determining whether the equipment of the Internet of things is abnormal or not based on the state information.
To sum up, the embodiment of the present application provides an internet of things monitoring device, where after sending a second monitoring request for a second functional module integrated in a control device to a control device, the monitoring device may determine whether the second functional module is abnormal based on response information output by the second functional module, and/or determine whether the internet of things device is abnormal based on state information. Therefore, the control equipment and the Internet of things equipment are monitored, and the operation reliability of the control equipment and the Internet of things equipment in the Internet of things is effectively ensured.
Optionally, the processor 101 is further configured to:
and if the second functional module is determined to be abnormal based on the response information output by the second functional module, determining the priority of the second functional module.
And outputting the alarm information in a communication mode corresponding to the priority of the second functional module.
Optionally, the response information output by the second functional module includes a status code and/or a response duration; the processor 101 is further configured to:
and if the state code is the abnormal state code, determining that the second functional module is abnormal.
And if the response time length exceeds the time length threshold value, determining that the second functional module is abnormal.
Optionally, the processor 101 is further configured to:
and after receiving the response information output by the second functional module and sent by the control equipment, storing the response information of the second functional module.
And displaying the response information of the second functional module in response to the query request of the response information of the second functional module.
Optionally, the monitoring device is integrated with a monitoring plug-in, where the monitoring plug-in is configured to send a second monitoring request, receive response information output by the second function module, and determine whether the second function module is abnormal based on the response information output by the first function module.
Optionally, the processor 101 is further configured to:
and if the abnormality of the Internet of things equipment is determined based on the state information, determining the priority of the Internet of things equipment.
And outputting alarm information by adopting a communication mode corresponding to the priority of the equipment of the Internet of things.
Optionally, the processor 101 is further configured to:
and storing the state information of the equipment of the Internet of things.
And responding to the query request aiming at the state information of the equipment of the Internet of things, and displaying the state information of the equipment of the Internet of things.
To sum up, the embodiment of the present application provides an internet of things monitoring device, where after sending a second monitoring request for a second functional module integrated in a control device to a control device, the monitoring device may determine whether the second functional module is abnormal based on response information output by the second functional module, and/or determine whether the internet of things device is abnormal based on state information. Therefore, the control equipment and the Internet of things equipment are monitored, and the operation reliability of the control equipment and the Internet of things equipment in the Internet of things is effectively ensured.
An embodiment of the present application provides a computer-readable storage medium having instructions stored therein. When loaded and executed by a processor to implement the above-described method embodiments (e.g., the embodiments shown in fig. 2, 3, 7, or 8).
Embodiments of the present application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the above-described method embodiments (e.g. the embodiments shown in fig. 2, 3, 7 or 8).
The embodiment of the application provides an internet of things, as shown in fig. 1, the internet of things includes a monitoring device 10, an internet of things device 20, and a control device 30, and the control device 30 includes a plurality of functional modules.
The monitoring device 10 comprises an internet of things monitoring device as shown in fig. 1 or fig. 7.
The control device 30 is configured to feed back, to the monitoring device, response information of a first functional module of the plurality of functional modules, response information of a second functional module of the plurality of functional modules, and status information of the internet of things device 20.
In the embodiments of the present application, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The term "at least one" in the embodiments of the present application means one or more. The term "plurality" in the embodiments of the present application means two or more.
It should be understood that reference herein to "and/or" means that there may be three relationships, for example, a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Also, the term "at least one" in the present application means one or more, and the term "a plurality" in the present application means two or more.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. The monitoring method of the Internet of things is characterized by being applied to monitoring equipment in the Internet of things, wherein the Internet of things further comprises Internet of things equipment and control equipment, and the control equipment comprises a plurality of functional modules; the method comprises the following steps:
sending a first monitoring request aiming at a first functional module in the plurality of functional modules to the control device, wherein the first monitoring request carries parameter information of a first interface of the first functional module, and the first monitoring request is used for indicating the control device to call the first interface based on the parameter information of the first interface so as to operate the first functional module, and feeding back response information output by the first functional module to the monitoring device;
receiving response information output by the first functional module and sent by the control equipment;
and determining whether the first functional module is abnormal or not based on the response information output by the first functional module.
2. The method of claim 1, further comprising:
if the first functional module is determined to be abnormal based on the response information output by the first functional module, determining the priority of the first functional module;
and outputting alarm information in a communication mode corresponding to the priority of the first functional module.
3. The method according to claim 1, wherein the response information output by the first functional module includes a status code and/or a response duration; the method further comprises the following steps:
if the state code is an abnormal state code, determining that the first functional module is abnormal;
and if the response time length exceeds a time length threshold value, determining that the first functional module is abnormal.
4. The method of any of claims 1 to 3, further comprising:
after the response information output by the first functional module and sent by the control equipment is received, storing the response information of the first functional module;
and responding to the inquiry request aiming at the response information of the first functional module, and displaying the response information of the first functional module.
5. The method according to any one of claims 1 to 3, wherein a monitoring plug-in is integrated in the monitoring device, and the monitoring plug-in is configured to send the first monitoring request, receive response information output by the first functional module, and determine whether the first functional module is abnormal based on the response information output by the first functional module.
6. The method of any of claims 1 to 3, further comprising:
sending a second monitoring request aiming at a second functional module in the plurality of functional modules to the control device, wherein the second monitoring request carries parameter information of a second interface of the second functional module and device information of the internet of things device, and the second monitoring request is used for indicating the control device to call the second interface based on the parameter information of the second interface so as to enable the second functional module to simulate interaction with the internet of things device, and feeding back response information output by the second functional module and state information of the internet of things device to the monitoring device;
receiving response information output by the second function module and state information of the Internet of things equipment, which are sent by the control equipment;
and determining whether the second functional module is abnormal or not based on the response information output by the second functional module, and/or determining whether the equipment of the Internet of things is abnormal or not based on the state information.
7. The monitoring method of the Internet of things is characterized by being applied to monitoring equipment in the Internet of things, wherein the Internet of things further comprises Internet of things equipment and control equipment, and the control equipment comprises a plurality of functional modules; the method comprises the following steps:
sending a second monitoring request aiming at a second function module in the plurality of function modules to the control device, wherein the second monitoring request carries parameter information of a second interface of the second function module and device information of internet of things devices in the plurality of internet of things devices, and the second monitoring request is used for instructing the control device to call the second interface based on the parameter information of the second interface so as to enable the second function module to simulate interaction with the internet of things devices, and feeding back response information output by the second function module and state information of the internet of things devices to the monitoring device;
receiving response information output by the second function module and state information of the Internet of things equipment, which are sent by the control equipment;
and determining whether the second functional module is abnormal or not based on the response information output by the second functional module, and/or determining whether the equipment of the Internet of things is abnormal or not based on the state information.
8. The monitoring equipment for the Internet of things is characterized by comprising a processor and a communication module; the Internet of things further comprises Internet of things equipment and control equipment, wherein the control equipment comprises a plurality of functional modules;
the communication module is used for establishing communication connection with the control equipment;
the processor is configured to:
sending a first monitoring request aiming at a first functional module in the plurality of functional modules to the control device, wherein the first monitoring request carries parameter information of a first interface of the first functional module, and the first monitoring request is used for indicating the control device to call the first interface based on the parameter information of the first interface so as to operate the first functional module, and feeding back response information output by the first functional module to the monitoring device;
receiving response information output by the first functional module and sent by the control equipment;
and determining whether the first functional module is abnormal or not based on the response information output by the first functional module.
9. The monitoring equipment for the Internet of things is characterized by comprising a processor and a communication module; the Internet of things further comprises Internet of things equipment and control equipment, wherein the control equipment comprises a plurality of functional modules;
the communication module is used for establishing communication connection with the control equipment;
the processor is configured to:
sending a second monitoring request aiming at a second function module in the plurality of function modules to the control device, wherein the second monitoring request carries parameter information of a second interface of the second function module and device information of internet of things devices in the plurality of internet of things devices, and the second monitoring request is used for instructing the control device to call the second interface based on the parameter information of the second interface so as to enable the second function module to simulate interaction with the internet of things devices, and feeding back response information output by the second function module and state information of the internet of things devices to the monitoring device;
receiving response information output by the second function module and state information of the Internet of things equipment, which are sent by the control equipment;
and determining whether the second functional module is abnormal or not based on the response information output by the second functional module, and/or determining whether the equipment of the Internet of things is abnormal or not based on the state information.
10. The Internet of things is characterized by comprising monitoring equipment, Internet of things equipment and control equipment, wherein the control equipment comprises a plurality of functional modules;
the monitoring device comprises an internet of things monitoring device as claimed in claim 8 or 9;
the control device is used for feeding back response information of a first functional module in the plurality of functional modules, response information of a second functional module in the plurality of functional modules and state information of the internet of things device to the monitoring device.
CN202110915608.7A 2021-08-10 2021-08-10 Internet of things monitoring equipment and Internet of things monitoring method Active CN113691593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110915608.7A CN113691593B (en) 2021-08-10 2021-08-10 Internet of things monitoring equipment and Internet of things monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110915608.7A CN113691593B (en) 2021-08-10 2021-08-10 Internet of things monitoring equipment and Internet of things monitoring method

Publications (2)

Publication Number Publication Date
CN113691593A true CN113691593A (en) 2021-11-23
CN113691593B CN113691593B (en) 2023-10-27

Family

ID=78579791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110915608.7A Active CN113691593B (en) 2021-08-10 2021-08-10 Internet of things monitoring equipment and Internet of things monitoring method

Country Status (1)

Country Link
CN (1) CN113691593B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665568B1 (en) * 1999-02-16 2003-12-16 Brandt P. Hott Internet wide distributed data control system
CN102821092A (en) * 2012-07-03 2012-12-12 华为技术有限公司 Internet of Things system and Internet of Things service providing and monitoring method
CN109557885A (en) * 2018-12-19 2019-04-02 深圳市广和通无线股份有限公司 Internet of Things network control system and method
CN110138603A (en) * 2019-04-28 2019-08-16 深兰科技(上海)有限公司 A kind of method and device monitoring internet of things equipment
CN110519387A (en) * 2019-08-30 2019-11-29 广州亓行智能科技有限公司 A kind of management method of Internet of things system and Intelligent terminal for Internet of things
CN111125648A (en) * 2018-11-01 2020-05-08 大唐移动通信设备有限公司 Equipment change method and device
CN111277458A (en) * 2019-10-16 2020-06-12 中国南方电网有限责任公司 Fault monitoring method and device of network equipment, computer equipment and storage medium
CN112822070A (en) * 2020-12-31 2021-05-18 上海磐御网络科技有限公司 Internet of things equipment monitoring method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665568B1 (en) * 1999-02-16 2003-12-16 Brandt P. Hott Internet wide distributed data control system
CN102821092A (en) * 2012-07-03 2012-12-12 华为技术有限公司 Internet of Things system and Internet of Things service providing and monitoring method
CN111125648A (en) * 2018-11-01 2020-05-08 大唐移动通信设备有限公司 Equipment change method and device
CN109557885A (en) * 2018-12-19 2019-04-02 深圳市广和通无线股份有限公司 Internet of Things network control system and method
CN110138603A (en) * 2019-04-28 2019-08-16 深兰科技(上海)有限公司 A kind of method and device monitoring internet of things equipment
CN110519387A (en) * 2019-08-30 2019-11-29 广州亓行智能科技有限公司 A kind of management method of Internet of things system and Intelligent terminal for Internet of things
CN111277458A (en) * 2019-10-16 2020-06-12 中国南方电网有限责任公司 Fault monitoring method and device of network equipment, computer equipment and storage medium
CN112822070A (en) * 2020-12-31 2021-05-18 上海磐御网络科技有限公司 Internet of things equipment monitoring method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
林聪伟;郭晓东;张卫青;李飞;杨俊峰;: "基于自动化生产线的物联网可视化监控***" *
林聪伟;郭晓东;张卫青;李飞;杨俊峰;: "基于自动化生产线的物联网可视化监控***", 重庆理工大学学报(自然科学), no. 04 *

Also Published As

Publication number Publication date
CN113691593B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN106411517B (en) A kind of password remapping method and device
CN106878527B (en) Call control method and device
CN106993043B (en) Data communication system and method based on agency
CN108631955A (en) It is a kind of to ensure that message sends reachable mthods, systems and devices
EP4064618A1 (en) Network configuration terminal, network configuration method for household appliance, and computer-readable storage medium
CN112152825B (en) Multi-stage module upgrading method and device for household appliance and electronic equipment
CN113645314B (en) Private cloud deployment method and server
CN114979989A (en) 5G message drop-back method, system and device
CN112947101A (en) Control method and device of household appliance
CN115951923B (en) Subscription event management method, display system, device and storage medium
CN105959174A (en) Testing method and testing device for intelligent equipment platform
CN113691593B (en) Internet of things monitoring equipment and Internet of things monitoring method
CN113259918A (en) Equipment binding method and system
WO2020114099A1 (en) Device upgrade method, apparatus, and system, storage medium, and terminal
CN111901298A (en) Method and device for determining cloud short message platform during SSLVPN authentication and electronic equipment
CN110995780A (en) API calling method and device, storage medium and electronic equipment
CN116126257A (en) Comprehensive monitoring method, system, equipment and medium of self-service printing terminal
CN109802886A (en) A kind of method, apparatus, air conditioner and storage medium for binding third party's public platform
CN113556391B (en) Page communication method, device, electronic equipment and readable storage medium
CN105446803A (en) Application management method and apparatus
CN105721231A (en) Service quality sensing detection method and service quality sensing detection device
CN110365831B (en) Incoming call response method, device, system, storage medium and electronic device
CN114296359A (en) Device control system, method, apparatus, electronic device, storage medium
CN112835635A (en) Equipment replacement method, device, system, server and storage medium
CN112559289A (en) Monitoring 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
GR01 Patent grant
GR01 Patent grant