A method for processing multi-card communication protocol compatibility

Through real-time acquisition and division of SIM card multi-channel communication status data, combined with Shannon entropy algorithm to detect load fluctuations, the problem of protocol adaptation failure in multi-card communication protocol compatibility processing is solved, and communication stability and efficiency are improved.

CN120302274BActive Publication Date: 2025-08-12ANKANG HONGXUNTONG INTELLIGENT TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510773498.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-11
Publication Date
2025-08-12
Estimated Expiration
2045-06-11

AI Technical Summary

Technical Problem

The prior art lacks in-depth perception and real-time monitoring of the dynamic behavior characteristics of the communication channel in the compatibility processing of multi-card communication protocols, resulting in failure of protocol adaptation, fluctuations in communication performance, degradation of user experience, and it is difficult to avoid communication bottlenecks caused by channel load changes.

Method used

By obtaining the multi-channel communication status data of the SIM card, dividing channel-like clusters, building communication cluster structure information, using Shannon entropy algorithm to detect load fluctuations, filtering alternate standard channels, realizing protocol signaling mapping and switching, and improving communication stability.

Benefits of technology

Accurate channel classification and dynamic load monitoring in a multi-protocol environment are realized, which avoids protocol mismatch, improves communication stability and efficiency, and ensures the rigor of seamless switching and signaling matching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120302274B_ABST
    Figure CN120302274B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of mobile phone communication technology, and specifically to a multi-card communication protocol compatibility processing method, which obtains multi-channel communication status data of a SIM card, divides channel clusters and constructs a communication cluster structure, collects channel communication behaviors in groups, detects load fluctuations based on the Shannon entropy algorithm, screens spare channels to form protocol switching entries, and completes multi-card protocol signaling mapping and switching. In the present invention, by real-time collection of multi-channel communication status data of a SIM card and dividing channel clusters, accurate classification of channels can be achieved at the communication behavior level, avoiding the risk of protocol mismatch caused by confusion of communication channels in a multi-protocol environment. Based on the channel cluster numbering, further grouping collection and construction of interaction data can be performed to form more accurate channel communication behavior characteristics. The Shannon entropy algorithm is used to detect the dynamic changes in the distribution probability of channel communication behaviors in the communication cluster interaction data, effectively capturing abnormal fluctuations in channel load.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile phone communication technology, and in particular to a method for processing the compatibility of multi-card communication protocols. Background Art

[0002] The field of mobile communications technology encompasses the information transmission and exchange mechanisms between mobile terminals and between terminals and base stations. This includes radio signal modulation and demodulation, frequency band allocation, communication protocol standardization and optimization, and multi-standard and multi-network compatible connectivity technologies. Mobile communications encompass multiple communication standards, including GSM, CDMA, LTE, and 5G, and involve various data transmission methods, including voice communication, SMS, and data network access.

[0003] Among them, the multi-card communication protocol compatibility processing method refers to a method for separating and judging multiple communication protocols by setting an identification process in a mobile terminal with a multi-card slot function in order to achieve protocol compatibility between different operators, and executing an access method that matches the corresponding communication protocol based on the identification results.

[0004] In the existing technology, static identification processes are usually relied upon to separate and judge multiple communication protocols. There is a lack of in-depth perception and real-time monitoring of the dynamic behavioral characteristics of communication channels. As a result, in complex scenarios where multiple protocols coexist, channel status changes are not captured in a timely manner, which easily leads to protocol adaptation failures. Due to the failure to implement clustering and analysis based on behavioral characteristics at the channel level, channel management is extensive, and it is impossible to effectively schedule and optimize resources based on the actual load conditions of different protocol channels, which in turn causes fluctuations in communication performance and a decline in user experience. In the process of processing multi-card protocol signaling mapping and switching, there is a lack of accurate judgment of the consistency and conflict between channel protocol signaling fields, which easily leads to signaling conflicts or control time slot overlap, increasing the probability of communication failures. For example, when multiple SIM cards are connected to different operator networks at the same time, it is difficult for existing technologies to effectively avoid communication bottlenecks caused by channel load changes, resulting in reduced call quality or data transmission delays, seriously affecting the actual use of multi-card terminals. Summary of the Invention

[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a method for processing the compatibility of multi-card communication protocols.

[0006] To achieve the above objectives, the present invention adopts the following technical solution: a method for processing the compatibility of multi-card communication protocols, comprising the following steps:

[0007] S1: Obtain multi-channel communication status data of the corresponding SIM card through the mobile terminal and divide the channel into clusters to construct communication cluster structure information;

[0008] S2: Obtain a list of cluster channel numbers corresponding to the communication cluster structure information, group and collect channel communication behaviors, and construct communication cluster interaction data;

[0009] S3: using the Shannon entropy algorithm to calculate the distribution probability of each channel communication behavior in the communication cluster interaction data, performing load fluctuation detection through a sliding window, and obtaining the load fluctuation abnormal cluster number;

[0010] S4: Based on the load fluctuation abnormal cluster number, screening the available transfer entrances of the backup standard channel in the mobile phone to form a protocol switching feasible channel entrance;

[0011] S5: Execute multi-card protocol signaling mapping judgment and switching operations according to the protocol switching feasibility channel entry to obtain a multi-card communication protocol compatibility adjustment result.

[0012] As a further solution of the present invention, the communication cluster structure information includes a standard distribution cluster, a protocol structure feature group, and a channel cluster number; the communication cluster interaction data includes a channel communication behavior vector sequence, a node response delay record, and a signaling interaction frequency mark; the load fluctuation abnormality cluster number includes a load status label, an entropy value change amplitude parameter, and a communication imbalance indication mark; the protocol switching feasibility channel entry is specifically the target channel number, the backup standard identifier, and the adaptation path index; the multi-card communication protocol compatibility adjustment result includes the protocol binding path, the channel switching result, and the protocol signaling mapping structure.

[0013] As a further solution of the present invention, the step of acquiring the communication cluster structure information is specifically as follows:

[0014] S111: Obtain the system type, carrier frequency, modulation and coding mode, access control type, and frame configuration identifier of the physical channel to which the SIM card is connected through the mobile phone, extract all corresponding structure fields using each channel as an index, and generate a channel state feature vector set;

[0015] S112: Calling the corresponding field of each channel in the channel state feature vector set, calculating the Euclidean distance between the field scheduling mode and the protocol structure, performing attribution matching with all cluster center vectors and obtaining cluster labels, and generating a channel cluster attribution label table;

[0016] S113: Extract the combination relationship of each channel in the same cluster according to all channel numbers corresponding to each type of label in the channel cluster belonging label table, and generate communication cluster structure information.

[0017] As a further solution of the present invention, the step of acquiring the communication cluster interaction data is specifically as follows:

[0018] S211: Grouping corresponding channel numbers in the communication cluster based on the communication cluster structure information, collecting uplink data transmission timestamps of each group of channels in a continuous scheduling period, and calculating the time difference between two adjacent uplink transmissions in chronological order to generate an uplink transmission interval sequence set;

[0019] S212: Calling the corresponding record of the channel number in the uplink transmission interval sequence set, collecting the first reception time and the sending time of the downlink control message in the same scheduling period, and calculating the response time difference between the two, extracting the result bound to the channel index, and generating a downlink response delay record table;

[0020] S213: According to the channel number corresponding to each record in the downlink response delay record table, the number of successful signaling connections in each scheduling period is counted, and the number of successful signaling connections is arranged and integrated with the corresponding channel number, transmission interval and response delay data in chronological order to generate communication cluster interaction data.

[0021] As a further solution of the present invention, the step of obtaining the load fluctuation abnormal cluster number is specifically as follows:

[0022] S311: Based on the behavior records of the channels in the communication cluster interaction data in continuous periods, extract the data transmission interval value, the control response delay value and the ratio of the number of successful signaling connections, and establish a state probability distribution for each channel according to the time window to generate a channel state distribution probability set;

[0023] S312: Calculate corresponding Shannon entropy values based on the state probability values of the channels in the channel state distribution probability set in multiple time windows, extract channel numbers whose entropy value changes exceed a set communication stability reference threshold, and generate an entropy value fluctuation channel set;

[0024] S313: Call the communication cluster number corresponding to the channel number in the entropy fluctuation channel set, establish a mapping relationship between the communication cluster number and the channel number where internal fluctuation occurs, summarize the entropy fluctuation amplitude, and generate the load fluctuation abnormal cluster number.

[0025] As a further solution of the present invention, the steps for obtaining the protocol switching feasible channel entrance are specifically as follows:

[0026] S411: Based on the identification number of each main channel in the load fluctuation abnormality cluster number, obtain the access feedback time record and the number of successful data transmissions in the continuous period under the current communication standard, and calculate the average feedback delay value and the successful transmission frequency to generate a main channel performance indicator set;

[0027] S412: Calling each primary channel number in the primary channel performance indicator set to obtain the spectrum occupancy rate and access response time corresponding to the backup standard channel in the non-connected state of the mobile phone, and using the primary channel number as a reference, comparing the response speed and link occupancy status of the backup standard channel and the primary channel in the same cluster to generate a backup channel scheduling capability comparison result.

[0028] S413: Based on the delay difference and spectrum difference corresponding to the backup standard channels in the backup channel scheduling capability comparison result, summarize them into a difference sorted list according to the channel number, extract the channel number with the best combination of channel state stability and resource availability difference indicators, and establish a protocol switching feasibility channel entrance.

[0029] As a further solution of the present invention, the step of obtaining the multi-card communication protocol compatibility adjustment result is specifically as follows:

[0030] S511: Based on the target channel number of each path in the protocol switching feasible channel entry, obtain the protocol signaling format, access control field, and HARQ scheduling period parameter of the channel, perform field alignment extraction with the field information corresponding to the current primary channel structure, and generate a channel structure field mapping set;

[0031] S512: Call the channel field alignment result in the channel structure field mapping set, perform consistency judgment on each set of fields between the target channel and the primary channel, and detect whether there is a field name mismatch or HARQ control time slot overlap. Filter out the channel numbers with all fields correctly matched and no control conflict, and generate a protocol field compatible path number set;

[0032] S513: Based on the channel number determined to be compatible in the protocol field compatible path number set, the signaling access path bound to it in the terminal structure is redirected, and the original primary channel binding relationship is released and updated to the target channel number to generate a multi-card communication protocol compatibility adjustment result.

[0033] Compared with the prior art, the advantages and positive effects of the present invention are:

[0034] In this invention, by collecting multi-channel communication status data from SIM cards in real time and classifying them into channel clusters, precise channel classification at the communication behavior level is achieved, avoiding the risk of protocol mismatch caused by communication channel confusion in a multi-protocol environment. Based on channel cluster numbering, further grouping and interaction data construction are performed to form more accurate channel communication behavior characteristics and enhance the observability of communication status. The Shannon entropy algorithm is used to detect dynamic changes in the distribution probability of channel communication behavior in communication cluster interaction data. A sliding window mechanism is used to monitor load fluctuations in real time, effectively capturing abnormal channel load fluctuations and improving the adaptive adjustment capability of communication stability. By screening the cluster numbers of abnormal load fluctuations and comparing the performance differences of backup standard channels, feasible entry points for protocol switching can be scientifically and rationally determined, avoiding communication interruptions caused by abnormal load on the primary channel. Relying on the mapping and consistency judgment of channel protocol signaling, seamless switching between channels is achieved, balancing the rigor of signaling matching and the avoidance of control conflicts, significantly improving the processing accuracy and efficiency of multi-SIM communication protocol compatibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a schematic diagram of the main steps of the present invention;

[0036] Figure 2 This is a flow chart of step S1 of the present invention;

[0037] Figure 3 This is a flow chart of step S2 of the present invention;

[0038] Figure 4 This is a flow chart of step S3 of the present invention;

[0039] Figure 5 This is a flow chart of step S4 of the present invention;

[0040] Figure 6 This is a flow chart of step S5 of the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0042] In the description of the present invention, it should be understood that the terms "length," "width," "up," "down," "front," "back," "left," "right," "vertical," "horizontal," "top," "bottom," "inside," "outside," and the like, indicating positions or relationships, are based on the positions or relationships shown in the accompanying drawings and are intended only to facilitate the description of the present invention and simplify the description. They do not indicate or imply that the devices or elements referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limiting the present invention. Furthermore, in the description of the present invention, "plurality" means two or more, unless otherwise expressly and specifically defined.

[0043] See also Figure 1 The present invention provides a technical solution: a method for processing the compatibility of multi-card communication protocols, comprising the following steps:

[0044] S1: Obtain multi-channel communication status data of the corresponding SIM card through the mobile terminal and divide the channel into clusters to construct communication cluster structure information;

[0045] S2: Obtain the cluster channel number list corresponding to the communication cluster structure information, group and collect the channel communication behaviors, and construct the communication cluster interaction data;

[0046] S3: Use the Shannon entropy algorithm to calculate the distribution probability of each channel communication behavior in the communication cluster interaction data. Use a sliding window to detect load fluctuations and obtain the load fluctuation abnormal cluster number.

[0047] S4: Based on the load fluctuation abnormal cluster number, the available transfer entrances of the backup standard channels in the mobile phone are screened to form a feasible channel entrance for protocol switching;

[0048] S5: Execute multi-card protocol signaling mapping judgment and switching operations according to the protocol switching feasibility channel entry to obtain the multi-card communication protocol compatibility adjustment result;

[0049] The communication cluster structure information includes the standard distribution cluster, protocol structure feature group, and channel cluster number. The communication cluster interaction data includes the channel communication behavior vector sequence, node response delay record, and signaling interaction frequency mark. The load fluctuation abnormality cluster number includes the load status label, entropy value change amplitude parameter, and communication imbalance indication mark. The protocol switching feasibility channel entry is specifically the target channel number, backup standard identifier, and adaptation path index. The multi-card communication protocol compatibility adjustment results include the protocol binding path, channel switching results, and protocol signaling mapping structure.

[0050] See also Figure 2 ,The steps for obtaining the communication cluster structure information are as follows:

[0051] S111: Obtain the system type, carrier frequency, modulation and coding mode, access control type, and frame configuration identifier of the physical channel to which the SIM card is connected through the mobile phone, extract all corresponding structure fields using each channel as an index, and generate a channel state feature vector set;

[0052] The physical channel type, carrier frequency, modulation and coding method, access control type, and frame configuration identifier of the SIM card are obtained through the mobile phone. First, the five fields mentioned above are extracted for each channel in turn to construct the original channel feature vector. During the processing, in order to eliminate the impact of the dimension difference between the fields on the distance calculation, all feature values need to be normalized. The minimum-maximum normalization method is used, and the calculation formula is:

[0053] ;

[0054] in, Represents the original field value, Indicates the minimum value of this field in all channels. Indicates the maximum value of the field. is the normalized result.

[0055] Assume that the original values of the fields for channel A are: standard type 2 (LTE), carrier frequency 2600 MHz, modulation mode 3 (64QAM), access control type 1, and frame configuration identifier 3. The corresponding normalization process is as follows:

[0056] Normalization of format type: , where the minimum value is 1 (WCDMA) and the maximum value is 3 (NR)

[0057] Carrier frequency normalization: ;

[0058] Modulation mode normalization: ;

[0059] Access control type normalization: ;

[0060] Frame configuration identifier normalization: .

[0061] Therefore, the normalized five-dimensional vector corresponding to channel A is:

[0062] .

[0063] Other channels are processed in the same way, indexed by channel number, to generate a channel state feature vector set.

[0064] S112: Call the corresponding field of each channel in the channel state feature vector set, calculate the Euclidean distance between the field scheduling method and the protocol structure, perform attribution matching with all cluster center vectors and obtain cluster labels, and generate a channel cluster attribution label table;

[0065] Call the normalized vector of each channel in the channel state feature vector set and calculate the Euclidean distance between it and the preset cluster center vector in the system in turn. The calculation formula is as follows:

[0066] ;

[0067] in, : Indicates channel and cluster centers The Euclidean distance between : Indicates channel In the Normalized values on the fields, the order of the fields is: system type, frequency, modulation mode, access type, frame configuration; : represents the cluster center In the Reference values on fields; : Field index, the value range is to ; : channel number index; : Cluster number index.

[0068] Taking channel A as an example, if its normalized vector is , assuming that cluster center 1 is , the calculation process is as follows: ; Calculate the distance between all channels and all cluster centers, select the cluster number corresponding to the minimum distance as the belonging cluster, complete the cluster label assignment, record each channel number and its corresponding cluster label, and generate a channel cluster belonging label table.

[0069] S113: extracting the combination relationship of each channel within the same cluster based on all channel numbers corresponding to each type of label in the channel cluster belonging label table, and generating communication cluster structure information;

[0070] According to each cluster label in the channel cluster attribution label table, the corresponding channel number set is extracted, and the channel field within each set is further compared. , the corresponding channel number set is , call the original structure field corresponding to each channel number, count the frequency of each value in the five field dimensions, if a field value appears more than , then the field is considered to be a shared field of this cluster.

[0071] If the cluster number is 3, the corresponding channel number set is {2, 5, 7, 8}, with a total of 4 channels, of which 3 channels are standard 2 (LTE), then "standard type = 2" can be considered a shared field for the cluster. Continue to count the consistency of fields such as the frame configuration identifier and modulation mode, and record the shared field group. Combine each cluster number, channel set, and shared field group in key-value form to construct a communication cluster structure information item, such as: ,Finally, all cluster numbers corresponding to the communication cluster mapping structure are ,archived to generate communication cluster structure information, which ,will be used for intra-cluster load fluctuation monitoring and inter-channel ,scheduling reconstruction in subsequent steps.

[0072] See also Figure 3 ,The steps for acquiring the communication cluster interaction data are as follows:

[0073] S211: Grouping corresponding channel numbers in the communication cluster based on the communication cluster structure information, collecting uplink data transmission timestamps of each group of channels in consecutive scheduling periods, and calculating the time difference between two adjacent uplink transmissions in chronological order to generate an uplink transmission interval sequence set;

[0074] The corresponding channel numbers in the communication cluster are grouped based on the communication cluster structure information. First, the cluster number and channel number mapping structure is extracted based on the communication cluster structure information. For example, the corresponding channel numbers in communication cluster S1 are T1, T3, T4, and T7. The system starts continuous scheduling monitoring for this channel group and collects uplink data transmission events every 5ms in the 10ms scheduling frame. For each channel, the exact transmission timestamp of the uplink data packet is recorded. For example, the timestamps of channel T1 in three consecutive cycles are 8.032ms, 9.032ms, and 9.032ms. The system calculates the intervals between these two timestamps, obtaining a time difference of 1.474ms for the first and 1.515ms for the second. Channel T3 collects timestamps of 7.912ms, 9.514ms, and 11.118ms, with differences of 1.602ms and 1.604ms, respectively. Channel T4 records timestamps of 8.711ms and 10.152ms during the same monitoring period, resulting in a single time difference of 1.441ms. The system organizes these collected results by channel number into a binding structure consisting of a number and a transmission interval sequence, sorts them in ascending timestamp order, and stores them in a dataset. For example, T1 → {1.474, 1.515}, T3 → {1.602, 1.604}, and T4 → {1.441}. This structure can be directly used in subsequent downlink timing synchronization processing, completing interval extraction in the behavior monitoring phase and generating an uplink transmission interval sequence set.

[0075] S212: Call the corresponding record of the channel number in the uplink transmission interval sequence set, collect the first reception time and the sending time of the downlink control message in the same scheduling period, calculate the response time difference between the two, extract the result bound to the channel index, and generate a downlink response delay record table;

[0076] The system uses the channel numbers contained in the uplink transmission interval sequence set to record the reception and response times of downlink control signaling sent by each channel within the same scheduling cycle. The system extracts the control message delivery time and the actual reception completion time of the terminal's first response from the scheduling record. The interval between the two is the response delay. For example, if channel T1 delivers the control signaling at 10.000ms and the response record is 10.308ms, the response delay for T1's current cycle is 0.308ms. For channel T3, the corresponding time records are 9.700ms for delivery and 10.055ms for response, resulting in a response delay of 0.355ms. For channel T4, the corresponding time records are 9.900ms and 10.189ms for response, resulting in a delay of 0.289ms. The system establishes a mapping index for each channel number, binds the response delay to the channel number in numerical form, and constructs a "channel number - delay value" structure set. The above data will be stored in the scheduling cache unit in sequence, and the original fields of the sending time and receiving time and the cycle index will be recorded at the same time, so as to facilitate joint analysis with the uplink behavior information and finally generate a downlink response delay record table.

[0077] S213: Count the number of successful signaling connections in each scheduling period based on the channel number corresponding to each record in the downlink response delay record table, and integrate the number of successful signaling connections with the corresponding channel number, transmission interval, and response delay data in chronological order to generate communication cluster interaction data;

[0078] Based on the channel number in the downlink response delay record table, statistics are collected on whether signaling connections are successfully connected during all sampling cycles. The statistical basis is the terminal-side signaling parsing status flag. Successful parsing and feedback initiation are considered a valid connection, while failures are not counted. Within the same cycle, each channel should have at least two downlink interactions. If channel T1 receives four control signalings within a scheduling cycle, of which three have the success flag set to "1", then the number of successful signaling interactions within that cycle is three. Channel T3 has three signaling interactions, two of which are successful. Channel T4 has only two successful signaling interactions, for a total of two successes. The system integrates the statistical results with the corresponding channel number, its uplink time interval value, and downlink response time in timestamp order to construct a joint structure of three types of data items with the channel number as the index, for example: T1→{transmission interval:{1.474, 1.515}, response delay: 0.308, number of successes: 3}, T3→{1.602, 1.604, 0.355, 2}, T4→{1.441, 0.289, 2}. Based on this, the system completes the construction operation of the three-dimensional feature record of the communication behavior and generates communication cluster interaction data.

[0079] See also Figure 4 The specific steps for obtaining the load fluctuation abnormal cluster number are as follows:

[0080] S311: Based on the behavior records of the channels in the communication cluster interaction data in continuous periods, extract the data transmission interval value, the control response delay value and the ratio of the number of successful signaling connections, and establish a state probability distribution for each channel according to the time window to generate a channel state distribution probability set;

[0081] Based on the behavior records of channels in continuous cycles in the communication cluster interaction data, we first extract three core parameters of each channel in the current time window, namely the uplink data transmission interval, the downlink control response delay, and the ratio of successful signaling connections. Each time window is set to contain 5 consecutive scheduling cycles, and the behavior data of each channel in the time window is summarized and counted. The calculation formula of the state probability is expressed as:

[0082] ;

[0083] in, Indicates the The channel in The probability of a state interval, unitless, is the state number subscript, ranging from 1 to K (K is the total number of state divisions, and in this embodiment, K is set to 5). is the channel number subscript, corresponding to the specific channel number, such as T1, T3, T4, etc. Indicates the The channel in The number of times a state appears in a state interval, the unit is number (times), For channel The total number of occurrences of all state intervals within the time window, expressed in times. The logical meaning of the formula is: the frequency of a channel's occurrence in a state interval is equal to the number of occurrences of that state interval divided by the total number of occurrences.

[0084] Taking the uplink transmission interval of channel T1 as an example, the original interval data in its time window is 1.474 ms, 1.515 ms, 1.601 ms, 1.587 ms, and 1.499 ms. First, perform normalization processing. Taking 1.535 ms as an example, the normalized result is calculated as follows: , and then divide the equidistant state intervals into interval boundaries 、 、 、 、 , count the number of occurrences of the five normalized values of T1 in each interval, if it falls into , interval 3 times, falls into , interval 2 times, the corresponding state probabilities are 0.6 and 0.4, and the other state probabilities are 0. Similarly, the downlink response delay is normalized, and the delay value range is set to 0.2 milliseconds to 0.5 milliseconds. The success rate does not need to be normalized because it is in , the signaling success rate is 4 out of 5 observations. , 1 time in , the corresponding probabilities are 0.8 and 0.2, and the final state probability distribution of T1 is T1→{uplink interval: {0.6, 0.4}, downlink delay: {0.4, 0.6}, signaling success rate: {0.2, 0.8}}.

[0085] S312: Calculate the corresponding Shannon entropy values based on the state probability values of the channels in multiple time windows in the channel state distribution probability set, extract the channel numbers whose entropy value changes exceed the set communication stability reference threshold, and generate an entropy value fluctuation channel set;

[0086] Based on the channel state distribution probability set, the system performs entropy calculation operations on the state distribution of each channel in the current time window to quantify the level of fluctuation of the channel's communication behavior in the time window. The entropy calculation formula introduces the behavior intensity correction factor and the state importance weight on the basis of the traditional Shannon entropy. The formula is as follows:

[0087] ;

[0088] in, : The entropy value of the channel in the current time window, which is unitless and represents the degree of uncertainty of the communication behavior state of the channel. : Behavior intensity correction factor, dimension is , which is used to normalize behavioral fluctuations at different time scales. The setting basis is shown below. : Behavior parameter category subscript, ranging from 1 to M, where M is the total number of behavior parameter categories. In this embodiment, M=3, corresponding to: : Uplink data sending interval, : Downlink control response delay, : Signaling connection success rate, : No. The state importance weight of each behavior parameter, unitless, is used to adjust the influence of different parameters in the entropy calculation. The setting value is: (uplink data sending interval), (downlink control response delay), (Signaling connection success rate), : The state interval number subscript ranges from 1 to K, where K is the total number of state divisions. In this embodiment, K=5 is set, and the state interval is divided into equidistant bins. : No. The behavioral parameters are The probability of a state interval, unitless. : Natural logarithm function, base is e, dimensionless.

[0089] Behavior intensity correction factor The purpose of introducing is to unify the probability distribution fluctuations under different time scales, so that the entropy value has comparability across time windows. According to the physical meaning of probability distribution, probability itself is dimensionless, and the unit of entropy depends on the probability itself. However, considering that the behavioral parameters (such as sending interval, response delay) themselves have time dimensions (unit: milliseconds ms), if the original probability is directly used to enter the entropy function, the state changes caused by the change of sampling period in different time windows cannot be accurately reflected in the entropy value. Therefore, the introduction of As a correction.

[0090] Setting logic: ;

[0091] in is the total duration of the current time window, in milliseconds (ms). In this embodiment, the time window setting includes 5 scheduling cycles, each cycle is 10 milliseconds long, then ,therefore: .

[0092] In the actual network monitoring process, the time window is usually set between 30ms and 100ms. The value range is 0.01 to 0.033 This is a reasonable range for standard sampling and analysis of communication systems.

[0093] Taking channel T1 as an example, the state probability distribution is as follows: Uplink interval probability: , (two valid states), downlink response delay probability: , signaling connection success rate probability: .

[0094] Calculate the upstream interval entropy term:

[0095] ;

[0096] Calculate the downlink delay entropy term:

[0097] ;

[0098] Calculate the signaling success rate entropy item:

[0099] ;

[0100] Calculation of total entropy:

[0101] ;

[0102] Entropy This value reflects the fluctuation level of the communication behavior of channel T1 within the current time window. Compared with the baseline entropy stability threshold of 0.012 (set through large-scale simulation and real network data statistics), this value is slightly higher than the threshold, indicating that T1 has slight communication status fluctuations.

[0103] S313: Call the communication cluster number corresponding to the channel number in the entropy fluctuation channel set, establish a mapping relationship between the communication cluster number and the channel number where the fluctuation occurs, summarize the entropy fluctuation amplitude, and generate the load fluctuation abnormal cluster number;

[0104] Call all channel numbers in the entropy fluctuation abnormal channel set, retrieve the cluster number of each channel in the communication cluster structure information, and build a mapping relationship between the communication cluster number and the abnormal channel number. Suppose the abnormal channel set is {T1, T3, T7}. It is found that T1 and T7 belong to cluster S1, and T3 belongs to cluster S2, forming a mapping relationship of S1→{T1, T7}, S2→{T3}. Then, the entropy fluctuation amplitude of the abnormal channel within each cluster is extracted. The fluctuation amplitude of T1 in S1 is 0.143, T7 is 0.172, and T3 in S2 is 0. The maximum entropy fluctuation value of the abnormal channel in the cluster is used for the cluster-level fluctuation amplitude, and the entropy fluctuation of S1 is 0.172, and that of S2 is 0.158. The system compares the fluctuation amplitude of each cluster with the stability benchmark threshold of 0.12. If the fluctuation is greater than 0.12, the cluster is judged to have abnormal load fluctuation. Finally, S1 and S2 are judged to be abnormal clusters, and the load abnormal cluster set {S1, S2} is constructed. At the same time, the secondary mapping structures S1→{T1, T7} and S2→{T3} are established to complete the archiving and output of the load fluctuation abnormal cluster number.

[0105] See also Figure 5 ,The specific steps for obtaining the protocol switching feasibility channel entrance are:

[0106] S411: Based on the identification number of each main channel in the load fluctuation abnormality cluster number, obtain the access feedback time record and the number of successful data transmissions in the continuous period under the current communication standard, calculate the average feedback delay value and the successful transmission frequency, and generate a main channel performance indicator set;

[0107] Based on the identification number of each main channel in the load fluctuation abnormality cluster number, first, the communication standard information corresponding to the main channel number needs to be retrieved from the system. For example, the communication standard corresponding to the main channel number PCH001 is LTE. Then, under the LTE standard, the access feedback time records of the main channel in the past five consecutive cycles are extracted from the historical record database. Assuming that the feedback time of the main channel in each cycle is 150ms, 160ms, 155ms, 158ms, and 162ms respectively, the average feedback delay value of 157ms is obtained by calculating the arithmetic mean of the feedback time in five cycles; secondly, the access feedback time records in five consecutive cycles are retrieved from the same database. Assume that the number of successful data transmission attempts on the primary channel within a cycle is 48, 50, 49, 47, and 51, respectively. Assuming a total of 60 data transmission attempts per cycle, the successful transmission frequencies in each cycle are calculated to be 80%, 83.3%, 81.7%, 78.3%, and 85%, respectively. Then, average the five frequencies to obtain an average successful transmission frequency of 81.66% for the primary channel. Subsequently, the primary channel number, average feedback delay, and average successful transmission frequency are combined to form a primary channel performance indicator set, which is recorded as follows: PCH001, average feedback delay 157 ms, average successful transmission frequency 81.66%. This completes this step.

[0108] S412: Call each primary channel number in the primary channel performance indicator set to obtain the spectrum occupancy rate and access response time corresponding to the backup standard channel in the non-connected state of the mobile phone. Using the primary channel number as a reference, compare the response speed and link occupancy status of the backup standard channel and the primary channel in the same cluster to generate a backup channel scheduling capability comparison result.

[0109] Each primary channel number in the primary channel performance indicator set is called. For example, PCH001 is used to retrieve the backup channel currently in the mobile phone's unconnected state. For example, channel number BCH005 in the 5G standard is retrieved, and its corresponding spectrum occupancy and access response time are obtained. Assume that BCH005 has a spectrum occupancy of 45% and an access response time of 120ms. Then, using the spectrum occupancy of 55% and access response time of 157ms for primary channel PCH001 as a reference, the response speed and link occupancy status of all backup channels in the same cluster are compared. For example, backup channel BCH006 has a spectrum occupancy of 30% and an access response time of 140ms. By calculating the access response time difference and spectrum occupancy difference between the backup channel and the primary channel, the access response time difference for BCH005 is -37ms, and the spectrum occupancy difference is -10%. The access response time difference for BCH006 is -17ms, and the spectrum occupancy difference is -25%. The difference comparison results for all backup channels are combined to form a backup channel scheduling capability comparison result table.

[0110] S413: Based on the delay difference and spectrum difference corresponding to the backup standard channels in the backup channel scheduling capability comparison result, the difference values are sorted into a list by channel number, and the channel number with the best combination of channel state stability and resource availability difference indicators is extracted to establish a protocol switching feasibility channel entry;

[0111] Based on the comparison of backup channel scheduling capabilities, for example, the access response time differences of BCH005 and BCH006 are -37ms and -17ms, respectively, and the spectrum occupancy differences are -10% and -25%, respectively. First, the backup channels are sorted by channel number based on their delay and spectrum differences. According to the rule, smaller access response time differences are preferred, while larger spectrum occupancy differences are preferred. Combining these two metrics, BCH006 is ranked superior to BCH005. Next, the channel number BCH006, which has the best combination of channel stability and resource availability, is selected from the sorted results. Channel stability is assessed by the access response time fluctuation range of the backup channel over the past five cycles. Assuming BCH006's fluctuation range is ±5ms and BCH005's is ±10ms, BCH006 is more stable. Resource availability is determined by the difference in spectrum occupancy with the primary channel. Ultimately, BCH006 is selected as the optimal channel, and the entry point for the protocol handover feasibility channel is established.

[0112] See also Figure 6 The specific steps for obtaining the multi-card communication protocol compatibility adjustment results are as follows:

[0113] S511: Based on the target channel number of each path in the protocol switching feasibility channel entry, obtain the protocol signaling format, access control field, and HARQ scheduling period parameter of the channel, perform field alignment extraction with the field information corresponding to the current primary channel structure, and generate a channel structure field mapping set;

[0114] Based on the target channel number of each path in the protocol switching feasibility channel entry, for example, the target channel number is BCH006, first extract its protocol signaling format from the configuration database of the channel, for example, the protocol signaling format of BCH006 is NR-RRC (5G new wireless radio resource control protocol), the access control field is access category level 5, and the HARQ scheduling period parameter is 8 milliseconds. Then extract the protocol signaling format LTE-RRC from the configuration data of the current main channel number PCH001, the access control field is access category level 3, and the HARQ scheduling period parameter is 10 milliseconds. Through field alignment extraction, compare the protocol signaling format, access control field and HARQ scheduling period parameters of the target channel and the main channel in turn. There is a difference between the protocol signaling format NR-RRC and LTE-RRC, and the difference value is recorded as 1. The access category level difference is , the HARQ scheduling period difference is milliseconds, in order to quantify the matching degree of the channel structure, the comprehensive index of channel structure matching difference is calculated, and the index is set as , the comprehensive formula is as follows:

[0115] ;

[0116] in, represents the comprehensive index of channel structure matching difference, and The HARQ scheduling periods of the backup channel and the primary channel are in milliseconds. In this example, they are 8 milliseconds and 10 milliseconds respectively. and are the access category levels of the backup channel and the primary channel, dimensionless integers, 5 and 3 respectively. and The protocol signaling format encoding value of the backup channel and the main channel is recorded as 1 for NR-RRC and 0 for LTE-RRC. , each weight factor is set as follows: is the weight of the HARQ scheduling cycle difference, set to This setting is based on the actual test of the system's tolerance to scheduling cycles. The system's performance is less affected when the scheduling cycle difference is less than 4 milliseconds, so the weight is set lower; is the weight of the access control field difference, set to ,According to the access control level, which directly affects the communication priority and access restriction, the weight needs to change in the same magnitude as the difference, so it is set to 1.0; is the weight of the protocol signaling format difference, set to Based on actual tests, the incompatibility of protocol signaling formats has the greatest impact on switching performance, and different protocols need to re-establish connections. Therefore, the highest weight of 2.0 is given. Substituting the above values into the above values, the result is: , therefore, the channel structure matching difference comprehensive index , complete the generation of the channel structure field mapping set, and record the target channel number, the difference between each field and the matching index.

[0117] S512: Call the channel field alignment result in the channel structure field mapping set, perform consistency check on each set of fields between the target channel and the primary channel, and detect whether there is any field name mismatch or HARQ control time slot overlap. Filter out the channel numbers with all fields correctly matched and no control conflict, and generate a protocol field compatible path number set;

[0118] Call the channel field alignment result in the channel structure field mapping set. Taking the mapping data of the target channel BCH006 and the main channel PCH001 as an example, first perform consistency judgment. For the protocol signaling format field, since NR-RRC and LTE-RRC belong to different protocol categories, determine the format difference metric. , marked as "mismatch", then the access control field is judged, the difference is , continue to judge whether there is a control time slot overlap in the HARQ scheduling cycle, the judgment rule is: when the absolute value of the difference between the two channel scheduling cycles When it is less than or equal to 2 milliseconds, it is considered that there is potential overlap. In this case, the difference is milliseconds, meeting the overlap condition, further quantify the channel compatibility, set the field compatibility evaluation value , considering the channel matching differences and scheduling cycle differences, the calculation formula is as follows:

[0119] ;

[0120] in, Indicates the field compatibility evaluation value (dimensionless, the larger the value, the better the compatibility), is the compatibility constant, which is set to 10 and reflects the normalized benchmark value of the compatibility assessment; is the comprehensive index of channel structure matching difference, in this case , the dimension is dimensionless; The HARQ scheduling period difference between the backup channel and the primary channel is in milliseconds. In this case, millisecond; Indicates the HARQ scheduling period of the backup channel. ; Indicates the HARQ scheduling period of the primary channel. ; It represents the square of the comprehensive index of difference, which increases the influence of channel matching difference in the evaluation. Substituting the specific numerical value is:

[0121] ;

[0122] Compatibility Assessment Value , due to differences in protocol signaling formats and overlapping control time slots in the scheduling cycle, according to the system compatibility judgment standard, when or , then it is determined that there are incompatible factors, so BCH006 is incompatible. The above process is performed on other target channels in turn. Assume that there is a target channel BCH007, whose protocol signaling format is LTE-RRC and the main channel, and the code is 0. , the access control field is 3, , the HARQ scheduling period is 10 milliseconds, milliseconds, so its channel structure matches the difference comprehensive index:

[0123] ;

[0124] And the field compatibility evaluation value:

[0125] ;

[0126] Compatibility Assessment Value , which is the theoretical maximum value and meets the full compatibility standard. The protocol field compatible path number set is finally generated, and the number set content is: BCH007.

[0127] S513: Based on the channel number determined to be compatible in the protocol field compatible path number set, the signaling access path bound to it in the terminal structure is redirected, and the original primary channel binding relationship is released and updated to the target channel number, thereby generating a multi-card communication protocol compatibility adjustment result;

[0128] According to the channel number BCH007 that has been determined to be compatible in the protocol field compatible path number set, first retrieve the original binding path of the channel in the terminal in the signaling access path configuration table of the terminal structure, set the path to Path07, and then perform the signaling access path redirection operation. The specific operation is: first locate the terminal configuration parameter item "Current Main Channel Binding Path", the current value of this parameter is Path01, perform a rewrite operation on this parameter, and update its value to Path07, thereby completing the signaling access path redirection; then locate and release the binding relationship of the original main channel PCH001, and implement the release operation by modifying its binding status flag to "unbound" to ensure the release of the original main channel resources; then update the "Current Main Channel Number" parameter value in the terminal configuration table from PCH001 to BCH007 to complete the update operation of the main channel number; in order to further measure the change in system status after the multi-card communication protocol compatibility adjustment, calculate the path load adjustment ratio after switching, and set this ratio to , used to evaluate the load change caused by signaling access path switching. The specific formula is as follows:

[0129] ;

[0130] in, Indicates the path load adjustment ratio in percentage (%). The real-time load of path Path07 bound to target channel BCH007 after switching, in megabits per second (Mbps). Assume the measured value is 20Mbps. is the real-time load of path Path01 bound to the original primary channel PCH001 before the switch, also in megabits per second. Assuming the measured value is 25Mbps, substitute it into the formula to get:

[0131] ;

[0132] Path load adjustment ratio , indicating that the load dropped by 20% after the signaling access path was switched. This indicates that the target channel BCH007 has higher resource availability and is suitable as the new primary channel. The multi-card communication protocol compatibility adjustment is completed, and the multi-card communication protocol compatibility adjustment result is finally generated. The result content is: the primary channel number is changed from PCH001 to BCH007, the access path is redirected from Path01 to Path07, and the path load adjustment ratio is -20%.

[0133] The above are merely preferred embodiments of the present invention and do not limit the present invention in any other form. Any technician familiar with the profession may use the technical content disclosed above to change or modify it into an equivalent embodiment with equivalent changes and apply it to other fields. However, any simple modification, equivalent change and modification made to the above embodiment based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall still fall within the scope of protection of the technical solution of the present invention.

Claims

1. A method for processing multi-card communication protocol compatibility, characterized in that: The following steps are involved: S1: Obtain multi-channel communication status data of the corresponding SIM card through the mobile terminal and divide the channel into clusters to construct communication cluster structure information; The steps for obtaining the communication cluster structure information are specifically as follows: S111: Obtain the system type, carrier frequency, modulation and coding mode, access control type, and frame configuration identifier of the physical channel to which the SIM card is connected through the mobile phone, extract all corresponding structure fields using each channel as an index, and generate a channel state feature vector set; S112: Calling the corresponding field of each channel in the channel state feature vector set, calculating the Euclidean distance between the field scheduling mode and the protocol structure, performing attribution matching with all cluster center vectors and obtaining cluster labels, and generating a channel cluster attribution label table; S113: extracting the combination relationship of each channel in the same cluster according to all channel numbers corresponding to each type of label in the channel cluster belonging label table, and generating communication cluster structure information; S2: Obtain a list of cluster channel numbers corresponding to the communication cluster structure information, group and collect channel communication behaviors, and construct communication cluster interaction data; S3: using the Shannon entropy algorithm to calculate the distribution probability of each channel communication behavior in the communication cluster interaction data, performing load fluctuation detection through a sliding window, and obtaining the load fluctuation abnormal cluster number; The steps for obtaining the load fluctuation abnormal cluster number are as follows: S311: Based on the behavior records of the channels in the communication cluster interaction data in continuous periods, extract the data transmission interval value, the control response delay value and the ratio of the number of successful signaling connections, and establish a state probability distribution for each channel according to the time window to generate a channel state distribution probability set; S312: Calculate corresponding Shannon entropy values based on the state probability values of the channels in the channel state distribution probability set in multiple time windows, extract channel numbers whose entropy value changes exceed a set communication stability reference threshold, and generate an entropy value fluctuation channel set; S313: Calling the communication cluster number corresponding to the channel number in the entropy fluctuation channel set, establishing a mapping relationship between the communication cluster number and the channel number where internal fluctuation occurs, and summarizing the entropy fluctuation amplitude to generate the load fluctuation abnormality cluster number; S4: Based on the load fluctuation abnormal cluster number, screening the available transfer entrances of the backup standard channel in the mobile phone to form a protocol switching feasible channel entrance; S5: Execute multi-card protocol signaling mapping judgment and switching operations according to the protocol switching feasibility channel entry to obtain a multi-card communication protocol compatibility adjustment result; The communication cluster structure information includes the standard distribution cluster, the protocol structure feature group, and the channel cluster number; the communication cluster interaction data includes the channel communication behavior vector sequence, the node response delay record, and the signaling interaction frequency mark; the load fluctuation abnormality cluster number includes the load status label, the entropy value change amplitude parameter, and the communication imbalance indication mark; the protocol switching feasibility channel entry is specifically the target channel number, the backup standard identifier, and the adaptation path index; the multi-card communication protocol compatibility adjustment result includes the protocol binding path, the channel switching result, and the protocol signaling mapping structure.

2. The multi-card communication protocol compatibility processing method according to claim 1, characterized in that: The steps for acquiring the communication cluster interaction data are specifically as follows: S211: Grouping corresponding channel numbers in the communication cluster based on the communication cluster structure information, collecting uplink data transmission timestamps of each group of channels in a continuous scheduling period, and calculating the time difference between two adjacent uplink transmissions in chronological order to generate an uplink transmission interval sequence set; S212: Calling the corresponding record of the channel number in the uplink transmission interval sequence set, collecting the first reception time and the sending time of the downlink control message in the same scheduling period, and calculating the response time difference between the two, extracting the result bound to the channel index, and generating a downlink response delay record table; S213: According to the channel number corresponding to each record in the downlink response delay record table, the number of successful signaling connections in each scheduling period is counted, and the number of successful signaling connections is arranged and integrated with the corresponding channel number, transmission interval and response delay data in chronological order to generate communication cluster interaction data.

3. The multi-card communication protocol compatibility processing method according to claim 1, characterized in that: The steps for obtaining the protocol switching feasibility channel entrance are specifically as follows: S411: Based on the identification number of each main channel in the load fluctuation abnormality cluster number, obtain the access feedback time record and the number of successful data transmissions in the continuous period under the current communication standard, and calculate the average feedback delay value and the successful transmission frequency to generate a main channel performance indicator set; S412: Calling each primary channel number in the primary channel performance indicator set to obtain the spectrum occupancy rate and access response time corresponding to the backup standard channel in the non-connected state of the mobile phone, and using the primary channel number as a reference, comparing the response speed and link occupancy status of the backup standard channel and the primary channel in the same cluster to generate a backup channel scheduling capability comparison result. S413: Based on the delay difference and spectrum difference corresponding to the backup standard channels in the backup channel scheduling capability comparison result, summarize them into a difference sorted list according to the channel number, extract the channel number with the best combination of channel state stability and resource availability difference indicators, and establish a protocol switching feasibility channel entrance.

4. The multi-card communication protocol compatibility processing method according to claim 3, characterized in that: The steps for obtaining the multi-card communication protocol compatibility adjustment result are specifically as follows: S511: Based on the target channel number of each path in the protocol switching feasible channel entry, obtain the protocol signaling format, access control field, and HARQ scheduling period parameter of the channel, perform field alignment extraction with the field information corresponding to the current primary channel structure, and generate a channel structure field mapping set; S512: Call the channel field alignment result in the channel structure field mapping set, perform consistency judgment on each set of fields between the target channel and the primary channel, and detect whether there is a field name mismatch or HARQ control time slot overlap. Filter out the channel numbers with all fields correctly matched and no control conflict, and generate a protocol field compatible path number set; S513: Based on the channel number determined to be compatible in the protocol field compatible path number set, the signaling access path bound to it in the terminal structure is redirected, and the original primary channel binding relationship is released and updated to the target channel number to generate a multi-card communication protocol compatibility adjustment result.

Citation Information

Patent Citations

  • Multichannel communication selection method and execution system thereof

    CN105792293A

  • 5G protocol and row short compatible intercommunication method and system

    CN118890404A