Terminal device and remote maintenance method, device, system, medium and product thereof

CN122994330APending Publication Date: 2026-10-27SHANDONG SENTER ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510530405.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0005]本申请提供一种终端设备及其远程维护方法、设备、系统、介质及产品,以克服现有技术中对于无固定IP地址的终端设备无法进行远程维护的技术问题

Benefits of technology

[0014]综上,本申请提供的终端设备及其远程维护方法、设备、系统、介质及产品,终端设备与网络设备之间基于所建立的通信连接,在终端设备未进行远程维护的情况下传输业务数据,在终端设备进行远程维护的情况下传输远程维护数据,因此,本申请提供的网络设备与终端设备之间可以基于传输业务数据的通信连接传输远程维护数据,克服了由于无法基于IP地址建立远程维护端口导致的远程维护数据网络不可达的问题,从而能够实现对无固定IP地址的终端设备进行远程维护。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122994330A_ABST
    Figure CN122994330A_ABST
Patent Text Reader

Abstract

The application provides a terminal device and a remote maintenance method, device, system, medium and product thereof. Based on the established communication connection between the terminal device and the network device, the terminal device transmits service data when the terminal device does not perform remote maintenance, and transmits remote maintenance data when the terminal device performs remote maintenance. The network device and the terminal device can transmit remote maintenance data based on the communication connection for transmitting service data, so that the terminal device without a fixed IP address can be remotely maintained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal equipment technology, and in particular to a terminal device and its remote maintenance method, equipment, system, medium and product. Background Technology

[0002] With the continuous development of terminal equipment and communication technology, remote maintenance technology has been widely used in the management and maintenance of terminal equipment. For example, for power monitoring equipment installed in power supply systems, since the equipment is installed along transmission lines, operators can effectively improve the efficiency of power monitoring equipment maintenance by managing and maintaining it remotely.

[0003] In existing technologies, when a terminal device transmits data with a network device through a fixed Internet Protocol Address (IP address), the network device can establish a remote maintenance port based on the fixed IP address and remote control protocols such as Secure Shell (SSH), allowing the network device to maintain the terminal device through the established remote maintenance port.

[0004] However, for terminal devices without fixed IP addresses, the inability to establish corresponding remote maintenance ports prevents network devices from performing remote maintenance. Therefore, how to perform remote maintenance on terminal devices without fixed IP addresses is a technical problem that needs to be solved in this field. Summary of the Invention

[0005] This application provides a terminal device and its remote maintenance method, device, system, medium and product to overcome the technical problem in the prior art that remote maintenance cannot be performed on terminal devices without a fixed IP address.

[0006] The first aspect of this application provides a remote maintenance method for a terminal device, applied to a network device, comprising: establishing a communication connection between the network device and the terminal device; transmitting service data between the network device and the terminal device based on the communication connection when the terminal device is not undergoing remote maintenance; and transmitting remote maintenance data between the network device and the terminal device based on the communication connection when the terminal device is undergoing remote maintenance.

[0007] A second aspect of this application provides a remote maintenance method for a terminal device, applied to the terminal device, comprising: establishing a communication connection between the terminal device and a network device; transmitting service data between the terminal device and the network device based on the communication connection when the terminal device is not undergoing remote maintenance; and transmitting remote maintenance data between the terminal device and the network device based on the communication connection when the terminal device is undergoing remote maintenance.

[0008] A third aspect of this application provides a network device, comprising: a first service module, configured to establish a communication connection between the network device and a terminal device, and to transmit service data between the network device and the terminal device based on the communication connection; a first remote maintenance module, configured to transmit remote maintenance data between the network device and the terminal device based on the communication connection; and a first network management module, configured to manage the data transmitted by the first service module and the first remote maintenance module, wherein, when the terminal device is not undergoing remote maintenance, the first service module transmits service data between the network device and the terminal device, and when the terminal device undergoes remote maintenance, the first remote maintenance module transmits remote maintenance data between the network device and the terminal device.

[0009] A fourth aspect of this application provides a terminal device, comprising: a second service module for establishing a communication connection between the terminal device and a network device, and transmitting service data between the terminal device and the network device based on the communication connection; a second remote maintenance module for transmitting remote maintenance data between the terminal device and the network device based on the communication connection; and a second network management module for managing the data transmitted by the second service module and the second remote maintenance module, wherein, when the terminal device is not undergoing remote maintenance, the second service module transmits service data between the terminal device and the network device, and when the terminal device undergoes remote maintenance, the second remote maintenance module transmits remote maintenance data between the terminal device and the network device.

[0010] The fifth aspect of this application provides a remote maintenance system for terminal equipment, including the network equipment provided in the third aspect of this application and the terminal equipment provided in the fourth aspect.

[0011] A sixth aspect of this application provides an electronic device, comprising: a processor and a memory communicatively connected to the processor; the memory storing computer-executable instructions; and the processor executing the computer-executable instructions stored in the memory to implement the method described in the first or second aspect of this application.

[0012] A seventh aspect of this application provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the method described in the first or second aspect of this application.

[0013] The eighth aspect of this application provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the first or second aspect of this application.

[0014] In summary, the terminal device and its remote maintenance method, equipment, system, medium, and product provided in this application enable the transmission of business data between the terminal device and the network device based on the established communication connection. This allows the transmission of remote maintenance data when the terminal device is not undergoing remote maintenance and when remote maintenance is being performed. Therefore, the network device and the terminal device provided in this application can transmit remote maintenance data based on the communication connection used for transmitting business data. This overcomes the problem of network inaccessibility of remote maintenance data caused by the inability to establish a remote maintenance port based on an IP address, thereby enabling remote maintenance of terminal devices without a fixed IP address. Attached Figure Description

[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0016] Figure 1 This is a schematic diagram illustrating the application scenario of this application;

[0017] Figure 2 This is a flowchart illustrating a method for remote maintenance of terminal devices by network devices in the prior art.

[0018] Figure 3 A schematic diagram of the structure of a remote maintenance system for a terminal device provided in this application;

[0019] Figure 4 A flowchart illustrating an embodiment of the remote maintenance method for terminal equipment provided in this application;

[0020] Figure 5 A schematic diagram of the system architecture of the network device provided in this application;

[0021] Figure 6 A schematic diagram of the system structure of the terminal device provided in this application;

[0022] Figure 7 A flowchart illustrating an embodiment of the remote maintenance method for terminal equipment provided in this application;

[0023] Figure 8A schematic diagram of the first mapping relationship provided for this application;

[0024] Figure 9 A schematic diagram of the second mapping relationship provided in this application;

[0025] Figure 10 This is a schematic diagram of the structure of an electronic device provided in this application.

[0026] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0028] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, 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.

[0029] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0030] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, 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] Figure 1 This is a schematic diagram illustrating the application scenario of this application, such as... Figure 1 As shown, this application is applied in a scenario of remote maintenance of terminal devices, wherein the terminal device to be remotely maintained can be connected to a network device through a network, enabling the network device to perform remote maintenance on the terminal device through the network.

[0032] For example, such as Figure 1 The terminal equipment in the scenario shown can be power monitoring equipment in the power supply system. Since power monitoring equipment is usually set up outdoors along the transmission lines, if operators carry maintenance equipment to manage and maintain the power monitoring equipment, it will increase labor and time costs and seriously reduce maintenance efficiency.

[0033] Therefore, network devices can connect to terminal devices via the network, enabling remote maintenance data transmission between terminal devices, thus achieving remote management and maintenance of terminal devices and improving the maintenance efficiency of power monitoring equipment by operators.

[0034] Figure 2 This is a flowchart illustrating a method for remote maintenance of terminal devices by network equipment in existing technologies, such as... Figure 2 As shown, the terminal device and the network device are connected via a network, and the terminal device has a fixed IP address. The IP address is a unique identifier used in the Internet Protocol (IP) to determine the device; devices that establish a communication connection based on their IP addresses can communicate and exchange data. Therefore, in S10, a communication connection is first established between the terminal devices. Subsequently, in S20, based on the communication connection established in S10, the terminal devices and the network device can transmit service data.

[0035] In S30, when a network device needs to remotely maintain a terminal device, a remote maintenance port is established between the terminal device and the network device based on the terminal device's IP address and a remote control protocol such as SSH. SSH is a network protocol that provides an encrypted communication channel between devices establishing a connection, enabling data transmission and protecting data from eavesdropping, tampering, and attacks. Subsequently, in S40, the network device and the terminal device can transmit remote maintenance data through the remote maintenance port, realizing remote maintenance of the terminal device by the network device.

[0036] However, in such Figure 2 In the existing technologies shown, because terminal devices have fixed IP addresses, the remote maintenance ports established based on these IP addresses are easily targeted for attacks, posing a high security threat to terminal devices during remote maintenance. Therefore, some technologies utilize mobile data networks without fixed IP addresses to communicate with network devices. In these technologies, the terminal device establishes a Transmission Control Protocol (TCP) connection with the network device based on a dynamic IP address. TCP is a connection-oriented transport layer protocol that can provide reliable data transmission in unreliable network environments. When the terminal device and network device transmit service data based on the established TCP connection, it does not rely on a fixed IP address. Instead, it identifies the device through a combination of IP address and port number, and through relevant protocol settings, it can reliably establish and maintain connections even when the device's IP address changes dynamically. Therefore, since the terminal device does not have a fixed IP address, external devices cannot attack it, thus improving the terminal device's security performance.

[0037] However, for terminal devices without fixed IP addresses, the inability to establish corresponding remote maintenance ports based on IP addresses leads to network unreachability issues for remote maintenance data, which imposes many limitations on the remote maintenance of terminal devices, thus preventing network devices from performing remote maintenance on terminal devices.

[0038] Based on this, this application provides a terminal device and its remote maintenance method, equipment, system, medium, and product, to provide a technical solution for remote maintenance of terminal devices without fixed IP addresses. The technical solution of this application will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0039] Figure 3 This application provides a schematic diagram of the structure of a remote maintenance system for a terminal device, as shown below. Figure 3The remote maintenance system for the terminal equipment shown includes terminal equipment and network equipment.

[0040] like Figure 3 The network devices shown include:

[0041] The first service module is used to establish a communication connection between network devices and terminal devices, and to transmit service data between them based on the established communication connection.

[0042] The first remote maintenance module is used to transmit remote maintenance data with the terminal device based on the communication connection established by the first business module.

[0043] The first network management module can be used to manage the data transmitted by the first service module and the first remote maintenance module in the network device. Specifically, when the terminal device is not undergoing remote maintenance, the first network management module can enable the transmission of service data between the first service module and the terminal device; conversely, when the terminal device is undergoing remote maintenance, the first network management module can enable the transmission of remote maintenance data between the first remote maintenance module and the terminal device.

[0044] like Figure 3 The terminal devices shown include:

[0045] The second business module is used to establish a communication connection between the terminal device and the network device, and to transmit business data between the terminal device and the network device based on the established communication connection.

[0046] The second remote maintenance module is used to transmit remote maintenance data with network devices based on the communication connection established by the second service module.

[0047] The second network management module can be used to manage the data transmitted by the second service module and the second remote maintenance module in the terminal device. Specifically, when the terminal device is not undergoing remote maintenance, the second network management module enables the transmission of service data between the second service module and the network device; conversely, when the terminal device is undergoing remote maintenance, the second network management module enables the transmission of remote maintenance data between the second remote maintenance module and the network device.

[0048] Figure 4 A flowchart illustrating an embodiment of the remote maintenance method for terminal equipment provided in this application is shown below. Figure 4 The method shown can be applied to, for example Figure 3 In the remote maintenance system for the terminal devices shown, and executed by the terminal devices and network devices, specifically, as... Figure 4 The remote maintenance methods for the terminal devices shown include:

[0049] S101: Establish a communication connection between the terminal device and the network device.

[0050] S102: In the absence of remote maintenance of the terminal device, the terminal device and the network device transmit service data based on the communication connection established in S101.

[0051] S103: When the terminal device is performing remote maintenance, remote maintenance data is transmitted between the terminal device and the network device based on the communication connection established in S101. The network device can then perform remote maintenance operations such as file management and system error troubleshooting on the terminal device through the transmitted remote maintenance data.

[0052] As can be seen, after establishing a communication connection, the terminal device and the network device can transmit both business data and remote maintenance data based on the established communication connection. Even for terminal devices without a fixed IP address, as long as a communication connection is established between the terminal device and the network device, and this communication connection can be used to transmit business data, then based on the remote maintenance method provided in this embodiment, the network device can transmit remote maintenance data with the terminal device based on the communication connection used to transmit business data. This overcomes the problem of network inaccessibility of remote maintenance data caused by the inability to establish a remote maintenance port based on an IP address, thereby realizing remote maintenance of terminal devices without a fixed IP address and greatly enriching the application and maintenance scenarios for terminal devices.

[0053] Secondly, in the remote maintenance method for terminal devices provided in this application embodiment, since the terminal device does not have a fixed IP address, the port used by the terminal device to transmit data with the network device is randomly assigned based on the TCP connection, and the port used for each data exchange is different. This randomized port configuration makes it difficult for external attack devices to locate the transmission channel of remote maintenance data by scanning ports, effectively avoiding the risk of external attack devices attacking by predicting common ports, thereby enhancing the anti-attack capability of the terminal device and improving the efficiency of remote maintenance of the terminal device while ensuring the security performance of the terminal device.

[0054] Furthermore, in the remote maintenance method for terminal devices provided in this application embodiment, the network device can directly transmit remote maintenance data with the terminal device, thereby enabling remote maintenance of the terminal device without adding intermediate services or other proxy services. This greatly simplifies the system architecture of the entire remote maintenance system for the terminal device, reduces the software and hardware costs required for remote maintenance, and thus reduces the operation and maintenance costs of the terminal device.

[0055] In a specific implementation, such as Figure 3The first network management module shown includes an Extended Berkeley Packet Filter (eBPF) program running in the kernel of the network device. eBPF is a kernel technology that runs within the operating system kernel, allowing custom code to run securely without modifying or restarting the kernel, thereby adding new functionalities to the operating system kernel. In this embodiment, the network device can use the eBPF program to filter and perform other processing on the device's data packets.

[0056] For example, Figure 5 The system architecture diagram of the network device provided in this application is as follows: Figure 5 The network device shown runs an eBPF program within its kernel, which is implemented on top of a hardware / virtual device. In user space, it includes a first network management module implemented based on the eBPF program. Furthermore, the user space also includes a first service module and a first remote maintenance module. The first network management module, implemented based on the eBPF program, can be used at the kernel level to capture, modify, and forward data packets transmitted by the first service module and the first remote maintenance module.

[0057] In a specific implementation, such as Figure 3 The second network management module shown includes an eBPF program running in the kernel of the terminal device, for example, Figure 6 A schematic diagram of the system architecture of the terminal device provided in this application is shown below. Figure 6 The terminal device shown runs an eBPF program within its kernel, which is implemented on top of a hardware / virtual device. In user space, it includes a second network management module implemented based on the eBPF program. Furthermore, the user space also includes a second service module and a second remote maintenance module. The second network management module, implemented based on the eBPF program, can be used at the kernel level to capture, modify, and forward data packets transmitted by the second service module and the second remote maintenance module.

[0058] Figure 7 A flowchart illustrating an embodiment of the remote maintenance method for terminal equipment provided in this application is shown below. Figure 7 The method shown illustrates Figure 5 The network devices shown are Figure 6 This is a specific implementation of a remote maintenance method between terminal devices.

[0059] like Figure 7 In S101 shown, a communication connection is first established between the terminal device and the network device.

[0060] In one embodiment, the communication connection between the terminal device and the network device includes a TCP connection. In S1011, for example, when the terminal device needs to report data to the network device, the second service module of the terminal device can initiate a TCP connection to the network device. For the network device, in S1012, a TCP connection is established through the first service module. Subsequently, in S1013, the first service module sends a successful TCP connection response to the second service module of the terminal device, thus completing the establishment of the TCP connection between the terminal device and the network device. Service data can then be transmitted based on the established TCP connection.

[0061] When the second service module initiates a TCP connection to the first service module, it sends a five-tuple to the first service module. At this time, the first network management module can capture this five-tuple and determine the connection information of the TCP connection established between the terminal device and the network device. Subsequently, in S1014, after the first network management module captures the response information sent by the first service module to the second service module indicating that the communication connection has been successfully established, it can store the correspondence between the connection information and the terminal device in the first mapping relationship. The connection information may include the address of the terminal device and the address of the network device. The first mapping relationship can be used when the network device needs to remotely maintain the terminal device. The network device can then find the corresponding connection information of the terminal device through the first mapping relationship, thereby performing remote maintenance on the terminal device based on the established communication connection.

[0062] For example, Figure 8 This is a schematic diagram of the first mapping relationship provided in this application. The first mapping relationship stored in the first network management module includes at least one terminal device that establishes a communication connection with a network device to transmit service data, and connection information of the communication connection corresponding to each terminal device. Figure 8 In the example shown, the first mapping relationship includes: terminal device 1 and its corresponding connection information 1, terminal device 2 and its corresponding connection information 2, ..., terminal device N and its corresponding connection information N. Each terminal device can establish a correspondence with its connection information through its unique identifier, thereby distinguishing different terminal devices.

[0063] Meanwhile, for the second network management module of the terminal device, after capturing the response information sent by the network device, the connection information with the network device can be stored in S1015.

[0064] Subsequently, following S101, as Figure 7In S104 shown, the terminal device and the network device further register the terminal device for remote maintenance if the terminal device meets the conditions for remote maintenance. Subsequently, the network device can perform remote maintenance on the terminal device after confirming that the terminal device has been registered for remote maintenance, that is, based on the communication connection, remote maintenance data is transmitted between the network device and the terminal device.

[0065] Specifically, in S1041, after the terminal device receives the response information from the network device indicating that the communication connection has been successfully established, the second network management module of the terminal device can determine whether the terminal device meets the conditions for remote maintenance.

[0066] In one embodiment, the second network management module of the terminal device can determine whether the terminal device meets the conditions for remote maintenance by checking one or more of the following: the kernel version, network bandwidth, CPU utilization, and memory utilization. For example, the conditions for the terminal device to meet the conditions for remote maintenance include: the kernel version of the terminal device is a preset version, i.e., meeting the first condition; the bandwidth between the terminal device and the network device is greater than a preset bandwidth, i.e., meeting the second condition; the CPU utilization of the terminal device is less than a first preset value, i.e. meeting the third condition; and the memory utilization of the terminal device is less than a second preset value, i.e. meeting the fourth condition.

[0067] When the terminal device determines that it meets the remote maintenance conditions, in S1042, the second network management module of the terminal device sends remote maintenance registration information to the network device. For the network device, in S1043, after receiving the remote maintenance registration information, the first service module of the network device registers the terminal device for remote maintenance and sends a remote maintenance registration success response to the terminal device in S1044. In S1045, after the first network management module of the network device captures the registration success response, it records the terminal device that has completed remote maintenance registration through the second mapping relationship.

[0068] For example, Figure 9 This is a schematic diagram of the second mapping relationship provided in this application. The second mapping relationship stored in the first network management module includes at least one terminal device that has completed remote maintenance registration, and the remote maintenance registration information corresponding to each terminal device. (The remaining text appears to be incomplete and requires further context.) Figure 9 In the example shown, the second mapping relationship includes: terminal device 1 and its corresponding remote maintenance registration information 1, terminal device 2 and its corresponding remote maintenance registration information 2, ..., terminal device N and its corresponding remote maintenance registration information N. Each terminal device can establish a correspondence with its remote maintenance registration information through its unique identifier, thereby distinguishing different terminal devices.

[0069] Meanwhile, for the second network management module of the terminal device, after capturing the response information sent by the network device, remote maintenance information of the network device can be stored in S1015.

[0070] Subsequently, in such Figure 7 Following S101 and S104, in S102, the network device and the terminal device can transmit service data through the established TCP connection, and in S103, the network device and the terminal device can transmit remote maintenance data through the established TCP connection.

[0071] More specifically, since network devices and terminal devices communicate via TCP, transmitting both business data and remote maintenance data, it is necessary to distinguish between these two types of data.

[0072] In one embodiment of this application, when a network device and a terminal device transmit remote maintenance data via a TCP connection, a remote maintenance identifier is carried in the data packet of the remote maintenance data. However, when a network device and a terminal device transmit service data via a TCP connection, the remote maintenance identifier is not carried in the data packet of the service data.

[0073] Specifically, in S1031, when the first remote maintenance module of the network device determines that remote maintenance of the terminal device is required based on the remote maintenance needs, it sends remote maintenance data to the first network management module, carrying the unique identification information of the terminal device in the data packet of the remote maintenance data. At this time, when the first network management module of the network device captures the remote maintenance data carrying the identifier of the terminal device sent by the first remote maintenance module, in S1032, it determines the connection information of the terminal device to be maintained according to its stored first mapping relationship. Based on the connection information, it modifies the address information in the data packet of the remote maintenance data to the address of the terminal device, and carries the remote maintenance identifier in the data packet. Then, based on the communication connection corresponding to the connection information, in S1033, it sends the modified remote maintenance data to the terminal device. During this process, the terminal device does not need to open other ports for transmitting remote maintenance data.

[0074] Subsequently, for the terminal device, in S1034, after the second network management module receives the remote data packet carrying the remote maintenance identifier, it determines that it is remote maintenance data based on the remote maintenance identifier. Then, it modifies the address information of the remote maintenance data packet to the address of the second remote maintenance module inside the terminal device and deletes the remote maintenance identifier. In S1035, the remote maintenance data is sent to the second remote maintenance module, so that the second remote maintenance module can parse and process the received remote maintenance data to realize remote maintenance of the terminal device.

[0075] It is understandable that during the process of remotely maintaining the terminal device, the network device can send remote maintenance data to the terminal device at least once through the process S1031-S1035, so that the terminal device can jointly realize remote maintenance of the terminal device based on the received remote maintenance data.

[0076] Correspondingly, during the remote maintenance of the terminal device, the terminal device can also send relevant remote maintenance data to the network device. For example, in S1036, the second remote maintenance module of the terminal device sends remote maintenance data to the second network module. At this time, when the second network management module captures the remote maintenance data carrying the network device identifier sent by the second remote maintenance module, in S1037, it determines the connection information of the network device according to the connection relationship stored in S1015, and then modifies the address information in the data packet of the remote maintenance data to the address of the network device according to the connection information, and carries the remote maintenance identifier in the data packet of the remote maintenance data. Then, based on the communication connection corresponding to the connection information, it sends the modified remote maintenance data to the network device in S1038. In this process, the terminal device does not need to open other ports for transmitting remote maintenance data.

[0077] Subsequently, for the network device, in S1039, after the first network management module receives the remote data packet carrying the remote maintenance identifier, it determines that it is remote maintenance data based on the remote maintenance identifier carried in the packet. Then, it modifies the address information of the remote maintenance data packet to the address of the first remote maintenance module inside the network device and deletes the remote maintenance identifier carried in the packet. Thus, in S10310, the remote maintenance data is sent to the first remote maintenance module.

[0078] Furthermore, it should be noted that the embodiments of this application are for the following purposes: Figure 7 The order of S102 and S103 shown is not limited, and S102 and S103 can be executed simultaneously. For example, the network device sends service data to the terminal device at the first moment, then sends remote maintenance data to the terminal device at the second moment, and then sends service data to the terminal device at the third moment. The first network management module of the network device carries a remote maintenance identifier in the remote maintenance data, so that the second network management module of the terminal device can determine whether the currently received data is service data or remote maintenance data based on the remote maintenance identifier. When the second network management module receives service data, it can forward it to the second service module for processing; when the second network management module receives remote maintenance data, it can process it according to S1034 and forward it to the second remote maintenance module.

[0079] For example, the terminal device sends service data to the network device at the fourth moment, then sends remote maintenance data to the network device at the fifth moment, and then sends service data to the network device at the sixth moment. The second network management module of the terminal device carries a remote maintenance identifier in the remote maintenance data, so that the first network management module of the network device can determine whether the currently received data is service data or remote maintenance data based on the remote maintenance identifier. When the first network management module receives service data, it can forward it to the first service module for processing; when the first network management module receives remote maintenance data, it can process it according to S1039 and forward it to the first remote maintenance module.

[0080] In the foregoing embodiments of this application, a remote maintenance method for a terminal device provided by the embodiments of this application has been described. To implement the functions of the methods provided by the embodiments of this application, the control module, as the execution entity, can be implemented through hardware structures and / or software modules, for example, in the form of hardware structures, software modules, or a combination of hardware structures and software modules. Whether a particular function is executed in the form of hardware structures, software modules, or a combination of hardware structures and software modules depends on the specific application and design constraints of the technical solution.

[0081] It should be understood that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. For example, a processing module can be a separate processing element, or it can be integrated into a chip within the above device. Alternatively, it can be stored as program code in the memory of the above device, and its functions can be called and executed by a processing element of the device. The implementation of other modules is similar. Moreover, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element mentioned here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.

[0082] For example, these modules can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs). As another example, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together to implement a system-on-a-chip (SOC).

[0083] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0084] For example, Figure 10 A schematic diagram of the structure of an electronic device provided in this application, such as... Figure 10 The device shown can be used to perform the remote maintenance method for the terminal device provided in any embodiment of this application. In one embodiment, such as Figure 10The illustrated electronic device 1000 includes one or more processors 1001 and a memory 1002. The memory 1002 stores computer-executable instructions, and the processor 1001 can execute the computer-executable instructions stored in the memory 1002. When the computer-executable instructions are executed by the processor 1001, the processor 1001 implements any method executed by a network device or any method executed by a terminal device as described in the foregoing embodiments of this application.

[0085] In one embodiment, such as Figure 10 The electronic device 1000 shown also includes a communication interface 1003, through which the processor 1001 can communicate with other devices, such as sending and receiving data through the communication interface 1003.

[0086] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0087] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0088] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0089] This application also provides a chip for executing instructions, the chip being used to execute any of the methods executed by a terminal device or any of the methods executed by a network device as described above.

[0090] This application also provides a computer program product, including a computer program that, when executed, implements any of the methods executed by a terminal device or any of the methods executed by a network device as described above.

[0091] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed, can be used to implement any of the methods executed by a terminal device or any of the methods executed by a network device as described above.

[0092] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0093] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0094] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0095] 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 network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0096] In addition, 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.

[0097] If a function 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 this invention, or the part that contributes to the prior art, or a 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 of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0098] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0099] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for remote maintenance of a terminal device, characterized in that, Applied to network devices, including: Establish a communication connection between the network device and the terminal device; In the absence of remote maintenance of the terminal device, business data is transmitted between the terminal device and the terminal device based on the communication connection; In the case of remote maintenance of the terminal device, remote maintenance data is transmitted between the terminal device and the terminal device based on the communication connection.

2. The method according to claim 1, characterized in that, The transmission of remote maintenance data between the terminal device and the communication connection includes: Obtain connection information of the communication connection between the network device and the terminal device; Based on the connection information and the communication connection, the remote maintenance data is transmitted between the device and the terminal.

3. The method according to claim 2, characterized in that, The step of obtaining the connection information of the communication connection between the network device and the terminal device includes: From the first mapping relationship, the connection information corresponding to the terminal device is determined, wherein the first mapping relationship includes at least one terminal device that transmits service data with the network device, and the connection information corresponding to each terminal device.

4. The method according to claim 3, characterized in that, Also includes: When the communication connection is established between the network device and the terminal device, the connection information of the communication connection is obtained; The correspondence between the terminal device and the connection information is stored in the first mapping relationship.

5. The method according to any one of claims 1-4, characterized in that, The transmission of remote maintenance data between the terminal device and the communication connection further includes: Based on the communication connection, remote maintenance data carrying a remote maintenance identifier is transmitted between the terminal device and the terminal device.

6. The method according to any one of claims 1-5, characterized in that, The transmission of remote maintenance data between the terminal device and the communication connection includes: When the terminal device has been registered for remote maintenance, remote maintenance data is transmitted between the terminal device and the communication connection.

7. The method according to claim 6, characterized in that, After establishing the communication connection between the network device and the terminal device, the method further includes: The system receives remote maintenance registration information sent by the terminal device when the remote maintenance conditions are met, and performs remote maintenance registration for the terminal device based on the remote maintenance registration information.

8. A method for remote maintenance of a terminal device, characterized in that, Applied to terminal devices, including: Establish a communication connection between the terminal device and the network device; In the absence of remote maintenance of the terminal device, service data is transmitted between the terminal device and the network device based on the communication connection. When the terminal device is remotely maintained, remote maintenance data is transmitted between the terminal device and the network device based on the communication connection.

9. The method according to claim 8, characterized in that, The transmission of remote maintenance data with the network device based on the communication connection includes: Based on the communication connection, remote maintenance data carrying a remote maintenance identifier is transmitted between the network device and the network device.

10. The method according to claim 8 or 9, characterized in that, Also includes: Determine whether the terminal device meets the conditions for remote maintenance; When the terminal device meets the conditions for remote maintenance, it sends remote maintenance registration information to the network device so that the network device can register the terminal device for remote maintenance.

11. The method according to claim 10, characterized in that, The remote maintenance conditions include one or more of the following: The kernel version of the terminal device meets the first condition, the bandwidth between the terminal device and the network device meets the second condition, the CPU utilization rate of the terminal device meets the third condition, or the memory utilization rate of the terminal device meets the fourth condition.

12. A network device, characterized in that, include: The first service module is used to establish a communication connection between the network device and the terminal device, and to transmit service data between the network device and the terminal device based on the communication connection. The first remote maintenance module is used to transmit remote maintenance data with the terminal device based on the communication connection; The first network management module is used to manage the data transmitted by the first service module and the first remote maintenance module. When the terminal device is not undergoing remote maintenance, the first service module transmits service data with the terminal device. When the terminal device is undergoing remote maintenance, the first remote maintenance module transmits remote maintenance data with the terminal device.

13. The network device according to claim 12, characterized in that, The first network management module is specifically used for: Obtain the connection information of the communication connection used for transmitting service data between the network device and the terminal device, and transmit the remote maintenance data between the network device and the terminal device based on the communication connection.

14. The network device according to claim 13, characterized in that, The first network management module is specifically used for: From the first mapping relationship, the connection information corresponding to the terminal device is determined, wherein the first mapping relationship includes at least one terminal device that transmits service data with the network device, and the connection information corresponding to each terminal device.

15. The network device according to any one of claims 12-14, characterized in that, The first network management module is specifically used for: The remote maintenance module acquires the remote maintenance data sent to the terminal device by the first remote maintenance module, carries a remote maintenance identifier in the remote maintenance data, and sends the remote maintenance data carrying the remote maintenance identifier to the terminal device based on the communication connection.

16. The network device according to any one of claims 12-15, characterized in that, The first network management module is specifically used for: Based on the communication connection, remote maintenance data sent by the terminal device is obtained, and based on the remote maintenance identifier carried in the remote maintenance data, the remote maintenance data is sent to the first remote maintenance module.

17. The network device according to any one of claims 12-16, characterized in that, The first network management module is specifically used for: When the terminal device has been registered for remote maintenance, remote maintenance data is transmitted between the terminal device and the communication connection.

18. The network device according to claim 17, characterized in that, The first network management module is specifically used for: The system receives remote maintenance registration information sent by the terminal device when the remote maintenance conditions are met, and sends the remote maintenance registration information to the first service module, so that the first clothing module performs remote maintenance registration for the terminal device based on the remote maintenance registration information.

19. A terminal device, characterized in that, include: The second service module is used to establish a communication connection between the terminal device and the network device, and to transmit service data between the terminal device and the network device based on the communication connection. The second remote maintenance module is used to transmit remote maintenance data with the network device based on the communication connection. The second network management module is used to manage the data transmitted by the second service module and the second remote maintenance module. When the terminal device is not undergoing remote maintenance, the second service module transmits service data with the network device. When the terminal device is undergoing remote maintenance, the second remote maintenance module transmits remote maintenance data with the network device.

20. The terminal device according to claim 19, characterized in that, The second network management module is specifically used for: The remote maintenance module acquires the remote maintenance data sent to the network device by the second remote maintenance module, carries a remote maintenance identifier in the remote maintenance data, and sends the remote maintenance data carrying the remote maintenance identifier to the network device based on the communication connection.

21. The terminal device according to claim 19 or 20, characterized in that, The second network management module is specifically used for: Based on the communication connection, remote maintenance data sent by the network device is obtained, and based on the remote maintenance identifier carried in the remote maintenance data, the remote maintenance data is sent to the second remote maintenance module.

22. The terminal device according to any one of claims 19-21, characterized in that, The second network management module is also used for: Determine whether the terminal device meets the remote maintenance conditions. If the terminal device meets the remote maintenance conditions, send remote maintenance registration information to the network device so that the network device can register the terminal device for remote maintenance.

23. The terminal device according to claim 22, characterized in that, The remote maintenance conditions include one or more of the following: The kernel version of the terminal device meets the first condition, the bandwidth between the terminal device and the network device meets the second condition, the CPU utilization rate of the terminal device meets the third condition, or the memory utilization rate of the terminal device meets the fourth condition.

24. A remote maintenance system for terminal equipment, comprising: The network device as described in any one of claims 12-18, and the terminal device as described in any one of claims 19-23.

25. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-11.

26. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-11.

27. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1-11.