Remote operation and maintenance method and device, equipment and storage medium
By deploying a remote operation and maintenance system in the cloud server, including a message bus, data processing module, transfer-in/out module and data center, the problem of complexity and high cost of operation and maintenance of the Internet of Things gateway is solved, and an efficient and simple Remote operation and maintenance.
Patent Information
- Application Number
- CN202411611423.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-01-21
AI Technical Summary
Due to the problems of business dispersed and ownership of the Internet of Things gateways, it is difficult to view data locally and perform terminal operation and maintenance. The deployment of system-level cloud servers is complex and expensive, resulting in complex deployment and expensive network operation and maintenance.
Design a remote operation and maintenance system, including a message bus, data processing module, transfer in/out module and data center deployed in the cloud server. Through the message bus and online debugging module, data processing module, transfer in/out module and Data center communication enables synchronization and remote operation and maintenance of IoT terminal data.
Realized efficient and simple remote operation and maintenance. By building a virtual terminal in the cloud server, analyzing the data according to the command message and the data of the virtual terminal, determining whether the command message can be successfully executed by the Internet of Things terminal, solving the Internet of Things of the Internet of Things Pass and dimension Problems and cost issues.
Smart Images

Figure CN119342051A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a remote operation and maintenance method and apparatus, equipment and storage medium. Background Art
[0002] The IoT gateway has functions such as channel parameter configuration and local edge computing. These functions need to be updated as local businesses adjust. However, with the dispersion of businesses and the ownership of installation boxes, it is difficult to view data and terminal operation and maintenance locally. The system-level cloud server is expensive and complex to deploy. Therefore, the current network operation and maintenance has the problem of complex deployment and high price. Summary of the invention
[0003] Based on this, it is necessary to propose remote operation and maintenance methods and devices, equipment and storage media to address the above problems.
[0004] To achieve the above-mentioned object, the first aspect of the present application provides a remote operation and maintenance system, the system comprising a cloud server, in which a message bus, a data processing module, a transfer-in / transfer-out module and a data center are deployed;
[0005] The message bus is communicatively connected with the online debugging module, and the message bus is also communicatively connected with the data processing module, the transfer-in / transfer-out module and the data center respectively, and the transfer-in / transfer-out module is communicatively connected with the IoT terminal;
[0006] The transfer-in / transfer-out module is used to obtain the terminal data of the IoT terminal and synchronize the terminal data in the IoT terminal to the database of the data center;
[0007] The message bus is used to receive the command message issued by the online debugging module and transmit the command message to the data processing module;
[0008] The data processing module is used to determine whether the command message can be successfully executed by the IoT terminal according to the terminal data in the database; when it is determined that the command message can be successfully executed by the IoT terminal, the command message is sent to the transfer-in / transfer-out module through the message bus;
[0009] The transfer-in / transfer-out module is used to transmit the command message to the IoT terminal;
[0010] The message bus is also used to receive the execution result returned by the IoT terminal and send the execution result to the online debugging module.
[0011] Furthermore, the data processing module is also used to parse the command message to obtain data type information;
[0012] Based on the data type information and the terminal data in the database, it is determined whether the command message can be successfully executed by the IoT terminal.
[0013] Furthermore, the data type information at least includes a function type and an execution condition corresponding to the function type;
[0014] The data processing module is further used to determine whether the terminal data in the database meets the execution condition corresponding to the function type;
[0015] When the terminal data in the database meets the execution condition corresponding to the function type, it is determined that the command message can be successfully executed by the IoT terminal;
[0016] When the terminal data in the database does not meet the execution condition corresponding to the function type, it is determined that the command message cannot be successfully executed by the IoT terminal.
[0017] Furthermore, the online debugging module includes one or more of a debugging tool, a mobile phone APP and a Web interface.
[0018] Furthermore, the data processing module is also used to perform status evaluation based on the terminal data in the database to determine whether the IoT terminal is in a healthy state;
[0019] When it is confirmed that the IoT terminal is in a healthy state, the command message is sent to the transfer-in / transfer-out module through the message bus.
[0020] To achieve the above-mentioned purpose, the second aspect of the present application provides a remote operation and maintenance method, the method comprising:
[0021] Acquire terminal data in the IoT terminal and synchronize the terminal data to a preset database;
[0022] Receiving a command message issued by the online debugging module, parsing the command message, and obtaining data type information;
[0023] Determining whether the command message can be successfully executed by the IoT terminal based on the data type information and the terminal data in the database;
[0024] When it is determined that the command message can be successfully executed by the IoT terminal, the command message is sent to the IoT terminal, and the execution result returned by the IoT terminal is received, and the execution result is sent to the online debugging module.
[0025] Further, the data type information at least includes a function type and an execution condition corresponding to the function type, and judging whether the command message can be successfully executed by the IoT terminal based on the data type information and the terminal data in the database specifically includes:
[0026] Determining whether the terminal data in the database meets the execution condition corresponding to the function type;
[0027] When the terminal data in the database meets the execution condition corresponding to the function type, it is determined that the command message can be successfully executed by the IoT terminal;
[0028] When the terminal data in the database does not meet the execution condition corresponding to the function type, it is determined that the command message cannot be successfully executed by the IoT terminal.
[0029] Further, before sending the command message to the IoT terminal, receiving the execution result returned by the IoT terminal, and sending the execution result to the online debugging module, the method further includes:
[0030] Performing status evaluation based on the terminal data in the database to determine whether the IoT terminal is in a healthy state;
[0031] When it is confirmed that the IoT terminal is in a healthy state, the steps of sending the command message to the IoT terminal, receiving the execution result returned by the IoT terminal, and sending the execution result to the online debugging module are continued.
[0032] To achieve the above-mentioned purpose, the third aspect of the present application provides a computer-readable storage medium storing a computer program, characterized in that when the computer program is executed by a processor, the processor executes the steps of the method described in the first aspect.
[0033] To achieve the above-mentioned purpose, the fourth aspect of the present application provides a computer device, including a memory and a processor, characterized in that the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method described in the first aspect.
[0034] The embodiments of the present invention have the following beneficial effects:
[0035] The embodiment of the present invention proposes a remote operation and maintenance system, which includes a cloud server, in which a message bus, a data processing module, a transfer-in / transfer-out module and a data center are deployed; the message bus is communicatively connected to the online debugging module, and the message bus is also communicatively connected to the data processing module, the transfer-in / transfer-out module and the data center respectively, and the transfer-in / transfer-out module is communicatively connected to the Internet of Things terminal; the transfer-in / transfer-out module is used to obtain terminal data of the Internet of Things terminal and synchronize the terminal data in the Internet of Things terminal to a database in the data center; the message bus is used to receive a command message issued by the online debugging module and transmit the command message to the data processing module; the data processing module is used to determine whether the command message can be successfully executed by the Internet of Things terminal according to the terminal data in the database; when it is determined that the command message can be successfully executed by the Internet of Things terminal, the command message is sent to the transfer-in / transfer-out module through the message bus; the transfer-in / transfer-out module is used to transmit the command message to the Internet of Things terminal; the message bus is also used to obtain the execution result returned by the Internet of Things terminal and send the execution result to the online debugging module. By deploying a data center in the cloud server to synchronize the terminal data of the IoT terminal, a virtual terminal corresponding to the IoT terminal is built in the cloud server, and the analysis results are obtained based on the command message and the data of the virtual terminal. Based on the analysis results, commands are sent to the corresponding IoT terminal through the cloud server, realizing efficient and simple remote operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] in:
[0038] Figure 1 Schematic diagram of a remote operation and maintenance system in an embodiment of the present invention;
[0039] Figure 2 A flowchart of a remote operation and maintenance method in an embodiment of the present invention is shown in FIG.
[0040] Figure 3 1 is a diagram showing the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] Due to the decentralized business of the IoT gateway and the ownership of the installation box, it is difficult to view the data and the operation and maintenance of the IoT terminal locally. Based on this, the present invention proposes a remote operation and maintenance system, which can be found in Figure 1 , Figure 1 This is a schematic diagram of the remote operation and maintenance system in an embodiment of the present invention. The system includes a cloud server, in which a message bus, a data processing module, a transfer-in / transfer-out module and a data center are deployed; the message bus is communicatively connected to the online debugging module, and the message bus is also communicatively connected to the data processing module, the transfer-in / transfer-out module and the data center respectively, and the transfer-in / transfer-out module is communicatively connected to the Internet of Things terminal.
[0043] In one embodiment of the present invention, the remote operation and maintenance system is deployed based on the MQTT protocol, and remote operation and maintenance is realized through three parts: an online debugging module, a cloud server, and an IoT terminal. The message transmission method of the MQTT protocol is based on the publish / subscribe model. The publisher (producer) publishes the message to the specified topic, and the subscriber (consumer) receives the message by subscribing to the corresponding topic. At the same time, subscribers can use wildcards to achieve more flexible subscriptions. Through the collaboration of these three parts, the MQTT protocol realizes efficient and reliable message transmission, and its working principle provides strong support for the field of the Internet of Things.
[0044] Specifically, deploy MQTT broker in the cloud server, i.e., message bus, transfer-in / transfer-out module, data processing module and data center. Build virtual terminals corresponding to edge IoT devices and databases of virtual terminals in the data center. Through data transmission, the database information in the data center is kept consistent with the terminal data in the edge IoT device, so that two sets of agents are deployed inside the IoT terminal and in the cloud server. The terminal data includes at least IoT device configuration, sampling information and other data carried by the MQTT protocol.
[0045] Specifically, the transfer-in / transfer-out module is used to obtain the terminal data of the IoT terminal and synchronize the terminal data in the IoT terminal to the database in the data center. The message bus is used to receive the command message issued by the online debugging module and transmit the command message to the data processing module. The data processing module is used to determine whether the command message can be successfully executed by the IoT terminal based on the terminal data in the database. When it is determined that the command message can be successfully executed by the IoT terminal, the command message is sent to the transfer-in / transfer-out module through the message bus. The transfer-in / transfer-out module is used to transmit the command message to the IoT terminal; the message bus is also used to obtain the execution result returned by the IoT terminal and send the execution result to the online debugging module.
[0046] In the embodiment of the present invention, the specific execution content of the IoT terminal is controlled by the online debugging module. The online debugging module remotely controls the IoT terminal by issuing command messages. The command message may include function types such as remote control, remote adjustment, program upgrade, file return, data monitoring, and information such as execution time and execution conditions. The message bus in the cloud server receives the command message issued by the online debugging module and sends the command message to the data processing module.
[0047] In the embodiment of the present invention, the data processing module can first perform relevant operations of the command message on the virtual terminal in the cloud server to check whether the IoT terminal corresponding to the virtual terminal can successfully execute the content of the command message. Therefore, before this, the terminal data in the database of the data center needs to be updated.
[0048] Specifically, the transfer-in / transfer-out module simultaneously connects the MQTT broker inside the IoT terminal and the cloud server, and synchronizes the terminal data in the IoT terminal to the database in the cloud server data center using the same protocol. The two agents are connected by the transfer-in / transfer-out module to realize the mapping relationship between the virtual terminal and the IoT terminal. The same protocol means that the communication protocol applied by the IoT terminal to the internal agent of the terminal and the cloud server agent is the same. In an embodiment of the present invention, the communication protocol is the MQTT protocol. This process can be carried out in real time, that is, the terminal data corresponding to the virtual terminal is updated in real time in the database; it can also be updated after receiving the command message issued by the online debugging module, which is not limited here.
[0049] After synchronizing the terminal data of the IoT terminal to the database in the data center, the data processing module determines whether the IoT terminal can successfully execute the command message based on the terminal data in the database.
[0050] If the virtual terminal in the cloud server cannot successfully execute the command message, it can return "cannot execute" to the online debugging module; if the virtual terminal in the cloud server can successfully execute the command message, it can send the command message to the transfer-in / transfer-out module through the message bus.
[0051] After confirming that the virtual terminal in the cloud server can successfully execute the command message, the transfer-in / transfer-out module sends the command message to the IoT terminal. In a feasible embodiment of the present invention, if the online debugging module wants to obtain the terminal data of the IoT terminal, it can directly retrieve it from the database, thereby improving the efficiency of remote operation and maintenance.
[0052] The transfer-out module of the IoT terminal is connected to the transfer-in / transfer-out module of the cloud server to receive command messages sent by the transfer-in / transfer-out module, and filter out whether the command is to be executed by the terminal through the subscription mechanism and the device ID of the IoT terminal. After the IoT terminal enters the operation process of the relevant command message, the command to be executed is transparently transmitted to the relevant execution module, such as the remote control APP for remote control operation. The relevant execution module of the IoT terminal executes the relevant operation of the command and publishes the execution result to the transfer-out module. The transfer-out module of the IoT terminal publishes the execution result to the message bus of the cloud server, such as success, failure or timeout.
[0053] After the cloud server's message bus receives the execution result, it sends the execution result to the online debugging module through the message bus, thereby realizing remote operation and maintenance of the IoT terminal. This type of operation solves the problem that the online debugging module cannot directly connect and operate with the IoT terminal in the non-local area network situation, and fixes the cloud server virtual terminal through the domain name or IP.
[0054] The remote operation and maintenance system in the embodiment of the present invention deploys a message bus, a data center, a data processing module, and a transfer-in / transfer-out module on the cloud server, and establishes a virtual terminal corresponding to the edge IoT terminal in the database of the data center, and implements remote operation based on the virtual terminal, the data processing module, and the transfer-in / transfer-out module. The IoT terminal executes various command operations based on specific logic and specific time, such as upgrading operations at zero o'clock. The data of the virtual terminal is synchronized with that of the edge IoT terminal, and can be displayed in real time in the online operation and maintenance module, which facilitates operation and maintenance operations and logical judgments. The IoT terminal function of the embodiment of the present invention is directly deployed in the cloud without additional development workload, and is based on lightweight cloud service functions, with low requirements for cloud performance. In addition, the debugging tool establishes a connection based on TCP, which is mature and stable, and can be easily expanded into various forms.
[0055] In one embodiment of the present invention, the data processing module is also used to parse the command message to obtain data type information; based on the data type information and the terminal data in the database, it is determined whether the command message can be successfully executed by the IoT terminal.
[0056] Specifically, after receiving the command message, the data processing module of the cloud server parses the command message to obtain data type information, and determines whether the virtual terminal can execute the command based on the data type information, thereby determining whether the command message can be successfully executed by the IoT terminal.
[0057] In one embodiment of the present invention, the data type information includes at least the function type and the execution condition corresponding to the function type; the data processing module is also used to determine whether the terminal data in the database meets the execution condition corresponding to the function type; when the terminal data in the database meets the execution condition corresponding to the function type, it is determined that the command message can be successfully executed by the Internet of Things terminal; when the terminal data in the database does not meet the execution condition corresponding to the function type, it is determined that the command message cannot be successfully executed by the Internet of Things terminal.
[0058] Specifically, after the data processing module parses the command message to obtain the function type and the execution conditions corresponding to each function type, the terminal data in the synchronized database is evaluated to determine whether the terminal data meets the execution conditions. If so, the command continues to be sent to the IoT terminal; if not, "cannot be executed" is directly returned to the online debugging module.
[0059] For example, assuming that the executed function type is remote control operation, and the corresponding execution condition is that the IoT terminal is not in remote control lock, then it is necessary to determine whether the IoT terminal is in remote control lock through the terminal data in the database; assuming that the executed function type is to adjust the power of the terminal connected to the inverter, and the corresponding execution condition is that the maximum output of the inverter is not less than the pre-adjusted output, then it is necessary to determine whether the maximum output of the inverter is not less than the pre-adjusted output through the terminal data in the database.
[0060] In the embodiment of the present invention, the execution condition is a preset logical relationship and also a logical relationship of the IoT terminal. It can be understood as copying the IoT terminal to the cloud server and processing it once in the data processing module of the cloud server first, thereby avoiding invalid operations such as failed operations when processed at the IoT terminal, thereby improving the efficiency of remote operation and maintenance.
[0061] In one embodiment of the present invention, the data processing module is also used to perform status evaluation based on the terminal data in the database to determine whether the IoT terminal is in a healthy state; when it is confirmed that the IoT terminal is in a healthy state, the command message is sent to the transfer-in / transfer-out module through the message bus.
[0062] Specifically, the current health status of the IoT terminal can be determined by analyzing the terminal data. For example, data such as the CPU and hard disk occupancy rate in the IoT terminal, and statistics on 4G disconnection of the IoT terminal can be used to evaluate the external working status and internal status of the terminal, and predict possible problems with the IoT terminal in advance.
[0063] In one embodiment of the present invention, the cloud data processing module can pre-process the data in the data center and send the processed results to the data center for storage, so that the online monitoring tool can view them. For example, the data can be judged against the threshold to filter out abnormal information, reduce the amount of data received by the online debugging module, and improve efficiency.
[0064] In one embodiment of the present invention, the online debugging module includes one or more of a debugging tool, a mobile phone APP, and a Web interface.
[0065] In one embodiment of the present invention, the data processing module is also used to implement authentication management, protocol conversion and transparent transmission functions, etc.
[0066] In one embodiment of the present invention, the cloud server also includes an access module, which is responsible for accessing the data of each IoT terminal and transparently transmitting messages, and realizing the conversion between the internal MQTT message format of the cloud server and the cloud edge IEC104 and other protocols.
[0067] The present invention also provides a remote operation and maintenance method, which can be found in Figure 2 , Figure 2 The flowchart of the remote operation and maintenance method in an embodiment of the present invention includes:
[0068] Step 210: Acquire terminal data in the IoT terminal and synchronize the terminal data to a preset database.
[0069] In one embodiment of the present invention, the remote operation and maintenance method is applied to a remote operation and maintenance system, which includes a cloud server, in which a message bus, a data processing module, a transfer-in / transfer-out module, and a data center are deployed. The message bus is connected to the online debugging module, and the message bus is also connected to the data processing module, the transfer-in / transfer-out module, and the data center, respectively, and the transfer-in / transfer-out module is connected to the IoT terminal.
[0070] Specifically, the transfer-in / transfer-out module simultaneously connects the MQTT broker inside the IoT terminal and the cloud server, and synchronizes the terminal data in the IoT terminal to the database in the data center of the cloud server using the same protocol. The two agents are connected by the transfer-in / transfer-out module to realize the mapping relationship between the virtual terminal and the IoT terminal. This process can be carried out in real time, that is, the terminal data corresponding to the virtual terminal is updated in real time in the database; it can also be updated after receiving the command message issued by the online debugging module, which is not limited here.
[0071] Step 220: Receive the command message issued by the online debugging module, parse the command message, and obtain data type information.
[0072] The specific execution content of the IoT terminal is controlled by the online debugging module, which remotely controls the IoT terminal by issuing command messages. Command messages can include function types such as remote control, remote adjustment, program upgrade, file return, data monitoring, as well as information such as execution time and execution conditions. The message bus in the cloud server receives the command messages issued by the online debugging module and sends the command messages to the data processing module.
[0073] Step 230: determine whether the command message can be successfully executed by the IoT terminal based on the data type information and the terminal data in the database; when it is determined that the command message can be successfully executed by the IoT terminal, send the command message to the IoT terminal, receive the execution result returned by the IoT terminal, and send the execution result to the online debugging module.
[0074] After synchronizing the terminal data of the IoT terminal to the database in the data center, the data processing module determines whether the IoT terminal can be successfully executed based on the terminal data in the database. If the virtual terminal in the cloud server cannot successfully execute the command message, it can return "unable to execute" to the online debugging module; if the virtual terminal in the cloud server can successfully execute the command message, it can send the command message to the transfer-in / transfer-out module through the message bus.
[0075] After confirming that the virtual terminal in the cloud server can successfully execute the command message, the transfer-in / transfer-out module sends the command message to the IoT terminal. In a feasible embodiment of the present invention, if the online debugging module wants to obtain the terminal data of the IoT terminal, it can directly retrieve it from the database, thereby improving the efficiency of remote operation and maintenance.
[0076] The transfer-out module of the IoT terminal is connected to the transfer-in / transfer-out module of the cloud server to receive command messages sent by the transfer-in / transfer-out module, and filter out whether the command is to be executed by the terminal through the subscription mechanism and the device ID of the IoT terminal. After the IoT terminal enters the operation process of the relevant command message, the command to be executed is transparently transmitted to the relevant execution module, such as the remote control APP for remote control operation. The relevant execution module of the IoT terminal executes the relevant operation of the command and publishes the execution result to the transfer-out module. The transfer-out module of the IoT terminal publishes the execution result to the message bus of the cloud server, such as success, failure or timeout.
[0077] After the cloud server's message bus receives the execution result, it sends the execution result to the online debugging module through the message bus. This type of operation solves the non-local area network situation, where the online debugging module cannot directly connect to and operate with the IoT terminal, and the cloud server virtual terminal is fixed by domain name or IP.
[0078] In another embodiment of the present invention, the data type information includes at least the function type and the execution condition corresponding to the function type. Then, in step 230, the data type information includes at least the function type and the execution condition corresponding to the function type. Based on the data type information and the terminal data in the database, it is determined whether the command message can be successfully executed by the IoT terminal, specifically including:
[0079] Step 231. Determine whether the terminal data in the database meets the execution conditions corresponding to the function type.
[0080] Step 232: When the terminal data in the database meets the execution conditions corresponding to the function type, it is determined that the command message can be successfully executed by the IoT terminal; when the terminal data in the database does not meet the execution conditions corresponding to the function type, it is determined that the command message cannot be successfully executed by the IoT terminal.
[0081] Specifically, after the command message is parsed by the data processing module to obtain the function type and the execution conditions corresponding to each function type, the terminal data in the synchronized database is evaluated to determine whether the terminal data meets the execution conditions. If so, the command continues to be sent to the IoT terminal; if not, "cannot execute" is directly returned to the online debugging module. The execution condition is a preset logical relationship and also a logical relationship of the IoT terminal. It can be understood as copying the IoT terminal to the cloud server and processing it first in the data processing module of the cloud server to avoid invalid operations caused by feedback failure of the operation when it is processed at the IoT terminal, thereby improving the efficiency of remote operation and maintenance.
[0082] In one embodiment of the present invention, in step 230, before sending the command message to the IoT terminal and receiving the execution result returned by the IoT terminal and sending the execution result to the online debugging module, the method further includes:
[0083] A. Perform status assessment based on the terminal data in the database to determine whether the IoT terminal is in a healthy state.
[0084] B. When it is confirmed that the IoT terminal is in a healthy state, continue to execute the steps of sending the command message to the IoT terminal, receiving the execution result returned by the IoT terminal, and sending the execution result to the online debugging module.
[0085] Specifically, the current health status of the IoT terminal can be determined by analyzing the terminal data. For example, data such as the CPU and hard disk occupancy rate in the IoT terminal, and statistics on 4G disconnection of the IoT terminal can be used to evaluate the external working status and internal status of the terminal, and predict possible problems with the IoT terminal in advance.
[0086] In one embodiment of the present invention, the method further includes: preprocessing the data in the data center, and also sending the processed results to the data center for storage.
[0087] Specifically, the cloud data processing module can pre-process the data in the data center and send the processed results to the data center for storage, so that online monitoring tools can view them. For example, the data can be compared with the threshold to filter out abnormal information, reduce the amount of data received by the online debugging module, and improve efficiency.
[0088] Figure 3 FIG. 1 shows an internal structure diagram of a computer device in one embodiment of the present invention. The computer device may be a terminal or a system. Figure 3 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement each step in the above method embodiment. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement each step in the above method embodiment. Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0089] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes each step in the above method embodiment.
[0090] In one embodiment, a computer-readable storage medium is proposed, which stores a computer program. When the computer program is executed by a processor, the processor executes each step in the above method embodiment. A person of ordinary skill in the art can understand that all or part of the processes in the above embodiment method can be completed by instructing the relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium, and the program can include the processes of the embodiments of the above methods when executed. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0091] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0092] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A remote operation and maintenance system, characterized in that: The system includes a cloud server, in which a message bus, a data processing module, a transfer-in / transfer-out module and a data center are deployed; The message bus is communicatively connected with the online debugging module, and the message bus is also communicatively connected with the data processing module, the transfer-in / transfer-out module and the data center respectively, and the transfer-in / transfer-out module is communicatively connected with the IoT terminal; The transfer-in / transfer-out module is used to obtain the terminal data of the IoT terminal and synchronize the terminal data in the IoT terminal to the database of the data center; The message bus is used to receive the command message issued by the online debugging module and transmit the command message to the data processing module; The data processing module is used to determine whether the command message can be successfully executed by the IoT terminal according to the terminal data in the database; when it is determined that the command message can be successfully executed by the IoT terminal, the command message is sent to the transfer-in / transfer-out module through the message bus; The transfer-in / transfer-out module is used to transmit the command message to the IoT terminal; The message bus is also used to receive the execution result returned by the IoT terminal and send the execution result to the online debugging module.
2. The system according to claim 1, characterized in that The data processing module is further used to parse the command message to obtain data type information; Based on the data type information and the terminal data in the database, it is determined whether the command message can be successfully executed by the IoT terminal.
3. The system according to claim 2, characterized in that The data type information at least includes a function type and an execution condition corresponding to the function type; The data processing module is further used to determine whether the terminal data in the database meets the execution condition corresponding to the function type; When the terminal data in the database meets the execution condition corresponding to the function type, it is determined that the command message can be successfully executed by the IoT terminal; When the terminal data in the database does not meet the execution condition corresponding to the function type, it is determined that the command message cannot be successfully executed by the IoT terminal.
4. The system according to claim 1, characterized in that The online debugging module includes one or more of a debugging tool, a mobile phone APP and a Web interface.
5. The system according to claim 1, wherein: The data processing module is further used to perform status evaluation based on the terminal data in the database to determine whether the IoT terminal is in a healthy state; When it is confirmed that the IoT terminal is in a healthy state, the command message is sent to the transfer-in / transfer-out module through the message bus.
6. A remote operation and maintenance method, characterized in that: The method comprises: Acquire terminal data in the IoT terminal and synchronize the terminal data to a preset database; Receiving a command message issued by the online debugging module, parsing the command message, and obtaining data type information; Determining whether the command message can be successfully executed by the IoT terminal based on the data type information and the terminal data in the database; When it is determined that the command message can be successfully executed by the IoT terminal, the command message is sent to the IoT terminal, and the execution result returned by the IoT terminal is received, and the execution result is sent to the online debugging module.
7. The method according to claim 6, characterized in that The data type information at least includes a function type and an execution condition corresponding to the function type, and judging whether the command message can be successfully executed by the IoT terminal based on the data type information and the terminal data in the database specifically includes: Determining whether the terminal data in the database meets the execution condition corresponding to the function type; When the terminal data in the database meets the execution condition corresponding to the function type, it is determined that the command message can be successfully executed by the IoT terminal; When the terminal data in the database does not meet the execution condition corresponding to the function type, it is determined that the command message cannot be successfully executed by the IoT terminal.
8. The method according to claim 6, characterized in that Before sending the command message to the IoT terminal, receiving the execution result returned by the IoT terminal, and sending the execution result to the online debugging module, the method further includes: Performing status evaluation based on the terminal data in the database to determine whether the IoT terminal is in a healthy state; When it is confirmed that the IoT terminal is in a healthy state, the steps of sending the command message to the IoT terminal, receiving the execution result returned by the IoT terminal, and sending the execution result to the online debugging module are continued.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 6 to 8.
10. A computer device comprising a memory and a processor, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 6 to 8.
Citation Information
Patent Citations
Data processing method and system, and terminal
CN108647085A
Funeral parlor business management method and system based on Internet of Things, and storage medium
CN117376375A
Distribution internet-of-things terminal adjusting and testing system
CN117812121A
Method and apparatus for counting instruction execution and data accesses for specific types of instructions
CN1614570A
Internet-of-things device control system and method, and storage medium
WO2024152185A1