Heterogeneous network engineering-oriented adaptive protocol conversion gateway system and control method
By designing an adaptive protocol conversion gateway system for heterogeneous network engineering, the problem of lack of flexibility and adaptability of protocol conversion in the prior art is solved, and the compatibility and communication efficiency of different protocols are optimized.
Patent Information
- Application Number
- CN202510510303.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-05-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing protocol conversion technology lacks flexibility and adaptability, and cannot dynamically adjust the protocol type according to the network environment, resulting in compatibility issues between different protocols and inefficient communications.
Design an adaptive protocol conversion gateway system for heterogeneous network engineering, including protocol identification module, adaptive protocol selection module, protocol conversion module, network resource optimization module and data cache and traffic scheduling module. By monitoring network status and data flow types in real time, dynamically select and optimize protocols for communication.
It realizes a compatibility solution between different network protocols, dynamically identify data flow types and network conditions, automatically selects the appropriate protocol for communication, and optimizes data transmission efficiency and network resource utilization.
Smart Images

Figure CN120075312A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of the Internet of Things, in particular to an adaptive protocol conversion gateway system and control method for heterogeneous network engineering. Background Art
[0002] With the development of technologies such as the Internet of Things, smart grid, and cloud computing, the situation of coexistence of multiple communication protocols and network environments is increasing. Different protocols perform differently in data transmission, and there are problems such as incompatibility and low efficiency. Existing protocol conversion technologies usually perform mapping based on a fixed target protocol, lacking flexibility and adaptability, and unable to dynamically adjust the protocol type according to the network environment. Summary of the Invention
[0003] To solve the problems of the existing technology, an adaptive protocol conversion gateway system and control method for heterogeneous network engineering are provided, aiming at how to design a system that can intelligently switch between different protocols and optimize communication efficiency.
[0004] The adaptive protocol conversion gateway system for heterogeneous network engineering includes A protocol recognition module: used to monitor data streams in real time and identify the protocol type used in the current communication; An adaptive protocol selection module: calculates the real-time fitness of each protocol type according to the current network state and data stream type, and selects the protocol type with the maximum fitness value; A protocol conversion module: used for data format conversion between different protocols and mapping of header information; A network resource optimization module: dynamically adjusts the transmission mode of the protocol according to the current network state; A data caching and traffic scheduling module: used for scheduling caching and traffic when switching between different protocols.
[0005] Further, the protocol conversion module includes a mapping table and a data parser. The data parser is used to parse data structures, addresses, and data contents; the mapping table is used to map and reorganize the parsed data according to the requirements of the target protocol.
[0006] Further, in the adaptive protocol selection module, according to the current network state and data stream type, the real-time fitness of each protocol type is calculated, and the protocol type with the maximum fitness value is selected. Its expression is: , Wherein, is the selected protocol; is the set of available protocols; An adaptability function representing the protocol is calculated based on the protocol type P, data flow type S, and network state N, where f(P, S, N) = α * compatibility(P) + β * suitability(S) + γ * network_efficiency(N). Here, α, β, and γ represent the weights of the protocol type P, data flow type S, and network state N respectively, and satisfy α + β + γ = 1; compatibility(P) represents the degree of support of the protocol for functional requirements; suitability(S) represents the matching degree of the protocol to the characteristics of the current data flow; network_efficiency(N) represents the performance of the protocol under the current network.
[0007] Furthermore, the dynamic adjustment of the protocol's transmission method according to the current network state in the network resource optimization module is specifically as follows: Obtain the maximum network throughput and the ideal delay of the protocol, calculate the adjusted throughput through the throughput adjustment formula based on the current network delay, and optimize the protocol's transmission method with the adjusted throughput.
[0008] Furthermore, the throughput adjustment formula is: , where, represents the throughput adjusted according to the current network state; represents the maximum throughput; is the adjustment coefficient; and represent the current network delay and the ideal delay value respectively.
[0009] An adaptive protocol conversion control method for heterogeneous networks includes the following steps: Protocol identification: Monitor the data flow through the protocol identification module to identify the protocol type used in the current communication; Protocol selection: The adaptive protocol selection module selects the most suitable protocol according to the real-time network state and data flow type; Protocol conversion: When the current communication protocol is inconsistent with the protocol selected by the adaptive protocol selection module, the protocol conversion module converts the data format according to the protocol selected by the adaptive protocol selection module; Optimized transmission: The network resource optimization module adjusts the protocol transmission strategy according to the actual situation of the network to ensure the efficiency and stability of data transmission; Traffic scheduling: When performing protocol switching, schedule the cache and traffic through the data cache and traffic scheduling module to ensure the smoothness of data transmission.
[0010] Advantages of the present invention: The present invention solves the compatibility problem between different network protocols. Based on the adaptive algorithm, it can dynamically identify the data stream type, protocol requirements, and network conditions, automatically select the appropriate protocol for communication, and optimize the data transmission efficiency and utilization of network resources. This gateway can adapt to different application scenarios and is widely used in environments that require cross-protocol communication, such as the Internet of Things, smart grid, cloud computing, etc. Brief Description of the Drawings
[0011] Figure 1 It is the schematic diagram of the system structure of the present invention; Figure 2 It is the flowchart of the method steps of the present invention. Detailed Embodiments
[0012] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0013] In this embodiment, referring to Figure 1 , it aims to implement an adaptive protocol conversion gateway system for heterogeneous network engineering. The composition of this gateway system is as follows: Protocol Identification Module: By real-time monitoring of data streams, it automatically identifies the protocol identifier and obtains the protocol type used in the current communication. This module can analyze the protocol header information to determine the protocols used by both communication parties.
[0014] Adaptive Protocol Selection Module: According to the current network conditions (such as bandwidth, latency, packet loss rate, etc.) and the type of data stream (such as real-time requirements, data volume, etc.), it calculates the real-time fitness of each protocol type and selects the protocol with the maximum fitness value for data transmission. The module contains multiple protocol models (such as TCP / IP, UDP, MQTT, CoAP, etc.) and can dynamically select the protocol type based on the algorithm.
[0015] Protocol Conversion Module: It is used for protocol conversion and supports operations such as data format conversion between different protocols and mapping of header information to ensure that data can be accurately transmitted between different protocols.
[0016] Network Resource Optimization Module: This module dynamically adjusts the transmission method of the protocol according to the current network status. For example, when the network latency is high, it selects a protocol that supports low latency; when the bandwidth is sufficient, it selects a protocol that supports high throughput.
[0017] Data Caching and Traffic Scheduling Module: When switching between different protocols, this module is responsible for caching and traffic scheduling to avoid data loss and congestion and ensure smooth data transmission.
[0018] As Figure 2 shown, the steps for implementing adaptive protocol conversion control for heterogeneous network engineering through the system are as follows: Protocol Identification: Monitor the data stream through the protocol identification module to identify the protocol type used in the current communication; Protocol Selection: The adaptive protocol selection module selects the most suitable protocol based on the real-time network status and data stream type; Protocol Conversion: When the current communication protocol is inconsistent with the protocol selected by the adaptive protocol selection module, the protocol conversion module converts the data format according to the protocol selected by the adaptive protocol selection module; Optimized Transmission: The network resource optimization module adjusts the protocol transmission strategy according to the actual situation of the network to ensure the efficiency and stability of data transmission; Traffic Scheduling: When switching protocols, schedule caching and traffic through the data caching and traffic scheduling module to ensure smooth data transmission.
[0019] Among them, the expression of the adaptive protocol selection algorithm is: , where is the selected protocol; is the set of available protocols; represents the adaptability function of the protocol, which is calculated based on the protocol type P, data stream type S, and network status N, f(P,S,N)=a*compatibility(P)+β*suitability(S)+γ*network_efficiency(N), where α, β, and γ represent the weights of the protocol type P, data stream type S, and network status N respectively, and satisfy α+β+γ=1, * represents multiplication, compatibility(P) represents the degree of support of the protocol for functional requirements (for example, MQTT supports QoS, but UDP does not); suitability(S): The degree of match between the protocol and the characteristics of the current data stream (such as AMQP is suitable for reliable transmission); network_efficiency(N): The performance of the protocol in the current network (such as UDP performs poorly in a high packet loss network); The weights α, β, and γ can be customized according to the scenario. For example, in the power scenario, P and N may be more emphasized.
[0020] Through the protocol conversion module, the present invention uses a mapping table and a data parser to convert the data formats of different protocols to achieve cross - protocol data transmission. The process of protocol conversion can be expressed as: , wherein, represents the data after conversion; represents the data before conversion; T(·) represents the data conversion function of the protocol, which processes the differences in data formats between different protocols.
[0021] Network resource optimization strategy: During the data transmission process, the network resource optimization module ensures the efficiency of data transmission through the following algorithm, and the expression is: , wherein, represents the throughput adjusted according to the current network state; represents the maximum throughput is the adjustment coefficient; and represent the current network latency and the ideal latency value respectively. The adjusted throughput is equal to the maximum throughput divided by 1 + α multiplied by the difference between the current latency and the ideal latency. If the current latency is equal to the ideal latency, the denominator is 1, and the adjusted throughput is the maximum throughput. If the current latency is greater than the ideal latency, the denominator will be greater than 1, and the adjusted throughput will be less than the maximum throughput. If the current latency is less than the ideal latency, the denominator will be less than 1, and the adjusted throughput will be greater than the maximum throughput, which is possible in some cases, such as when the network performance is better than expected. This formula dynamically adjusts the throughput, optimizes network resources, and ensures the efficiency of data transmission by considering the difference between the current latency and the ideal latency and using the adjustment coefficient α to balance this difference.
[0022] In this embodiment, the adjustment coefficient Setting principle: In the dynamic scheduling of network resources, is the key factor affecting the trade - off between latency and throughput.
[0023] The more the current network latency deviates from the ideal latency, the more obvious the throughput adjustment is.
[0024] Controls the sensitivity of this adjustment (amplifies or moderates this adjustment process).
[0025] The larger → more sensitive to latency changes (the throughput drops faster).
[0026] The smaller → the adjustment is smoother (the system is more stable).
[0027] In smart grids and Internet of Things platforms, multi - protocol communication needs to be processed while maintaining high efficiency and real - time performance. The setting follows the following principles: 1. Stability first: In the smart grid scenario, data collection needs to run stably for a long time, and the protocol cannot be frequently switched or the bandwidth cannot be significantly adjusted. It should not be too large.
[0028] 2. Business - type driven: When the real - time requirement is high (such as alarm uploading and load control), should be relatively large, and reducing latency is prioritized; while in periodic data collection (such as meter reading), can be set lower.
[0029] 3. Network - status feedback adjustment: The system supports dynamic adjustment (adaptive ): Adjust the value according to the network historical status feedback. For example, if the network latency is high but stable for a long time, then can be appropriately lowered to reduce unnecessary bandwidth reduction.
[0030] The setting of should balance real - time performance, stability and network feedback: The range of conventional setting parameters is as follows: Real - time control / alarm: 0.7 - 0.9; Periodic collection: 0.4 - 0.6;
[0031] In the description of the embodiments of the present invention, it should be understood that the orientation or positional relationships indicated by the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "center", "top", "bottom", "top part", "bottom part", "inner", "outer", "inner side", "outer side", etc. are based on the orientation or positional relationships shown in the drawings. These are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation of the present invention. Among them, the "inner side" refers to the internal or enclosed area or space. The "periphery" refers to the area around a specific component or specific area.
[0032] In the description of the embodiments of the present invention, the terms "first", "second", "third", and "fourth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", "third", and "fourth" may explicitly or implicitly include one or more of such features. In the description of the present invention, unless otherwise specified, "a plurality of" means two or more.
[0033] In the description of the embodiments of the present invention, it should be noted that, unless otherwise clearly specified and defined, the terms "mounted", "connected", "coupled", and "assembled" should be construed in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0034] In the description of the embodiments of the present invention, specific features, structures, materials, or characteristics may be combined in a suitable manner in any one or more embodiments or examples.
[0035] In the description of the embodiments of the present invention, it should be understood that "-" and "~" represent the range between two numerical values, and this range includes the endpoints. For example, "A - B" represents a range greater than or equal to A and less than or equal to B. "A ~ B" represents a range greater than or equal to A and less than or equal to B.
[0036] In the description of the embodiments of the present invention, the term "and / or" herein is merely a description of the association relationship between associated objects of an adaptive protocol conversion control method and gateway system for heterogeneous networks, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " herein generally represents an "or" relationship between the associated objects before and after.
[0037] Although the embodiments of the present invention have been shown and described, for those of ordinary skill in the art, it can be understood that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An adaptive protocol conversion gateway system for heterogeneous network engineering, characterized in that: include Protocol identification module: used to monitor data flow in real time and identify the protocol type used in the current communication; Adaptive protocol selection module: calculates the real-time fitness of each protocol type according to the current network status and data flow type, and selects the protocol type with the largest fitness value; Protocol conversion module: used for data format conversion between different protocols and mapping of header information; Network resource optimization module: dynamically adjust the transmission mode of the protocol according to the current network status; Data cache and traffic scheduling module: used to schedule cache and traffic when switching between different protocols.
2. The adaptive protocol conversion gateway system for heterogeneous network engineering according to claim 1 is characterized in that: The protocol conversion module includes a mapping table and a data parser, wherein the data parser is used to parse data structure, address and data content; and the mapping table is used to map and reorganize the parsed data according to the requirements of the target protocol.
3. The adaptive protocol conversion gateway system for heterogeneous network engineering according to claim 1 is characterized in that: The adaptive protocol selection module calculates the real-time fitness of each protocol type according to the current network status and data stream type, and selects the protocol type with the largest fitness value, which is expressed as: , in, for the selected protocol; A set of available protocols; represents the adaptability function of the protocol, which is calculated based on the protocol type P, data flow type S and network status N. f(P,S,N)=a*compatibility(P)+β*suitability(S)+γ*network_efficiency(N), α, β, γ represent the weights of protocol type P, data flow type S and network status N respectively, and satisfy α+β+γ=1; compatibility(P) represents the support degree of the protocol for functional requirements; suitability(S) represents the matching degree of the protocol to the current data flow characteristics; network_efficiency(N) represents the performance of the protocol under the current network.
4. The adaptive protocol conversion gateway system for heterogeneous network engineering according to claim 1 is characterized in that: The network resource optimization module dynamically adjusts the transmission mode of the protocol according to the current network status by obtaining the maximum network throughput and the ideal delay of the protocol, calculating the adjusted throughput through the throughput adjustment formula according to the current network delay, and optimizing the transmission mode of the protocol with the adjusted throughput.
5. The adaptive protocol conversion gateway system for heterogeneous network engineering according to claim 1 is characterized in that: The throughput adjustment formula is: , in, Indicates the throughput adjusted according to the current network status; represents the maximum throughput; is the adjustment factor; and Respectively represent the current network delay and ideal delay value.
6. An adaptive protocol conversion control method for heterogeneous networks, using an adaptive protocol conversion gateway system for heterogeneous network engineering as described in any one of claims 1 to 5, characterized in that: The following steps are involved: Protocol identification: Monitor data flow through the protocol identification module to identify the type of protocol currently used in communication; Protocol selection: The adaptive protocol selection module selects the most suitable protocol based on the real-time network status and data flow type; Protocol conversion: When the current communication protocol is inconsistent with the protocol selected by the adaptive protocol selection module, the protocol conversion module converts the data format according to the protocol selected by the adaptive protocol selection module; Optimize transmission: The network resource optimization module adjusts the protocol transmission strategy according to the actual situation of the network to ensure the efficiency and stability of data transmission; Traffic scheduling: When switching protocols, the data cache and traffic scheduling modules are used to schedule the cache and traffic scheduling to ensure smooth data transmission.
Citation Information
Patent Citations
Signal I / O control device based on multiple protocols and data transmission method thereof
CN119363853A
Data interaction method and system for concentrator and collector
CN119697275A
An intelligent gateway system integrating communication protocols with thermal Internet of Things platform communication
CN119743349A
Cited By
Multi-modal communication edge aggregation gateway system for virtual power plant
CN120602403A
Efficient IP data transparent transmission method and system
CN120639416A
Communication protocol conversion method based on elevator Internet of Things
CN120751027A
Cross-platform audio data communication processing method and system based on multi-protocol support
CN120783773A
A cross-platform audio data communication processing method and system based on multi-protocol support
CN120783773B