Remote operation and maintenance method and device, electronic device and storage medium
By deploying a softEther client in IoT gateway devices, which supports multiple VPN protocols, flexible connection and efficient operation and maintenance between IoT gateway devices and preset servers are achieved, solving the problems of cumbersome and slow operation and maintenance in existing technologies.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-28
- Publication Date
- 2026-03-31
AI Technical Summary
The existing remote operation and maintenance methods for IoT gateway devices have low product flexibility, are cumbersome and slow, and are especially difficult for non-professionals to operate.
The softEther client is pre-deployed in the IoT gateway device, which supports multiple VPN protocols. By receiving configuration parameters and control command parameters in the operation and maintenance request, the client is controlled to start and establish a connection with the preset server to perform operation and maintenance operations.
It improves the product flexibility of IoT gateway devices, simplifies operation and maintenance, speeds up operation and maintenance, and reduces operational complexity.
Smart Images

Figure CN115914281B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet of Things (IoT) technology, and more specifically, to a remote operation and maintenance method and apparatus, electronic device and storage medium. Background Technology
[0002] IoT gateway devices serve as intermediaries between the sensor network layer and the transmission network layer, and are crucial components of the IoT ecosystem. Through the conversion and access provided by these gateways, various external sensor data can be collected and processed, and then transmitted to the internet via various network interfaces. Furthermore, IoT gateways need to possess device management capabilities, allowing operators to manage the underlying sensing nodes, understand their relevant information, and achieve remote control.
[0003] In related technologies, remote operation and maintenance of IoT gateway devices is often achieved using OpenVPN (a single-protocol VPN technology) or other single-protocol VPN technologies. These VPN technologies only support a single protocol, requiring one-to-one development, resulting in low product flexibility. Furthermore, the installation of these VPN technologies is complex and inconvenient. In addition, multiple management platforms (such as VPN management platforms and other management platforms) are needed to achieve remote operation and maintenance, making the process cumbersome and the browsing speed slow. This presents certain difficulties for non-professionals.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This invention provides a remote operation and maintenance method, apparatus, electronic device, and storage medium to at least solve the technical problems of low product flexibility, cumbersome operation, and slow speed in remote operation and maintenance in related technologies.
[0006] According to one aspect of the present invention, a remote operation and maintenance method is provided, comprising: receiving an operation and maintenance request sent by a preset operation station, wherein the operation and maintenance request includes at least: configuration parameters and control command parameters; controlling an Internet of Things (IoT) gateway device to open a preset client based on the control command parameters, wherein the IoT gateway device has the preset client pre-deployed; when the preset client is open, establishing a first connection between the IoT gateway device and a preset server based on the configuration parameters, wherein the preset server has a preset server pre-deployed, and establishing a connection relationship with the preset server through the preset client; and performing operation and maintenance operations on the IoT gateway device based on the first connection.
[0007] Optionally, before receiving the maintenance request, the method further includes: controlling the IoT cloud platform to monitor the heartbeat information reported by the IoT gateway device, wherein the heartbeat information includes at least: an IoT gateway device identifier; and, if the IoT cloud platform detects the heartbeat information, controlling the IoT cloud platform to establish a second connection with the IoT gateway device indicated by the IoT gateway device identifier based on the heartbeat information.
[0008] Optionally, before receiving the maintenance request, the method further includes: controlling the preset operator station to respond to the parameter input request to obtain the configuration parameters and the control command parameters; and controlling the preset operator station to generate the maintenance request based on the configuration parameters and the control command parameters.
[0009] Optionally, the step of establishing a first connection between the IoT gateway device and a preset server based on the configuration parameters includes: controlling the preset server to listen for connection requests, wherein the connection request is a connection request sent by the preset client to the preset server, and the connection request includes at least: a preset client identifier carried by the configuration parameters; when the preset server listens for the connection request, controlling the preset server to determine whether the preset client identifier is consistent with a locally stored client identifier; and when the preset client identifier is consistent with the locally stored client identifier, controlling the preset server to establish the first connection with the IoT gateway device.
[0010] Optionally, before controlling the preset server to establish the first connection with the IoT gateway device, the method further includes: verifying whether the account information carried in the connection request is correct; if the verification is successful, controlling the preset server to establish the first connection with the IoT gateway device.
[0011] Optionally, the step of performing operation and maintenance on the IoT gateway device based on the first connection includes: controlling the preset operation station to establish a virtual network connection with the preset server; and controlling the preset operation station to perform operation and maintenance on the IoT gateway device based on the virtual network connection and the first connection.
[0012] Optionally, after performing maintenance operations on the IoT gateway device based on the first connection, the method further includes: controlling the IoT gateway device to collect device data generated by each industrial device, wherein the IoT gateway device and each industrial device have a pre-established connection relationship; processing the device data based on maintenance configuration information generated by the maintenance operations; determining the platform communication protocol of a preset cloud platform and controlling the IoT gateway device to convert the current communication protocol into the platform communication protocol; and forwarding the processed device data to the preset cloud platform based on the platform communication protocol.
[0013] According to another aspect of the present invention, a remote operation and maintenance device is also provided, comprising: a receiving unit, configured to receive an operation and maintenance request sent by a preset operation station, wherein the operation and maintenance request includes at least: configuration parameters and control command parameters; an activation unit, configured to control an IoT gateway device to activate a preset client based on the control command parameters, wherein the IoT gateway device has the preset client pre-deployed; an establishment unit, configured to establish a first connection between the IoT gateway device and a preset server based on the configuration parameters when the preset client is activated, wherein the preset server has a preset server pre-deployed, and a connection relationship is established between the preset client and the preset server; and an operation and maintenance unit, configured to perform operation and maintenance operations on the IoT gateway device based on the first connection.
[0014] Optionally, the operation and maintenance device further includes: a first monitoring module, configured to control the IoT cloud platform to monitor the heartbeat information reported by the IoT gateway device before receiving an operation and maintenance request, wherein the heartbeat information includes at least: an IoT gateway device identifier; and a first establishment module, configured to, when the IoT cloud platform detects the heartbeat information, control the IoT cloud platform to establish a second connection with the IoT gateway device indicated by the IoT gateway device identifier based on the heartbeat information.
[0015] Optionally, the operation and maintenance device further includes: a first response module, configured to control the preset operation station to respond to a parameter input request before receiving the operation and maintenance request, and obtain the configuration parameters and the control command parameters; and a first generation module, configured to control the preset operation station to generate the operation and maintenance request based on the configuration parameters and the control command parameters.
[0016] Optionally, the establishment unit includes: a first listening module, configured to control the preset server to listen for connection requests, wherein the connection request is a connection request sent by the preset client to the preset server, and the connection request includes at least: a preset client identifier carried by the configuration parameters; a first judging module, configured to control the preset server to judge whether the preset client identifier is consistent with a locally stored client identifier when the preset server listens for the connection request; and a second establishment module, configured to control the preset server to establish the first connection with the IoT gateway device when the preset client identifier is consistent with the locally stored client identifier.
[0017] Optionally, the operation and maintenance device further includes: a first verification module, used to verify whether the account information carried in the connection request is correct before controlling the preset server to establish the first connection with the IoT gateway device; and a third establishment module, used to control the preset server to establish the first connection with the IoT gateway device if the verification is successful.
[0018] Optionally, the operation and maintenance unit includes: a fourth establishment module, used to control the preset operation station to establish a virtual network connection with the preset server; and a first operation and maintenance module, used to control the preset operation station to perform operation and maintenance operations on the IoT gateway device based on the virtual network connection and the first connection.
[0019] Optionally, the operation and maintenance device further includes: a first acquisition module, used to control the IoT gateway device to collect device data generated by each industrial device after performing operation and maintenance operations on the IoT gateway device based on the first connection, wherein the IoT gateway device and each industrial device have a pre-established connection relationship; a first processing module, used to process the device data based on operation and maintenance configuration information generated by the operation and maintenance operations; a first conversion module, used to determine the platform communication protocol of the preset cloud platform and control the IoT gateway device to convert the current communication protocol into the platform communication protocol; and a first forwarding module, used to forward the processed device data to the preset cloud platform based on the platform communication protocol.
[0020] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein the computer program controls the device where the computer-readable storage medium is located to perform the above-described remote operation and maintenance method when it is executed.
[0021] According to another aspect of the present invention, an electronic device is also provided, including one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the above-described remote operation and maintenance method.
[0022] In this disclosure, a maintenance request sent by a preset operation station is received. Based on control command parameters, the IoT gateway device is controlled to open a preset client. With the preset client open, a first connection is established between the IoT gateway device and a preset server based on configuration parameters. Maintenance operations are then performed on the IoT gateway device through this first connection. In this disclosure, a preset client is pre-deployed in the IoT gateway device. The preset client can be controlled to open the IoT gateway device according to the control command parameters carried in the maintenance request. Then, a first connection is established between the IoT gateway device and the preset server based on the configuration parameters. Maintenance operations are then performed on the IoT gateway device through this first connection. This preset client supports multiple VPN protocols, effectively improving product flexibility, reducing the complexity of maintenance operations, and increasing the speed of maintenance. This solves the technical problems of low product flexibility and cumbersome and slow maintenance operations in related technologies. Attached Figure Description
[0023] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0024] Figure 1 This is a flowchart of an optional remote operation and maintenance method according to an embodiment of the present invention;
[0025] Figure 2 This is a schematic diagram of the connection lines between modules in an optional remote operation and maintenance system according to an embodiment of the present invention;
[0026] Figure 3 This is a schematic diagram of an optional operation and maintenance process according to an embodiment of the present invention;
[0027] Figure 4 This is a schematic diagram of an optional remote operation and maintenance device according to an embodiment of the present invention;
[0028] Figure 5 This is a hardware structure block diagram of an electronic device (or mobile device) for a remote operation and maintenance method according to an embodiment of the present invention. Detailed Implementation
[0029] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0031] To facilitate understanding of the present invention by those skilled in the art, some terms or nouns involved in the various embodiments of the present invention are explained below:
[0032] VPN, short for Virtual Private Network, is a type of virtual private network.
[0033] SoftEther is a virtualization tool that can virtualize hub and network card functions to achieve VPN functionality.
[0034] It should be noted that all information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are information and data authorized by the user or fully authorized by all parties. For example, this system has an interface with relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain the relevant information after receiving consent from the aforementioned user or organization.
[0035] The IoT gateway device in this invention is pre-deployed with a preset client (i.e., a softEther client), which supports softEther and enables remote operation and maintenance. Furthermore, the IoT gateway device can communicate with the IoT cloud platform to enable the softEther client through configuration information sent by the IoT cloud platform.
[0036] The softEther protocol in this invention not only supports protocols such as SSL (Secure Sockets Layer), L2TP (Layer 2 Tunneling Protocol), IPSec (Internet Protocol Security), OpenVPN (a protocol offering good performance and a user-friendly interface), and Microsoft SSTP (Secure Sockets Tunneling Protocol), but also features simple installation, ease of use, and user customization. Furthermore, softEther offers a faster and better browsing experience than single-protocol VPN technologies like OpenVPN. softEther can be used on general-purpose computer operating systems like Windows or Linux, as well as embedded Linux systems. This invention also utilizes softEther in IoT gateway products based on embedded Linux systems.
[0037] The present invention will now be described in detail with reference to various embodiments.
[0038] Example 1
[0039] According to an embodiment of the present invention, an embodiment of a remote operation and maintenance method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0040] Figure 1 This is a flowchart of an optional remote operation and maintenance method according to an embodiment of the present invention, such as... Figure 1 As shown, the method includes the following steps:
[0041] Step S101: Receive an operation and maintenance request sent by a preset operation station, wherein the operation and maintenance request includes at least: configuration parameters and control command parameters.
[0042] Step S102: Based on the control command parameters, control the IoT gateway device to open the preset client, wherein the IoT gateway device has a preset client pre-deployed.
[0043] Step S103: With the preset client enabled, establish the first connection between the IoT gateway device and the preset server based on the configuration parameters. The preset server has a preset server pre-deployed, and the connection relationship between the preset client and the preset server is established.
[0044] Step S104: Based on the first connection, perform operation and maintenance on the IoT gateway device.
[0045] Through the above steps, a maintenance request sent by a preset operation station can be received. Based on control command parameters, the IoT gateway device can be controlled to open a preset client. With the preset client open, a first connection is established between the IoT gateway device and a preset server based on configuration parameters. Maintenance operations are then performed on the IoT gateway device based on this first connection. In this embodiment of the invention, a preset client is pre-deployed in the IoT gateway device. The preset client can be controlled to open the IoT gateway device according to the control command parameters carried in the maintenance request. Then, a first connection can be established between the IoT gateway device and the preset server based on configuration parameters. Maintenance operations are then performed on the IoT gateway device through this first connection. This preset client supports multiple VPN protocols, effectively improving product flexibility, reducing the complexity of maintenance operations, and increasing the speed of maintenance. This solves the technical problems of low product flexibility and cumbersome and slow maintenance operations in related technologies.
[0046] The embodiments of the present invention will now be described in detail with reference to the steps described above.
[0047] Figure 2 This is a schematic diagram of the connection lines between modules in an optional remote operation and maintenance system according to an embodiment of the present invention, such as... Figure 2 As shown, each module includes: an IoT cloud platform, a preset server, an IoT gateway device, a preset operator station, and various industrial equipment. The IoT cloud platform is connected to the preset server via the Internet, and the preset server deploys a softEther server. The IoT cloud platform is connected to the IoT gateway device via the Internet or a 4G / 5G network, and the IoT gateway device deploys a softEther client. The IoT cloud platform is connected to the preset operator station via the Internet. The preset server and the IoT gateway device are connected via a VPN. The preset server and the preset operator station are connected via a VPN. The IoT gateway device is connected to various industrial equipment via serial or network cables. These industrial devices can be electricity meters, water meters, rain gauges, photovoltaic inverters, PLCs (Programmable Logic Controllers), electrical appliances, etc.
[0048] Optionally, before receiving the maintenance request, the system further includes: controlling the IoT cloud platform to monitor the heartbeat information reported by the IoT gateway device, wherein the heartbeat information includes at least: the IoT gateway device identifier; and, if the IoT cloud platform detects the heartbeat information, controlling the IoT cloud platform to establish a second connection with the IoT gateway device indicated by the IoT gateway device identifier based on the heartbeat information.
[0049] In this embodiment of the invention, remote maintenance personnel can operate the IoT cloud platform via the Internet. The IoT cloud platform can monitor the heartbeat information reported by the IoT gateway device in real time (the heartbeat information includes: IoT gateway device identifier, and the IoT gateway device can report the heartbeat information to the IoT cloud platform via the Internet or 4G / 5G network). When the heartbeat information is detected, it indicates that the IoT gateway device is online, and a connection is established (that is, when the IoT cloud platform detects the heartbeat information, based on the heartbeat information, it controls the IoT cloud platform to establish a second connection with the IoT gateway device indicated by the IoT gateway device identifier).
[0050] Optionally, before receiving the maintenance request, the method further includes: controlling the preset operator station to respond to the parameter input request, obtaining configuration parameters and control command parameters; and controlling the preset operator station to generate a maintenance request based on the configuration parameters and control command parameters.
[0051] In this embodiment of the invention, remote operation and maintenance personnel can input operation and maintenance parameters (i.e., parameter input requests, including configuration parameters and control command parameters) through a preset operation station (i.e., remote operation and maintenance personnel operation station). Then, they can control the preset operation station to respond to the parameter input requests to obtain the configuration parameters and control command parameters. After that, they can control the preset operation station to generate an operation and maintenance request based on the configuration parameters and control command parameters.
[0052] Step S101: Receive an operation and maintenance request sent by a preset operation station. The operation and maintenance request includes at least: configuration parameters and control command parameters.
[0053] In this embodiment of the invention, a maintenance request sent by a preset operation station can be received first. The maintenance request includes at least configuration parameters and control command parameters. Then, a connection between the IoT gateway device and the preset server (i.e., VPN server) can be established based on the configuration parameters and control command parameters.
[0054] Step S102: Based on the control command parameters, control the IoT gateway device to open the preset client, wherein the IoT gateway device has a preset client pre-deployed.
[0055] In this embodiment of the invention, the IoT gateway device can be controlled to open a pre-deployed preset client (i.e., a softEther client) according to the control command parameters.
[0056] Step S103: With the preset client enabled, establish the first connection between the IoT gateway device and the preset server based on the configuration parameters. The preset server has a preset server pre-deployed, and the connection relationship between the preset client and the preset server is established.
[0057] Optionally, the step of establishing a first connection between the IoT gateway device and the preset server based on configuration parameters includes: controlling the preset server to listen for connection requests, wherein the connection request is a connection request sent by a preset client to the preset server, and the connection request includes at least: a preset client identifier carried by the configuration parameters; when the preset server listens for a connection request, controlling the preset server to determine whether the preset client identifier is consistent with the client identifier stored locally; if the preset client identifier is consistent with the client identifier stored locally, controlling the preset server to establish a first connection with the IoT gateway device.
[0058] In this embodiment of the invention, the VPN server is always in a listening state. After the IoT gateway device starts the softEther client, the IoT gateway device initiates a connection request to the preset server according to the target server network address and port number in the configuration parameters. The preset server can determine whether the preset client identifier carried in the configuration parameters of the connection request is consistent with the client identifier stored locally (that is, when the preset client is started, a connection request can be initiated to the preset server in the listening state, and when the preset server hears the connection request, it controls the preset server to determine whether the preset client identifier is consistent with the client identifier stored locally, wherein the connection request is a connection request sent by the preset client to the preset server). If the preset client identifier is consistent with the client identifier stored locally, the preset server can be controlled to establish the first connection with the IoT gateway device.
[0059] Optionally, before controlling the preset server to establish the first connection with the IoT gateway device, the method further includes: verifying whether the account information carried in the connection request is correct; and if the verification is successful, controlling the preset server to establish the first connection with the IoT gateway device.
[0060] In this embodiment of the invention, before establishing the first connection between the preset server and the IoT gateway device, it is also necessary to verify whether the account information (including username and password) carried in the connection request is correct. If the verification is successful, the preset server can be controlled to establish the first connection with the IoT gateway device.
[0061] Step S104: Based on the first connection, perform operation and maintenance on the IoT gateway device.
[0062] Optionally, the steps of performing operation and maintenance on the IoT gateway device based on the first connection include: controlling a preset operation station to establish a virtual network connection with a preset server; and controlling the preset operation station to perform operation and maintenance on the IoT gateway device based on the virtual network connection and the first connection.
[0063] In this embodiment of the invention, the softEther server (i.e., the preset server) on the VPN server is always on. After the preset operation station establishes a connection with the VPN server through the VPN virtual network, it can access the IoT gateway device and perform operation and maintenance work. Specifically, the preset operation station can first be controlled to establish a virtual network connection with the preset server (i.e., the VPN virtual network between the preset operation station and the VPN server), and then the preset operation station can be controlled to perform operation and maintenance work on the IoT gateway device based on the virtual network connection and the first connection.
[0064] Optionally, after performing maintenance operations on the IoT gateway device based on the first connection, the method further includes: controlling the IoT gateway device to collect device data generated by each industrial device, wherein the IoT gateway device and each industrial device have a pre-established connection relationship; processing the device data based on the maintenance configuration information generated by the maintenance operations; determining the platform communication protocol of the preset cloud platform and controlling the IoT gateway device to convert the current communication protocol into the platform communication protocol; and forwarding the processed device data to the preset cloud platform based on the platform communication protocol.
[0065] In this embodiment of the invention, the IoT gateway device can establish a connection with various industrial devices via a serial cable or a network cable. The IoT gateway device can then collect device data from these industrial devices using the serial cable or network cable. Based on the maintenance configuration information generated during operation and maintenance, the device data is processed. Next, the platform communication protocol of a preset cloud platform (such as an IoT cloud platform or other cloud platforms) is determined, and the IoT gateway device is controlled to convert the current communication protocol to the platform communication protocol of the preset cloud platform. The processed device data is then forwarded to the preset cloud platform according to the platform communication protocol of the preset cloud platform.
[0066] In this embodiment of the invention, the IoT cloud platform has functions such as distributing configuration files and measurement point information to IoT gateway devices and performing remote upgrades. In addition to data acquisition, protocol conversion, and data forwarding functions, the IoT gateway device also has the ability to communicate with the IoT cloud platform. The IoT gateway device can forward the collected data to the IoT cloud platform or to other cloud platforms according to the configuration information provided by the maintenance personnel.
[0067] The following describes in detail another optional implementation method.
[0068] In this embodiment of the invention, a remote operation and maintenance method for IoT gateways based on softEther is proposed. Remote operation and maintenance personnel can operate an IoT cloud platform via the Internet. The IoT cloud platform can monitor heartbeat packets reported by the IoT gateway device in real time. When a heartbeat is detected, it indicates that the device is online and a connection can be established. The IoT cloud platform can send VPN configuration parameters and control commands to the IoT gateway device via the Internet or 4G / 5G network. The IoT gateway device receives these parameters and starts a softEther client to establish a connection with the VPN server. The softEther server on the VPN server is always running. After the remote operation and maintenance personnel's workstation establishes a connection with the VPN server through the VPN virtual network, they can access the IoT gateway device and perform operation and maintenance work.
[0069] Figure 3 This is a schematic diagram of an optional operation and maintenance process according to an embodiment of the present invention, such as... Figure 3 As shown, the process is as follows:
[0070] (1) Remote maintenance personnel can operate the IoT cloud platform via the Internet;
[0071] (2) The IoT cloud platform can monitor the heartbeat information reported by IoT gateway devices (with softEther clients deployed) via Internet / 4G / 5G in real time. When heartbeat information is detected, it can send VPN configuration parameters and control commands via Internet / 4G / 5G VPN.
[0072] (3) The IoT gateway device starts the softEther client according to the control command and initiates a connection request to the VPN server according to the configuration parameters.
[0073] (4) The VPN server is in a listening state;
[0074] (5) Determine whether a softEther client connection request has been detected. If no connection request has been detected, control the VPN server to continue listening. Otherwise, determine whether the username and password are correct. If correct, establish a connection and automatically assign an IP address. Otherwise, control the VPN server to continue listening.
[0075] (6) IoT gateway devices can also collect data from various industrial devices via serial or network cables, and then send the data to IoT cloud platforms or other cloud platforms through protocol conversion and data forwarding.
[0076] In this embodiment of the invention, by deploying a softEther client in the IoT gateway device, multiple protocols can be supported, the product is highly flexible, and installation is simple and convenient. Maintenance personnel only need to fill in the configuration parameters from the IoT cloud platform and click to enable VPN to complete the connection. Furthermore, the softEther used offers faster browsing speeds, eliminates the need for multiple management platforms to work together, and is easy to operate; maintenance personnel only need to log in to the IoT cloud platform to manage the configuration.
[0077] The following is a detailed description with reference to another embodiment.
[0078] Example 2
[0079] The remote operation and maintenance device provided in this embodiment includes multiple implementation units, each of which corresponds to a specific implementation step in Embodiment 1 above.
[0080] Figure 4 This is a schematic diagram of an optional remote operation and maintenance device according to an embodiment of the present invention, such as... Figure 4 As shown, the operation and maintenance device may include: a receiving unit 40, an activation unit 41, a setup unit 42, and an operation and maintenance unit 43, wherein...
[0081] The receiving unit 40 is used to receive maintenance requests sent by a preset operation station, wherein the maintenance request includes at least: configuration parameters and control command parameters;
[0082] The activation unit 41 is used to control the IoT gateway device to activate a preset client based on control command parameters, wherein the IoT gateway device has a preset client pre-deployed.
[0083] Establishment unit 42 is used to establish a first connection between the IoT gateway device and the preset server based on configuration parameters when the preset client is enabled. The preset server has a preset server pre-deployed, and the connection relationship between the preset client and the preset server is established through the preset client.
[0084] The operation and maintenance unit 43 is used to perform operation and maintenance operations on the IoT gateway device based on the first connection.
[0085] The aforementioned operation and maintenance device can receive operation and maintenance requests sent by a preset operation station through the receiving unit 40, control the IoT gateway device to open a preset client based on control command parameters through the opening unit 41, establish a first connection between the IoT gateway device and a preset server based on configuration parameters through the establishment unit 42 when the preset client is open, and perform operation and maintenance operations on the IoT gateway device through the operation and maintenance unit 43 based on the first connection. In this embodiment of the invention, a preset client is pre-deployed in the IoT gateway device, which can control the IoT gateway device to open the preset client according to the control command parameters carried in the operation and maintenance request. Then, a first connection between the IoT gateway device and the preset server can be established according to the configuration parameters, and operation and maintenance operations can be performed on the IoT gateway device through the first connection. This preset client can support multiple VPN protocols, which can effectively improve product flexibility, reduce the complexity of operation and maintenance, and improve the speed of operation and maintenance. This solves the technical problems of low product flexibility, cumbersome operation and slow speed of remote operation and maintenance in related technologies.
[0086] Optionally, the operation and maintenance device further includes: a first monitoring module, used to control the IoT cloud platform to monitor the heartbeat information reported by the IoT gateway device before receiving the operation and maintenance request, wherein the heartbeat information includes at least: the IoT gateway device identifier; and a first establishment module, used to control the IoT cloud platform to establish a second connection with the IoT gateway device indicated by the IoT gateway device identifier based on the heartbeat information when the IoT cloud platform detects the heartbeat information.
[0087] Optionally, the operation and maintenance device further includes: a first response module, used to control a preset operation station to respond to a parameter input request and obtain configuration parameters and control command parameters before receiving an operation and maintenance request; and a first generation module, used to control the preset operation station to generate an operation and maintenance request based on the configuration parameters and control command parameters.
[0088] Optionally, the establishment unit includes: a first listening module, used to control the preset server to listen for connection requests, wherein the connection request is a connection request sent by a preset client to a preset server, and the connection request includes at least: a preset client identifier carried in the configuration parameters; a first judging module, used to control the preset server to judge whether the preset client identifier is consistent with the client identifier stored locally when the preset server listens for a connection request; and a second establishment module, used to control the preset server to establish a first connection with the IoT gateway device when the preset client identifier is consistent with the client identifier stored locally.
[0089] Optionally, the operation and maintenance device further includes: a first verification module, used to verify whether the account information carried in the connection request is correct before the preset server establishes a first connection with the IoT gateway device; and a third establishment module, used to control the preset server to establish a first connection with the IoT gateway device if the verification is successful.
[0090] Optionally, the operation and maintenance unit includes: a fourth establishment module, used to control the preset operation station to establish a virtual network connection with the preset server; and a first operation and maintenance module, used to control the preset operation station to perform operation and maintenance operations on the IoT gateway device based on the virtual network connection and the first connection.
[0091] Optionally, the operation and maintenance device further includes: a first acquisition module, used to control the IoT gateway device to collect equipment data generated by each industrial device after performing operation and maintenance operations on the IoT gateway device based on the first connection, wherein the IoT gateway device and each industrial device have a pre-established connection relationship; a first processing module, used to process the equipment data based on the operation and maintenance configuration information generated by the operation and maintenance operations; a first conversion module, used to determine the platform communication protocol of the preset cloud platform and control the IoT gateway device to convert the current communication protocol into the platform communication protocol; and a first forwarding module, used to forward the processed equipment data to the preset cloud platform based on the platform communication protocol.
[0092] The aforementioned operation and maintenance device may also include a processor and a memory. The receiving unit 40, the opening unit 41, the establishing unit 42, the operation and maintenance unit 43, etc., are all stored in the memory as program units, and the processor executes the aforementioned program units stored in the memory to realize the corresponding functions.
[0093] The aforementioned processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and by adjusting kernel parameters, maintenance operations can be performed on the IoT gateway device based on the first connection.
[0094] The aforementioned memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0095] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program with the following method steps: receiving a maintenance request sent by a preset operation station, controlling an IoT gateway device to open a preset client based on control command parameters, establishing a first connection between the IoT gateway device and a preset server based on configuration parameters when the preset client is open, and performing maintenance operations on the IoT gateway device based on the first connection.
[0096] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to perform the above-described remote operation and maintenance method.
[0097] According to another aspect of the present invention, an electronic device is also provided, including one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the remote operation and maintenance method described above.
[0098] Figure 5 This is a hardware structure block diagram of an electronic device (or mobile device) for a remote operation and maintenance method according to an embodiment of the present invention. Figure 5 As shown, the electronic device may include one or more processors 502 (shown as 502a, 502b, ..., 502n in the figure) 502 (processor 502 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 504 for storing data. In addition, it may include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 5 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, the electronic device may also include components that are more... Figure 5 The more or fewer components shown, or having the same Figure 5 The different configurations shown.
[0099] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0100] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0101] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0102] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0103] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0104] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0105] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A remote operation method, characterized by, The method comprises the following steps: receiving an operation and maintenance request sent by a preset operation station, wherein the operation and maintenance request comprises at least configuration parameters and control command parameters; controlling the preset operation station to establish a virtual network connection with the preset server; controlling the preset operation station to perform operation and maintenance on the Internet of Things gateway device based on the virtual network connection and the first connection; controlling the preset operation station to perform operation and maintenance on the Internet of Things gateway device based on the virtual network connection and the first connection; wherein, before receiving the operation and maintenance request, the method further comprises the following steps: controlling the Internet of Things cloud platform to monitor heartbeat information reported by the Internet of Things gateway device, wherein the heartbeat information comprises at least an Internet of Things gateway device identifier; controlling the Internet of Things cloud platform to establish a second connection with the Internet of Things gateway device indicated by the Internet of Things gateway device identifier based on the heartbeat information. Before receiving the operation and maintenance request, the method further comprises the following steps: controlling the preset operation station to obtain the configuration parameters and the control command parameters in response to a parameter input request; controlling the preset operation station to generate the operation and maintenance request based on the configuration parameters and the control command parameters.
2. The operation and maintenance method of claim 1, wherein, The step of establishing the first connection between the Internet of Things gateway device and the preset server based on the configuration parameters comprises the following steps: controlling the preset server to listen to a connection request, wherein the connection request is a connection request sent by the preset client to the preset server, and the connection request comprises at least a preset client identifier carried by the configuration parameters; controlling the preset server to determine whether the preset client identifier is consistent with a locally stored client identifier when the preset server listens to the connection request; 3. The operation and maintenance method according to claim 1, characterized in that, controlling the preset server to establish the first connection with the Internet of Things gateway device when the preset client identifier is consistent with the locally stored client identifier. Before controlling the preset server to establish the first connection with the Internet of Things gateway device, the method further comprises the following steps: verifying whether the account information carried by the connection request is correct; controlling the preset server to establish the first connection with the Internet of Things gateway device when the verification is passed.
4. The operation and maintenance method according to claim 3, characterized in that, After performing operation and maintenance on the Internet of Things gateway device based on the first connection, the method further comprises the following steps: controlling the Internet of Things gateway device to collect device data generated by each industrial device, wherein a connection relationship is established in advance between the Internet of Things gateway device and the each industrial device; 5. The operation and maintenance method according to claim 1, characterized in that, The device data is processed based on operation and maintenance configuration information generated by operation and maintenance operations; A platform communication protocol of a preset cloud platform is determined, and a current communication protocol of the Internet of Things gateway device is converted into the platform communication protocol; The processed device data is forwarded to the preset cloud platform based on the platform communication protocol.
6. A remote operations device, comprising: Comprise: A receiving unit configured to receive an operation and maintenance request sent by a preset operation station, wherein the operation and maintenance request comprises at least configuration parameters and control command parameters; A starting unit configured to control an Internet of Things gateway device to start a preset client based on the control command parameters, wherein the Internet of Things gateway device is pre-deployed with the preset client, and the preset client supports multiple VPN protocols; An establishing unit configured to establish a first connection between the Internet of Things gateway device and a preset server based on the configuration parameters when the preset client is started, wherein the preset server is pre-deployed with a preset service end, and a connection relationship is established between the preset client and the preset service end; An operation and maintenance unit configured to perform operation and maintenance operations on the Internet of Things gateway device based on the first connection; The operation and maintenance unit comprises a first establishing module configured to control a preset operation station to establish a virtual network connection with a preset server, and a first operation and maintenance module configured to control the preset operation station to perform operation and maintenance operations on the Internet of Things gateway device based on the virtual network connection and the first connection. The apparatus further comprises a first monitoring module configured to control an Internet of Things cloud platform to monitor heartbeat information reported by the Internet of Things gateway device before receiving the operation and maintenance request, wherein the heartbeat information comprises at least an Internet of Things gateway device identifier, and a first establishing module configured to control the Internet of Things cloud platform to establish a second connection with the Internet of Things gateway device indicated by the Internet of Things gateway device identifier based on the heartbeat information when the Internet of Things cloud platform monitors the heartbeat information.
7. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a stored computer program, wherein the computer program controls a device where the computer readable storage medium is located to perform the remote operation and maintenance method of any one of claims 1 to 5 when the computer program is running.
8. An electronic device, comprising: The apparatus comprises one or more processors and a memory configured to store one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the remote operation and maintenance method of any one of claims 1 to 5.
Citation Information
Patent Citations
Remote operation and maintenance method and system of edge gateway
CN114531379A