Multi-card communication protocol compatibility processing method
Through channel cluster division and Shannon entropy algorithm detection of multi-card terminals, the problem of not timely capture of channel state changes in multi-protocol environments is solved, and the stability and efficiency of multi-card terminal communication is improved.
Patent Information
- Application Number
- CN202510773498.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-11
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2045-06-11
AI Technical Summary
In the prior art, multi-card terminals lack in-depth perception and real-time monitoring of the dynamic behavior characteristics of communication channels in the complex scenario of coexisting multiple protocols, resulting in failure to capture channel state changes in time, causing protocol adaptation failure, fluctuations in communication performance, and degradation of user experience.
By obtaining the multi-channel communication status data of the SIM card, dividing channel clusters, building communication cluster structure information, using Shannon entropy algorithm to detect load fluctuations, filtering the available transfer entrances of the alternate standard channels, realizing multi-card protocol signaling mapping and switching, and improving communication stability.
It realizes accurate classification and real-time monitoring of multi-card terminal communication channels, avoids the risk of protocol mismatch, improves communication stability and efficiency, and significantly improves multi-card communication protocol compatibility.
Smart Images

Figure CN120302274A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mobile phone communication, and particularly to a method for processing the compatibility of multi-card communication protocols. Background Art
[0002] The technical field of mobile phone communication includes information transmission and exchange mechanisms between mobile terminals and between terminals and base stations. It includes modulation and demodulation of radio signals, frequency band allocation, standardization and optimization of communication protocols, and compatible connection technologies for multiple systems and multiple networks. Mobile phone communication covers multiple communication standards such as GSM, CDMA, LTE, 5G, etc., and at the same time involves various data transmission methods such as voice communication, text messages, data network access, etc.
[0003] Among them, the method for processing the compatibility of multi-card communication protocols refers to, in a mobile terminal with a multi-card slot function, in order to achieve protocol compatibility between different operators, a recognition process is set to separately judge multiple communication protocols, and an access method that matches the corresponding communication protocol is executed according to the recognition result.
[0004] In the prior art, it usually relies on a static recognition process to separately judge multiple communication protocols, lacking in-depth perception and real-time monitoring of the dynamic behavior characteristics of communication channels. As a result, in a complex scenario where multiple protocols coexist, changes in channel states cannot be captured in a timely manner, easily leading to protocol adaptation failures. Due to the failure to achieve clustering and analysis based on behavior characteristics at the channel level, there is a phenomenon of extensive channel management, and it is impossible to perform effective resource scheduling and optimization according to the actual load conditions of different protocol channels, thereby causing fluctuations in communication performance and a decline in user experience. During the process of processing multi-card protocol signaling mapping and switching, there is a lack of precise judgment on the consistency and conflicts between channel protocol signaling fields, easily leading to signaling conflicts or overlapping control time slots, increasing the probability of communication failures. For example, when multiple SIM cards simultaneously access different operator networks, it is difficult for the prior art to effectively avoid communication bottlenecks caused by changes in channel load, resulting in a decline in call quality or data transmission delay, seriously affecting the actual use effect of multi-card terminals. Summary of the Invention
[0005] The purpose of the present invention is to solve the disadvantages existing in the prior art, and to propose a method for processing the compatibility of multi-card communication protocols.
[0006] In order to achieve the above purpose, the present invention adopts the following technical solution: A method for processing the compatibility of multi-card communication protocols, including the following steps: S1: Obtain multi-channel communication status data of the corresponding SIM card through the mobile phone terminal and divide the channel clusters, and construct communication cluster structure information; S2: Obtain the list of clustering channel numbers corresponding to the communication cluster structure information, group and collect channel communication behaviors, and construct communication cluster interaction data; S3: Use the Shannon entropy algorithm to calculate the distribution probability of each group of channel behaviors in the communication cluster interaction data, perform load fluctuation detection through a sliding window, and obtain the load fluctuation abnormal cluster numbers; S4: Based on the load fluctuation abnormal cluster numbers, filter the available transfer entrances of the standby system channels in the mobile phone to form protocol switching feasibility channel entrances; S5: Execute multi-card protocol signaling mapping judgment and switching operations according to the protocol switching feasibility channel entrances to obtain the multi-card communication protocol compatibility adjustment results.
[0007] As a further solution of the present invention, the communication cluster structure information includes system distribution clusters, protocol structure features, and channel clustering numbers. The communication cluster interaction data includes channel behavior vector sequences, node response delay records, and signaling interaction frequency markers. The load fluctuation abnormal cluster numbers include load status tags, entropy value change amplitude parameters, and communication imbalance indication identifiers. The protocol switching feasibility channel entrances are specifically target channel numbers, standby system identifiers, and adaptation path indexes. The multi-card communication protocol compatibility adjustment results include protocol binding paths, channel switching results, and protocol signaling mapping structures.
[0008] As a further solution of the present invention, the acquisition steps of the communication cluster structure information are specifically as follows: S111: Obtain the system type, carrier frequency point, modulation and coding method, access control type, and frame configuration identifier of the physical channels connected by the SIM cards through the mobile phone, extract all corresponding structure fields with each channel as an index, and generate a channel status feature vector set; S112: Call each channel corresponding field in the channel status 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 clustering labels to generate a channel cluster attribution label table; S113: According to all channel numbers corresponding to each type of label in the channel cluster attribution label table, extract the combination relationship of each channel within the same type of cluster to generate communication cluster structure information.
[0009] As a further solution of the present invention, the acquisition steps of the communication cluster interaction data are specifically as follows: S211: Group the corresponding channel numbers in the communication cluster based on the communication cluster structure information, collect the uplink data transmission timestamps of each group of channels in consecutive scheduling periods, and calculate 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 cycle is counted, and the number of successful signaling connections and the corresponding channel number, transmission interval and response delay data are arranged and integrated in chronological order to generate communication cluster interaction data.
[0010] As a further solution of the present invention, the step of obtaining the load fluctuation abnormal cluster number is specifically: S311: based on the behavior records of the channels in the communication cluster interaction data in the continuous period, 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 the corresponding Shannon entropy value according to the state probability value of the channel in multiple time windows in the channel state distribution probability set, extract the channel number whose entropy value change amplitude exceeds the 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 abnormal cluster number.
[0011] As a further solution of the present invention, the steps for obtaining the protocol switching feasible channel entrance are specifically as follows: S411: Based on the identification number of each main channel in the load fluctuation abnormal cluster number, obtain the access feedback time record under the current communication standard and the number of successful data transmissions in a continuous period, and calculate the average feedback delay value and the successful transmission frequency to generate a main channel performance indicator set; S412: calling each main channel number in the main channel performance indicator set, obtaining the spectrum occupancy rate and access response time corresponding to the standby standard channel in the non-connected state in the mobile phone, and using the main channel number as a reference, performing a difference comparison between the response speed and link occupancy status of the standby standard channel and the main channel in the same cluster, and generating a standby channel scheduling capability comparison result; S413: According to the delay difference and spectrum difference corresponding to the backup standard channels in the backup channel scheduling capability comparison result, the difference sorted list is summarized according to the channel number, the channel number with the best combination of channel state stability and resource availability difference indicators is extracted, and the protocol switching feasibility channel entrance is established.
[0012] As a further solution of the present invention, the step of obtaining the multi-card communication protocol compatibility adjustment result is specifically as follows: S511: Based on the target channel numbers of each path in the protocol switching feasibility channel entry, obtain the protocol signaling format, access control field, and HARQ scheduling period parameters of this channel, and perform field alignment extraction with the field information corresponding to the current main channel structure to generate a channel structure field mapping set; S512: Invoke the channel field alignment results in the channel structure field mapping set, perform consistency judgment on each group of fields between the target channel and the main channel, and detect whether there are cases where the field names do not match or the HARQ control time slots overlap. Screen out the channel numbers with all fields correctly matched and no control conflicts to generate a protocol field compatible path number set; S513: According to the channel numbers determined to be compatible in the protocol field compatible path number set, perform a redirection operation on the signaling access paths bound to them in the terminal structure, release the original main channel binding relationship, and update it to the target channel number to generate a multi-card communication protocol compatibility adjustment result.
[0013] Compared with the prior art, the advantages and positive effects of the present invention are as follows: In the present invention, by collecting the multi-channel communication status data of the SIM card in real time and dividing the channel clusters, accurate classification of channels can be achieved at the communication behavior level, avoiding the risk of protocol mismatch caused by communication channel confusion in a multi-protocol environment. Based on the channel clustering numbers, further grouped collection and construction of interaction data can be carried out to form more accurate channel behavior characteristics and enhance the observability of the communication status. Using the Shannon entropy algorithm to detect the dynamic changes in the channel behavior distribution probability in the communication cluster interaction data, supplemented by the sliding window mechanism for real-time monitoring of load fluctuations, effectively captures the abnormal fluctuations of the channel load and improves the adaptive adjustment ability of communication stability. By screening the numbers of abnormal load fluctuation clusters and combining the performance difference comparison of standby mode channels, the feasible entry of protocol switching can be scientifically and reasonably determined, avoiding communication interruption caused by abnormal load of the main channel. Relying on the mapping and consistency judgment of channel protocol signaling, seamless switching between channels is achieved, taking into account the rigor of signaling matching and the avoidance of control conflicts, significantly improving the processing accuracy and efficiency of multi-card communication protocol compatibility. Description of the Drawings
[0014] Figure 1 It is a schematic diagram of the main steps of the present invention; Figure 2 It is a flowchart of step S1 of the present invention; Figure 3 It is a flowchart of step S2 of the present invention; Figure 4 It is a flowchart of step S3 of the present invention; Figure 5 This is the flowchart of step S4 of the present invention; Figure 6 This is the flowchart of step S5 of the present invention. Detailed implementation manners
[0015] In order to make the objectives, technical solutions and advantages of the present invention more clear and understandable, 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 used to limit the present invention.
[0016] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation of the present invention. In addition, in the description of the present invention, the meaning of "a plurality of" is two or more, unless otherwise specifically defined.
[0017] Please refer to Figure 1 , the present invention provides a technical solution: a method for processing multi-card communication protocol compatibility, including the following steps: S1: Obtain the multi-channel communication status data of the corresponding SIM card through the mobile phone terminal, divide the channel clusters, and construct the communication cluster structure information; S2: Obtain the clustering channel number list corresponding to the communication cluster structure information, group and collect the channel communication behaviors, and construct the communication cluster interaction data; S3: Use the Shannon entropy algorithm to calculate the distribution probability of each group of channel behaviors in the communication cluster interaction data, and perform load fluctuation detection through a sliding window to obtain the load fluctuation abnormal cluster number; S4: Based on the load fluctuation abnormal cluster number, screen the available transfer entrances of the standby system channels in the mobile phone to form the protocol switching feasibility channel entrances; S5: Execute the multi-card protocol signaling mapping judgment and switching operation according to the protocol switching feasibility channel entrances to obtain the multi-card communication protocol compatibility adjustment result; The communication cluster structure information includes the standard distribution type clusters, protocol structure feature groups, and channel clustering numbers. The communication cluster interaction data includes the channel behavior vector sequences, node response delay records, and signaling interaction frequency marks. The load fluctuation abnormal cluster number includes the load status label, entropy value change amplitude parameter, and communication imbalance indication identifier. The protocol switching feasibility channel entry is specifically the target channel number, standby standard identifier, and adaptation path index. The multi-card communication protocol compatibility adjustment result includes the protocol binding path, channel switching result, and protocol signaling mapping structure.
[0018] Please refer to Figure 2 , and the steps for obtaining the communication cluster structure information are specifically as follows: S111: Obtain the standard type, carrier frequency point, modulation and coding method, access control type, and frame configuration identifier of the physical channels connected to the SIM card through the mobile phone. Extract all the corresponding structure fields with each channel as the index to generate a channel status feature vector set; Obtain the standard type, carrier frequency point, modulation and coding method, access control type, and frame configuration identifier of the physical channels connected to the SIM card through the mobile phone. First, extract the above five types of fields for each channel in sequence to construct the original channel feature vector. During the processing, to eliminate the influence of the dimension difference between fields on the distance calculation, it is necessary to normalize all the feature values. The minimum-maximum normalization method is adopted, and the calculation formula is: ; Among them, represents the original field value, represents the minimum value of this field among all channels, represents the maximum value of this field, is the result after normalization.
[0019] Suppose the original field values of channel A are: the standard type is 2 (LTE), the carrier frequency point is 2600 MHz, the modulation method is 3 (64QAM), the access control type is 1, and the frame configuration identifier is 3. The corresponding normalization process is as follows: Normalization of the standard type: , where the minimum value is 1 (WCDMA) and the maximum value is 3 (NR); Normalization of the carrier frequency point: ; Normalization of the modulation method: ; Normalization of the access control type: ; Normalization of the frame configuration identifier: .
[0020] Therefore, the five-dimensional vector corresponding to channel A after normalization is: 。
[0021] Process other channels in the same way, index them by channel number, and generate a set of channel status feature vectors.
[0022] S112: Call the corresponding fields of each channel in the set of channel status feature vectors, calculate the Euclidean distance between the field scheduling method and the protocol structure, perform membership matching with all cluster center vectors, and obtain clustering labels to generate a channel cluster membership label table; Call the normalized vectors of each channel in the set of channel status feature vectors, and calculate the Euclidean distance between each of them and the preset cluster center vectors within the system in turn. The calculation formula is as follows: ; Where, : represents the Euclidean distance between channel and cluster center ; : represents the normalized value of channel on the th field. The field order is: system type, frequency point, modulation method, access type, frame configuration; : represents the reference value of cluster center on the th field; : field index, with a value range of to ; : channel number index; : cluster number index.
[0023] Taking channel A as an example, if its normalized vector is , and assuming that cluster center 1 is , the calculation process is as follows: ; Calculate the distances between all channels and all cluster centers, select the cluster number corresponding to the minimum distance as the belonging cluster, complete the clustering label assignment, record the correspondence between each channel number and its belonging clustering label, and generate a channel cluster membership label table.
[0024] S113: According to all the channel numbers corresponding to each type of label in the channel cluster membership label table, extract the combined relationship of each channel within the same cluster to generate communication cluster structure information; According to each cluster label in the channel cluster membership label table, extract the corresponding set of channel numbers, and perform further comparison processing on the channel fields within each set. Suppose a certain cluster number is , and the corresponding set of channel numbers is , call the original structure fields corresponding to each channel number, count the frequencies of each value appearing in the five field dimensions. If the frequency of a certain field value appearing in the channels of this cluster exceeds Then it is determined that this field is a shared field of this cluster.
[0025] If the cluster number is 3, and the corresponding channel number set is {2, 5, 7, 8}, a total of 4 channels, and 3 of them have a channel mode of 2 (LTE), then "mode type = 2" can be regarded as a shared field of this cluster. Continue to count the consistency of fields such as frame configuration identifier and modulation method, 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, archive the communication cluster mapping structure corresponding to all clustering numbers to generate communication cluster structure information, which will be used for intra-cluster load fluctuation monitoring and inter-channel scheduling reconstruction in subsequent steps.
[0026] Please refer to Figure 3 , the steps for obtaining communication cluster interaction data are specifically as follows: S211: Group the corresponding channel numbers in the communication cluster based on the communication cluster structure information, collect the uplink data transmission timestamps of each group of channels in consecutive scheduling periods, and calculate the time difference between two adjacent uplink transmissions in chronological order to generate an uplink transmission interval sequence set; Group the corresponding channel numbers in the communication cluster based on the communication cluster structure information. First, according to the communication cluster structure information, extract the mapping structure of the cluster number and the channel number. For example, in communication cluster S1, the corresponding channel numbers are T1, T3, T4, and T7. The system starts continuous scheduling monitoring for this channel group, and collects uplink data transmission events every 5 ms in a 10 ms scheduling frame. For each channel, record the exact transmission timestamp of the uplink data packet. For example, the timestamps of channel T1 in three consecutive periods are 8.032 ms, 9.506 ms, and 11.021 ms. The system calculates the interval values between two adjacent timestamps in turn, and obtains the first time difference of 1.474 ms and the second time difference of 1.515 ms. The timestamps collected by channel T3 are 7.912 ms, 9.514 ms, and 11.118 ms, and the differences are 1.602 ms and 1.604 ms in turn. Channel T4 records timestamps of 8.711 ms and 10.152 ms during the same monitoring period, and obtains a single time difference of 1.441 ms. The system organizes the above collection results into a binding structure of the number and the transmission interval sequence according to the channel number, and arranges them in ascending order of the timestamp, and records them in the dataset. The example is: T1→{1.474, 1.515}, T3→{1.602, 1.604}, T4→{1.441}. This structure can be directly used for subsequent downlink time synchronization processing to complete the interval extraction in the behavior monitoring stage and generate an uplink transmission interval sequence set.
[0027] S212: Call the record corresponding to the channel number in the uplink transmission interval sequence set, collect the first reception time and the sending time of the downlink control message within 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; Call the channel numbers contained in the uplink transmission interval sequence set, and record the reception and response times of the downlink control signaling sent on each channel within the same scheduling period. The system extracts the sending time of the control message and the actual reception completion time of the first response of the terminal from the scheduling record. The interval between the two is the response delay. If the sending time of the control signaling on channel T1 is 10.000 ms and the response record time is 10.308 ms, then the response delay of T1 in the current period is 0.308 ms. The corresponding time record for channel T3 is a sending time of 9.700 ms and a response time of 10.055 ms, resulting in a response delay of 0.355 ms. For channel T4, it is 9.900 ms and 10.189 ms, resulting in a delay of 0.289 ms. The system establishes a mapping index according to each channel number, binds the above response delay to the channel number in numerical form, and constructs a set of "channel number - delay value" structures. The above data will be stored in the scheduling cache unit in sequence, and at the same time, the original fields of the sending time, reception time, and cycle index are recorded for convenient joint analysis with the uplink behavior information, and finally a downlink response delay record table is generated.
[0028] S213: According to the channel numbers corresponding to each record in the downlink response delay record table, count the number of successful signaling continuations in each scheduling period, and arrange and integrate the signaling success times, corresponding channel numbers, transmission intervals, and response delay data in chronological order to generate communication cluster interaction data; According to the channel numbers in the downlink response latency record table, the successful connection of signaling in all sampling periods is statistically analyzed. The statistical basis is the signaling parsing status flag on the terminal side. Among them, successful parsing and initiating feedback are regarded as a valid connection, and failures are not counted. In the same period, each channel should have at least two or more downlink interactions. If channel T1 receives 4 control signaling in a certain scheduling period, and 3 of them have a success flag of "1", then the number of successful signaling in this period is 3. Channel T3 has a total of 3 signaling interactions, with 2 successes. Channel T4 only has 2 interactions, both of which are successful, and the number of successful times is 2. The system integrates and organizes this statistical result with the corresponding channel number, its uplink time interval value, and the downlink response time in timestamp order to construct a joint structure of three types of data items indexed by the channel number. For example: T1→{transmission interval: {1.474, 1.515}, response latency: 0.308, successful times: 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 communication behavior and generates communication cluster interaction data.
[0029] Please refer to Figure 4 , and the specific 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 within consecutive periods, extract the data transmission interval value, control response latency value, and the ratio of successful signaling connection times, and establish a state probability distribution for each channel according to the time window to generate a channel state distribution probability set; Based on the behavior records of the channels in the communication cluster interaction data within consecutive periods, first extract the three core parameters of each channel within the current time window, namely the uplink data transmission interval, downlink control response latency, and the ratio of successful signaling connection times. It is set that each time window contains 5 consecutive scheduling periods, and the behavior data of each channel within the time window is summarized and statistically analyzed. The calculation formula for the state probability is expressed as: ; Among them, represents the probability of the th channel in the th state interval, without unit, is the state number subscript, and the value range is from 1 to K (K is the total number of state partitions. In this embodiment, K = 5), is the channel number subscript, corresponding to the specific channel number, such as T1, T3, T4, etc., represents the th channel in the th state interval appears times, with the unit of number of times (times), The total number of occurrences accumulated in all state intervals within this time window, with the unit of number of times (times). The logical meaning of the formula is: the occurrence frequency of a certain channel in a certain state interval is equal to the number of occurrences in that state interval divided by the total number of times.
[0030] Taking the uplink transmission interval of channel T1 as an example, the original interval data within its time window is 1.474 milliseconds, 1.515 milliseconds, 1.601 milliseconds, 1.587 milliseconds, 1.499 milliseconds. First, perform normalization processing. Taking 1.535 milliseconds as an example, the calculated normalization result is: , and then divide the equally spaced state intervals. The interval boundaries are respectively , , , , . Count the number of occurrences of the five normalized values of T1 in each interval. If it falls into , the interval is 3 times, and if it falls into , the interval is 2 times. Then the corresponding state probabilities are 0.6 and 0.4, and the other state probabilities are 0. Similarly, normalize the downlink response delay. The value range of the delay is set to 0.2 milliseconds to 0.5 milliseconds. The success rate does not need to be normalized because it is itself within . If the signaling success rate is in for 4 times and in for 1 time in five observations, then the corresponding probabilities are 0.8 and 0.2. Finally, construct the state probability distribution of T1 as T1 → {uplink interval: {0.6, 0.4}, downlink delay: {0.4, 0.6}, signaling success rate: {0.2, 0.8}}.
[0031] S312: According to the state probability values of the channels in multiple time windows in the channel state distribution probability set, calculate the corresponding Shannon entropy values, extract the channel numbers whose entropy value change amplitude exceeds the set communication stability benchmark threshold, and generate an entropy value fluctuation channel set; Based on the channel state distribution probability set, the system performs an entropy value calculation operation on the state distribution of each channel within the current time window to quantify the communication behavior fluctuation level of the channel within this time window. The formula for the entropy value introduces a behavior intensity correction factor and a state importance weight on the basis of the traditional Shannon entropy. The formula is as follows: ; Among them, : The entropy value of the channel within the current time window, dimensionless, indicating the degree of uncertainty of the communication behavior state of the channel. : The behavior intensity correction factor, dimensionless , used to perform normalization correction on the behavior fluctuations at different time scales. The setting basis is shown below. : The subscript of the behavior parameter category, with a value range from 1 to M, where M is the total number of behavior parameter categories. In this embodiment, M = 3, corresponding respectively to: : The uplink data transmission interval, : The downlink control response delay, : The signaling connection success rate, : The state importance weight of the i-th behavior parameter, dimensionless, used to adjust the influence proportion of different parameters in the entropy value calculation. The set value is: (uplink data transmission interval), (downlink control response delay), (signaling connection success rate), : The subscript of the state interval number, with a value range from 1 to K, where K is the total number of state partitions. In this embodiment, K = 5 is set, and the state intervals are divided by equal-distance binning. : The probability of the i-th behavior parameter within the j-th state interval, dimensionless. the i-th j-th : The natural logarithm function, with base e, dimensionless.
[0032] The introduction of the behavior intensity correction factor aims 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 the probability distribution, the probability itself is dimensionless, and the unit of entropy depends on the probability itself. However, considering that the behavior parameters (such as transmission interval, response delay) themselves have a time dimension (unit: millisecond ms), if the original probability is directly used in the entropy function, the state changes caused by the sampling period change under different time windows cannot be accurately reflected in the entropy value. Therefore, is introduced as a correction.
[0033] Setting logic: ; where is the total duration of the current time window, in milliseconds (ms). In this embodiment, the time window is set to include 5 scheduling periods, and each period is 10 milliseconds long, so , therefore: .
[0034] In the actual network monitoring process, the time window is usually set between 30 ms and 100 ms, The value range of is between 0.01 and 0.033, which belongs to the reasonable interval of standard sampling and analysis in the communication system.
[0035] 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: .
[0036] Calculate the uplink interval entropy term: ; Calculate the downlink delay entropy term: ; Calculate the signaling success rate entropy term: ; Total entropy value calculation: ; Entropy value reflects the communication behavior fluctuation level of channel T1 within the current time window. This value is slightly higher than the benchmark entropy stability threshold of 0.012 (set through large-scale simulation and real network data statistics), indicating a slightly higher than threshold fluctuation level, meaning there is a mild communication state fluctuation in T1.
[0037] S313: Call the communication cluster number corresponding to the channel number in the entropy value fluctuation channel set, establish the mapping relationship between the communication cluster number and the channel numbers that fluctuate within it, and summarize the entropy value fluctuation amplitude to generate the load fluctuation abnormal cluster number; Call all the channel numbers in the entropy value fluctuation abnormal channel set, retrieve the cluster number to which each channel belongs in the communication cluster structure information, construct the mapping relationship between the communication cluster number and the abnormal channel number. Assume the abnormal channel set is {T1, T3, T7}. After retrieval, it is known that T1 and T7 belong to cluster S1, and T3 belongs to cluster S2, forming the mapping relationships of S1→{T1, T7}, S2→{T3}. Subsequently, extract the entropy fluctuation amplitude for the abnormal channels within each cluster. The fluctuation amplitude of T1 in S1 is 0.143, T7 is 0.172, and T3 in S2 is 0.158. The cluster-level fluctuation amplitude uses the maximum entropy fluctuation value of the abnormal channels within the cluster. The entropy fluctuation of S1 is 0.172, and 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 determined to be a load fluctuation abnormal cluster. Finally, S1 and S2 are determined to be abnormal clusters, construct the load abnormal cluster set {S1, S2}, and at the same time establish the secondary mapping structure S1→{T1, T7}, S2→{T3}, completing the archival record and output of the load fluctuation abnormal cluster number.
[0038] Please refer to Figure 5 , the specific steps for obtaining the protocol switching feasibility channel entry are as follows: S411: Based on the identification numbers of each main channel in the load fluctuation anomaly cluster number, obtain the access feedback time record and the number of successful data transmissions within a continuous period under the current communication system, and calculate the average feedback delay value and the successful transmission frequency to generate a set of main channel performance indicators; Based on the identification numbers of each main channel in the load fluctuation anomaly cluster number, first, the communication system information corresponding to the main channel number needs to be retrieved from the system. For example, the communication system corresponding to the main channel number PCH001 is LTE. Then, under the LTE system, extract the access feedback time record of this main channel in the past 5 consecutive periods from the historical record database. Suppose the feedback times of this main channel in each period are 150ms, 160ms, 155ms, 158ms, and 162ms respectively. By calculating the arithmetic mean of the feedback times in the five periods, the average feedback delay value of 157ms is obtained. Secondly, retrieve the number of successful data transmissions of the main channel in 5 consecutive periods from the same database. Suppose they are 48 times, 50 times, 49 times, 47 times, and 51 times respectively. Then, on the premise that the total number of data transmission attempts per period is 60 times, calculate the successful transmission frequencies of each period to be 80%, 83.3%, 81.7%, 78.3%, and 85% respectively. Then, calculate the average of the five frequencies to obtain the average successful transmission frequency of the main channel of 81.66%. Subsequently, combine the main channel number, the average feedback delay value, and the average successful transmission frequency to form a set of main channel performance indicators, and record as follows: PCH001, average feedback delay 157ms, average successful transmission frequency 81.66%, and this step is completed.
[0039] S412: Call each main channel number in the set of main channel performance indicators, obtain the spectrum occupancy rate and access response time of the standby system channels in the non-connected state in the mobile phone, and, with the main channel number as a reference, compare the response speed and link occupancy status between the standby system channels and the main channel in the same cluster to generate a comparison result of the standby channel scheduling ability; Call each main channel number in the set of main channel performance metrics. Taking PCH001 as an example, first retrieve the standby mode channels in which the mobile phone is currently in a non-connected state, such as the channel number BCH005 under the 5G mode, and obtain its corresponding spectrum occupancy rate and access response time. Assume that the spectrum occupancy rate of BCH005 is 45% and the access response time is 120 ms. Then, taking the spectrum occupancy rate of 55% and the access response time of 157 ms of the main channel PCH001 as a reference, successively compare the differences in response speed and link occupancy status of all standby mode channels within the same cluster. For example, the spectrum occupancy rate of the standby mode channel BCH006 is 30% and the access response time is 140 ms. By separately calculating the access response time difference and spectrum occupancy difference between the standby channel and the main channel, the access response time difference of BCH005 is -37 ms and the spectrum occupancy difference is -10%; the access response time difference of BCH006 is -17 ms and the spectrum occupancy difference is -25%. Combine the difference comparison results of all standby mode channels to form a comparison result table of standby channel scheduling capabilities.
[0040] S413: According to the time delay difference and spectrum difference corresponding to the standby mode channels in the comparison result of standby channel scheduling capabilities, summarize them into a difference sorted list according to the channel number, extract the channel number with the best combination of channel state stability degree and resource availability difference indicators, and establish a protocol switching feasibility channel entry; According to the comparison result of standby channel scheduling capabilities, for example, the access response time differences between BCH005 and BCH006 are -37 ms and -17 ms respectively, and the spectrum occupancy differences are -10% and -25% respectively. First, sort the time delay difference and spectrum difference of the standby mode channels according to the channel number. According to the rule, the smaller the access response time difference, the better, and the larger the spectrum occupancy difference, the better. After comprehensively considering the two indicators, the sorting result is that BCH006 is better than BCH005; then, extract the channel number BCH006 with the best combination of channel state stability degree and resource availability difference indicators in the sorting result. The channel state stability degree can be evaluated by the fluctuation range of the access response time of the standby channel in the past five cycles. Assume that the fluctuation range of BCH006 is ±5 ms and the fluctuation range of BCH005 is ±10 ms. Therefore, the state of BCH006 is more stable, and the resource availability difference is confirmed by the difference value of the spectrum occupancy rate and the main channel. Finally, select BCH006 as the optimal channel and establish a protocol switching feasibility channel entry.
[0041] Please refer to Figure 6 , and the specific steps for obtaining the multi-card communication protocol compatibility adjustment result are as follows: S511: Based on the target channel numbers of each path in the protocol switching feasibility channel entry, obtain the protocol signaling format, access control field, and HARQ scheduling period parameters of this channel, perform field alignment extraction with the field information corresponding to the current primary channel structure, and generate a channel structure field mapping set; Based on the target channel numbers 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 this channel. For example, the protocol signaling format of BCH006 is NR-RRC (5G New Radio 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, the access control field is access category level 3, and the HARQ scheduling period parameter is 10 milliseconds from the configuration data of the current primary channel number PCH001. Through field alignment extraction, compare the protocol signaling format, access control field, and HARQ scheduling period parameters of the target channel and the primary channel in sequence. There is a difference between the protocol signaling formats NR-RRC and LTE-RRC, and the recorded difference value is 1. The difference in access category levels is , and the difference in HARQ scheduling periods is milliseconds. To quantify the matching degree of the channel structure, calculate the comprehensive index of channel structure matching differences. Let this index be , and its comprehensive formula is as follows: ; Among them, represents the comprehensive index of channel structure matching differences, and are the HARQ scheduling periods of the standby channel and the primary channel respectively, in milliseconds. In this example, they are 8 milliseconds and 10 milliseconds respectively. and are the access category levels of the standby channel and the primary channel, dimensionless integers, which are 5 and 3 respectively. and are the protocol signaling format coding values of the standby channel and the primary channel. It is agreed that NR-RRC is recorded as 1 and LTE-RRC is recorded as 0. Therefore, , and the weight factors are set as follows in sequence: is the weight of the HARQ scheduling period difference, set to . This setting is based on the actual test of the system's tolerance to the scheduling period. The performance impact of the system is relatively small when the scheduling period difference is less than 4 milliseconds. Therefore, the weight is set relatively low; is the weight of the access control field difference, set to . According to the fact that the access control level directly affects the communication priority and access restrictions, the weight needs to change in equal amplitude with the difference amount. Therefore, it is set to 1.0; is the weight for the difference in protocol signaling formats, set to , based on actual tests, the incompatibility of protocol signaling formats has the greatest impact on handover performance, and a new connection needs to be re-established between different protocols. Therefore, the highest weight of 2.0 is given. Substituting the above values gives: , therefore, the comprehensive index of channel structure matching differences , complete the generation of the channel structure field mapping set, record the target channel number, the differences of each field, and the matching index.
[0042] S512: Invoke the channel field alignment results in the channel structure field mapping set, perform a consistency check on each group of fields between the target channel and the primary channel, and detect whether there is a situation where the field names do not match or the HARQ control time slots overlap. Screen out the channel numbers with all fields correctly matched and no control conflicts to generate a set of protocol field compatible path numbers; Invoke the channel field alignment results in the channel structure field mapping set. Taking the mapping data of the target channel BCH006 and the primary channel PCH001 as an example, first perform a consistency check. For the protocol signaling format field, since NR-RRC and LTE-RRC belong to different protocol categories, determine the format difference measure , mark it as "mismatch", then judge the access control field. The difference is , continue to judge whether there is a control time slot overlap in the HARQ scheduling period. The judgment rule is: when the absolute value of the difference between the scheduling periods of the two channels is less than or equal to 2 milliseconds, it is considered that there is a potential overlap. In this example, the difference is milliseconds, which meets the overlap condition. Further quantify the channel compatibility. Let the field compatibility evaluation value be , comprehensively consider the channel matching difference and the scheduling period difference. The calculation formula is as follows: ; where represents the field compatibility evaluation value (dimensionless, the larger the value, the better the compatibility), is the compatibility constant, set to 10, reflecting the normalization reference value of the compatibility evaluation; is the comprehensive index of channel structure matching differences. In this example, it is , and the dimension is dimensionless; is the HARQ scheduling period difference between the standby channel and the primary channel, in milliseconds. In this example, it is milliseconds; represents the HARQ scheduling period of the standby channel, ; represents the HARQ scheduling period of the primary channel, ; Denote the square of the comprehensive index of differences, which enhances the influence degree of the channel matching differences in the evaluation. Substituting specific numerical values gives: ; Compatibility evaluation value , due to the differences in protocol signaling formats and the overlapping control time slots in the scheduling period. According to the system compatibility determination criteria, when or , it is determined that there are incompatible factors. Therefore, BCH006 is incompatible. Perform the above process on other target channels in turn. Assume there is a target channel BCH007, whose protocol signaling format and the main channel are both LTE - RRC, the encoding is 0 for both, , the access control fields are both 3, , the HARQ scheduling periods are both 10 milliseconds, milliseconds. Therefore, the comprehensive index of the channel structure matching differences: ; And the field compatibility evaluation value: ; Compatibility evaluation value , which is the theoretical maximum value and meets the full compatibility standard. Finally, generate the protocol field compatibility path number set, and the content of the number set is: BCH007.
[0043] S513: According to the channel numbers determined to be compatible in the protocol field compatibility path number set, perform a re - pointing operation on the signaling access paths bound to them in the terminal structure, release the original main channel binding relationship, and then update it to the target channel number to generate the multi - card communication protocol compatibility adjustment result; According to the channel number BCH007 determined to be compatible in the protocol field compatibility path number set, first retrieve the original binding path of this channel in the terminal in the signaling access path configuration table of the terminal structure. Let this path be Path07. Subsequently, perform the re - pointing operation on the signaling access path. The specific operation is as follows: First, locate the terminal configuration parameter item "current main channel binding path", and the current value of this parameter is Path01. Perform a rewrite operation on this parameter and update its value to Path07 to complete the signaling access path re - pointing; then locate and release the binding relationship of the original main channel PCH001, and achieve this release operation by modifying its binding status flag bit to "unbound" to ensure the release of the original main channel resources; subsequently, update the parameter value of "current main channel number" in the terminal configuration table from PCH001 to BCH007 to complete the update operation of the main channel number; To further measure the change in the system state after the multi - card communication protocol compatibility adjustment, calculate the path load adjustment ratio after the handover. Let this ratio be , which is used to evaluate the load change caused by the signaling access path handover. The specific formula is as follows: ; Among them, represents the path load adjustment ratio, with the unit of percentage (%), is the real-time load of the bound path Path07 of the target channel BCH007 after switching, with the unit of megabits per second (Mbps). Suppose the measured value is 20 Mbps, is the real-time load of the bound path Path01 of the original primary channel PCH001 before switching, with the same unit of megabits per second. Suppose the measured value is 25 Mbps. Substituting into the formula, we get: ; Path load adjustment ratio , indicating that the load has decreased by 20% after the signaling access path is switched, showing that the target channel BCH007 has higher resource availability and is suitable as the new primary channel to complete the multi-card communication protocol compatibility adjustment. Finally, the multi-card communication protocol compatibility adjustment result is 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%.
[0044] The above is only the preferred embodiment of the present invention, and does not limit the present invention in other forms. Any person skilled in the art may use the disclosed technical content to make changes or modifications into equivalent embodiments with equivalent changes and apply them to other fields. However, as long as it does not depart from the technical solution content of the present invention, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention still fall within the protection scope 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 phone terminal and divide the channel clusters to construct communication cluster structure information; S2: Obtain a list of cluster channel numbers corresponding to the communication cluster structure information, collect channel communication behaviors in groups, and construct communication cluster interaction data; S3: using the Shannon entropy algorithm to calculate the distribution probability of each group of channel behaviors in the communication cluster interaction data, performing load fluctuation detection through a sliding window, and obtaining a load fluctuation abnormal cluster number; 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; 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.
2. The multi-card communication protocol compatibility processing method according to claim 1, wherein 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 behavior vector sequence, the node response delay record, and the signaling interaction frequency mark; the load fluctuation abnormal cluster number includes the load state 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.
3. The multi-card communication protocol compatibility processing method according to claim 1, wherein, The steps for obtaining the communication cluster structure information are specifically as follows: S111: obtaining the standard 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, extracting all corresponding structure fields with each channel as an index, and generating 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 type of 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.
4. The multi-card communication protocol compatibility processing method according to claim 3, wherein, 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 cycle is counted, and the number of successful signaling connections and the corresponding channel number, transmission interval and response delay data are arranged and integrated in chronological order to generate communication cluster interaction data.
5. The multi-card communication protocol compatibility processing method according to claim 4, wherein The specific 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 within consecutive periods, extract the data transmission interval value, control response delay value, and signaling connection success rate, and establish a state probability distribution for each channel according to the time window to generate a channel state distribution probability set; S312: According to the state probability values of the channels in multiple time windows in the channel state distribution probability set, calculate the corresponding Shannon entropy values, extract the channel numbers with the entropy value change amplitude exceeding the set communication stability benchmark threshold, and generate an entropy value fluctuation channel set; S313: Invoke the communication cluster numbers corresponding to the channel numbers in the entropy value fluctuation channel set, establish a mapping relationship between the communication cluster numbers and the channel numbers with internal fluctuations, and summarize the entropy value fluctuation amplitude to generate the load fluctuation abnormal cluster number.
6. The multi-card communication protocol compatibility processing method according to claim 5, wherein The specific steps for obtaining the protocol switching feasibility channel entry are as follows: S411: Based on the identification numbers of each main channel in the load fluctuation abnormal cluster number, obtain the access feedback time record and the number of successful data transmissions within consecutive periods under the current communication system, and calculate the average feedback delay value and transmission success frequency to generate a main channel performance index set; S412: Invoke the main channel numbers in the main channel performance index set, obtain the spectrum occupancy rate and access response time of the standby system channels in the non-connected state in the mobile phone, and compare the response speed and link occupancy status of the standby system channels and the main channels in the same cluster with the main channel number as a reference to generate a standby channel scheduling ability comparison result; S413: According to the delay difference and spectrum difference corresponding to the standby system channels in the standby channel scheduling ability 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 degree and resource availability difference index, and establish the protocol switching feasibility channel entry.
7. The multi-card communication protocol compatibility processing method according to claim 6, wherein The specific steps for obtaining the multi-card communication protocol compatibility adjustment result are as follows: S511: Based on the target channel numbers of each path in the protocol switching feasibility channel entry, obtain the protocol signaling format, access control field, and HARQ scheduling period parameters of the channel, and perform field alignment extraction with the field information corresponding to the current main channel structure to generate a channel structure field mapping set; S512: Invoke the channel field alignment results in the channel structure field mapping set, perform a consistency judgment on each group of fields between the target channel and the main channel, and detect whether there are cases where the field names do not match or the HARQ control time slots overlap. Screen out the channel numbers with all fields correctly matched and no control conflicts to generate a protocol field compatible path number set; S513: According to the channel numbers determined to be compatible in the protocol field compatible path number set, perform a redirection operation on the signaling access path bound in the terminal structure, and release the original main channel binding relationship and update it to the target channel number to generate the 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
Data channel switching method and device and electronic equipment
CN119233354A
Intelligent protocol configuration method of Cat1 module
CN119363841A
Methods and dual SIM dual standby (DSDS) devices for managing data communication
US20180160422A1