Cross-platform remote operation and maintenance method and device based on Internet of Things, and electronic equipment
By decoupling operation and maintenance instructions from their execution content through an IoT platform, and automatically matching and issuing appropriate operation and maintenance instructions, the operational and maintenance challenges of different system platforms are solved, and efficient, accurate and secure remote operation and maintenance across platforms is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-19
- Publication Date
- 2026-03-27
AI Technical Summary
Existing remote operation and maintenance methods for equipment have failed to effectively address the differences between different system platforms, requiring maintenance personnel to manually inspect, confirm, and write operation and maintenance instructions, which increases manpower and time costs and poses a risk of misoperation.
By decoupling maintenance instructions from their execution content through an IoT platform, the system automatically matches the execution content with the most relevant device system information and ensures the accurate issuance and execution of maintenance instructions through a secure communication protocol.
It has achieved cross-platform operation and maintenance automation, reduced manual inspection and confirmation operations, lowered the error rate and operation and maintenance costs, and improved operation and maintenance efficiency.
Smart Images

Figure CN121750435A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet of Things (IoT) technology, and in particular to an IoT-based cross-platform remote operation and maintenance method, an IoT-based cross-platform remote operation and maintenance device, an electronic device, a computer-readable storage medium, and a computer program product. Background Technology
[0002] Banks and other financial institutions rely on a large number of terminals for their operations, which require maintenance such as checking network status, changing terminal software permissions, and updating user accounts and passwords. These maintenance tasks are typically difficult for business personnel, requiring on-site technical support for specific issues. However, given the wide distribution of financial institutions and the large number of terminals, sending technical personnel to handle common problems on-site is both time-consuming and costly.
[0003] Furthermore, the operating system platforms of business terminals are also diverse, including Windows, Linux, Kylin, Android and other platforms. The same operation and maintenance operations have different operation paths and commands on different platforms. This requires operation and maintenance technicians to prepare different operation and maintenance commands for different system platforms, which increases the difficulty and risk of operation and maintenance.
[0004] The most common method for remote equipment maintenance is a multi-mode remote maintenance solution that can be tailored to the specific problems detected on-site. The main process is as follows: First, after verifying the key, the device connects to the maintenance server via a gateway; then, on-site personnel or maintenance personnel remotely detect problems on the device, analyzing the difficulty and contributing factors of the problem; finally, the maintenance personnel select the appropriate maintenance command based on the specific problem, such as control, upgrade, or debugging.
[0005] This demonstrates that existing technologies focus on the device-specific issues but fail to address crucial system-level differences. In today's rapidly evolving Internet of Things (IoT) landscape, networked devices are diverse, with varying power consumption requirements, functionalities, and levels of intelligence often employing different underlying operating systems. For instance, tablets frequently use Android and iOS, while gateway devices often use Linux. Different systems support the same maintenance commands differently; for example, iOS cannot execute network testing commands from Android, and the same applies to other systems. This necessitates manual system checks, verification, and selection or creation of appropriate maintenance commands by maintenance personnel. Manual verification and operation often involve greater risks and errors. Furthermore, with a large number of devices requiring maintenance, the system checks and verification processes consume excessive manpower and time. Summary of the Invention
[0006] This application provides a cross-platform remote operation and maintenance method based on the Internet of Things (IoT), a cross-platform remote operation and maintenance device based on the IoT, an electronic device, a computer-readable storage medium, and a computer program product, to solve the problem that existing remote operation and maintenance methods for equipment do not provide solutions for different system differences, which leads to the need for operation and maintenance personnel to manually detect, confirm, and select or write operation and maintenance instructions for the corresponding system, resulting in excessive manpower and time consumption for system detection and confirmation.
[0007] A first aspect of this application provides a cross-platform remote operation and maintenance method based on the Internet of Things (IoT), executed by an IoT platform connected to a user terminal and IoT devices. The method includes: In response to the user's operation of creating an operation and maintenance instruction for executing the target instruction function, the system obtains the created operation and maintenance instruction and receives at least one operation and maintenance instruction execution content associated with the created operation and maintenance instruction uploaded by the user. In response to maintenance instructions issued by the user terminal for IoT devices to be maintained, search for the execution content of each maintenance instruction associated with the instruction function of the maintenance instruction issued by the user terminal, and filter out the maintenance instruction execution content with the highest matching degree with the device system information of the IoT device to be maintained from the searched execution content of each maintenance instruction. The selected maintenance instructions are sent to the IoT devices to be maintained in order to perform the corresponding maintenance.
[0008] Optionally, the IoT platform is also connected to an IoT security component for performing secure communication, and the method further includes: Establish communication connections with IoT devices; among which, The rules for establishing a communication connection include: In response to a login authentication request initiated by an IoT device, the validity of the login authentication key dynamically generated by the IoT device in response to the IoT security component is verified. The login authentication key is generated using a hash algorithm based on the unique identifier of the corresponding IoT device and the timestamp of the request initiated to the IoT security component. After the validity verification is passed, the corresponding communication protocol is selected to establish a communication connection based on the device type and network environment of the IoT device.
[0009] Optionally, after establishing a communication connection with the IoT device, the method further includes: Receive corresponding device system information reported by IoT devices and store the received device system information; wherein, the device system information includes at least one or more of the following: operating system type, operating system version, and operating system architecture; When the device system information of an IoT device changes, the system receives the latest device system information reported by the IoT device, verifies the completeness and accuracy of the received latest device system information, updates the stored device system information of the corresponding IoT device after verification, and generates a device system change record for the corresponding IoT device based on the updated data.
[0010] Optionally, the rules for obtaining operation and maintenance instructions include: In response to the user's request to create operation and maintenance instructions, the object model corresponding to the device attribute parameters of the target IoT device selected by the user is locked in the pre-built dynamic instruction definition interface, and the pre-defined operation and maintenance instructions are formed by dragging and dropping the pre-set functional modules into the locked object model. The similarity of the functional semantics of each functional module in the object model is judged, and any one of the multiple functional semantics that reach the preset similarity is retained to obtain the final set of functional semantics of the object model. Arbitrarily combine the functional semantics in the final functional semantic set of the object model to obtain multiple semantic combinations of the initially defined operation and maintenance instructions. Compare the functional semantic similarity of each semantic combination with the stored operation and maintenance instructions of the corresponding target IoT device. Semantic combinations that do not have functional semantic similarity with the stored operation and maintenance instructions of the corresponding target IoT device are encapsulated as the corresponding operation and maintenance instructions and stored in the operation and maintenance instruction list of the corresponding target IoT device.
[0011] Optionally, after encapsulating the operation and maintenance instructions, the method further includes: Perform operation type matching on the semantic combination of the encapsulated operation and maintenance instructions, and conduct risk assessment on the matched operation types; If the operation type is identified as belonging to a high-risk category, a high-risk flag is attached to the encapsulated operation and maintenance instructions, and the attached high-risk flag is stored in association with the corresponding operation and maintenance instructions.
[0012] Optionally, the rules for receiving operation and maintenance command execution content include: Receive operation and maintenance instruction execution content uploaded by the user terminal; wherein, the operation and maintenance instruction execution content includes script files and / or executable files applicable to the target system, and the target system information includes at least one or more of the following: operating system type, operating system version, and operating system architecture; The system matches the target system information of the IoT device with the system information of the received maintenance instruction. It then searches for maintenance instructions whose functions match the corresponding maintenance instruction execution content in the matched maintenance instruction list and associates and binds the found maintenance instructions with the corresponding maintenance instruction execution content.
[0013] Optionally, the filtering rules for the content executed by operation and maintenance instructions include: Based on the identity identifier of the IoT device to be maintained, query the stored corresponding device system information; The execution content of each operation and maintenance command associated with the operation and maintenance command issued by the user terminal is used as the candidate operation and maintenance command execution content. The queried device system information is compared with the target system information of each candidate operation and maintenance command execution content to obtain the matching score corresponding to each candidate operation and maintenance command execution content. The matching score is obtained by combining the matching degree of operating system type, operating system version, and operating system architecture. If multiple candidate operation and maintenance command execution contents have the highest matching score, the candidate operation and maintenance command execution contents with the latest update time are selected as the operation and maintenance command execution contents with the highest matching degree; otherwise, the candidate operation and maintenance command execution contents with the highest matching score are selected as the operation and maintenance command execution contents with the highest matching degree.
[0014] Optionally, the IoT platform is also connected to an IoT security component for performing secure communications; The selected maintenance instructions are sent to the IoT devices to be maintained, including: The system retrieves an encryption key generated from the IoT security component using a hash algorithm based on the unique identifier of the IoT device to be maintained and the timestamp of the request to the IoT security component. This key is then used to encrypt the selected maintenance instructions before being sent to the IoT device to perform the corresponding maintenance. The rules for performing maintenance on IoT devices awaiting maintenance include: After the IoT device to be maintained receives the encrypted maintenance instruction, it calls the decryption key paired with the generated encryption key from the IoT security component. The decryption key is then used to decrypt the encrypted maintenance instruction before executing the corresponding maintenance instruction.
[0015] Optionally, after sending the selected maintenance instructions to the IoT devices to be maintained, the method further includes: It receives the execution results and output logs from the IoT devices to be maintained after performing the corresponding maintenance, and associates and stores the device system information of the IoT devices to be maintained, the corresponding maintenance instructions and the content of the maintenance instructions, as well as the received execution results and output logs.
[0016] A second aspect of this application provides a cross-platform remote operation and maintenance device based on the Internet of Things (IoT). The device applies the aforementioned cross-platform remote operation and maintenance method based on the IoT and is deployed on an IoT platform. The IoT platform is connected to a user terminal and IoT devices. The device includes: The operation and maintenance instruction creation module is configured to respond to the user terminal's operation of creating an operation and maintenance instruction for executing the target instruction function, obtain the created operation and maintenance instruction, and receive at least one operation and maintenance instruction execution content associated with the created operation and maintenance instruction uploaded by the user terminal. The operation and maintenance instruction execution content matching module is configured to respond to the operation and maintenance instructions of the IoT device to be maintained issued by the user terminal, search for the operation and maintenance instruction execution content associated with the instruction function of the operation and maintenance instructions issued by the user terminal, and filter out the operation and maintenance instruction execution content with the highest matching degree with the device system information of the IoT device to be maintained from the searched operation and maintenance instruction execution content. The operation and maintenance execution module is configured to send the selected operation and maintenance instructions to the IoT devices to be operated and maintained, so as to perform the corresponding operation and maintenance.
[0017] A third aspect of this application provides an electronic device, including: 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 above-described method.
[0018] In a fourth aspect, this application provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the above-described method.
[0019] In a fifth aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0020] This application decouples maintenance instructions from their execution content, uploading them independently to the IoT platform via the user terminal. When responding to maintenance instructions from the user terminal for an IoT device, it searches for execution content associated with the user terminal's instruction function and selects the one with the highest match to the device's system information. Finally, the selected execution content is sent to the IoT device for maintenance. Based on IoT remote control technology, this application utilizes a cloud-based IoT platform to automatically detect the device's operational status and send maintenance instructions suitable for the device's system platform. This automatic matching between the execution content and the device's system platform enables cross-platform maintenance actions and cross-platform remote control. This application reduces manual inspection, verification, and operation, lowering the rate of human error and reducing manual maintenance costs. Attached Figure Description
[0021] 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.
[0022] Figure 1 A flowchart illustrating a cross-platform remote operation and maintenance method based on the Internet of Things (IoT) provided in this application embodiment; Figure 2 This application provides a schematic diagram of the connection of an Internet of Things (IoT) platform according to an embodiment of the present application. Figure 3 A schematic diagram illustrating the login authentication process for an IoT device provided in this application embodiment; Figure 4 This is a schematic diagram of device system information maintenance provided in an embodiment of this application; Figure 5 A flowchart illustrating the creation of operation and maintenance instructions provided in the embodiments of this application; Figure 6 A schematic diagram illustrating the process of maintaining the execution content of operation and maintenance instructions provided in this application embodiment; Figure 7 A schematic diagram illustrating the process of cross-platform distribution of operation and maintenance instructions provided in this application embodiment; Figure 8 A schematic diagram of a cross-platform remote operation and maintenance device based on the Internet of Things provided in this application embodiment; Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0023] 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.
[0024] Explanation of reference numerals in the attached figures 121-Transceiver, 122-Processor, 123-Memory. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for illustration and explanation of the embodiments of this application and are not intended to limit the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0026] It should be noted that if the embodiments of this application involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.
[0027] Furthermore, if the embodiments of this application involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application. It is understood that in the technical solutions of this application, the acquisition, collection, storage, use, processing, transmission, provision, disclosure, and application of data all comply with the provisions of relevant laws and regulations. It should be noted that in the embodiments of this application, certain software, components, models, and other existing industry solutions may be mentioned. These should be considered exemplary, and their purpose is merely to illustrate the feasibility of implementing the technical solutions of this application, but does not mean that the applicant has already used or necessarily used such solutions.
[0028] Currently, existing remote equipment maintenance methods do not offer solutions for different system-specific issues, requiring maintenance personnel to manually inspect, verify, and select or write corresponding maintenance instructions for each system. Human verification and operation often involve greater risks and errors. Furthermore, if the number of devices requiring maintenance is large, the inspection and verification processes consume excessive manpower and time. To address these issues, such as... Figure 1 As shown, Figure 1 This application provides a flowchart of a cross-platform remote operation and maintenance method based on the Internet of Things (IoT). A first aspect of this application provides a cross-platform remote operation and maintenance method based on the Internet of Things, executed by an IoT platform connected to a user terminal and IoT devices. The method includes: S110: In response to the user terminal's operation of creating an operation and maintenance instruction for executing the target instruction function, obtain the created operation and maintenance instruction, and receive at least one operation and maintenance instruction execution content associated with the created operation and maintenance instruction uploaded by the user terminal. Specifically, this method decouples maintenance instructions from their execution content, uploading them independently to the IoT platform via the user terminal. During instruction creation, the user terminal provides a visual instruction editing interface (i.e., a dynamic instruction definition interface). Users can select the target instruction function through this interface, such as preset modules like "system status query," "parameter configuration update," or "fault diagnosis and repair," or create maintenance instructions with specific logic using custom scripts. Upon receiving the user terminal's instruction creation trigger, the IoT platform first obtains the instruction's basic information, such as the instruction name, unique identifier, and target IoT device type or scope. Subsequently, it receives at least one execution content of the maintenance instruction uploaded by the user terminal. The execution content can be customized based on the different operating systems (e.g., Windows Embedded, Linux, Android Things, Kylin, etc.) or application protocols (e.g., MQTT, CoAP, HTTP, etc.) that the IoT devices may run. For example, for the "restart service" operation and maintenance command function, users can upload a shell script containing the command "systemctl restart [service name]" for IoT devices running Linux, and a batch script containing the command "net stop [service name] && net start [service name]" for IoT devices running Windows. The IoT platform will associate and store the operation and maintenance command execution content corresponding to different systems or protocols with the operation and maintenance command itself, and create an index to accurately match and issue the corresponding operation and maintenance command execution content based on the device system information of the target IoT device.
[0029] Among them, the content of the operation and maintenance instructions refers to the control scripts or programs that IoT devices can execute.
[0030] Please refer to Figure 2 , Figure 2 This is a connection diagram of an IoT platform provided in an embodiment of this application. The system applying this cross-platform remote operation and maintenance method consists of IoT devices, user applications, an IoT platform, an IoT security component, and a database. The IoT security component provides transmission security, the database maintains device system information and operation and maintenance command execution content, and the IoT platform provides communication connectivity between the IoT devices and the user applications. The IoT security component is a security authentication component for communication between the IoT platform and the IoT devices, supporting various login authentication and encryption / decryption methods.
[0031] In some embodiments of this example, the IoT platform is also connected to an IoT security component for performing secure communication. The method further includes: establishing a communication connection with the IoT device; wherein the rules for establishing the communication connection include: in response to a login authentication request initiated by the IoT device, verifying the validity of the login authentication key dynamically generated by the IoT device in response to the IoT security component; wherein the login authentication key is generated using a hash algorithm based on the unique identifier of the corresponding IoT device and the timestamp of the request to the IoT security component; after the validity verification is successful, selecting the corresponding communication protocol to establish a communication connection according to the device type and network environment of the IoT device. The communication protocols include MQTT, HTTP, CoAP, and WebSocket protocols.
[0032] Specifically, when an IoT device initiates a login authentication request, it uses its unique identifier (such as a device serial number, MAC address, or other globally unique code) and the precise timestamp of the current request to the IoT security component as input parameters. Upon receiving the input parameters, the IoT security component uses a preset hash algorithm (such as SHA-256, MD5, etc.) to calculate the input parameters, thereby dynamically generating a login authentication key. After receiving the login authentication key sent by the IoT device, the IoT platform retrieves the pre-registered unique identifier of the IoT device from its database and obtains the timestamp recorded by the IoT platform when the IoT device initiated the request (or queries the IoT security component for the timestamp corresponding to the request). It then performs the same hash algorithm and calculation to obtain a key for verification. The verification key calculated by the IoT platform is compared with the login authentication key sent by the IoT device. If they match exactly, the login authentication key is deemed valid, i.e., the validity verification passes; if they do not match, the login authentication request is rejected, and the IoT device cannot establish a communication connection. After successful validity verification, the IoT platform identifies the device type of the IoT device, such as whether it is an industrial control device, a smart home device, or an environmental monitoring sensor. It also detects the network environment in which the IoT device operates, including network bandwidth, latency, stability, and whether it is a restricted network (such as a low-power wide-area network). When the IoT device is a resource-constrained embedded device with strict requirements for network bandwidth and power consumption, and the network environment is low-bandwidth and high-latency, the IoT platform prioritizes the MQTT or CoAP protocol. The MQTT protocol uses a publish / subscribe model, is lightweight and has low bandwidth consumption, making it suitable for frequent data exchanges between devices. The CoAP protocol is specifically designed for restricted nodes and restricted networks, with a simple and compact message format, making it very suitable for resource-constrained IoT devices. If the IoT device needs to directly interact with web applications, and the network environment is relatively stable with sufficient bandwidth, the HTTP protocol becomes a suitable choice. Based on a request / response model, it is easy to understand and implement and is widely used in web services. For scenarios requiring real-time bidirectional communication, such as the immediate issuance of remote control commands and real-time feedback on device status, the WebSocket protocol is more suitable. It can establish a persistent connection between the client and server, enabling full-duplex communication and effectively reducing communication latency. In this way, the IoT platform can select the most suitable communication protocol for IoT devices of different types and network environments, ensuring the stability, efficiency, and compatibility of communication connections.
[0033] Please refer to Figure 3 , Figure 3This is a schematic diagram illustrating the login authentication process for an IoT device, as provided in an embodiment of this application. The device login authentication process is as follows: The IoT device first needs to establish a communication connection with the IoT platform. After obtaining a login authentication key from the IoT security component, the IoT device initiates a login authentication request to the IoT platform. Once the IoT platform verifies the key information of the login authentication key, it allows the connection.
[0034] In some embodiments of this example, after establishing a communication connection with the IoT device, the method further includes: receiving corresponding device system information reported by the IoT device and storing the received device system information; wherein, the device system information includes at least one or more of the following: operating system type, operating system version, and operating system architecture; when the device system information of the IoT device changes, receiving the latest device system information reported by the IoT device, verifying the completeness and accuracy of the received latest device system information, and after verification, updating the stored device system information of the corresponding IoT device, and generating a device system change record of the corresponding IoT device based on the updated data.
[0035] Please refer to Figure 4 , Figure 4 This is a schematic diagram illustrating device system information maintenance provided in an embodiment of this application. The device system information maintenance process is as follows: After the IoT device completes login authentication, it actively reports the corresponding device system information to the IoT platform, including: operating system, system version, and system architecture; the IoT platform receives the device system information of the IoT device and stores it in the database for persistent maintenance.
[0036] In some implementations of this embodiment, the rules for obtaining operation and maintenance instructions include: in response to a user's request to create operation and maintenance instructions, locking the object model selected by the user to characterize the device attribute parameters of the target IoT device in a pre-built dynamic instruction definition interface, and dragging and dropping pre-set functional modules into the locked object model to form a preliminary defined operation and maintenance instruction; performing similarity judgment on the functional semantics of each functional module in the object model, retaining any one of the multiple functional semantics with a similarity reaching a preset similarity, to obtain the final set of functional semantics of the object model; arbitrarily combining the functional semantics in the final set of functional semantics of the object model to obtain multiple semantic combinations of the preliminary defined operation and maintenance instructions; comparing the functional semantic similarity of each semantic combination with the stored operation and maintenance instructions of the corresponding target IoT device, encapsulating semantic combinations that do not have functional semantic similarity to the stored operation and maintenance instructions of the corresponding target IoT device into the corresponding operation and maintenance instruction, and storing the encapsulated operation and maintenance instructions in the operation and maintenance instruction list of the corresponding target IoT device for daily maintenance calls.
[0037] Please refer to Figure 5 , Figure 5This is a schematic diagram illustrating the process of creating operation and maintenance instructions provided in this application embodiment. The operation and maintenance instruction creation process is as follows: Operation and maintenance personnel create operation and maintenance instructions with corresponding functions, such as network detection instructions, through user applications to the IoT platform. After receiving the operation and maintenance instructions, the IoT platform stores them in the database for persistent maintenance and provides them to user applications for daily maintenance.
[0038] In some embodiments of this example, after encapsulating the operation and maintenance instructions, the method further includes: performing operation type matching on the semantic combination of the encapsulated operation and maintenance instructions, and conducting risk assessment on the matched operation types; if the operation type is identified as belonging to a high-risk category, then a high-risk mark is added to the encapsulated operation and maintenance instructions, and the added high-risk mark is associated with and stored with the corresponding operation and maintenance instructions.
[0039] Specifically, operation type matching can be achieved through a pre-defined operation type classification library. This library contains various common operation and maintenance operation types and their corresponding semantic features. For example, operation types such as "file deletion," "system restart," and "parameter modification" correspond to specific functional semantic keywords or semantic combination patterns. When matching the semantic combination of the encapsulated operation and maintenance instructions, the semantic combination is compared with the semantic features of each operation type in the operation type classification library. If the semantic feature of a certain operation type has the highest matching degree with the semantic combination of the encapsulated instruction and exceeds a preset threshold, then the encapsulated instruction is determined to belong to this operation type. A risk assessment is performed on the matched operation types to determine whether they belong to a high-risk category. For example, the "file deletion" operation, if it involves critical system configuration files or core business data, usually has a high risk level; the "system restart" operation may cause the device to go offline temporarily, affecting real-time data collection or service provision, and the risk level needs to be comprehensively assessed based on the importance of the device in the overall system and the restart frequency. If the operation type is determined to be high-risk, a high-risk flag will be automatically added to the encapsulated operation and maintenance instruction. When storing the operation and maintenance instruction, this high-risk flag will be included as one of its attribute information and stored together with the instruction content, operation type and other data in the operation and maintenance instruction list of the corresponding IoT device. This will enable the user application to promptly alert the operation and maintenance personnel to the risks when the instruction is called in the future, and assist the operation and maintenance personnel in making prudent operation decisions.
[0040] In some implementations of this embodiment, the rules for receiving operation and maintenance instruction execution content include: The system receives operation and maintenance instructions uploaded by the user. The operation and maintenance instructions include script files and / or executable files applicable to the target system. The target system information includes at least one or more of the following: operating system type, operating system version, and operating system architecture. The system matches the operation and maintenance instructions list of the corresponding IoT devices whose system information matches the target system information of the received operation and maintenance instructions. The system then searches for operation and maintenance instructions whose functions match the corresponding operation and maintenance instructions in the matched operation and maintenance instructions list and associates and binds the found operation and maintenance instructions with the corresponding operation and maintenance instructions.
[0041] Please refer to Figure 6 , Figure 6 This is a schematic diagram illustrating the process of maintaining the execution content of operation and maintenance instructions provided in this application embodiment. The process of maintaining the execution content of operation and maintenance instructions is as follows: Developers or manufacturer support personnel upload the execution content of the corresponding operation and maintenance instructions to the IoT platform through the user application. Depending on the specific device system platform (such as Windows, Linux, Kylin, Android), either a script or an executable file can be uploaded. After receiving the execution content of the operation and maintenance instructions, the IoT platform associates and binds it with the operation and maintenance instructions of the corresponding functions according to the association information specified by the user application, and then stores it in the database for persistent maintenance.
[0042] S120: In response to the maintenance instructions for the IoT device to be maintained issued by the user terminal, search for the execution content of each maintenance instruction associated with the instruction function of the maintenance instruction issued by the user terminal, and filter out the maintenance instruction execution content with the highest matching degree with the device system information of the IoT device to be maintained from the searched execution content of each maintenance instruction. Specifically, the IoT platform parses the maintenance commands issued by the user terminal, extracts the command function identifiers, and uses these identifiers as an index to search the database for all pre-associated and bound maintenance command execution content. Next, it obtains the device system information reported by the IoT device to be maintained, which includes key elements such as operating system type, operating system version, and operating system architecture. Then, it compares the target system information corresponding to each found maintenance command execution content with the device system information of the IoT device to calculate the matching degree. During the matching degree calculation, the operating system type has the highest matching weight; if the types do not match, it is directly determined as a mismatch. If the types match, the operating system version is further compared. Finally, the matching of the operating system architecture (such as x86, ARM, etc.) is combined to obtain the final matching score between each maintenance command execution content and the IoT device. Finally, the maintenance command execution content with the highest matching degree score is selected as the target execution content for this maintenance operation.
[0043] Please refer to Figure 7 , Figure 7This is a schematic diagram illustrating the cross-platform distribution process of maintenance instructions provided in this application embodiment. The process is as follows: After detecting a problem with an IoT device, maintenance personnel can select the corresponding maintenance instruction through the user application and distribute it. After receiving the maintenance instruction, the IoT platform can identify the system platform of the IoT device based on the device system information maintained in the database, and automatically filter the maintenance instruction execution content that matches the instruction. For example, for Windows platform devices, it matches an executable script in .bat format. Then, the content is encrypted using the IoT security component before being distributed to the IoT device. After receiving the maintenance instruction, the IoT device decrypts the content using the IoT security component and executes it. This allows users to focus only on the function of the corresponding maintenance instruction, without needing to know the specific instruction execution content used on the corresponding IoT device. The specific instruction execution content is automatically matched by the IoT platform based on the device system information.
[0044] In some implementations of this embodiment, the filtering rules for the execution content of maintenance instructions include: querying the stored corresponding device system information based on the identity identifier of the IoT device to be maintained; taking each execution content of maintenance instructions that is associated with the function of the maintenance instructions issued by the user terminal as each candidate execution content of maintenance instructions; comparing the queried device system information with the target system information of each candidate execution content of maintenance instructions to obtain a matching score for each candidate execution content of maintenance instructions; wherein, the matching score is obtained by comprehensively considering the matching degree of operating system type, the matching degree of operating system version, and the matching degree of operating system architecture; if there are multiple candidate execution content of maintenance instructions with the highest matching score, the candidate execution content of maintenance instructions with the latest update time is selected as the execution content of maintenance instructions with the highest matching degree; otherwise, the candidate execution content of maintenance instructions with the highest matching score is selected as the execution content of maintenance instructions with the highest matching degree.
[0045] S130: Send the selected maintenance instructions to the IoT devices to be maintained, so as to perform the corresponding maintenance.
[0046] Specifically, in response to a user terminal creating an operation and maintenance (O&M) instruction for executing a target function, the method acquires the created O&M instruction and receives at least one O&M instruction execution content associated with the created O&M instruction uploaded by the user terminal. This decouples the O&M instruction from its execution content, allowing them to be independently uploaded to the IoT platform via the user terminal. In response to an O&M instruction for an IoT device to be maintained issued by the user terminal, the method searches for O&M instruction execution contents associated with the function of the user terminal's O&M instruction, and selects the O&M instruction execution content with the highest matching degree to the device system information of the IoT device to be maintained from the searched execution content. Finally, the selected O&M instruction execution content is sent to the IoT device to be maintained to execute the corresponding O&M. This method, based on IoT remote control technology, automatically detects the operational status of IoT devices via a cloud-based IoT platform. It then issues appropriate maintenance commands to the corresponding IoT device's system platform, enabling cross-platform maintenance actions and thus cross-platform remote control. This method reduces manual inspection, verification, and operation, lowering the rate of human error and reducing manual maintenance costs.
[0047] In the above implementation process, the method provides an operation and maintenance architecture that automatically decouples and intelligently matches operation and maintenance instructions with their execution content. This allows operation and maintenance personnel to focus only on "what to do" (operation and maintenance instruction functions), while the IoT platform automatically determines "how to do it" (matching the corresponding executable script or file) based on the actual system information of the IoT devices (such as Windows, Linux, Kylin, Android, etc.), thereby truly achieving seamless, efficient, and accurate operation and maintenance across heterogeneous platforms.
[0048] In some embodiments of this example, the IoT platform is also connected to an IoT security component for performing secure communication; the process of sending the selected maintenance instructions to the IoT device to be maintained includes: calling an encryption key generated by a hash algorithm based on the unique identifier of the IoT device to be maintained and the timestamp of the request to the IoT security component from the IoT security component; encrypting the selected maintenance instructions using the called encryption key; and then sending the encrypted maintenance instructions to the IoT device to be maintained for corresponding maintenance; wherein the rules for the IoT device to be maintained to perform the corresponding maintenance include: after the IoT device receives the encrypted maintenance instructions, it calls a decryption key paired with the generated encryption key from the IoT security component; and then decrypts the encrypted maintenance instructions using the called decryption key before executing the corresponding maintenance instructions.
[0049] In some embodiments of this example, after sending the selected maintenance instructions to the IoT devices to be maintained, the method further includes: receiving the execution results and output logs returned by the IoT devices after performing the corresponding maintenance; and associating and storing the device system information of the IoT devices to be maintained, the corresponding executed maintenance instructions and their execution content, and the received execution results and output logs. This allows for quick subsequent retrieval of the execution results and output logs of the IoT devices after each maintenance operation.
[0050] like Figure 8 As shown, Figure 8 This application provides a schematic diagram of an IoT-based cross-platform remote operation and maintenance device. In a second aspect, this application provides an IoT-based cross-platform remote operation and maintenance device, which applies the aforementioned IoT-based cross-platform remote operation and maintenance method and is deployed on an IoT platform. The IoT platform is connected to a user terminal and IoT devices. The device includes: The operation and maintenance instruction creation module is configured to respond to the user terminal's operation of creating an operation and maintenance instruction for executing the target instruction function, obtain the created operation and maintenance instruction, and receive at least one operation and maintenance instruction execution content associated with the created operation and maintenance instruction uploaded by the user terminal. The operation and maintenance instruction execution content matching module is configured to respond to the operation and maintenance instructions of the IoT device to be maintained issued by the user terminal, search for the operation and maintenance instruction execution content associated with the instruction function of the operation and maintenance instructions issued by the user terminal, and filter out the operation and maintenance instruction execution content with the highest matching degree with the device system information of the IoT device to be maintained from the searched operation and maintenance instruction execution content. The operation and maintenance execution module is configured to send the selected operation and maintenance instructions to the IoT devices to be operated and maintained, so as to perform the corresponding operation and maintenance.
[0051] Specifically, in response to a user terminal creating an operation and maintenance (O&M) instruction to execute a target function, the device acquires the created O&M instruction and receives at least one O&M instruction execution content associated with the created O&M instruction uploaded by the user terminal. This decouples the O&M instruction from its execution content, allowing them to be independently uploaded to the IoT platform via the user terminal. In response to an O&M instruction from the user terminal for an IoT device to be maintained, the device searches for O&M instruction execution contents associated with the function of the user terminal's O&M instruction, and selects the O&M instruction execution content with the highest matching degree to the device system information of the IoT device to be maintained from the searched O&M instruction execution contents. Finally, the selected O&M instruction execution content is sent to the IoT device to be maintained to execute the corresponding O&M. This device, based on IoT remote control technology, automatically detects the operational status of IoT devices via a cloud-based IoT platform. It then issues appropriate maintenance commands to the corresponding IoT device's system platform, enabling cross-platform maintenance operations and thus cross-platform remote maintenance control. This reduces manual inspection, verification, and operation, lowering the rate of human error and reducing manual maintenance costs.
[0052] It should be noted 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 through 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, the maintenance instruction creation module can be a separate processing element, or it can be integrated into a chip in the above device. Alternatively, it can be stored as program code in the device's memory, and its functions can be called and executed by a processing element. 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 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.
[0053] A third aspect of this application provides an electronic device, including: 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 above-described method.
[0054] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 9 As shown, the electronic device may include: transceiver 121, processor 122, and memory 123.
[0055] Processor 122 executes computer execution instructions stored in memory, causing processor 122 to perform the scheme in the above embodiments. Processor 122 may be a general-purpose processor, including a network processor (NP); it may also be a digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0056] The memory 123 is connected to the processor 122 via the system bus and completes communication between them. The memory 123 is used to store computer program instructions.
[0057] Transceiver 121 can be used to obtain the task to be run and its configuration information.
[0058] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Transceivers are used to enable communication between database access devices and other computers (e.g., clients, read-write libraries, and read-only libraries). Memory may include random access memory (RAM) and may also include non-volatile memory.
[0059] The electronic device provided in this application embodiment can be the terminal device described in the above embodiments.
[0060] In a fourth aspect, this application provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the above-described method.
[0061] In a fifth aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0062] In summary, this application, in response to the user terminal's creation of an operation and maintenance (O&M) instruction for executing a target function, obtains the created O&M instruction and receives at least one O&M instruction execution content associated with the created O&M instruction uploaded by the user terminal. This decouples the O&M instruction from its execution content, allowing them to be independently uploaded to the IoT platform via the user terminal. In response to the O&M instruction for the IoT device to be maintained issued by the user terminal, it searches for O&M instruction execution contents associated with the function of the O&M instruction issued by the user terminal, and selects the O&M instruction execution content with the highest matching degree with the device system information of the IoT device to be maintained from the searched O&M instruction execution contents. Finally, the selected O&M instruction execution content is sent to the IoT device to be maintained to execute the corresponding O&M. This application utilizes IoT-based remote control technology. A cloud-based IoT platform automatically detects the operational status of IoT devices and issues maintenance commands tailored to the corresponding system platform of the IoT device. In other words, the IoT platform automatically matches the maintenance commands with the device's system platform, enabling maintenance actions across different system platforms and achieving cross-platform remote maintenance control. This reduces manual inspection, verification, and operation, lowers the rate of human error, and reduces manual maintenance costs.
[0063] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0064] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A cross-platform remote operation and maintenance method based on the Internet of Things, characterized in that, Performed by an IoT platform connected to a user terminal and IoT devices, the method includes: In response to the user's operation of creating an operation and maintenance instruction for executing the target instruction function, the system obtains the created operation and maintenance instruction and receives at least one operation and maintenance instruction execution content associated with the created operation and maintenance instruction uploaded by the user. In response to maintenance instructions issued by the user terminal for IoT devices to be maintained, search for the execution content of each maintenance instruction associated with the instruction function of the maintenance instruction issued by the user terminal, and filter out the maintenance instruction execution content with the highest matching degree with the device system information of the IoT device to be maintained from the searched execution content of each maintenance instruction. The selected maintenance instructions are sent to the IoT devices to be maintained in order to perform the corresponding maintenance.
2. The cross-platform remote operation and maintenance method based on the Internet of Things according to claim 1, characterized in that, The IoT platform is also connected to an IoT security component for performing secure communication, and the method further includes: Establish communication connections with IoT devices; among which, The rules for establishing the communication connection include: In response to a login authentication request initiated by an IoT device, the validity of the login authentication key dynamically generated by the IoT device in response to the IoT security component is verified; wherein, the login authentication key is generated by a hash algorithm based on the unique identifier of the corresponding IoT device and the timestamp of the request initiated to the IoT security component; After the validity verification is passed, the corresponding communication protocol is selected to establish a communication connection based on the device type and network environment of the IoT device.
3. The cross-platform remote operation and maintenance method based on the Internet of Things according to claim 2, characterized in that, After establishing a communication connection with the IoT device, the method further includes: Receive corresponding device system information reported by IoT devices and store the received device system information; wherein, the device system information includes at least one or more of the following: operating system type, operating system version, and operating system architecture; When the device system information of an IoT device changes, the system receives the latest device system information reported by the IoT device, verifies the completeness and accuracy of the received latest device system information, updates the stored device system information of the corresponding IoT device after verification, and generates a device system change record for the corresponding IoT device based on the updated data.
4. The cross-platform remote operation and maintenance method based on the Internet of Things according to claim 1, characterized in that, The rules for obtaining the operation and maintenance instructions include: In response to the user's request to create operation and maintenance instructions, the object model corresponding to the device attribute parameters of the target IoT device selected by the user is locked in the pre-built dynamic instruction definition interface, and the pre-defined operation and maintenance instructions are formed by dragging and dropping the pre-set functional modules into the locked object model. The similarity of the functional semantics of each functional module in the object model is judged, and any one of the multiple functional semantics that reach the preset similarity is retained to obtain the final set of functional semantics of the object model. Arbitrarily combine the functional semantics in the final functional semantic set of the object model to obtain multiple semantic combinations of the initially defined operation and maintenance instructions. Compare the functional semantic similarity of each semantic combination with the stored operation and maintenance instructions of the corresponding target IoT device. Semantic combinations that do not have functional semantic similarity with the stored operation and maintenance instructions of the corresponding target IoT device are encapsulated as the corresponding operation and maintenance instructions and stored in the operation and maintenance instruction list of the corresponding target IoT device.
5. The cross-platform remote operation and maintenance method based on the Internet of Things according to claim 4, characterized in that, After encapsulating the operation and maintenance instructions, the method further includes: Perform operation type matching on the semantic combination of the encapsulated operation and maintenance instructions, and conduct risk assessment on the matched operation types; If the operation type is identified as belonging to a high-risk category, a high-risk flag is added to the encapsulated operation and maintenance instructions, and the added high-risk flag is associated with and stored with the corresponding operation and maintenance instructions.
6. The cross-platform remote operation and maintenance method based on the Internet of Things according to claim 1, characterized in that, The rules for receiving the operation and maintenance instructions include: Receive operation and maintenance instruction execution content uploaded by the user terminal; wherein, the operation and maintenance instruction execution content includes script files and / or executable files applicable to the target system, and the target system information includes at least one or more of the following: operating system type, operating system version, and operating system architecture; The system matches the target system information of the IoT device with the system information of the received maintenance instruction. It then searches for maintenance instructions whose functions match the corresponding maintenance instruction execution content in the matched maintenance instruction list and associates and binds the found maintenance instructions with the corresponding maintenance instruction execution content.
7. The cross-platform remote operation and maintenance method based on the Internet of Things according to claim 1, characterized in that, The filtering rules for the execution content of the operation and maintenance instructions include: Based on the identity identifier of the IoT device to be maintained, query the stored corresponding device system information; The execution content of each operation and maintenance instruction associated with the operation and maintenance instructions issued by the user terminal is used as each candidate operation and maintenance instruction execution content. The queried device system information is compared with the target system information of each candidate operation and maintenance instruction execution content to obtain the matching score corresponding to each candidate operation and maintenance instruction execution content. The matching score is obtained based on the matching degree of operating system type, operating system version, and operating system architecture. If multiple candidate operation and maintenance command execution contents have the highest matching score, the candidate operation and maintenance command execution contents with the latest update time are selected as the operation and maintenance command execution contents with the highest matching degree; otherwise, the candidate operation and maintenance command execution contents with the highest matching score are selected as the operation and maintenance command execution contents with the highest matching degree.
8. The cross-platform remote operation and maintenance method based on the Internet of Things according to claim 1, characterized in that, The IoT platform is also connected to an IoT security component for performing secure communications; The step of sending the selected maintenance instructions to the IoT devices to be maintained includes: The system retrieves an encryption key generated from the IoT security component using a hash algorithm based on the unique identifier of the IoT device to be maintained and the timestamp of the request sent to the IoT security component. The retrieved encryption key is then used to encrypt the selected maintenance instructions before being sent to the IoT device to perform the corresponding maintenance. The rules for performing maintenance on the IoT devices to be maintained include: After the IoT device to be maintained receives the encrypted maintenance instruction, it calls the decryption key paired with the generated encryption key from the IoT security component. The decryption key is then used to decrypt the encrypted maintenance instruction before executing the corresponding maintenance instruction.
9. The cross-platform remote operation and maintenance method based on the Internet of Things according to claim 1, characterized in that, After sending the selected maintenance instructions to the IoT devices to be maintained, the method further includes: It receives the execution results and output logs from the IoT devices to be maintained after performing the corresponding maintenance, and associates and stores the device system information of the IoT devices to be maintained, the corresponding maintenance instructions and the content of the maintenance instructions, as well as the received execution results and output logs.
10. A cross-platform remote operation and maintenance device based on the Internet of Things (IoT), employing the cross-platform remote operation and maintenance method based on the IoT as described in any one of claims 1-9, characterized in that, Deployed on an IoT platform, which connects user terminals and IoT devices, the device includes: The operation and maintenance instruction creation module is configured to respond to the user terminal's operation of creating an operation and maintenance instruction for executing the target instruction function, obtain the created operation and maintenance instruction, and receive at least one operation and maintenance instruction execution content associated with the created operation and maintenance instruction uploaded by the user terminal. The operation and maintenance instruction execution content matching module is configured to respond to the operation and maintenance instructions of the IoT device to be maintained issued by the user terminal, search for the operation and maintenance instruction execution content associated with the instruction function of the operation and maintenance instructions issued by the user terminal, and filter out the operation and maintenance instruction execution content with the highest matching degree with the device system information of the IoT device to be maintained from the searched operation and maintenance instruction execution content. The operation and maintenance execution module is configured to send the selected operation and maintenance instructions to the IoT devices to be operated and maintained, so as to perform the corresponding operation and maintenance.
11. 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 IoT-based cross-platform remote operation and maintenance method as described in any one of claims 1-9.
12. 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 IoT-based cross-platform remote operation and maintenance method as described in any one of claims 1-9.
13. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the IoT-based cross-platform remote operation and maintenance method as described in any one of claims 1-9.