Communication protocol adaptive optimization method and system based on Internet of Things

By adopting an adaptive optimization system in the Internet of Things system, the problem of inefficient optimization of IoT communication protocols in the prior art is solved, and more efficient and stable IoT communication protocol optimization is achieved, which is suitable for the complex communication needs of large-scale IoT devices.

CN119892933APending Publication Date: 2025-04-25SUZHOU UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510060614.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing IoT communication protocol optimization methods are inefficient, difficult to cope with the complex communication needs of large-scale IoT devices, and ignore the overall coordination and resource correlation of communication between IoT devices.

Method used

An adaptive optimization system for communication protocols based on the Internet of Things is adopted, including a central service module, a protocol behavior feature processing module, a group-pair optimization analysis module and a virtual evaluation module. The system initializes the number of virtual servers in the central server, configures interactive channel ports, attaches feature tags and establishes group pairs, analyzes the symmetric integrity of group pairs, and evaluates the stability of virtual distribution to select the optimized core server.

Benefits of technology

It improves the efficiency and stability of the Internet of Things communication protocol, can more effectively respond to the complex communication needs of large-scale IoT devices, and ensures the overall coordination of communication protocol optimization and the correlation of resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892933A_ABST
    Figure CN119892933A_ABST
Patent Text Reader

Abstract

The invention discloses a communication protocol adaptive optimization method and system based on the Internet of Things, and belongs to the technical field of the Internet of Things. Initializing the number of virtual servers of the central server, uniformly configuring interaction channel ports, and distributing a log end storage space to cache an interaction instruction; feature tags are added to the interaction instructions of the Internet of Things equipment, and pairs between interaction instruction marks with symmetric behaviors are established; analyzing and estimating the symmetric integrity of the group, and recording the symmetric integrity into an occupation behavior set; and based on the occupancy behavior set, evaluating the virtual distribution stability of the Internet of Things terminal equipment, and selecting a virtual server with the maximum stability as an optimized core server. The invention aims to solve the problems that the existing Internet of Things communication protocol optimization method is low in efficiency, difficult to cope with the complex communication requirements of large-scale Internet of Things equipment and neglect the overall coordination and resource relevance, so as to improve the efficiency and stability of the Internet of Things communication protocol.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a communication protocol adaptive optimization method and system based on the Internet of Things. Background Art

[0002] With the rapid development of IoT technology, the number of IoT devices has increased dramatically. The efficiency and stability of IoT communication protocols have become key factors affecting the performance of IoT systems. IoT communication protocols are responsible for data transmission and interaction between IoT devices. Different communication protocols have different characteristics and applicable scenarios. However, in actual applications, IoT devices often need to communicate with different types of devices in different network environments, which requires communication protocols to be adaptively optimized to meet different needs.

[0003] At present, the optimization of IoT communication protocols mainly relies on manual configuration and adjustment, which is not only inefficient but also difficult to cope with the complex communication requirements of large-scale IoT devices. In particular, traditional communication protocol optimization methods often only focus on the performance optimization of a single communication protocol, while ignoring the overall coordination of communication between IoT devices.

[0004] At the same time, due to the heterogeneity of IoT devices, the complexity of the communication environment, and the wide distribution of IoT devices, the resource allocation efficiency of the interaction process based on communication protocols is not high. In particular, traditional resource allocation methods often only focus on the utilization of a single resource, but ignore the correlation between resources, making it difficult to ensure the stability of communication protocol optimization. Summary of the invention

[0005] The purpose of the present invention is to provide a communication protocol adaptive optimization method and system based on the Internet of Things to solve the problems raised in the above background technology.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] A communication protocol adaptive optimization system based on the Internet of Things, the system includes: a central service module, a protocol behavior feature processing module, a pair optimization analysis module and a virtual evaluation module;

[0008] The central service module is used to initialize the number of virtual servers of the central server and uniformly configure the interactive channel ports in the virtual servers to cache the interactive instructions generated when calling the communication protocol;

[0009] The protocol behavior feature processing module is used to add feature tags to the interaction instructions of the IoT devices and to establish pairs between interaction instruction tags with symmetrical behaviors;

[0010] The pair optimization analysis module analyzes and estimates the symmetry integrity of the pair based on the pair behavior, and records the symmetry integrity into the occupancy behavior set;

[0011] The virtual evaluation module analyzes and evaluates the virtual distribution stability of the IoT terminal device based on the occupancy behavior set, and selects the virtual server corresponding to the maximum value of the virtual distribution stability as the optimized core server of the IoT terminal device when calling the communication protocol process.

[0012] Further, the central service module includes a virtual server unit and a cache unit;

[0013] The virtual server unit is used to configure the central server in the local area network, initialize the number of virtual servers of the central server, and uniformly configure the interactive channel ports in the virtual servers, wherein the interactive channel ports are used to carry interactive instructions for calling the communication protocol;

[0014] The cache unit is used to allocate storage space on the log end. The storage space is divided into two rows of data clusters, and the two rows of data clusters include an upstream data cluster and a downstream data cluster. The upstream data cluster is used to cache interaction instructions from the IoT terminal device, and the downstream data cluster is used to cache interaction instructions sent to the IoT terminal device. The association relationship between the interaction instructions in the upstream data cluster and the interaction instructions in the downstream data cluster has the symmetry between the request and the response.

[0015] Furthermore, the protocol behavior feature processing module includes a feature label unit and a feature pairing unit;

[0016] The feature tag unit is used to update the configuration of the IoT devices connected to the local area network and unify the numbering, and to add feature tags to the cached interaction instructions;

[0017] The feature pairing unit establishes pairs based on interactive instruction tags with symmetrical behaviors.

[0018] Further, the pair optimization analysis module includes a symmetry analysis unit and a classification unit;

[0019] The symmetry analysis unit analyzes and estimates the symmetry completeness of the pair based on the pair behavior;

[0020] The classification unit is used to identify the virtual servers occupied by the group pair in the process of executing requests and responses, and record the symmetry integrity into the occupation behavior set.

[0021] Further, the virtual evaluation module includes a virtual distribution analysis unit and an optimization processing unit;

[0022] The virtual distribution analysis unit analyzes and evaluates the virtual distribution stability of the IoT terminal devices based on the occupancy behavior set;

[0023] The optimization processing unit selects the virtual server corresponding to the maximum value of virtual distribution stability based on the behavior of the group occupying the virtual server as the optimized core server of the Internet of Things terminal device when calling the communication protocol process.

[0024] A communication protocol adaptive optimization method based on the Internet of Things, the method comprises the following steps:

[0025] Step S1: Initialize the number of virtual servers of the central server, and uniformly configure the interactive channel ports in the virtual servers to carry the interactive instructions generated when calling the communication protocol; allocate storage space on the log end to cache the interactive instructions with symmetry between requests and responses;

[0026] Step S2: The log end adds feature tags to the interaction instructions of the IoT device to represent the interaction instruction tags with uplink features and the interaction instruction tags with downlink features, as well as the time node triggered when the IoT device calls the communication protocol; and establishes pairs between the interaction instruction tags with symmetrical behaviors;

[0027] Step S3: Based on the pair behavior, analyze and estimate the symmetry completeness of the pair, and record the symmetry completeness into the occupancy behavior set;

[0028] Step S4: Based on the occupancy behavior set, analyze and evaluate the virtual distribution stability of the IoT terminal device, and select the virtual server corresponding to the maximum value of the virtual distribution stability as the optimized core server of the IoT terminal device when calling the communication protocol process.

[0029] Furthermore, the specific implementation process of step S1 includes:

[0030] A central server is configured in the local area network, and the number of virtual servers of the central server is initialized, and interactive channel ports in the virtual servers are uniformly configured, where the interactive channel ports are used to carry interactive instructions for calling communication protocols;

[0031] Allocate storage space at the log end, the storage space is divided into two rows of data clusters, the two rows of data clusters include an uplink data cluster and a downlink data cluster, the uplink data cluster is used to cache interaction instructions from the IoT terminal device, the downlink data cluster is used to cache interaction instructions sent to the IoT terminal device, and the association relationship between the interaction instructions in the uplink data cluster and the interaction instructions in the downlink data cluster has the symmetry between the request and the response;

[0032] In the above method, the uplink and downlink interaction instructions are not the same instruction, and each has different directionality and function. The uplink instruction is usually initiated by the user end or a lower-level device to request data, send information or perform a certain operation; while the downlink instruction is initiated by the server end or a higher-level device to respond to the uplink request, send data or perform the operation requested by the user end; however, in the IoT interaction process, the uplink and downlink instructions often have a certain correlation or symmetry, for example, the user end sends a request instruction (uplink), and then the server end responds to the request and sends a instruction containing the required data (downlink).

[0033] Furthermore, the specific implementation process of step S2 includes:

[0034] Update the configuration of IoT devices connected to the LAN and unify their numbers. The i-th IoT device is marked as D i The log end adds feature tags to the interaction instructions of the IoT device, and records the feature tags added to the interaction instructions cached in the uplink data cluster as t x (D i )|up(D i ), the feature label attached to the interactive instruction cached in the downlink data cluster is recorded as t x (D i )|down(D i ), where up(D i ) indicates that it comes from IoT device D i The uplink interactive command mark, down(D i ) indicates sending to IoT device D i The downlink interactive instruction mark, and up(D i ) and down(D i ) has the symmetry between request and response, t x (D i ) represents the IoT terminal device D i The xth time node triggered when the communication protocol is called;

[0035] For an interactive command mark up (D i ) in response to at least two interactive instructions mark down (D i ) symmetric behavior, establish a pair, denoted as AM[up(D i )] → BM r [down(D i )], and AM[up(D i )]={t x (D i )|x∈[1,K]},AM[down(D i )]={tx (D i )|x∈[1,K]}, where AM[up(D i )] indicates the interactive instruction mark up (D i ) generated by the group set, BM r [down(D i )] indicates the interactive instruction mark down (D i ) generates the rth group set, and r ≥ 2, K represents the maximum sequence number of the time node.

[0036] Furthermore, the specific implementation process of step S3 includes:

[0037] Analyze and estimate the symmetry integrity of pairs based on pair behavior

[0038] , where max{·} and min{·} represent the maximum value symbol and the minimum value symbol of the group set respectively;

[0039] Identify the pair AM[up(D i )] → BM r [down(D i )] in the process of executing requests and responses, and the symmetric integrity S{AM[up(D i )] → BM r [down(D i )]} is recorded in the occupation behavior set V h (D i ), where h is the number of the virtual server;

[0040] In the above method, in a distributed virtualization environment, efficient and reliable data transmission and interaction between virtual servers are achieved through a specific communication protocol, with the aim of achieving efficient resource utilization and stable communication, including load balancing, elastic expansion, fault tolerance and high availability, etc., and multiple physical servers form a resource pool or cluster through a virtualization platform to stabilize protocol communication; however, as the requester, the uplink often needs to mobilize multiple downlink resources to respond. This process reflects the adaptive optimization of virtual machine resources. The higher the symmetric completeness, the more complete the response obtained by a terminal after the request, that is, the processing and transmission of interactive instructions based on the communication protocol are less likely to be delayed and lost, reflecting the stability of the virtual machine.

[0041] Furthermore, the specific implementation process of step S4 includes:

[0042] Based on the occupancy behavior set V h (D i ), analyze and evaluate IoT terminal devices Di Virtual distribution stability

[0043] In the formula, NUM[V h (D i )] represents the occupation behavior set V h (D i ), is the mean of the symmetry completeness, and σ 2 is the variance of the symmetry completeness, and Among them, R represents the IoT terminal device D i The total number of pairs generated;

[0044] Based on the behavior of the group occupying the virtual server, the maximum value of the virtual distribution stability max{F(D i , h)|h∈[1,H]} corresponding to the virtual server, as the IoT terminal device D when calling the communication protocol process i The optimized core server, where H represents the number of virtual servers that initialize the central server.

[0045] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: in the communication protocol adaptive optimization method and system based on the Internet of Things provided by the present invention, the number of virtual servers of the central server is initialized, the interactive channel ports are uniformly configured, and the log-side storage space is allocated to cache interactive instructions; feature tags are added to the interactive instructions of the Internet of Things devices, and pairs of interactive instruction tags with symmetrical behaviors are established; the symmetric integrity of the pairs is analyzed and estimated, and recorded in the occupancy behavior set; based on the occupancy behavior set, the virtual distribution stability of the Internet of Things terminal devices is evaluated, and the virtual server with the greatest stability is selected as the optimized core server. The present invention aims to solve the problems of low efficiency of the existing Internet of Things communication protocol optimization methods, difficulty in coping with the complex communication requirements of large-scale Internet of Things devices, and neglect of overall coordination and resource relevance, so as to improve the efficiency and stability of the Internet of Things communication protocol. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0047] Figure 1 It is a schematic diagram of the steps of a communication protocol adaptive optimization method based on the Internet of Things of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] In the first embodiment of the present invention, a communication protocol adaptive optimization system based on the Internet of Things is provided, the system comprising: a central service module, a protocol behavior feature processing module, a pair optimization analysis module and a virtual evaluation module;

[0050] The central service module is used to initialize the number of virtual servers of the central server and uniformly configure the interactive channel ports in the virtual servers to cache the interactive instructions generated when calling the communication protocol;

[0051] Wherein, the central service module includes a virtual server unit and a cache unit;

[0052] The virtual server unit is used to configure the central server in the local area network, initialize the number of virtual servers of the central server, and uniformly configure the interactive channel ports in the virtual servers, wherein the interactive channel ports are used to carry interactive instructions for calling the communication protocol;

[0053] The cache unit is used to allocate storage space on the log end. The storage space is divided into two rows of data clusters, and the two rows of data clusters include an upstream data cluster and a downstream data cluster. The upstream data cluster is used to cache interaction instructions from the IoT terminal device, and the downstream data cluster is used to cache interaction instructions sent to the IoT terminal device. The association relationship between the interaction instructions in the upstream data cluster and the interaction instructions in the downstream data cluster has the symmetry between the request and the response.

[0054] The protocol behavior feature processing module is used to add feature tags to the interaction instructions of the IoT devices and to establish pairs between interaction instruction tags with symmetrical behaviors;

[0055] Wherein, the protocol behavior feature processing module includes a feature label unit and a feature pairing unit;

[0056] The feature tag unit is used to update the configuration of the IoT devices connected to the local area network and unify the numbering, and to add feature tags to the cached interaction instructions;

[0057] The feature pairing unit establishes pairs based on interactive instruction tags with symmetrical behaviors.

[0058] The pair optimization analysis module analyzes and estimates the symmetry integrity of the pair based on the pair behavior, and records the symmetry integrity into the occupancy behavior set;

[0059] Wherein, the pair optimization analysis module includes a symmetry analysis unit and a classification unit;

[0060] The symmetry analysis unit analyzes and estimates the symmetry completeness of the pair based on the pair behavior;

[0061] The classification unit is used to identify the virtual servers occupied by the group pair in the process of executing requests and responses, and record the symmetry integrity into the occupation behavior set.

[0062] The virtual evaluation module analyzes and evaluates the virtual distribution stability of the IoT terminal device based on the occupancy behavior set, and selects the virtual server corresponding to the maximum value of the virtual distribution stability as the optimized core server of the IoT terminal device when calling the communication protocol process;

[0063] Wherein, the virtual evaluation module includes a virtual distribution analysis unit and an optimization processing unit;

[0064] The virtual distribution analysis unit analyzes and evaluates the virtual distribution stability of the IoT terminal devices based on the occupancy behavior set;

[0065] The optimization processing unit selects the virtual server corresponding to the maximum value of virtual distribution stability based on the behavior of the group occupying the virtual server as the optimized core server of the Internet of Things terminal device when calling the communication protocol process.

[0066] See also Figure 1 In the second embodiment, a communication protocol adaptive optimization method based on the Internet of Things is provided to be applied to the first embodiment above. The method includes the following steps:

[0067] Step S1: Initialize the number of virtual servers of the central server, and uniformly configure the interactive channel ports in the virtual servers to carry the interactive instructions generated when calling the communication protocol; allocate storage space on the log end to cache the interactive instructions with symmetry between requests and responses;

[0068] Exemplarily, a central server is configured in a local area network, and the number of virtual servers of the central server is initialized, and interactive channel ports in the virtual servers are uniformly configured, wherein the interactive channel ports are used to carry interactive instructions for calling a communication protocol;

[0069] A storage space is allocated to the log end, and the storage space is divided into two rows of data clusters, wherein the two rows of data clusters include an upstream data cluster and a downstream data cluster, wherein the upstream data cluster is used to cache interaction instructions from an IoT terminal device, and the downstream data cluster is used to cache interaction instructions sent to an IoT terminal device, and the association relationship between the interaction instructions in the upstream data cluster and the interaction instructions in the downstream data cluster has the symmetry between request and response.

[0070] Step S2: The log end adds feature tags to the interaction instructions of the IoT device to represent the interaction instruction tags with uplink features and the interaction instruction tags with downlink features, as well as the time node triggered when the IoT device calls the communication protocol; and establishes pairs between the interaction instruction tags with symmetrical behaviors;

[0071] For example, the configuration of the IoT devices connected to the local area network is updated and numbered uniformly, and the i-th IoT device is recorded as D i The log end adds feature tags to the interaction instructions of the IoT device, and records the feature tags added to the interaction instructions cached in the uplink data cluster as t x (D i )|up(D i ), the feature label attached to the interactive instruction cached in the downlink data cluster is recorded as t x (D i )|down(D i ), where up(D i ) indicates that it comes from IoT device D i The uplink interactive command mark, down(D i ) indicates sending to IoT device D i The downlink interactive instruction mark, and up(D i ) and down(D i ) has the symmetry between request and response, t x (D i ) represents the IoT terminal device D i The xth time node triggered when the communication protocol is called;

[0072] For an interactive command mark up (D i ) in response to at least two interactive instructions mark down (D i ) symmetric behavior, establish a pair, denoted as AM[up(D i )] → BM r [down(D i )], and AM[up(D i )]={t x (D i)|x∈[1,K]},AM[down(D i )]={t x (D i )|x∈[1,K]}, where AM[up(D i )] indicates the interactive instruction mark up (D i ) generated by the group set, BM r [down(D i )] indicates the interactive instruction mark down (D i ) generates the rth group set, and r ≥ 2, K represents the maximum sequence number of the time node.

[0073] Step S3: Based on the pair behavior, analyze and estimate the symmetry completeness of the pair, and record the symmetry completeness into the occupancy behavior set;

[0074] Exemplarily, based on the pair behavior, analyze and estimate the symmetry completeness of the pair

[0075]

[0076] , where max{·} and min{·} represent the maximum value symbol and the minimum value symbol of the group set respectively;

[0077] Identify the pair AM[up(D i )] → BM r [down(D i )] in the process of executing requests and responses, and the symmetric integrity S{AM[up(D i )]-→BM r [down(D i )]} is recorded in the occupation behavior set V h (D i ), where h is the number of the virtual server.

[0078] Step S4: Based on the occupancy behavior set, analyze and evaluate the virtual distribution stability of the IoT terminal device, and select the virtual server corresponding to the maximum value of the virtual distribution stability as the optimized core server of the IoT terminal device when calling the communication protocol process;

[0079] For example, based on the occupancy behavior set V h (D i ), analyze and evaluate IoT terminal devices D i Virtual distribution stability

[0080] In the formula, NUM[V h (D i)] represents the occupation behavior set V h (D i ), is the mean of the symmetry completeness, and σ 2 is the variance of the symmetry completeness, and Among them, R represents the IoT terminal device D i The total number of pairs generated;

[0081] Based on the behavior of the group occupying the virtual server, the maximum value of the virtual distribution stability max{F(D i , h)|h∈[1,H]} corresponding to the virtual server, as the IoT terminal device D when calling the communication protocol process i The optimized core server, where H represents the number of virtual servers that initialize the central server.

[0082] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0083] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A communication protocol adaptive optimization method based on the Internet of Things, characterized in that: The method comprises the following steps: Step S1: Initialize the number of virtual servers of the central server, and uniformly configure the interactive channel ports in the virtual servers to carry the interactive instructions generated when calling the communication protocol; allocate storage space on the log end to cache the interactive instructions with symmetry between requests and responses; Step S2: The log end adds feature tags to the interaction instructions of the IoT device to represent the interaction instruction tags with uplink features and the interaction instruction tags with downlink features, as well as the time node triggered when the IoT device calls the communication protocol; and establishes pairs between the interaction instruction tags with symmetrical behaviors; Step S3: Based on the pair behavior, analyze and estimate the symmetry completeness of the pair, and record the symmetry completeness into the occupancy behavior set; Step S4: Based on the occupancy behavior set, analyze and evaluate the virtual distribution stability of the IoT terminal device, and select the virtual server corresponding to the maximum value of the virtual distribution stability as the optimized core server of the IoT terminal device when calling the communication protocol process.

2. According to the method for adaptive optimization of communication protocols based on the Internet of Things in claim 1, it is characterized in that: The specific implementation process of step S1 includes: A central server is configured in the local area network, and the number of virtual servers of the central server is initialized, and interactive channel ports in the virtual servers are uniformly configured, where the interactive channel ports are used to carry interactive instructions for calling communication protocols; A storage space is allocated to the log end, and the storage space is divided into two rows of data clusters, wherein the two rows of data clusters include an upstream data cluster and a downstream data cluster, wherein the upstream data cluster is used to cache interaction instructions from an IoT terminal device, and the downstream data cluster is used to cache interaction instructions sent to an IoT terminal device, and the association relationship between the interaction instructions in the upstream data cluster and the interaction instructions in the downstream data cluster has the symmetry between request and response.

3. According to the method for adaptive optimization of communication protocols based on the Internet of Things in claim 1, it is characterized in that: The specific implementation process of step S2 includes: Update the configuration of IoT devices connected to the LAN and unify their numbers. The i-th IoT device is marked as D i The log end adds feature tags to the interaction instructions of the IoT device, and records the feature tags added to the interaction instructions cached in the uplink data cluster as t x (D i )|up(D i ), the feature label attached to the interactive instruction cached in the downlink data cluster is recorded as t x (D i )|down(D i ), where up(D i ) indicates that it comes from IoT device D i The uplink interactive command mark, down(D i ) indicates sending to IoT device D i The downlink interactive instruction mark, and up(D i ) and down(D i ) has the symmetry between request and response, t x (D i ) represents the IoT terminal device D i The xth time node triggered when the communication protocol is called; For an interactive command mark up (D i ) in response to at least two interactive instructions mark down (D i ) symmetric behavior, establish a pair, denoted as AM[up(D i )] → BM r [down(D i )], and AM[up(D i )]={t x (D i )|x∈[1,K]},AM[down(D i )]={t x (D i )|x∈[1,K]}, where AM[up(D i )] indicates the interactive instruction mark up (D i ) generated by the group set, BM r [down(D i )] indicates the interactive instruction mark down (D i ) generates the rth group set, and r ≥ 2, K represents the maximum sequence number of the time node.

4. The method for adaptive optimization of communication protocols based on the Internet of Things according to claim 3 is characterized in that: The specific implementation process of step S3 includes: Analyze and estimate the symmetry integrity of pairs based on pair behavior Where max{·} and min{·} represent the maximum value symbol and the minimum value symbol of the group set respectively; Identify the pair AM[up(D i )] → BM r [down(D i )] in the process of executing requests and responses, and the symmetric integrity S{AM[up(D i )] → BM r [down(D i )]} is recorded in the occupation behavior set V h (D i ), where h is the number of the virtual server.

5. The method for adaptive optimization of communication protocols based on the Internet of Things according to claim 4, characterized in that: The specific implementation process of step S4 includes: Based on the occupancy behavior set V h (D i ), analyze and evaluate IoT terminal devices D i Virtual distribution stability In the formula, NUM[V h (D i )] represents the occupation behavior set V h (D i ), is the mean of the symmetry completeness, and σ 2 is the variance of the symmetry completeness, and Among them, R represents the IoT terminal device D i The total number of pairs generated; Based on the behavior of the group occupying the virtual server, the maximum value of the virtual distribution stability max{F(D i , h)|h∈[1,H]} corresponding to the virtual server, as the IoT terminal device D when calling the communication protocol process i The optimized core server, where H represents the number of virtual servers that initialize the central server.

6. A communication protocol adaptive optimization system based on the Internet of Things, executing a communication protocol adaptive optimization method based on the Internet of Things as claimed in any one of claims 1 to 5, characterized in that: The system includes: a central service module, a protocol behavior feature processing module, a pair optimization analysis module and a virtual evaluation module; The central service module is used to initialize the number of virtual servers of the central server and uniformly configure the interactive channel ports in the virtual servers to cache the interactive instructions generated when calling the communication protocol; The protocol behavior feature processing module is used to add feature tags to the interaction instructions of the IoT devices and to establish pairs between interaction instruction tags with symmetrical behaviors; The pair optimization analysis module analyzes and estimates the symmetry integrity of the pair based on the pair behavior, and records the symmetry integrity into the occupancy behavior set; The virtual evaluation module analyzes and evaluates the virtual distribution stability of the IoT terminal device based on the occupancy behavior set, and selects the virtual server corresponding to the maximum value of the virtual distribution stability as the optimized core server of the IoT terminal device when calling the communication protocol process.

7. The communication protocol adaptive optimization system based on the Internet of Things according to claim 6 is characterized in that: The central service module includes a virtual server unit and a cache unit; The virtual server unit is used to configure the central server in the local area network, initialize the number of virtual servers of the central server, and uniformly configure the interactive channel ports in the virtual servers, wherein the interactive channel ports are used to carry interactive instructions for calling the communication protocol; The cache unit is used to allocate storage space on the log end. The storage space is divided into two rows of data clusters, and the two rows of data clusters include an upstream data cluster and a downstream data cluster. The upstream data cluster is used to cache interaction instructions from the IoT terminal device, and the downstream data cluster is used to cache interaction instructions sent to the IoT terminal device. The association relationship between the interaction instructions in the upstream data cluster and the interaction instructions in the downstream data cluster has the symmetry between the request and the response.

8. The communication protocol adaptive optimization system based on the Internet of Things according to claim 6 is characterized in that: The protocol behavior feature processing module includes a feature label unit and a feature pairing unit; The feature tag unit is used to update the configuration of the IoT devices connected to the local area network and unify the numbering, and to add feature tags to the cached interaction instructions; The feature pairing unit establishes pairs based on interactive instruction tags with symmetrical behaviors.

9. The communication protocol adaptive optimization system based on the Internet of Things according to claim 6, characterized in that: The pair optimization analysis module includes a symmetry analysis unit and a classification unit; The symmetry analysis unit analyzes and estimates the symmetry completeness of the pair based on the pair behavior; The classification unit is used to identify the virtual servers occupied by the group pair in the process of executing requests and responses, and record the symmetry integrity into the occupation behavior set.

10. The communication protocol adaptive optimization system based on the Internet of Things according to claim 6, characterized in that: The virtual evaluation module includes a virtual distribution analysis unit and an optimization processing unit; The virtual distribution analysis unit analyzes and evaluates the virtual distribution stability of the IoT terminal devices based on the occupancy behavior set; The optimization processing unit selects the virtual server corresponding to the maximum value of virtual distribution stability based on the behavior of the group occupying the virtual server as the optimized core server of the Internet of Things terminal device when calling the communication protocol process.