Method and system for conversion and adaptation of cloud side protocol of wireless Internet of Things
By acquiring and processing the communication protocols and network performance indicators of cloud-edge devices in wireless IoT, calculating the quality of service level and redundant data volume, and selecting the highest priority protocol for conversion, the problem of difficult communication protocol adaptation for cloud-edge devices is solved, thus improving the communication quality of wireless IoT.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUANENG REAL ESTATE CO LTD HEBEI XIONGAN BRANCH
- Filing Date
- 2026-01-29
- Publication Date
- 2026-05-01
AI Technical Summary
In wireless IoT, the communication protocols between cloud and edge devices are difficult to adapt, and the performance characteristics of cloud-edge communication networks and the quality of service level of edge data packets cannot be combined, which affects the overall communication quality.
By acquiring the set of cloud-edge communication protocols and network performance indicators supported by edge devices, the weights under different quality of service levels are calculated, the quality of service level and redundant data volume of data packets are parsed, dimensionless processing is performed, the transmission time and efficiency of each protocol are calculated, and the protocol with the highest performance priority and suitable transmission time is selected for conversion.
It improves the reliability and adaptability of wireless IoT cloud-edge communication and enhances communication quality.
Smart Images

Figure CN121967554A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of wireless Internet of Things and protocol adaptation technology, specifically relating to a method and system for wireless Internet of Things cloud-edge protocol conversion and adaptation. Background Technology
[0002] The Internet of Things (IoT) comprises numerous smart terminals, sensors, and controllers. Different types of terminals often use different communication protocols. Due to the characteristics of the IoT network communication environment, such as numerous network nodes, complex network structure, and heterogeneous protocols, communication and protocol conversion between different terminals face significant challenges.
[0003] Currently, mainstream communication protocols for the Internet of Things (IoT) include HTTP, MQTT, and CoAP. Different protocols are often chosen depending on the application scenario. To achieve protocol conversion between different protocols, an edge gateway proxy node is usually needed to perform protocol conversion and communication relay between different terminals. The academic community has proposed many protocol conversion gateway architectures and achieved good results. However, currently, most focus is on protocol adaptation between end-to-end and edge-to-end communication, and the selection and adaptation of cloud-edge communication protocols need further optimization. In practical IoT applications, the choice of cloud-edge communication protocols also affects the communication quality of the IoT. The IoT is characterized by numerous network nodes, complex network structures, and heterogeneous protocols. Different types of terminals use different communication protocols. Currently, in wireless IoT and protocol adaptation, most focus is on protocol adaptation between end-to-end and edge-to-end communication, making protocol adaptation between cloud and edge devices difficult. It also fails to consider the performance characteristics of the cloud-edge communication network and the quality of service (QoS) level of edge data packets, making it difficult to rationally select the optimal cloud-edge communication protocol, thus affecting the overall communication quality of the IoT. Summary of the Invention
[0004] This invention provides a method and system for wireless IoT cloud-edge protocol conversion and adaptation. The purpose is to solve the problems that current wireless IoT and protocol adaptation mostly focus on end-to-end communication and end-to-edge communication protocol adaptation, making it difficult to adapt communication protocols between cloud and edge devices; and failing to combine cloud-edge communication network performance characteristics and edge data packet service quality levels, making it difficult to reasonably select the optimal cloud-edge communication protocol, thus affecting the overall communication quality of IoT.
[0005] To achieve the above objectives, the present invention adopts the following technical solution: This invention provides a method for wireless IoT cloud-edge protocol conversion and adaptation, comprising the following steps: S1. Obtain the set of cloud-edge communication protocols supported by edge devices and the network performance indicators when cloud and edge communicate using each protocol, and obtain the weights of each network performance indicator under different service quality levels. S2. Receive data packets sent by the terminal device, parse the data packets to obtain the service quality level, data entity and validity period of the data packets, obtain the corresponding network performance index weight based on the parsed service quality level, and obtain the amount of redundant data required for each protocol to transmit data entity. S3. Based on the data volume and redundant data volume of the data entity, calculate the actual data volume transmitted by each protocol for the data entity; combine the network rate in the network performance indicators to calculate the transmission time and transmission efficiency of each protocol, and perform dimensionless processing on the network performance indicators. S4. Based on the dimensionless network performance indicators, the corresponding network performance indicator weights, and the transmission efficiency, calculate the performance priority of each cloud-edge communication protocol. S5. Select the protocol with the highest performance priority and transmission time not exceeding the validity period of the data packet as the communication protocol, modify the destination address of the data packet to the cloud address, and then forward it to the cloud to complete the cloud-edge protocol conversion and adaptation.
[0006] In some implementations, in S1, network performance indicators include network speed, latency, jitter, and packet loss rate; the weights corresponding to each network performance indicator are calculated through a group decision-making method, including: evaluating the importance of each network performance indicator under different service quality levels based on historical cloud-edge communication data to form an evaluation matrix, calculating the total score of each indicator, and then calculating the weights corresponding to the network performance indicators using the following formula. ; in, For service level quality Time The weights of each network performance metric This represents the total number of network performance metrics. For service level quality Time The overall score of each network performance metric For service level quality Time The overall score for each network performance metric.
[0007] In some implementations, in S1 and S2, the weights of all indicators corresponding to the service quality level are stored in the weight database. The weights of the indicators corresponding to the service quality level of the data packet are obtained through the weight database. The data packet also includes the validity period, the data entity has the corresponding data packet size, and the service quality level includes three types: no special requirements for latency, the lowest latency requirement, and the highest latency requirement.
[0008] In some implementations, in S3, the actual data volume is calculated using the following formula: ; in, For the first The actual data volume of this protocol The size of the data entity. For the first The amount of redundant data required to transmit this data entity using this protocol.
[0009] In some implementations, the transmission time in S3 is calculated using a formula; ; in, For the first The transmission time of this protocol For the first The actual data volume of this protocol To adopt the first Network speed during communication using this protocol To adopt the first Delay during communication using this protocol To adopt the first jitter during protocol communication To adopt the first Packet loss rate during communication using this protocol.
[0010] In some implementations, the specific method of dimensionless processing in S3 is as follows: first calculate the dimensionless value in all protocols. The maximum and minimum values of each network performance metric are then taken, and the metrics are normalized. For positive metrics such as network speed, the following formula is used: ; The following formula is used to handle latency, jitter, and packet loss rate; ; in, The dimensionless version of the first The first of the protocols A network performance metric value, The first before dimensionless The first of the protocols A network performance metric value, For all agreements The maximum value of each network performance metric. For all agreements The minimum value of each network performance metric.
[0011] Furthermore, in S3, the transmission efficiency is the amount of data transmitted per unit time, calculated using the following formula: ; in, For the first The transmission efficiency of this protocol.
[0012] Furthermore, in S4, performance priority is calculated using the following formula: ; in, For the first Performance priority of the protocol For service quality level, The dimensionless version of the first A vector of performance metrics for a communication protocol. For service quality level The network performance metric weight vector at that time.
[0013] In some implementations, in S5, the protocol selection rule is performed according to the following formula: and ; in, It has the highest performance priority among all protocols. Prioritizing the performance of all candidate cloud-edge communication protocols Take the maximum value. The validity period carried in the data packets sent by the terminal device. The minimum transmission time for transmitting the current data packet across all candidate communication protocols; if If the data packet is not selected, it is discarded; if the final communication protocol is selected, the validity period of the data packet is updated.
[0014] This invention also provides a system for wireless IoT cloud-edge protocol conversion and adaptation, and a method for implementing wireless IoT cloud-edge protocol conversion and adaptation, including a weight acquisition module, a redundant data acquisition module, a dimensionless processing module, a performance priority calculation module, and a cloud-edge protocol conversion and adaptation module, wherein: Weight acquisition module: used to acquire the set of cloud-edge communication protocols supported by edge devices and the network performance indicators when the cloud and edge communicate using each protocol, and to acquire the weights of each network performance indicator under different service quality levels; Redundant data acquisition module: used to receive data packets sent by terminal devices, parse the data packets to obtain the service quality level, data entity and validity time of the data packets, obtain the corresponding network performance index weight based on the parsed service quality level, and obtain the amount of redundant data required for each protocol transmission data entity. Dimensionless processing module: Used to calculate the actual amount of data transmitted by each protocol for the data entity based on the data volume and redundant data volume of the data entity; combined with the network rate in the network performance index, calculate the transmission time and transmission efficiency of each protocol, and perform dimensionless processing on the network performance index. Performance Priority Calculation Module: Used to calculate the performance priority of each cloud-edge communication protocol based on the dimensionless network performance indicators, the corresponding network performance indicator weights, and transmission efficiency. Cloud-edge protocol conversion and adaptation: This process selects the protocol with the highest performance priority and a transmission time that does not exceed the data packet's validity period as the communication protocol. The destination address of the data packet is then modified to the cloud address before forwarding to the cloud, completing the cloud-edge protocol conversion and adaptation.
[0015] Compared with existing technologies, the method and system for wireless IoT cloud-edge protocol conversion and adaptation of the present invention have the following advantages: This invention provides a method for wireless IoT cloud-edge protocol conversion and adaptation. Compared with current wireless IoT protocol adaptation methods, this method improves the compatibility between communication protocols and network performance by considering typical performance indicators of wireless IoT communication; it uses a group decision-making method to calculate the optimal indicator weights under different service quality levels; and it selects the protocol with the maximum benefit for data transmission by combining the terminal data packet service quality level and data transmission cost. This method can effectively improve the reliability and adaptability of wireless IoT cloud-edge communication and has certain practical significance. Attached Figure Description
[0016] The accompanying drawings are provided to further understand the invention and constitute a part of this invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0017] Figure 1 This is a flowchart illustrating a method for wireless IoT cloud-edge protocol conversion and adaptation according to the present invention.
[0018] Figure 2 This is a schematic diagram of the wireless IoT architecture in an embodiment of a wireless IoT cloud-edge protocol conversion and adaptation method according to the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0020] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0021] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0022] It should be noted that the apparatus and methods disclosed in the embodiments herein can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments herein. In this regard, each block in a flowchart or block diagram may represent a module, program, or part of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system to perform the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0023] In addition, the functional modules in the various embodiments of this article can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0024] This invention discloses a method for wireless IoT cloud-edge protocol conversion and adaptation, comprising the following steps: S1. Obtain the set of cloud-edge communication protocols supported by edge devices and the network performance indicators when cloud and edge communicate using each protocol, and obtain the weights of each network performance indicator under different service quality levels. S2. Receive data packets sent by the terminal device, parse the data packets to obtain the service quality level, data entity and validity period of the data packets, obtain the corresponding network performance index weight based on the parsed service quality level, and obtain the amount of redundant data required for each protocol to transmit data entity. S3. Based on the data volume and redundant data volume of the data entity, calculate the actual data volume transmitted by each protocol for the data entity; combine the network rate in the network performance indicators to calculate the transmission time and transmission efficiency of each protocol, and perform dimensionless processing on the network performance indicators. S4. Based on the dimensionless network performance indicators, the corresponding network performance indicator weights, and the transmission efficiency, calculate the performance priority of each cloud-edge communication protocol. S5. Select the protocol with the highest performance priority and transmission time not exceeding the validity period of the data packet as the communication protocol, modify the destination address of the data packet to the cloud address, and then forward it to the cloud to complete the cloud-edge protocol conversion and adaptation.
[0025] This invention provides a method for cloud-edge protocol conversion and adaptation in the wireless Internet of Things (IoT). By integrating cloud-edge communication network performance characteristics, data packet quality of service (QoS) levels, and data transmission-related parameters, it achieves accurate adaptation and efficient selection of cloud-edge communication protocols. It comprehensively acquires the set of protocols supported by edge devices, the network performance indicators corresponding to each protocol, and the indicator weights under different QoS levels, laying a comprehensive data foundation for protocol selection and addressing the problem of insufficient attention to cloud-edge communication protocol adaptation. Furthermore, by parsing key information in data packets, combining redundant data volume to calculate the actual transmitted data volume and transmission efficiency, and performing dimensionless processing on network performance indicators, it ensures the accuracy and objectivity of the transmission capability assessment of each protocol. Finally, based on the dimensionless performance indicators, corresponding weights, and transmission efficiency, it calculates protocol performance priorities and selects the protocol with the highest priority and transmission time not exceeding the data packet's validity period for data forwarding. This ensures a high degree of matching between protocol selection and the current communication scenario and data transmission requirements, while avoiding invalid data transmission, effectively improving the stable adaptability and overall communication quality of wireless IoT cloud-edge communication.
[0026] like Figure 1 and Figure 2 As shown, specifically, in some embodiments, the method for wireless IoT cloud-edge protocol conversion and adaptation of the present invention is performed according to the following steps: Step 1: Obtain the set vector of the four cloud-edge communication protocols supported by the edge device: .
[0027] in, This is a vector set of cloud-edge communication protocols supported by edge devices. These are four typical cloud-edge communication protocols.
[0028] Four typical network communication performance index vectors are selected as follows: .
[0029] in, This refers to network speed (measured in bytes per second). For latency (measured in milliseconds). Jitter (measured in milliseconds). This is the packet loss rate (measured as a percentage).
[0030] Step 2: Based on historical cloud-edge communication data, classify different service quality levels. Qos The importance of communication metrics under these conditions is evaluated. , This indicates that there are no special requirements for latency. This indicates the lowest latency requirement. This indicates the highest latency requirement. It is set at the service quality level. In this case, the evaluation matrix composed of the evaluation results of four communication indicators based on historical cloud-edge communication data is as follows: .
[0031] Step 3: Set service quality level The evaluation matrix under the following conditions is Let the first... j The total score for each indicator is , To evaluate the total number of samples, then the first... j Weights of individual communication metrics: .
[0032] The service quality level is composed of the weights of all indicators. The following weight vector: .
[0033] in, For service quality level The weight of network speed metrics For service quality level The weight of the time delay metric For service quality level The weight of the jitter metric For service quality level The weight of the packet loss rate metric.
[0034] All service quality levels Qos The weight vectors are stored in the weight database. SQL This invention uses a group decision-making method to integrate historical cloud-edge communication data to calculate the final indicator weights for each service quality level, avoiding absolutism.
[0035] Step 4: Obtain network performance metric vectors when edge devices communicate with the cloud using different protocols. , .
[0036] Among them, all performance index vectors form a performance index matrix. .
[0037] Step 5: The edge device receives data packets from the terminal device. packet data packets packet Includes service quality level qos data entities msg and valid time duration .in, Data entities msg The size of the data is payload The unit of measurement is Byte.
[0038] Step 6: From the weight database SQL The service quality level obtained in China is Time-based performance index weight vector .
[0039] Step 7: Obtain the current data entity for each protocol transmission. msg The additional amount of data required is called redundant data, and the redundant data of each protocol forms a redundant data vector: .
[0040] in, They are respectively The amount of redundant data in the protocol.
[0041] Step 8: Calculate the current data entity to be transmitted using each protocol. msg The actual amount of data required at that time is used to form a vector of actual data consumed: .
[0042] in, .
[0043] Step 9: Calculate the current data entity to be transmitted using each protocol. msg The time consumed by all protocols in transmitting data constitutes a time consumption vector: .
[0044] in, ; .
[0045] This invention calculates the theoretical transmission time of each protocol using previously obtained typical network communication performance index data. The faster the network speed, the lower the latency, the smaller the jitter, the lower the packet loss rate, and the less time is required for data transmission.
[0046] Step 10: Calculate the amount of data transmitted per unit time: ; in, For the first The transmission efficiency of a protocol (measured in bytes per second). The transmission efficiency of a communication protocol is measured by the amount of data transmitted per unit of time. Clearly, the more data transmitted per unit of time, the higher the transmission efficiency.
[0047] Step 11, if The current data packet will be discarded.
[0048] Step 12: For each performance index in the performance index matrix P, let: ; ; For network speed (a positive indicator), use the formula: ; For delay, jitter (joggle), and packet loss (inverse metrics), use the formula: ; The dimensionless performance index matrix is denoted as .
[0049] Step 13: Calculate the following formula: Performance priority of each communication protocol: ; This invention provides a method for wireless IoT cloud-edge protocol conversion and adaptation. It calculates the performance priority of each protocol based on a dimensionless performance index matrix, previously acquired index weight vectors for corresponding priorities, and the amount of information transmitted per unit time. The better the network performance of a communication protocol and the more information it transmits per unit time, the higher its priority.
[0050] Step 14: Select the final communication protocol according to the following rules. : and ; The highest priority communication protocol should be selected as the final communication protocol, and the transmission time required by this protocol should not exceed the validity period of the data packet. Obviously, if the transmission time exceeds the validity period of the data packet, there is no need to transmit the data packet.
[0051] Step 15: The edge device modifies the destination address (target destination) in the packet to the cloud address (cloud addr) and modifies the expiration time in the packet. ; Use communication protocol Forward data packets to the cloud.
[0052] This invention can be applied to cloud-edge communication scenarios in the wireless Internet of Things (IoT). Specific steps include an information acquisition phase and priority calculation.
[0053] The information acquisition phase involves obtaining the set of communication protocols supported between cloud and edge devices, selecting typical communication performance indicators, calculating performance indicator weight vectors under different quality of service levels based on group decision-making, obtaining network performance indicators when using different protocols for communication, and obtaining the quality of service level, data entity, and validity period in edge data packets. It also involves obtaining the amount of redundant data required for various protocols.
[0054] Priority calculation specifically includes: calculating the actual time used by each protocol to transmit the current data packet, calculating the transmission efficiency of each protocol, making the performance index matrix dimensionless, using formulas to calculate the performance priority of each protocol, and selecting the communication protocol with the highest priority as the final communication protocol.
[0055] In summary, this invention provides a method and system for wireless IoT cloud-edge protocol conversion and adaptation. It obtains network performance indicator vectors between the cloud and the edge when communicating using different IoT protocols. A group decision-making method is used to calculate the indicator weights under different quality of service (QoS) levels. The QoS level of edge data packets is obtained. The actual data volume required for transmitting data packets is calculated based on the amount of redundant data required by different protocols, and data transmission efficiency is calculated using network speed and actual data volume. Based on transmission efficiency and indicator weights, the priority of each protocol is calculated, and the protocol with the highest priority is selected as the final transmission protocol, thus improving the overall quality and applicability of wireless IoT cloud-edge communication.
[0056] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Anyone skilled in the art can readily implement the present invention according to the description and above. Any modifications, alterations, or equivalent variations made using the technical content disclosed above are equivalent embodiments of the present invention. Furthermore, any modifications, alterations, or variations made to the above embodiments based on the essential technology of the present invention are still within the protection scope of the present invention.
Claims
1. A method for wireless IoT cloud-edge protocol conversion and adaptation, characterized in that, Includes the following steps: S1. Obtain the set of cloud-edge communication protocols supported by edge devices and the network performance indicators when cloud and edge communicate using each protocol, and obtain the weights of each network performance indicator under different service quality levels. S2. Receive data packets sent by the terminal device, parse the data packets to obtain the service quality level, data entity and validity period of the data packets, obtain the corresponding network performance index weight based on the parsed service quality level, and obtain the amount of redundant data required for each protocol to transmit data entity. S3. Calculate the actual amount of data transmitted by each protocol for the data entity based on the data volume and redundant data volume of the data entity. The transmission time and efficiency of each protocol are calculated by combining the network rate in the network performance index, and the network performance index is made dimensionless. S4. Based on the dimensionless network performance indicators, the corresponding network performance indicator weights, and the transmission efficiency, calculate the performance priority of each cloud-edge communication protocol. S5. Select the protocol with the highest performance priority and transmission time not exceeding the validity period of the data packet as the communication protocol, modify the destination address of the data packet to the cloud address, and then forward it to the cloud to complete the cloud-edge protocol conversion and adaptation.
2. The method for wireless IoT cloud-edge protocol conversion and adaptation according to claim 1, characterized in that, In S1, network performance indicators include network speed, latency, jitter, and packet loss rate; the weights corresponding to each network performance indicator are calculated through a group decision-making method, including: evaluating the importance of each network performance indicator under different service quality levels based on cloud-edge communication historical data to form an evaluation matrix, calculating the total score of each indicator, and then calculating the weights corresponding to the network performance indicators through the following formula. ; in, For service level quality Time The weights of each network performance metric This represents the total number of network performance metrics. For service level quality Time The overall score of each network performance metric For service level quality Time The overall score for each network performance metric.
3. The method for wireless IoT cloud-edge protocol conversion and adaptation according to claim 1, characterized in that, In S1 and S2, the weights of all service quality levels are stored in the weight database. The weights of the indicators corresponding to the service quality level of the data packet are obtained through the weight database. The data packet also includes the validity period. The data entity has the corresponding data packet size. The service quality level includes three types: no special requirements for latency, the lowest latency requirement, and the highest latency requirement.
4. The method for wireless IoT cloud-edge protocol conversion and adaptation according to claim 1, characterized in that, In S3, the actual data volume is calculated using the following formula: ; in, For the first The actual data volume of this protocol The size of the data entity. For the first The amount of redundant data required to transmit this data entity using this protocol.
5. The method for wireless IoT cloud-edge protocol conversion and adaptation according to claim 1, characterized in that, In step S3, the transmission time is calculated using a formula; ; in, For the first The transmission time of this protocol For the first The actual data volume of this protocol To adopt the first Network speed during communication using this protocol To adopt the first Delay during communication using this protocol To adopt the first jitter during protocol communication To adopt the first Packet loss rate during communication using this protocol.
6. The method for wireless IoT cloud-edge protocol conversion and adaptation according to claim 1, characterized in that, In S3, the specific method of dimensionless processing is as follows: first calculate the dimensionless value of all protocols. The maximum and minimum values of each network performance metric are then taken, and the metrics are normalized. For positive metrics such as network speed, the following formula is used: ; The following formula is used to handle latency, jitter, and packet loss rate; ; in, The dimensionless version of the first The first of the protocols A network performance metric value, The first before dimensionless The first of the protocols A network performance metric value, For all agreements The maximum value of each network performance metric. For all agreements The minimum value of each network performance metric.
7. The method for wireless IoT cloud-edge protocol conversion and adaptation according to claim 5, characterized in that, In S3, the transmission efficiency is the amount of data transmitted per unit time, calculated using the following formula: ; in, For the first The transmission efficiency of this protocol.
8. The method for wireless IoT cloud-edge protocol conversion and adaptation according to claim 7, characterized in that, In S4, the performance priority is calculated using the following formula: ; in, For the first Performance priority of the protocol For service quality level, The dimensionless version of the first A vector of performance metrics for a communication protocol. For service quality level The network performance metric weight vector at that time.
9. The method for wireless IoT cloud-edge protocol conversion and adaptation according to claim 1, characterized in that, In step S5, the rules for protocol selection are based on the following formula: and ; in, It has the highest performance priority among all protocols. Prioritizing the performance of all candidate cloud-edge communication protocols Take the maximum value. The validity period carried in the data packets sent by the terminal device. The minimum transmission time for transmitting the current data packet across all candidate communication protocols; if If the data packet is not selected, it is discarded; if the final communication protocol is selected, the validity period of the data packet is updated.
10. A system for wireless IoT cloud-edge protocol conversion and adaptation, used to implement the method for wireless IoT cloud-edge protocol conversion and adaptation as described in any one of claims 1-9, characterized in that, It includes a weight acquisition module, a redundant data acquisition module, a dimensionless processing module, a performance priority calculation module, and a cloud-edge protocol conversion and adaptation module, among which: Weight acquisition module: used to acquire the set of cloud-edge communication protocols supported by edge devices and the network performance indicators when the cloud and edge communicate using each protocol, and to acquire the weights of each network performance indicator under different service quality levels; Redundant data acquisition module: used to receive data packets sent by terminal devices, parse the data packets to obtain the service quality level, data entity and validity time of the data packets, obtain the corresponding network performance index weight based on the parsed service quality level, and obtain the amount of redundant data required for each protocol transmission data entity. Dimensionless processing module: Used to calculate the actual amount of data transmitted by each protocol for the data entity based on the data volume and redundant data volume of the data entity; combined with the network rate in the network performance index, calculate the transmission time and transmission efficiency of each protocol, and perform dimensionless processing on the network performance index. Performance Priority Calculation Module: Used to calculate the performance priority of each cloud-edge communication protocol based on the dimensionless network performance indicators, the corresponding network performance indicator weights, and transmission efficiency. Cloud-edge protocol conversion and adaptation: This is used to select the protocol with the highest performance priority and a transmission time that does not exceed the validity period of the data packet as the communication protocol. After modifying the destination address of the data packet to the cloud address, it is forwarded to the cloud to complete the cloud-edge protocol conversion and adaptation.