Internet of Things supervision system based on agent program and Internet of Things system
By introducing the interaction between agent programs and supervision modules in the Internet of Things system, the problem that the existing technology cannot operate business programs is solved, the control of business programs and gateway programs is realized, and the use scenarios of the Internet of Things system are expanded.
Patent Information
- Application Number
- CN202410998981.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-11-26
AI Technical Summary
Existing IoT regulatory systems are unable to operate on the business program itself, such as on, off and restarting, resulting in limited use.
Adopt an agent-based IoT supervision system, including supervision modules and agents. The agent is used to establish interaction with business programs and gateway programs. The supervision module controls business programs and gateway programs through the agent to realize business in any state. Control of programs and gateway programs.
It realizes control over business programs and gateway programs, reduces the usage restrictions of IoT devices, broadens the usage scenarios of IoT systems, and allows management when business programs are not enabled.
Smart Images

Figure CN119031002A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of Internet of Things, and in particular relates to an Internet of Things supervision system and an Internet of Things system based on an agent program. Background Art
[0002] Most of the existing IoT supervision systems have a certain degree of monitoring of the operating status and related properties of connected services and devices, and can send some simple instructions for services and devices to execute. Since the business programs of the service and the business programs of the IoT devices cannot operate on each other's programs, the premise of sending and executing is that the business programs of the service and the device must support the corresponding functions, and the relevant business programs must be started. If the business program of one of the service and IoT devices is not started, the corresponding instructions cannot be sent and executed.
[0003] In order to solve the above problems, a Chinese invention patent application with application publication number CN115118502A provides a method and system for implementing intranet penetration, which uses a gateway service as a jumper to achieve intranet penetration, does not require the intranet environment to open external network port mapping, has low maintenance costs and high security of the intranet environment. At the same time, the gateway service can automatically scan the intranet IP in the intranet environment, and send the connected intranet IP to the central service, and the central service stores all connected intranet IPs. The external network can obtain all accessible intranet IPs in the intranet environment by connecting to the central service. Intranet penetration is achieved, solving the technical problem that services and device supervision cannot access the intranet of the corresponding business program and thus cannot obtain the operating environment of the business program, but still cannot perform various operations on the business program itself, such as opening, closing and restarting, etc.; thus bringing many inconveniences, such as still needing to be used on the premise that the business programs of both the server and the physical network device are started. Summary of the invention
[0004] The purpose of the present invention is to provide an Internet of Things supervision system and an Internet of Things system based on an agent program, so as to solve the technical problem of limited use of the Internet of Things system.
[0005] In order to solve the above technical problems, the present invention provides an Internet of Things supervision system based on an agent program, including a supervision module and an agent program, wherein the agent program is used to establish interaction between the supervision module and a corresponding business program and / or a gateway program of an access gateway for connecting non-directly connected Internet of Things devices, wherein the business program includes at least one of a business program installed on a server, a business program installed on a directly connected Internet of Things device, and a business program installed on a non-directly connected Internet of Things device, and the supervision module is used to manage and control the corresponding program through the agent program.
[0006] Further, the method for controlling the business program of the directly connected IoT device includes: the agent program of the directly connected IoT device obtains the operating environment information of the business program of the directly connected IoT device, and reports the obtained information to the supervision module;
[0007] The method for controlling the business program of the server includes: the agent program of the server obtains the operating environment information of the business program of the server, and reports the obtained information to the supervision module;
[0008] The method for managing and controlling a gateway program of an access gateway and a business program of a non-directly connected Internet of Things device connected to the access gateway includes: the proxy program of the access gateway directly obtains the operating environment information of the gateway program, and also obtains the operating environment information of the business program of the non-directly connected Internet of Things device through the gateway program, and reports the obtained information to a supervision module.
[0009] Further, the method for controlling the business program of the directly connected IoT device includes: the agent program of the directly connected IoT device monitors the running status of the business program of the directly connected IoT device and reports to the supervision module when the status is abnormal;
[0010] The method for controlling the business program of the server includes: the agent program of the server monitors the running status of the business program on the server and reports to the supervision module when the status is abnormal;
[0011] The method for managing and controlling a gateway program of an access gateway and a business program of a non-directly connected Internet of Things device connected to the access gateway includes: the agent program of the access gateway directly monitors the running status of the gateway program of the gateway, and also monitors the running status of the business program of the non-directly connected Internet of Things device through the gateway program, and reports to the supervision module when the running status of the gateway program is abnormal or the status of the business program of the non-directly connected Internet of Things device is abnormal.
[0012] Further, the method for controlling the business program of the directly connected Internet of Things device includes: the supervision module sends a control instruction to the business program of the directly connected Internet of Things device through the agent program of the directly connected Internet of Things device;
[0013] The method for controlling the business program of the server includes: the supervision module sends a control instruction to the business program of the server through the agent program of the server;
[0014] The method for controlling a gateway program of an access gateway and a business program of an indirect-connected IoT device connected to the access gateway comprises: a supervision module sends a control instruction to the gateway program through an agent program of the access gateway, and also sends a control instruction to the business program of the indirect-connected IoT device through the agent program of the access gateway and the gateway program in turn;
[0015] The control instructions include start instructions, restart instructions, stop instructions and upgrade instructions.
[0016] Further, the server, the directly connected IoT device, and the proxy program for accessing the gateway each include an access interface;
[0017] The supervision module controls the business programs of the server through the access interface of the server's agent program, controls the business programs of directly connected IoT devices through the access interface of the agent program of directly connected IoT devices, and controls the gateway program of the access gateway and the business programs of non-directly connected IoT devices through the access interface of the agent program of the access gateway.
[0018] Furthermore, the supervision module is also used to manage and control the agent program; the content of the supervision module's management and control of the agent program includes: managing the access address, port, communication method, identification information and operating system information of the agent program.
[0019] Furthermore, the supervision module is also used to maintain the deployment method and program identification of the business program, and supervise the business programs of the server, the business programs of the directly connected IoT devices, the gateway programs and the business programs of the non-directly connected IoT devices according to the deployment method and program identification, and the program identification is used to determine the corresponding business program.
[0020] The present invention is an improved invention, and its beneficial effects are as follows: the Internet of Things supervision system based on the agent program of the present invention includes a supervision module and an agent program, the agent program is used to establish interaction with the business program and / or the gateway program, the business program includes at least one of the business program installed on the server, the business program installed on the directly connected Internet of Things device and the business program installed on the non-directly connected Internet of Things device, the supervision module manages and controls the corresponding program through the agent program, realizes the control of the business program and the gateway program, the supervision module can control the business program and the gateway program in any state through the agent program, reduces the use restrictions of the Internet of Things devices, and broadens the use scenarios of the Internet of Things system.
[0021] In order to solve the technical problem of limited use of the Internet of Things system, the present invention provides an Internet of Things system based on an agent program, including an Internet of Things platform and a server, the Internet of Things platform including a supervision module; the Internet of Things system also includes an agent program, the agent program is used to establish interaction between the supervision module and corresponding business programs and / or gateway programs of access gateways for connecting non-directly connected Internet of Things devices, the business programs include at least one of business programs installed on a server, business programs installed on a directly connected Internet of Things device, and business programs installed on a non-directly connected Internet of Things device, and the supervision module is used to manage and control the corresponding programs through the agent program.
[0022] Further, the method for controlling the business program of the directly connected IoT device includes: the agent program of the directly connected IoT device obtains the operating environment information of the business program of the directly connected IoT device, and reports the obtained information to the supervision module;
[0023] The method for controlling the business program of the server includes: the agent program of the server obtains the operating environment information of the business program of the server, and reports the obtained information to the supervision module;
[0024] The method for managing and controlling a gateway program of an access gateway and a business program of a non-directly connected Internet of Things device connected to the access gateway includes: the proxy program of the access gateway directly obtains the operating environment information of the gateway program, and also obtains the operating environment information of the business program of the non-directly connected Internet of Things device through the gateway program, and reports the obtained information to a supervision module.
[0025] Further, the method for controlling the business program of the directly connected Internet of Things device includes: the supervision module sends a control instruction to the business program of the directly connected Internet of Things device through the agent program of the directly connected Internet of Things device;
[0026] The method for controlling the business program of the server includes: the supervision module sends a control instruction to the business program of the server through the agent program of the server;
[0027] The method for controlling a gateway program of an access gateway and a business program of an indirect-connected IoT device connected to the access gateway comprises: a supervision module sends a control instruction to the gateway program through an agent program of the access gateway, and also sends a control instruction to the business program of the indirect-connected IoT device through the agent program of the access gateway and the gateway program in turn;
[0028] The control instructions include start instructions, restart instructions, stop instructions and upgrade instructions. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a structural diagram of an Internet of Things monitoring system based on an agent program according to a system embodiment of the present invention. DETAILED DESCRIPTION
[0030] The present invention discloses an Internet of Things supervision system based on an agent program and an Internet of Things system. The Internet of Things supervision system based on an agent program comprises a supervision module and an agent program. The agent program is used to establish interaction with a business program and / or a gateway program. The business program comprises at least one of a business program installed on a server, a business program installed on a directly connected Internet of Things device, and a business program installed on a non-directly connected Internet of Things device. The supervision module manages and controls the corresponding program through the agent program, thereby realizing control over the business program and the gateway program. The supervision module can control the business program and the gateway program in any state through the agent program, thereby reducing the use restrictions of the Internet of Things devices and broadening the use scenarios of the Internet of Things system.
[0031] IoT system implementation example:
[0032] like Figure 1 As shown, the Internet of Things system based on the proxy program of the present invention includes an Internet of Things platform, a server and directly connected Internet of Things devices. Directly connected Internet of Things devices include consumer devices, access control devices, attendance devices, welcome devices, visitor devices and vehicle-mounted devices. These devices are directly connected to the Internet of Things platform, so they are called directly connected Internet of Things devices; each Internet of Things device includes a proxy program and corresponding business programs - consumer programs, access control programs, attendance programs, welcome programs, visitor programs and vehicle-mounted programs. Various business programs are stored in the server, and each Internet of Things device can find its corresponding business program in it, and each server includes an proxy program.
[0033] In addition, the proxy-based IoT system of the present invention further includes an access gateway for connecting to non-directly connected IoT devices, so that the non-directly connected IoT devices can be connected to the IoT platform through the access gateway. The access gateway includes an agent program and a gateway program, and the gateway program is used to connect to the non-directly connected IoT devices.
[0034] The Internet of Things platform includes a supervision module, which is used to manage and control the business programs of the server through the server's agent program, to manage and control the business programs of the directly connected Internet of Things devices through the agent program of the directly connected Internet of Things devices, and to manage and control the gateway program of the access gateway and the business programs of the non-directly connected Internet of Things devices connected to the access gateway through the agent program of the access gateway.
[0035] In this embodiment, for ease of explanation and understanding, the Internet of Things system includes both a directly connected Internet of Things device and an access gateway for connecting non-directly connected Internet of Things devices. As other implementations, it may also include only one of the directly connected Internet of Things device and the access gateway.
[0036] In this embodiment, consumer devices, access control devices, attendance devices, welcome devices, visitor devices and vehicle-mounted devices are used for illustration. In actual use, the number and types of directly connected IoT devices can be set according to actual needs. The server only needs to include the business programs corresponding to all IoT devices. There is no limit on the number of servers and the number of business programs in each server.
[0037] The agent program in this embodiment is an Agent agent program. The agent program of the server manages and controls the business program of the server, the agent program of the directly connected IoT device manages and controls the business program of the directly connected IoT device, and the agent program of the access gateway manages and controls the gateway program of the gateway and the business program of the non-directly connected IoT device connected to the access gateway. The supervision module establishes a secure channel with the corresponding IoT device or server operating environment through the Agent agent program. The Agent agent program can respond to various instructions of the supervision module on behalf of the business program and the gateway program, and can also control the business program and the gateway program according to the instructions.
[0038] The supervision module manages and maintains the deployment methods of business programs (such as Windows programs, Linux programs, Docker containers, Rancher deployment, K8S deployment, Android programs, etc.), and provides corresponding installation packages for different business programs and gateway programs according to different deployment methods. Different installation packages of the same program are different to achieve different deployment methods, but the functions are the same, and provide business program identifiers (such as Windows / Linux program names, container names or identifiers, etc.), each identifier determines a corresponding program. Agent programs can identify business programs and gateway programs based on these identifiers, and supervise and control related business programs and gateway programs.
[0039] The supervision module can send control instructions to the business program and gateway program through the Agent program, including but not limited to start instructions, stop instructions, restart instructions and upgrade instructions.
[0040] The supervision module includes an agent management module, which is used to manage agent programs and maintain agent relationships, manage agent program information such as access address, port, communication method, identification information, etc., identify the type of information received and the recipient based on the agent program information, and send the information to the corresponding recipient.
[0041] The supervision module can remotely upgrade and maintain the business program and gateway program through the Agent program. The specific steps are as follows: ① Determine whether there is an upgrade task for the current business program / business program on the supervision module; ② If so, download the relevant upgrade package; ③ The agent program executes the upgrade-related operations.
[0042] The supervision module can use the Agent program to perform integrated management, control, and operation and maintenance of services, devices, and their operating environments. The specific steps are: the supervision module sends commands to the agent program, and the agent program starts and stops services and business programs based on relevant instruction parameters.
[0043] The Agent program in this embodiment can be deployed on a variety of operating systems (Linux, Windows, Mac, Android, IOS, etc.). Therefore, the Agent program can help the supervision module to achieve cross-operating system operations.
[0044] The network where the services / devices accessing the Internet of Things and the supervision module are located may also be isolated (access to the Internet of Things business is only achieved through open ports), resulting in the supervision module being unable to accurately obtain the operating environment of the service / device (such as resource usage, etc.) and perform related operations on the business program / business program itself.
[0045] In order to solve the network isolation problem, the Agent program in this embodiment includes a public access interface. The supervision module enters the intranet of the server or IoT device through the access interface of the agent program, and can access the access interface to obtain information from it to achieve intranet penetration. The agent program of the directly connected IoT device obtains the operating environment information of the business program of the directly connected IoT device through its access interface; the agent program of the server obtains the operating environment information of the business program of the server through its access interface; the agent program of the access gateway obtains the operating environment information of the business program of the non-directly connected IoT device through its access interface.
[0046] The Agent program can obtain the operating environment information (operating system, memory, CPU, hard disk, etc.) of the business program on the host and store it (regularly update the stored operating environment information). The Agent program can actively report the stored operating environment information to the supervision module, and can also respond to the current operating environment information when the supervision module initiates the acquisition command.
[0047] The supervision module can also remotely upgrade and maintain services and equipment through the Agent program, and perform integrated management, control, and operation and maintenance of services, equipment, and their operating environment through the Agent program.
[0048] The supervision module also includes a display module, which is used to display information such as the status of the agent program and the status information of the business program and the gateway program, and the operating environment information.
[0049] Through the above-mentioned supervision module and Agent program, the agent-based Internet of Things supervision system of the present invention realizes the monitoring of business-related businesses and the management of the business programs themselves, and increases the use scenarios of the Internet of Things supervision system. For example, when the business programs and gateway programs are not enabled, the agent program management module of the supervision module and the Agent program can send enable instructions to the corresponding business programs and gateway programs, thereby realizing the operation of the Internet of Things supervision system.
[0050] IoT supervision system implementation example:
[0051] The Internet of Things supervision system based on the proxy program of the present invention includes a supervision module and an agent program, wherein the agent program is used to establish the interaction between the supervision module and the corresponding business program and / or the gateway program of the access gateway for connecting the non-directly connected Internet of Things device, wherein the business program includes at least one of the business program installed on the server, the business program installed on the directly connected Internet of Things device, and the business program installed on the non-directly connected Internet of Things device, and the supervision module is used to control the corresponding program through the agent program. All contents, functions, principles, and beneficial effects included in the supervision system have been introduced in detail in the Internet of Things system embodiment, and will not be repeated in this embodiment.
Claims
1. An Internet of Things supervision system based on an agent program, characterized in that: It includes a supervision module and an agent program, wherein the agent program is used to establish interaction between the supervision module and a corresponding business program and / or a gateway program of an access gateway for connecting a non-directly connected Internet of Things device, wherein the business program includes at least one of a business program installed on a server, a business program installed on a directly connected Internet of Things device, and a business program installed on a non-directly connected Internet of Things device, and the supervision module is used to manage and control the corresponding program through the agent program.
2. The agent-based Internet of Things monitoring system according to claim 1 is characterized in that: The method for controlling the business program of the directly connected Internet of Things device includes: the agent program of the directly connected Internet of Things device obtains the operating environment information of the business program of the directly connected Internet of Things device, and reports the obtained information to the supervision module; The method for controlling the business program of the server includes: the agent program of the server obtains the operating environment information of the business program of the server, and reports the obtained information to the supervision module; The method for managing and controlling a gateway program of an access gateway and a business program of a non-directly connected Internet of Things device connected to the access gateway includes: the proxy program of the access gateway directly obtains the operating environment information of the gateway program, and also obtains the operating environment information of the business program of the non-directly connected Internet of Things device through the gateway program, and reports the obtained information to a supervision module.
3. The agent-based Internet of Things monitoring system according to claim 1, characterized in that: The method for controlling the business program of the directly connected IoT device includes: the agent program of the directly connected IoT device monitors the running status of the business program of the directly connected IoT device and reports to the supervision module when the status is abnormal; The method for controlling the business program of the server includes: the agent program of the server monitors the running status of the business program on the server and reports to the supervision module when the status is abnormal; The method for managing and controlling a gateway program of an access gateway and a business program of a non-directly connected Internet of Things device connected to the access gateway includes: the agent program of the access gateway directly monitors the running status of the gateway program of the gateway, and also monitors the running status of the business program of the non-directly connected Internet of Things device through the gateway program, and reports to the supervision module when the running status of the gateway program is abnormal or the status of the business program of the non-directly connected Internet of Things device is abnormal.
4. The agent-based Internet of Things monitoring system according to claim 1, characterized in that: The method for controlling the business program of the directly connected Internet of Things device includes: a supervision module sends a control instruction to the business program of the directly connected Internet of Things device through an agent program of the directly connected Internet of Things device; The method for controlling the business program of the server includes: the supervision module sends a control instruction to the business program of the server through the agent program of the server; The method for controlling a gateway program of an access gateway and a business program of an indirect-connected IoT device connected to the access gateway comprises: a supervision module sends a control instruction to the gateway program through an agent program of the access gateway, and also sends a control instruction to the business program of the indirect-connected IoT device through the agent program of the access gateway and the gateway program in turn; The control instructions include start instructions, restart instructions, stop instructions and upgrade instructions.
5. The agent-based Internet of Things supervision system according to any one of claims 1 to 4, characterized in that: The server, the directly connected IoT device, and the proxy program for the access gateway all include an access interface; The supervision module controls the business programs of the server through the access interface of the server's agent program, controls the business programs of directly connected IoT devices through the access interface of the agent program of directly connected IoT devices, and controls the gateway program of the access gateway and the business programs of non-directly connected IoT devices through the access interface of the agent program of the access gateway.
6. The agent-based Internet of Things supervision system according to any one of claims 1 to 4, characterized in that: The supervision module is also used to manage and control the agent program; the content of the supervision module's management and control of the agent program includes: managing the agent program's access address, port, communication method, identification information and operating system information.
7. The agent-based Internet of Things supervision system according to any one of claims 1 to 4, characterized in that: The supervision module is also used to maintain the deployment method and program identification of the business program, and supervise the business programs of the server, the business programs of the directly connected Internet of Things devices, the gateway programs and the business programs of the non-directly connected Internet of Things devices according to the deployment method and program identification. The program identification is used to determine the corresponding business program.
8. An Internet of Things system based on an agent program, comprising an Internet of Things platform and a server, characterized in that: The Internet of Things platform includes a supervision module; the Internet of Things system also includes an agent program, which is used to establish interaction between the supervision module and corresponding business programs and / or gateway programs of access gateways used to connect non-directly connected Internet of Things devices, wherein the business programs include at least one of business programs installed on a server, business programs installed on a directly connected Internet of Things device, and business programs installed on a non-directly connected Internet of Things device, and the supervision module is used to manage and control the corresponding programs through the agent program.
9. The agent-based Internet of Things system according to claim 8, characterized in that: The method for controlling the business program of the directly connected Internet of Things device includes: the agent program of the directly connected Internet of Things device obtains the operating environment information of the business program of the directly connected Internet of Things device, and reports the obtained information to the supervision module; The method for controlling the business program of the server includes: the agent program of the server obtains the operating environment information of the business program of the server, and reports the obtained information to the supervision module; The method for managing and controlling a gateway program of an access gateway and a business program of a non-directly connected Internet of Things device connected to the access gateway includes: the proxy program of the access gateway directly obtains the operating environment information of the gateway program, and also obtains the operating environment information of the business program of the non-directly connected Internet of Things device through the gateway program, and reports the obtained information to a supervision module.
10. The agent-based Internet of Things system according to claim 8, characterized in that: The method for controlling the business program of the directly connected Internet of Things device includes: a supervision module sends a control instruction to the business program of the directly connected Internet of Things device through an agent program of the directly connected Internet of Things device; The method for controlling the business program of the server includes: the supervision module sends a control instruction to the business program of the server through the agent program of the server; The method for controlling a gateway program of an access gateway and a business program of an indirect-connected IoT device connected to the access gateway comprises: a supervision module sends a control instruction to the gateway program through an agent program of the access gateway, and also sends a control instruction to the business program of the indirect-connected IoT device through the agent program of the access gateway and the gateway program in turn; The control instructions include start instructions, restart instructions, stop instructions and upgrade instructions.
