Remote control method for heterogeneous terminals
Through the data acquisition gateway to analyze and integrate data acquisition strategies in remote control of heterogeneous terminals, generate structured transmission packets, and select optimized transmission paths, the problem of data transmission reliability and compatibility in remote control of heterogeneous terminals is solved, and the problem of data transmission reliability and compatibility is realized Unification and interchangeability of data.
Patent Information
- Application Number
- CN202411092711.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-09
AI Technical Summary
In the remote control process of heterogeneous terminals, how to achieve the reliability and compatibility of data transmission, especially in the case of different hardware architectures, communication protocols and data formats of different devices, to ensure data unity and interchangeability.
Through the data acquisition gateway as an intermediary, it receives the data acquisition strategy sent by the remote control platform, analyzes and generates data acquisition instructions, issues it to heterogeneous terminals for data acquisition, and then integrates and processes it to generate a structured acquisition data transmission packet and sends it to the remote Control the platform, and select the transmission path based on the preset data transmission model to ensure cross-platform and cross-protocol communication of data.
It realizes data unity of heterogeneous terminals, ensures the structured framework of data, provides data consistency and interchangeability, and ensures data transmission reliability and compatibility during remote control.
Smart Images

Figure CN118631874B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of digital information communication technology, and in particular to a remote control method for a heterogeneous terminal. Background Art
[0002] Heterogeneous terminals refer to different types of terminal devices in a network system. These devices may differ in hardware architecture, communication protocols, and data formats. In the context of network communication and data processing, remote control and management of heterogeneous terminals requires comprehensive consideration of the characteristics and requirements of different devices, as well as the uniformity and compatibility of data interaction between the remote control platform and different data. Therefore, how to achieve data transmission reliability and data compatibility during remote control of heterogeneous terminals has become an urgent problem to be solved. Summary of the invention
[0003] Based on the above situation of the prior art, an object of an embodiment of the present invention is to provide a remote control method for heterogeneous terminals, so as to improve data transmission reliability and data compatibility of remote control of heterogeneous terminals.
[0004] To achieve the above object, according to one aspect of the present invention, a remote control method for a heterogeneous terminal is provided, the method comprising:
[0005] The remote control platform sends data collection strategies to the data collection gateway;
[0006] The data collection gateway receives and analyzes the data collection strategy to obtain a data collection instruction;
[0007] The data collection gateway sends the data collection instruction to the heterogeneous terminal, so that the heterogeneous terminal performs data collection based on the data collection instruction and uploads the collected data;
[0008] The data acquisition gateway receives the acquired data and performs integration processing, generates an acquired data transmission packet based on a predetermined format, and sends the acquired data transmission packet to the remote control platform;
[0009] The remote control platform receives the collected data transmission package and performs data analysis to obtain analysis results;
[0010] The generating of the acquisition data transmission packet based on a predetermined format includes generating the acquisition data transmission packet based on the following format:
[0011] ;
[0012] in, Indicates the collection of data transmission packets; A unique identifier representing the collected data; Indicates the type of data source collected; A unique identifier that represents the source of the collected data; Indicates the timestamp corresponding to the collection of data; Indicates the collected data value; Indicates the geographical location of the data source where the data was collected; Represents metadata.
[0013] Furthermore, the data collection gateway receives and analyzes the data collection strategy to obtain data collection instructions, including:
[0014] The data collection gateway analyzes the data collection strategy to obtain data collection parameters;
[0015] The data collection gateway compares the data collection parameters with the terminal parameters in the preset registration table to obtain a comparison result, and the comparison result indicates the corresponding heterogeneous terminal;
[0016] The data collection gateway generates a data collection instruction according to the data collection parameters and the comparison result.
[0017] Furthermore, the preset registration table is set when a heterogeneous terminal accesses a data acquisition gateway, and the preset registration table includes a device type, capability, and data type of the heterogeneous terminal.
[0018] Furthermore, the method further comprises:
[0019] The data acquisition gateway selects a transmission path based on a preset data transmission model, and uses the selected transmission path to send the acquired data transmission package to the remote control platform.
[0020] Furthermore, the data transmission model is expressed by the following formula:
[0021] ;
[0022] in, Indicates The transmission status score of the transmission path, Indicates The bandwidth capacity of the transmission path, represents the total number of all transmission paths, Indicates The delay of the transmission path, represents the maximum delay in all transmission paths, Indicates The physical redundancy of the transmission paths; Indicates the maximum value of physical redundancy among all transmission paths; , and They respectively represent the weight coefficients of each item in the data transmission model.
[0023] Furthermore, the physical redundancy is calculated using the following formula:
[0024] ;
[0025] in, Indicates The number of redundant resources in the transmission path, Indicates The total number of transmission path resources.
[0026] Furthermore, the remote control platform sends the data collection strategy to the data collection gateway in JASON format;
[0027] The data acquisition gateway parses the received data acquisition strategy into data acquisition instructions in the Modbus protocol format.
[0028] Furthermore, the method further comprises:
[0029] The remote control platform generates a remote control instruction based on the analysis result, and sends the remote control instruction to the data acquisition gateway;
[0030] The data acquisition gateway receives the remote control instruction and forwards it to the heterogeneous terminal, so that the heterogeneous terminal performs corresponding operations based on the remote control instruction.
[0031] Furthermore, the remote control instruction instructs the heterogeneous terminal to adjust device parameters, start or stop, and output an early warning.
[0032] In summary, the embodiment of the present invention provides a remote control method for heterogeneous terminals, the method comprising: the remote control platform sends a data acquisition strategy to the data acquisition gateway; the data acquisition gateway receives the data acquisition strategy and parses it to obtain a data acquisition instruction; the data acquisition gateway sends the data acquisition instruction to the heterogeneous terminal, so that the heterogeneous terminal performs data acquisition based on the data acquisition instruction and uploads the collected data; the data acquisition gateway receives the collected data and performs integration processing, generates a collection data transmission packet based on a predetermined data format, and sends the collection data transmission packet to the remote control platform; the remote control platform receives the collection data transmission packet and performs data analysis to obtain an analysis result. The beneficial effect of the embodiment of the present invention is that the data acquisition gateway is used as an intermediary to connect the remote control platform and the heterogeneous terminal to collect data, perform command protocol conversion, and perform preliminary data processing, thereby realizing the data unification of different heterogeneous terminals and reliable communication across platforms and protocols; the collection data transmission packet is generated by a predetermined data format, providing a structured framework for data, which is used to integrate data from different heterogeneous terminals, thereby ensuring the consistency and interchangeability of data. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 The present invention is a flowchart of a remote control method for heterogeneous terminals provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0035] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in one or more embodiments of the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in one or more embodiments of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
[0036] An embodiment of the present invention provides a remote control method for a heterogeneous terminal, which can be implemented based on a remote control system, wherein the remote control system includes a remote control platform, at least one data acquisition gateway, and at least one heterogeneous terminal. The remote control method for a heterogeneous terminal provided by an embodiment of the present invention can be applied to a converter station, for example. A remote control platform is usually provided in the remote control system, and multiple data acquisition gateways can be provided according to the regional division or equipment distribution of the converter station. The data acquisition gateway serves as an intermediary between the remote control platform and the heterogeneous terminal, and is used to collect data, perform command protocol conversion, and perform preliminary data processing, etc. Each data acquisition gateway can communicate with the remote control platform through a physical link such as an optical fiber or a wireless transmission channel; each data acquisition gateway is connected to multiple heterogeneous terminals, and the data acquisition gateway and the heterogeneous terminals communicate, for example, based on the Modbus industrial bus protocol. Figure 1 A flowchart of a remote control method for a heterogeneous terminal according to an embodiment of the present invention is shown in FIG. Figure 1 As shown, the remote control method of a heterogeneous terminal provided by an embodiment of the present invention includes the following steps:
[0037] S102, the remote control platform sends a data collection strategy to the data collection gateway, wherein the data collection strategy includes data type, collection frequency and collection time. The remote control platform sends the data collection strategy to the data collection gateway in JSON (JavaScript Object Notation) format. JSON is a lightweight data exchange format, which is usually used for transmission and parsing between different systems and platforms. Using JSON as the data collection strategy format has the characteristics of greater flexibility and easy reading.
[0038] S104, the data acquisition gateway receives the data acquisition strategy, parses the data acquisition strategy, and obtains the data acquisition instruction. The data acquisition gateway parses the received data acquisition strategy into the data acquisition instruction in the Modbus protocol format, and sends it to the heterogeneous terminal. The data acquisition gateway converts the data acquisition strategy into a format that the heterogeneous terminal can understand and execute through parsing, thereby realizing cross-platform and cross-protocol communication.
[0039] According to some optional embodiments, the method further comprises:
[0040] S1041: The data collection gateway analyzes the data collection strategy to obtain data collection parameters. The data collection gateway analyzes the data collection strategy to extract the data type, collection frequency and collection time parameters.
[0041] S1042. Compare the obtained data acquisition parameters with the terminal parameters in the preset registry to select the target heterogeneous terminal to be sent. The preset registry is set, for example, when the heterogeneous terminal accesses the data acquisition gateway, which records the device type (for example, temperature sensor, voltage sensor, etc.), capability (for example, achievable acquisition frequency, etc.) and data type of the corresponding heterogeneous terminal. The data acquisition gateway compares the data type, acquisition frequency and acquisition time parameters extracted from the data acquisition strategy with the terminal parameters in the preset registry, thereby screening out the heterogeneous terminals connected to the data acquisition gateway that can meet the requirements of the data acquisition strategy. The data acquisition gateway generates a data acquisition instruction based on the data acquisition parameters and the comparison results, and sends it to the corresponding heterogeneous terminal, that is, the above-mentioned heterogeneous terminal that meets the requirements of the data acquisition strategy.
[0042] S106: The data collection gateway sends a data collection instruction to the heterogeneous terminals, so that each heterogeneous terminal performs data collection based on the data collection instruction and uploads the collected data.
[0043] S108. The data acquisition gateway receives the collected data sent by the heterogeneous terminals, integrates and processes the collected data, generates a collection data transmission package based on a predetermined format, and sends it to the remote control platform. When receiving the collected data from the heterogeneous terminals, the data acquisition gateway needs to integrate and process the collected data to generate a collection data transmission package in a unified format. The collection data transmission package can be generated based on the following predetermined data formats:
[0044] ;
[0045] in, Indicates the acquisition of data transmission packets. A unique identifier representing the collected data. Indicates the type of data collected, such as sensor, device, or user input. Indicates the unique identifier of the source of the collected data. For example, when the source of the collected data is a sensor, Can be the corresponding sensor ; Indicates the timestamp corresponding to the collection of data; Indicates the collected data value; Indicates the geographical location of the data source where the data is collected, including longitude and latitude; Represents metadata, including information such as device model, firmware version, and sensor type. The above data format can provide a structured framework for data integration to ensure data consistency and interchangeability, so that the remote control platform can process data based on the data. , Fields such as , can trace the specific source of data. When processing multi-source data, it can quickly classify and integrate data. At the same time, when it is necessary to focus on a specific type of data source, specific fields can be used to filter data.
[0046] When sending the collected data transmission package to the remote control platform, the transmission path is selected based on the preset data transmission model, and the collected data transmission package is sent to the remote control platform using the selected transmission path. The data transmission model comprehensively considers the physical conditions of the transmission path to ensure the efficiency and reliability of data transmission. The data transmission model can be expressed by the following formula:
[0047] ;
[0048] in, Indicates The transmission status score of the transmission path, Indicates The bandwidth capacity of the transmission path, represents the total number of all transmission paths, Indicates The delay of the transmission path, Indicates the maximum delay among all transmission paths and is used for normalized delay evaluation. Indicates The physical redundancy of the transmission paths; Indicates the maximum value of physical redundancy among all transmission paths; , and They represent the weight coefficients of different physical condition parameters in the data transmission model, which are used to balance the importance of different physical condition parameters to path selection. Physical redundancy refers to the additional physical resources used in the network system to improve reliability and fault tolerance. These redundant resources can take over the data transmission task when the main path fails, thereby ensuring the continuity and stability of network communication. Physical redundancy is related to the number of redundant resources in the path and can be calculated using the following formula:
[0049] ;
[0050] in, Indicates The number of redundant resources in the transmission path, Indicates The total number of transmission path resources.
[0051] Based on the above data transmission model, the transmission status scores of different transmission paths are calculated. A higher score indicates a better data transmission status in the currently selectable transmission paths. The optimal path is selected for transmission based on the score in the data transmission path between the data acquisition gateway and the remote control platform, thereby improving the efficiency and reliability of data transmission. The data transmission path between the data acquisition gateway and the remote control platform can be a physical link such as an optical fiber or a wireless transmission channel.
[0052] S110, the remote control platform receives the data transmission packet sent by the data acquisition gateway, performs data analysis on the data transmission packet, and obtains analysis results. The data analysis includes but is not limited to determining whether the collected data is normal based on thresholds, historical data, and machine learning models, and generating analysis results accordingly.
[0053] According to some optional embodiments, the method further includes: the remote control platform generates a remote control instruction based on the analysis result, and sends the remote control instruction to the data acquisition gateway; the data acquisition gateway receives the remote control instruction sent by the remote control platform, and forwards it to each heterogeneous terminal, so that each heterogeneous terminal performs a corresponding operation based on the remote control instruction. When the analysis result shows that an abnormality has occurred, the remote control platform generates a remote control instruction, including but not limited to adjusting device parameters, starting or stopping certain processes, outputting warnings, etc., and forwards it to the corresponding heterogeneous terminal through the data acquisition gateway.
[0054] In summary, the embodiment of the present invention relates to a remote control method for heterogeneous terminals, the method comprising: a remote control platform sends a data acquisition strategy to a data acquisition gateway; the data acquisition gateway receives the data acquisition strategy and parses it to obtain a data acquisition instruction; the data acquisition gateway sends the data acquisition instruction to the heterogeneous terminal, so that the heterogeneous terminal performs data acquisition based on the data acquisition instruction and uploads the collected data; the data acquisition gateway receives the collected data and performs integration processing, generates a collection data transmission packet based on a predetermined data format, and sends the collection data transmission packet to the remote control platform; the remote control platform receives the collection data transmission packet and performs data analysis to obtain an analysis result. The beneficial effect of the embodiment of the present invention is that the data acquisition gateway is used as an intermediary to connect the remote control platform and the heterogeneous terminal to collect data, perform command protocol conversion, and perform preliminary data processing, thereby realizing data unification of different heterogeneous terminals and reliable communication across platforms and protocols; the collection data transmission packet is generated by a predetermined data format, providing a structured framework for data, which is used to integrate data from different heterogeneous terminals, thereby ensuring data consistency and interchangeability.
[0055] It should be understood that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the present invention (including claims) is limited to these examples; under the concept of the present invention, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of one or more embodiments of the present invention as described above, which are not provided in detail for the sake of simplicity. The above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation on the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the scope of protection of the present invention. In addition, the claims attached to the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the attached claims, or the equivalent forms of such scope and boundaries.
Claims
1. A remote control method for heterogeneous terminals, characterized in that: The method comprises: The remote control platform sends data collection strategies to the data collection gateway; The data collection gateway receives the data collection strategy and parses it to obtain a data collection instruction, including: the data collection gateway parses the data collection strategy to obtain data collection parameters; the data collection gateway compares the data collection parameters with the terminal parameters in the preset registry to obtain a comparison result, and the comparison result indicates the corresponding heterogeneous terminal; the data collection gateway generates a data collection instruction according to the data collection parameters and the comparison result; the preset registry is set when the heterogeneous terminal accesses the data collection gateway, and the preset registry includes the device type, capability and data type of the heterogeneous terminal; The data collection gateway sends the data collection instruction to the corresponding heterogeneous terminal, so that the heterogeneous terminal performs data collection based on the data collection instruction and uploads the collected data; The data acquisition gateway receives the acquired data and performs integration processing, generates an acquired data transmission packet based on a predetermined format, and sends the acquired data transmission packet to the remote control platform; The remote control platform receives the collected data transmission package and performs data analysis to obtain analysis results; The data collection gateway selects the transmission path based on a preset data transmission model, and the data transmission model is expressed by the following formula: ; in, Indicates The transmission status score of the transmission path, Indicates The bandwidth capacity of the transmission path, represents the total number of all transmission paths, Indicates The delay of the transmission path, represents the maximum delay in all transmission paths, Indicates The physical redundancy of the transmission paths; represents the maximum value of physical redundancy in all transmission paths; W1, W2 and W3 represent the weight coefficients of each item in the data transmission model respectively; Calculating transmission status scores of different transmission paths based on the data transmission model, where a higher score indicates a better data transmission status, and selecting an optimal path for transmission based on the transmission status score in the transmission path between the data acquisition gateway and the remote control platform; The generating of the acquisition data transmission packet based on a predetermined format includes generating the acquisition data transmission packet based on the following format: ; in, Indicates the acquisition of data transmission packets; A unique identifier representing the collected data; Indicates the type of data source collected; A unique identifier that represents the source of the collected data; Indicates the timestamp corresponding to the collection of data; Indicates the collected data value; Indicates the geographical location of the data source where the data was collected; Represents metadata.
2. The method according to claim 1, characterized in that The physical redundancy is calculated using the following formula: ; in, Indicates The number of redundant resources in the transmission path, Indicates The total number of transmission path resources.
3. The method according to claim 1, characterized in that The remote control platform sends the data collection strategy to the data collection gateway in JASON format; The data acquisition gateway parses the received data acquisition strategy into data acquisition instructions in the Modbus protocol format.
4. The method according to claim 1, characterized in that: The method further comprises: The remote control platform generates a remote control instruction based on the analysis result, and sends the remote control instruction to the data acquisition gateway; The data acquisition gateway receives the remote control instruction and forwards it to the heterogeneous terminal, so that the heterogeneous terminal performs corresponding operations based on the remote control instruction.
5. The method according to claim 4, characterized in that The remote control instructions instruct the heterogeneous terminal to adjust device parameters, start or stop, and output an early warning.
Citation Information
Patent Citations
Method for indicating media gateway executing terminal connection
CN101047692A
Communication method for different networks and internetwork for smart machine
CN101521615A
Control device and control method for heterogeneous wireless network convergence in gateway device
CN101631392A
Capability open platform, method and gateway for realizing plug and play management of terminal equipment
CN103312760A
Equipment data acquisition method and system based on Internet of Things control platform
CN118413557A
