Communication control method and device, electronic equipment, chip and medium
By entering the uplink channel sharing mode in the dual-stop dual-pass terminal and adjusting the priority of the communication card, the problem of the inability to share the uplink RF channel resources is solved, and the processing capability and user experience of the dual-stop data service are improved.
Patent Information
- Application Number
- CN202311148872.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-06
- Publication Date
- 2025-03-07
AI Technical Summary
Dual-SIM dual standby dual-pass terminals cannot share uplink RF channel resources in certain RF bandwidths, resulting in the inability to use data services of two SIM cards at the same time, such as Internet access, online games, online video and other services.
By responding that the first communication card and the second communication card simultaneously occupy the uplink resources of the terminal, enter the uplink channel sharing mode, and adjust the priority of the uplink resources occupied by the two cards in this mode, dynamically schedule the uplink RF channel resources.
It realizes the terminal's rapid response to abnormal situations of dual-slot occupancy of uplink resources, enables uplink channel sharing, and improves the dual-slot data service processing capabilities and user experience.
Smart Images

Figure CN119584095A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communications, and in particular to a communication control method, device, electronic device, chip and medium. Background Art
[0002] With the development of mobile communication technology, terminals equipped with two SIM (Subscriber Identity Module) cards are becoming more and more popular. At present, the two SIM cards configured in the terminal usually share a set of terminal hardware resources. Due to the maximum number of RF channels of the terminal, there is only one transmitting RF channel on some RF (Radio Frequency) bandwidths due to hardware limitations. If dual-card dual-data service dual-pass is to be supported, the uplink RF channel resources need to be shared between different SIM cards.
[0003] In the related technology, in the scenario of dual-SIM dual-standby dual-pass with only one transmitting radio frequency channel, the terminal equipment generally supports the concurrency of data and voice services. Among them, fixed voice services have a higher priority. In some specific radio frequency bandwidths, there is a situation where the data services of two SIM cards are not supported at the same time, so the two SIM cards cannot be used for Internet access, online games, online videos and other services at the same time, and there is a problem that the uplink radio frequency channel resources cannot be shared on the terminal side. Summary of the invention
[0004] The present disclosure provides a communication control method, device, electronic device, chip and medium, which are used to solve the problem that dual-SIM dual-standby dual-pass terminals in the related art cannot share uplink RF channel resources in certain RF bandwidths, and improve the dual-SIM data service processing capability and user experience through dynamic scheduling of dual-SIM cards in uplink RF channel resources.
[0005] A first aspect of the present disclosure provides a communication control method, the method comprising:
[0006] In response to the first communication card and the second communication card occupying the uplink resource of the terminal at the same time, entering the uplink channel sharing mode;
[0007] In the uplink channel sharing mode, the priority of the first communication card and the second communication card in occupying uplink resources is adjusted.
[0008] In an embodiment of the present disclosure, in an uplink channel sharing mode, adjusting the priority of the first communication card and the second communication card in occupying uplink resources includes:
[0009] For the first time period, determining a first priority number for the first communication card and a second priority number for the second communication card according to the arbitration unit size, and determining communication quality evaluation parameters for the first communication card and the second communication card;
[0010] For the second time period, determining a priority proportional factor according to the arbitration unit size and the communication quality evaluation parameter;
[0011] According to the priority ratio factor, the first priority number of the first communication card and the second priority number of the second communication card within the second time period are adjusted.
[0012] In one embodiment of the present disclosure, for the second time period, determining the priority proportional factor according to the arbitration unit size and the communication quality evaluation parameter includes:
[0013] Determining a first parameter of the first communication card according to the arbitration unit size and the communication quality evaluation parameter;
[0014] Determining a second parameter of the second communication card according to the arbitration unit size and the first parameter;
[0015] A priority scale factor is determined based on the first parameter and the second parameter.
[0016] In one embodiment of the present disclosure, adjusting the first priority number of the first communication card and the second priority number of the second communication card within the second time period according to the priority proportional factor includes:
[0017] Determining whether the priority scale factor satisfies the first condition;
[0018] When the priority scale factor satisfies the first condition, the numerator and denominator of the priority scale factor are respectively determined as the first priority number and the second priority number;
[0019] In one embodiment of the present disclosure, adjusting the first priority number of the first communication card and the second priority number of the second communication card within the second time period according to the priority proportional factor includes:
[0020] Determining whether the priority scale factor satisfies the first condition;
[0021] When the priority scale factor does not satisfy the first condition, the priority scale factor is adjusted, and the numerator and denominator of the adjusted priority scale factor are respectively determined as the first priority number and the second priority number.
[0022] In one embodiment of the present disclosure, when the priority scale factor does not satisfy the first condition, adjusting the priority scale factor, and determining the numerator and denominator of the adjusted priority scale factor as the first priority number and the second priority number respectively includes:
[0023] Determine a ratio list, the ratio list including at least one ratio value that satisfies the first condition;
[0024] Determine a first scale value in the scale list, the first scale value having a minimum error with the priority scale factor;
[0025] The first scale value is determined as the adjusted priority scale factor.
[0026] In one embodiment of the present disclosure, it is characterized in that the method further comprises:
[0027] The sum of the first priority number and the second priority number in the second time period is determined as the arbitration unit size corresponding to the second time period.
[0028] In one embodiment of the present disclosure, the communication quality evaluation parameters include a downlink decoding retransmission rate and an uplink transmission bit error rate.
[0029] A second aspect of the present disclosure provides a communication control device, the device comprising:
[0030] A response module, configured to enter an uplink channel sharing mode in response to the first communication card and the second communication card occupying the uplink resources of the terminal at the same time;
[0031] The adjustment module is used to adjust the priority of the first communication card and the second communication card in occupying uplink resources in the uplink channel sharing mode.
[0032] In one embodiment of the present disclosure, the adjustment module is used to:
[0033] For the first time period, determining a first priority number for the first communication card and a second priority number for the second communication card according to the arbitration unit size, and determining communication quality evaluation parameters for the first communication card and the second communication card;
[0034] For the second time period, determining a priority proportional factor according to the arbitration unit size and the communication quality evaluation parameter;
[0035] According to the priority ratio factor, the first priority number of the first communication card and the second priority number of the second communication card within the second time period are adjusted.
[0036] In one embodiment of the present disclosure, the adjustment module determines the priority proportional factor according to the arbitration unit size and the communication quality evaluation parameter for the second time period using the following method:
[0037] Determining a first parameter of the first communication card according to the arbitration unit size and the communication quality evaluation parameter;
[0038] Determining a second parameter of the second communication card according to the arbitration unit size and the first parameter;
[0039] A priority scale factor is determined based on the first parameter and the second parameter.
[0040] In one embodiment of the present disclosure, the adjustment module uses the following method to adjust the first priority number of the first communication card and the second priority number of the second communication card within the second time period according to the priority ratio factor:
[0041] Determining whether the priority scale factor satisfies the first condition;
[0042] When the priority scale factor satisfies the first condition, the numerator and denominator of the priority scale factor are respectively determined as the first priority number and the second priority number;
[0043] In one embodiment of the present disclosure, the adjustment module adjusts the first priority number of the first communication card and the second priority number of the second communication card within the second time period according to the priority ratio factor in the following manner:
[0044] Determining whether the priority scale factor satisfies the first condition;
[0045] When the priority scale factor does not satisfy the first condition, the priority scale factor is adjusted, and the numerator and denominator of the adjusted priority scale factor are respectively determined as the first priority number and the second priority number.
[0046] In one embodiment of the present disclosure, the adjustment module adjusts the priority scale factor when the priority scale factor does not meet the first condition in the following manner, and determines the numerator and denominator of the adjusted priority scale factor as the first priority number and the second priority number respectively:
[0047] Determine a ratio list, the ratio list including at least one ratio value that satisfies the first condition;
[0048] Determine a first scale value in the scale list, the first scale value having a minimum error with the priority scale factor;
[0049] The first scale value is determined as the adjusted priority scale factor.
[0050] In one embodiment of the present disclosure, the adjustment module is further configured to:
[0051] The sum of the first priority number and the second priority number in the second time period is determined as the arbitration unit size corresponding to the second time period.
[0052] A third aspect of the present disclosure provides an electronic device, including:
[0053] at least one processor; and
[0054] a memory communicatively connected to at least one processor; wherein,
[0055] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute any one of the methods in the embodiments of the first aspect of the present disclosure.
[0056] The fourth aspect embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to enable a computer to execute any one of the methods in the first aspect embodiment of the present disclosure.
[0057] The fifth aspect embodiment of the present disclosure proposes a chip, including at least one processor and a communication interface, the communication interface is used to receive signals input into the chip or signals output from the above chip, the processor communicates with the communication interface and implements any one of the methods in the first aspect embodiment of the present disclosure through logic circuits or execution code instructions.
[0058] In summary, according to the communication control method proposed in the present disclosure, in response to the first communication card and the second communication card occupying the uplink resources of the terminal at the same time, the uplink channel sharing mode is entered; in the uplink channel sharing mode, the priority of the first communication card and the second communication card occupying the uplink resources is adjusted. Through the technical solution of the present disclosure, in response to the first communication card and the second communication card occupying the uplink resources of the terminal at the same time, the uplink channel sharing mode is entered, and the terminal can respond quickly to the abnormal situation of dual cards occupying uplink resources, thereby enabling uplink channel sharing. In the uplink channel sharing mode, the priority of the first communication card and the second communication card occupying uplink resources is adjusted, which solves the problem that the dual-card dual-standby dual-pass terminal cannot communicate normally when the uplink resources are limited, and improves the dual-card data service processing capability and user experience.
[0059] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0061] Figure 1 A flow chart of a communication control method according to an embodiment of the present disclosure;
[0062] Figure 2 A flow chart of a method for adjusting the priority of a first communication card and a second communication card occupying uplink resources according to an embodiment of the present disclosure;
[0063] Figure 3 A schematic diagram of an arbitration unit within a time period in an embodiment of the present disclosure;
[0064] Figure 4A flow chart of a method for determining a priority proportional factor according to the arbitration unit size and the communication quality evaluation parameter according to an embodiment of the present disclosure;
[0065] Figure 5 A flow chart of a method for adjusting a first priority number of a first communication card and a second priority number of a second communication card within a second time period according to a priority ratio factor according to an embodiment of the present disclosure;
[0066] Figure 6 A flow chart of a method for adjusting a first priority number of a first communication card and a second priority number of a second communication card within a second time period according to a priority ratio factor according to an embodiment of the present disclosure;
[0067] Figure 7 A flow chart of a method for determining a first priority number and a second priority number according to an embodiment of the present disclosure;
[0068] Figure 8 A flow chart of a communication control method according to an embodiment of the present disclosure;
[0069] Fig. 9 A schematic diagram of a communication control method according to an embodiment of the present disclosure;
[0070] Fig.10 A schematic diagram of the structure of a communication control device according to an embodiment of the present disclosure;
[0071] Fig.11 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure;
[0072] Fig.12 A schematic diagram of the structure of a chip provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0073] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout identify the same or similar originals or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0074] In the field of communications, terminals that support dual-SIM dual-standby dual-communication are becoming more and more popular. By configuring two SIM cards, more services provided by operators can be used. For operators, voice services and data services are two different services. Voice services are voice communication services carried out through telephone networks, including traditional voice calls and text messages, while data services are data transmission services carried out through mobile networks, including Internet access, MMS, video calls, online videos, online games and other services.
[0075] Usually two SIM cards share a set of terminal hardware resources, which is limited by the maximum number of RF channels. In some RF bandwidths, there is only one transmitting RF channel due to hardware limitations.
[0076] In the related art, in the dual-SIM dual-standby dual-pass scenario with only one transmitting radio frequency channel, the terminal device generally supports concurrent processing of data and voice services, among which fixed voice services have a higher priority. In the dual-pass scenario of data services, in certain frequency bands, especially low frequency bands, conflicts caused by the simultaneous occupation of uplink resources by dual SIM cards will affect the data service performance and user experience in this scenario.
[0077] In order to solve the above problems, the present disclosure proposes a communication control method. In a scenario supporting dual-card dual-data service dual-pass, the uplink radio frequency channel resources of the terminal are shared between different SIM cards. Thus, the normal use of the dual cards for data services is achieved through the reasonable allocation of the terminal uplink resources.
[0078] The communication control method proposed in the present disclosure is applied to the communication services of electronic devices, and can be specifically used in data communication processes of terminal devices such as mobile phones, computers, and tablet computers, and wearable devices such as watches and bracelets. There is no limitation on the application scenarios in the embodiments of the present disclosure.
[0079] The communication control method provided in the present application will be described in detail below with reference to the accompanying drawings.
[0080] Figure 1 FIG. 1 is a flow chart of a communication control method according to an embodiment of the present disclosure. Figure 1 As shown, the communication control method includes:
[0081] Step 101: In response to a first communication card and a second communication card occupying uplink resources of a terminal at the same time, an uplink channel sharing mode is entered.
[0082] In the present disclosure, when the first communication card and the second communication card occupy the uplink resources of the terminal at the same time, the uplink resources of the terminal cannot work normally, thereby causing an abnormality in the communication between the first communication card and the second communication card, triggering the terminal's processing mechanism for the abnormality, that is, entering the uplink channel sharing mode. In this mode, the terminal will reasonably allocate the shared use of the uplink channel resources by the first communication card and the second communication card.
[0083] In some embodiments, the first communication card and the second communication card can be any one or two of a SIM card, a USIM card, a mini-SIM card, a Micro-SIM card, a Nano-SIM card, and an eSIM card, or other communication cards, which are not limited in the present disclosure. The first communication card and the second communication card can preferably be a SIM card.
[0084] In some embodiments, the terminal includes but is not limited to mobile phones, tablet computers, computers, smart watches, smart bracelets and other communication devices.
[0085] In some embodiments, uplink resources are software and hardware resources used by the terminal to send data to the network device, including RF modules, RF control systems, etc. Among them, the RF module integrates two or more discrete devices such as RF switches, low-noise amplifiers, filters, duplexers, power amplifiers, etc. into one module to complete the conversion between radio signals and wired electrical signals. The RF control system uses RF technology to control radio signals, and is usually composed of RF front-end, intermediate frequency part, baseband processing part and antenna, etc.
[0086] Step 102: In an uplink channel sharing mode, the priority of the first communication card and the second communication card in occupying uplink resources is adjusted.
[0087] The terminal enters the uplink channel sharing mode, and dynamically allocates the use priority of the first communication card and the second communication card when simultaneously occupying uplink resources by counting and analyzing the communication data of the first communication card and the second communication card.
[0088] In summary, according to the communication control method proposed in the present disclosure, in response to the first communication card and the second communication card occupying the uplink resources of the terminal at the same time, the uplink channel sharing mode is entered, so that the terminal can quickly respond to the abnormal situation of dual cards occupying uplink resources, thereby enabling uplink channel sharing. In the uplink channel sharing mode, the priority of the first communication card and the second communication card occupying uplink resources is adjusted, which solves the problem that the dual-card dual-standby dual-pass terminal cannot communicate normally when the uplink resources are limited, and improves the dual-card data service processing capability and user experience.
[0089] Figure 2 A flowchart of a method for adjusting the priority of the first communication card and the second communication card to occupy uplink resources according to an embodiment of the present disclosure is provided. Figure 2 The embodiment shown, Figure 2 The steps include:
[0090] Step 201, for a first time period, according to the arbitration unit size, determine a first priority number of a first communication card and a second priority number of a second communication card, and determine communication quality evaluation parameters of the first communication card and the second communication card.
[0091] In the disclosed embodiment, the time period is a constant with a fixed value, which is used as a specified time length for statistical communication quality, and each time period is a statistical unit. The first time period is the first time period after the terminal enters the uplink channel sharing mode. In the first time period, when the first communication card and the second communication card occupy the uplink resources of the terminal at the same time, the number of times the first communication card should give priority to the uplink resources is the first card priority number, and the number of times the second communication card should give priority to the uplink resources is the second card priority number.
[0092] The arbitration unit is a time slice for the terminal to arbitrate whether one of the first communication card and the second communication card should use the uplink resource preferentially when the first communication card and the second communication card occupy the uplink resource at the same time. The size of the time slice is dynamically adjusted and is used to indicate the number of times the first communication card and the second communication card occupy the uplink resource at the same time. According to the set arbitration unit size M, the time when the first communication card and the second communication card occupy the uplink channel at the same time for the first time to cause a communication conflict is the start time of the arbitration unit, and the end time is the time when the number of communication conflicts reaches the preset arbitration unit size M for the first time. The communication conflicts contained in the start time to the end time are regarded as an arbitration unit. If the end time of the arbitration unit does not exceed the time period, the generation of the next arbitration unit begins until the second arbitration unit is formed before the time period. In this way, multiple arbitration units will naturally be formed in a single time period, so the number of arbitration units depends on the length of the time period and the setting of the arbitration window size.
[0093] The arbitration unit will adjust the priorities of the first communication card and the second communication card in using the terminal uplink resources. The statistical number of times the arbitration unit processes the result that the first communication card has a higher priority is taken as the first priority number N1, and the statistical number of times the arbitration unit processes the result that the second communication card has a higher priority is taken as the second priority number N2; in the first time period, the first priority number N1 and the second priority number N2 are both set to half of the arbitration unit size M, that is, when initializing the dual-card priority allocation ratio in the arbitration unit, it is considered that in all situations where the dual cards are occupied at the same time, the priorities of the first communication card and the second communication card each account for half.
[0094] In the embodiment of the present disclosure, for the first time period after entering the uplink channel sharing mode, the first priority number and the second priority number are initialized, and the communication quality evaluation parameters in the first time period are counted, which can be used to statistically evaluate the communication quality of the dual cards in the time period, and can also be used to provide data support for the priority allocation of the dual-card uplink channel use.
[0095] Figure 3It is a schematic diagram of an arbitration unit in a time period in an embodiment of the present disclosure. As shown in the figure, a time period includes an arbitration unit. In this example, the uplink resource indicates that the first communication card and the second communication card occupy the uplink communication resources of the terminal at the same time, SIM1 represents the first communication card, SIM2 represents the second communication card, the upward arrow on the SIM1 side indicates the information sent by the first communication card using the uplink resource, and the downward arrow on the SIM2 side indicates the information sent by the second communication card using the uplink resource. The bidirectional arrows in the figure indicate that the first communication card and the second communication card occupy the uplink resources of the terminal at the same time, and both are executing uplink instructions. In other words, when SIM1 and SIM2 use the uplink resources of the terminal, such as the sending module of the communication module, both will cause communication anomalies due to the simultaneous occupation of the uplink resources. The size of the arbitration unit is determined according to the number of times that SIM1 and SIM2 occupy the uplink resources at the same time. In this embodiment, the arbitration unit size is set to 6, and the statistics are counted from the first time that the uplink resources are occupied at the same time in the time period. If the uplink resources are occupied for 6 consecutive times, an arbitration unit can be formed.
[0096] In the disclosed embodiment, the communication quality evaluation parameters of the first communication card and the second communication card are evaluated by the downlink decoding retransmission rate and the uplink transmission bit error rate of each card in each time period. The downlink decoding retransmission rate and the uplink transmission bit error rate are two important performance indicators in wireless communication; the uplink transmission bit error rate refers to the proportion of transmission errors in the data packets sent out by the terminal's uplink resources that are not occupied by the first communication card and the second communication card at the same time; the downlink decoding retransmission rate refers to the proportion of downlink decoding retransmission data packets to decoding data packets. The downlink decoding retransmission rate reflects that the downlink data packet is received correctly, but the network is still retransmitting, indicating that the uplink transmission feedback is abnormal. The downlink decoding retransmission rate is high, and the uplink transmission bit error rate is low at the same time, indicating that the uplink resources of the communication card corresponding to the uplink transmission feedback are occupied more. At the end of the first time period, among the communication quality evaluation parameters of the first time period that have been counted, the downlink decoding retransmission rate of the first communication card is X1, and the uplink transmission bit error rate is Y1; the downlink decoding retransmission rate of the second communication card is X2, and the uplink transmission bit error rate is Y2. In the embodiment of the present disclosure, by counting the performance indicators of the dual cards in each time period, the communication quality in the time period is accurately reflected.
[0097] Step 202, for the second time period, determining a priority ratio factor according to the arbitration unit size and the communication quality evaluation parameter;
[0098] In the disclosed embodiment, the second time period is the time period after the first time period after the terminal enters the uplink channel sharing mode. In the second time period, the first priority number N1, the second priority number N2 and the arbitration unit size M will change according to the communication quality of the first time period. The priority ratio factor c is the ratio of the first priority number of the first communication card to the second priority number of the second communication card, reflecting the allocation ratio of the uplink resource usage priority obtained by the terminal for the simultaneous occupation of the uplink resources by the first communication card and the second communication card in the arbitration unit. In the second time period, the priority ratio factor c is determined using the arbitration unit size M and the communication quality evaluation parameters X1, Y1, X2, and Y2 statistically calculated in the first time period.
[0099] As for the determination method of the priority scale factor c, in the following example Figure 4 A specific implementation manner provided in the embodiment of the present disclosure will not be described in detail here.
[0100] Step 203, adjusting the first priority number of the first communication card and the second priority number of the second communication card within the second time period according to the priority proportional factor.
[0101] In the disclosed embodiment, the priority ratio factor c is expressed as a fractional form, and after processing according to its simplest fractional form, the first priority number N1 of the first communication card and the second priority number N2 of the second communication card in the second time period can be obtained.
[0102] In the disclosed embodiment, the priority of the first communication card and the second communication card occupying the uplink resource in the second time period is determined by using the statistical data in the first time period. In the task of adjusting the priority of the first communication card and the second communication card occupying the uplink resource, the determination of the priority ratio factor c is very important. Based on this priority ratio factor c, the ratio of the first priority number and the second priority number in the first time period is obtained, which also provides a basis for determining the first priority number and the second priority number for the uplink resource allocation of the dual cards in the second time period.
[0103] Figure 4 A flowchart of a method for determining a priority proportional factor according to the arbitration unit size and the communication quality evaluation parameter according to an embodiment of the present disclosure, based on Figure 4 The embodiment shown, Figure 4 The steps include:
[0104] Step 401, determining a first parameter of a first communication card according to an arbitration unit size and a communication quality evaluation parameter.
[0105] At the end of the first time period, the first parameter a of the first communication card can be determined by the arbitration unit size M and the communication quality evaluation parameters X1, Y1, X2, and Y2 of the first time period that have been counted. The first parameter a can be used to characterize the proportion of abnormal communication occurring in the first communication card in the first time period, where the abnormal communication refers to the situation where two cards occupy uplink resources at the same time.
[0106] In one implementation of this embodiment, the first parameter of the first communication card
[0107] Step 402: Determine a second parameter of the second communication card according to the arbitration unit size and the first parameter.
[0108] Based on the arbitration unit M and the first parameter a, a second parameter b of the second pass card can be determined. The second parameter b can be used to characterize the proportion of abnormal communication occurring in the second communication card in the first time period. The larger the value of the second parameter b is relative to the first parameter a of the first communication card, the more abnormal communication times the second communication card has in the first time period.
[0109] In one implementation of this embodiment, the second parameter b of the second communication card=Ma.
[0110] Step 403: Determine a priority scale factor according to the first parameter and the second parameter.
[0111] The priority proportional factor c can be determined by the obtained first parameter a of the first communication card and the second parameter b of the second communication card within the first time period.
[0112] In one implementation of this embodiment, the priority scale factor
[0113] In this embodiment, the priority ratio factor c is obtained by the first parameter a of the first communication card and the second parameter b of the second communication card. The ratio of abnormal communication between the first communication card and the second communication card in the first time period is used to adjust the priority of the first communication card and the second communication card in using uplink resources when the uplink resources are occupied at the same time in the second time period, and the priority adjustment is described by the priority ratio factor c. The priority ratio factor c can be used to determine the first priority number and the second priority number in the second time period, providing a reliable basis for the allocation of uplink resources by the two cards in the second time period.
[0114] Figure 5 A flowchart of a method for adjusting the first priority number of a first communication card and the second priority number of a second communication card within a second time period according to a priority ratio factor according to an embodiment of the present disclosure, based on Figure 5 The embodiment shown, Figure 5 The steps include:
[0115] Step 501, determining whether the priority scale factor satisfies a first condition.
[0116] In the embodiment of the present disclosure, the first condition is that when the priority scale factor c is determined to be expressed in the form of an irreducible fraction, the sum of its numerator and denominator should be less than or equal to the settable upper limit value of the arbitration unit size M.
[0117] By determining the first condition of the priority scale factor c, subsequent processing steps may be changed to improve processing efficiency.
[0118] Step 502: When the priority scale factor satisfies the first condition, the numerator and denominator of the priority scale factor are respectively determined as the first priority number and the second priority number.
[0119] After the priority scale factor c passes the judgment of the first condition, if the first condition is satisfied, the numerator and denominator of the priority scale factor c in the form of an irreducible fraction are respectively determined as the first priority number N1 and the second priority number N2.
[0120] Figure 6 A flowchart of a method for adjusting the first priority number of a first communication card and the second priority number of a second communication card within a second time period according to a priority ratio factor according to an embodiment of the present disclosure, based on Figure 6 The embodiment shown comprises the following steps:
[0121] Step 601, determining whether the priority scale factor satisfies a first condition.
[0122] In the embodiment of the present disclosure, the first condition is that when the priority scale factor c is determined to be expressed in the form of an irreducible fraction, the sum of its numerator and denominator should be less than or equal to the settable upper limit value of the arbitration unit size M.
[0123] By determining the first condition of the priority scale factor c, subsequent processing steps may be changed to improve processing efficiency.
[0124] Step 602: When the priority scale factor does not satisfy the first condition, the priority scale factor is adjusted, and the numerator and denominator of the adjusted priority scale factor are respectively determined as the first priority number and the second priority number.
[0125] After the priority scale factor c passes the first condition, if it does not meet the first condition, the priority scale factor c needs to be adjusted so that the numerator and denominator of the adjusted priority scale factor c can be used as the first priority number N1 and the second priority number N2 respectively.
[0126] In this embodiment, for the priority ratio factor c reflecting the proportion of communication anomalies of the first communication card and the second communication card in the first time period, a judgment is made as to whether the first condition is met, and the first priority number N1 and the second priority number N2 in the arbitration unit in the second time period are determined according to the judgment result. The determination of the priority allocation ratio of the first communication card and the second communication card in the arbitration unit of the second time period is achieved through the data of the first time period. In actual use scenarios, since the priority ratio factor c usually does not meet the first condition, it is necessary to indirectly determine the first priority number N1 and the second priority number N2 based on the priority ratio factor c. Through the first condition of this embodiment, a reasonable and efficient allocation premise is provided for the priority allocation of the terminal when the dual cards occupy the uplink resources at the same time, and a response to the rapid allocation of priorities in resource allocation is achieved, which avoids the arbitration unit size being too large due to the large first priority number and the second priority number, thereby causing great delays and lags to the current communication of the terminal, seriously affecting the user's network usage experience.
[0127] Figure 7 A flowchart of a method for determining a first priority number and a second priority number according to an embodiment of the present disclosure, based on Figure 7 The embodiment shown comprises the following steps:
[0128] Step 701: determine a ratio list, where the ratio list includes at least one ratio value that meets a first condition.
[0129] Based on the settable upper limit value of the arbitration unit size M, a ratio list is generated, each element of the ratio list is in fractional form, the sum of the numerator and the denominator is equal to the settable upper limit value of M, and each element is different.
[0130] Since the sum of the numerator and the denominator of the priority scale factor c in the simplest fractional representation is greater than the settable upper limit value of the arbitration unit size M, the priority scale factor c does not have the same element in the scale list.
[0131] Step 702, determining a first scale value in the scale list, wherein the error between the first scale value and the priority scale factor is the smallest.
[0132] Based on the priority scale factor c, the element with the smallest difference from the priority scale factor c is searched in the scale list as the first scale value.
[0133] In an implementation of this embodiment, when searching for the element with the smallest difference from the priority scale factor c in the scale list, the element with the smallest sum of squares of the differences is used to determine the first scale value.
[0134] In an implementation of this embodiment, when searching for the element with the smallest difference from the priority scale factor c in the scale list, the element with the smallest absolute value of the difference is used as the first scale value.
[0135] In an implementation of this embodiment, when searching for the element with the smallest difference from the priority scale factor c in the scale list, the element whose ratio between the priority scale factor c and the element in the scale list is closest to 1 is used as the first scale value.
[0136] Step 703: determine the first scale value as the adjusted priority scale factor.
[0137] After determining the first proportional value, the first proportional value is assigned to the priority proportional factor, so as to obtain the first priority number N1 and the second priority number N2 that meet the arbitration unit size requirement and can reasonably allocate the priority adjustment of the first communication card and the second communication card.
[0138] In one implementation of this embodiment, the function is implemented as shown in the following code. The communication quality evaluation parameters of the current time period are x1, y1, x2, y2, the arbitration unit size in the current time period is M, the first parameter is a, the second parameter is b, the priority scale factor is c, and the upper limit value of the arbitration unit size can be set to 6, so the scale list In this implementation manner, for the priority scale factor c that does not meet the first condition, the first scale value is obtained by screening from the scale list lst through the minimum square value of the difference err.
[0139] In this embodiment, for the situation where the priority ratio factor does not meet the first condition, it is searched in the ratio list generated by the settable upper limit value based on the arbitration unit size, and is determined as the priority ratio factor in the first time period. Thus, the first priority number N1 and the second priority number N2 in the arbitration unit in the second time period are obtained. Obviously, the values of the first priority number N1 and the second priority number N2 are dynamically adjusted as the time period changes. Therefore, through the technical solution shown in this embodiment, a method suitable for quickly adjusting the priority of dual-card communication is determined. As an important component of the present disclosure, the first priority number and the second priority number, which are directly based on the priority allocation of dual cards when the priority is adjusted, are determined. In order to prevent the occurrence of dual cards occupying the uplink resources of the terminal at the same time again, the terminal provides a quick response and processing for the allocation of uplink resources.
[0140] Figure 8 A flow chart of a communication control method according to an embodiment of the present disclosure, based on Figure 8 The embodiment shown comprises the following steps:
[0141] Step 801, sum the first priority number and the second priority number in the second time period.
[0142] After obtaining the first priority number N1 of the first communication card and the second priority number N2 of the second communication card in the arbitration unit within the second time period, the size of the arbitration unit after dynamic adjustment can be directly obtained.
[0143] Step 802: Determine an arbitration unit size corresponding to a second time period.
[0144] N1+N2 is determined as the arbitration unit size value in the second time period, that is, M=N1+N2.
[0145] In this embodiment, a new arbitration unit size value is obtained from the second time period, thereby improving the arbitration efficiency of the first communication card and the second communication card.
[0146] Fig. 9 A schematic diagram of an overall communication control method according to an embodiment of the present disclosure, based on Fig. 9 The embodiment shown, as Fig. 9 As shown, the first communication card is SIM1 card, the second communication card is SIM2 card, and there are three time periods, namely the first time period, the second time period and the third time period. If the first time period is the first time period, then in the first time period, the arbitration unit size and the settable upper limit are both set to M=6. Then in each arbitration unit, the first communication card and the second communication card evenly distribute the processing priority of the dual cards when the terminal uplink resources are occupied at the same time. That is, the first priority number is N1=M / 2=3, and the second priority number is N2=M / 2=3. At the end of the first time period, if the communication quality evaluation parameters counted in the first time period are x1=2 / 13, y1=5 / 13, x2=3 / 15=1 / 5, y2=5 / 15=1 / 3 for the first communication card and the second communication card.
[0147] Then in the second time period, the arbitration unit size is M=N1+N2=6, and the first parameter of the first communication card is The second parameter of the second communication card b=Ma=3.27, the priority scale factor c can be expressed as an irreducible fraction 83:100. Obviously, 100+83=183 exceeds the upper limit of max=6 that can be set by the arbitration unit M, which means that the first condition is not met. Therefore, a ratio list is generated based on max. Then, based on the priority ratio factor c=0.83, the element value with the smallest difference is determined in the ratio list lst. The element with the smallest difference from c is searched by taking the square of the difference between c and the element in the ratio list. In this way, it is determined that c=0.83 is closest to 3:3, i.e., 1:1, in the ratio list lst. Therefore, the first priority number N1 of the first communication card in each arbitration unit in the second time period is set to 1, and the second priority number N2 of the second communication card in each arbitration unit in the second time period is set to 1, which means that in each arbitration unit in the second time period, the priority when the uplink resources are occupied simultaneously for the first time can be given to the first communication card, and the priority when the uplink resources are occupied simultaneously for the next time can be given to the second communication card. Since the new arbitration unit size M=N1+N2=2, in the second time period, every two cases of uplink resources being occupied simultaneously occur, that is, in one blanking unit, one of the first communication card and the second communication card is given a higher priority once, and the other is given a higher priority the next time. At the end of the second time period, it is assumed that the communication quality evaluation parameters of the first communication card and the second communication card in the second time period are x1=3 / 13, y1=2 / 13, x2=10 / 21, and y2=3 / 21=1 / 7.
[0148] Then, in the third time period, according to the same calculation method as in the second time period, it can be calculated that the first priority number N1 in the third time period is 1, and the second priority number N2 is 2. That is, in the third time period, if the arbitration unit M=3 exists once, the priority of the first communication card is higher, and if it exists twice, the priority of the second communication card is higher.
[0149] The technical solution of dual-card sharing of radio frequency channel resources provided by the present disclosure solves the problem that dual-card dual-standby dual-channel terminals cannot communicate normally when uplink resources are limited, thereby improving the dual-card data service processing capability and user experience.
[0150] In the embodiments provided in the present application, the methods and devices provided in the embodiments of the present application are introduced. In order to implement the functions in the methods provided in the embodiments of the present application, the electronic device may include a hardware structure and a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. A function of the functions may be executed in the form of a hardware structure, a software module, or a hardware structure plus a software module.
[0151] Corresponding to the methods provided in the above-mentioned embodiments, the present disclosure also provides a communication control device. Since the device provided in the embodiment of the present disclosure corresponds to the methods provided in the above-mentioned embodiments, the implementation method of the method is also applicable to the device provided in this embodiment and will not be described in detail in this embodiment.
[0152] Fig.10 FIG. 1 is a schematic diagram of the structure of a communication control device 1000 according to an embodiment of the present disclosure. The communication control device is applied to a terminal, and the terminal supports simultaneous communication between a first communication card and a second communication card. Fig.10 As shown, the communication control device includes:
[0153] The response module 1001 is used to enter an uplink channel sharing mode in response to the first communication card and the second communication card occupying the uplink resources of the terminal at the same time.
[0154] The adjustment module 1002 is used to adjust the priority of the first communication card and the second communication card in occupying uplink resources in the uplink channel sharing mode.
[0155] In some embodiments of the present disclosure, the adjustment module 1002 uses the following method to adjust the priority of the first communication card and the second communication card to occupy uplink resources in the uplink channel sharing mode:
[0156] For the first time period, determining a first priority number for the first communication card and a second priority number for the second communication card according to the arbitration unit size, and determining communication quality evaluation parameters for the first communication card and the second communication card;
[0157] For the second time period, determining a priority proportional factor according to the arbitration unit size and the communication quality evaluation parameter;
[0158] According to the priority ratio factor, the first priority number of the first communication card and the second priority number of the second communication card within the second time period are adjusted.
[0159] In some embodiments of the present disclosure, the adjustment module 1002 uses the following method to determine the priority ratio factor for the second time period according to the arbitration unit size and the communication quality evaluation parameter, including:
[0160] Determining a first parameter of the first communication card according to the arbitration unit size and the communication quality evaluation parameter;
[0161] Determining a second parameter of the second communication card according to the arbitration unit size and the first parameter;
[0162] A priority scale factor is determined based on the first parameter and the second parameter.
[0163] In some embodiments of the present disclosure, the adjustment module 1002 uses the following method to adjust the first priority number of the first communication card and the second priority number of the second communication card within the second time period according to the priority scale factor, including:
[0164] Determining whether the priority scale factor satisfies the first condition;
[0165] When the priority scale factor satisfies the first condition, the numerator and denominator of the priority scale factor are respectively determined as the first priority number and the second priority number.
[0166] In some embodiments of the present disclosure, the adjustment module 1002 uses the following method to adjust the first priority number of the first communication card and the second priority number of the second communication card within the second time period according to the priority scale factor, including:
[0167] Determining whether the priority scale factor satisfies the first condition;
[0168] When the priority scale factor does not satisfy the first condition, the priority scale factor is adjusted, and the numerator and denominator of the adjusted priority scale factor are respectively determined as the first priority number and the second priority number.
[0169] In some embodiments of the present disclosure, the adjustment module 1002 uses the following method to adjust the priority scale factor when the priority scale factor does not meet the first condition, and determines the numerator and denominator of the adjusted priority scale factor as the first priority number and the second priority number respectively:
[0170] Determine a ratio list, the ratio list including at least one ratio value that satisfies the first condition;
[0171] Determine a first scale value in the scale list, the first scale value having a minimum error with the priority scale factor;
[0172] The first scale value is determined as the adjusted priority scale factor.
[0173] In some embodiments of the present disclosure, the adjustment module 1002 is further configured to:
[0174] The sum of the first priority number and the second priority number in the second time period is determined as the arbitration unit size corresponding to the second time period.
[0175] In some embodiments of the present disclosure, the communication quality evaluation parameters of the adjustment module 1002 include a downlink decoding retransmission rate and an uplink transmission bit error rate.
[0176] Fig.11 is a structural diagram of an electronic device 1100 for implementing the above communication control method according to an exemplary embodiment.
[0177] For example, the electronic device 1100 may be a mobile phone, a computer, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0178] Reference Fig.11, the electronic device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input / output (I / O) interface 1112 , a sensor component 1114 , and a communication component 1116 .
[0179] The processing component 1102 generally controls the overall operation of the electronic device 1100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 1102 may include one or more modules to facilitate the interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate the interaction between the multimedia component 1108 and the processing component 1102.
[0180] The memory 1104 is configured to store various types of data to support operations on the electronic device 1100. Examples of such data include instructions for any application or method operating on the electronic device 1100, contact data, phone book data, messages, pictures, videos, etc. The memory 1104 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0181] The power supply component 1106 provides power to various components of the electronic device 1100. The power supply component 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1100.
[0182] The multimedia component 1108 includes a screen that provides an output interface between the electronic device 1100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front camera and / or a rear camera. When the electronic device 1100 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0183] The audio component 1110 is configured to output and / or input audio signals. For example, the audio component 1110 includes a microphone (MIC), and when the electronic device 1100 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1104 or sent via the communication component 1116. In some embodiments, the audio component 1110 also includes a speaker for outputting audio signals.
[0184] I / O interface 1112 provides an interface between processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0185] The sensor assembly 1114 includes one or more sensors for providing various aspects of status assessment for the electronic device 1100. For example, the sensor assembly 1114 can detect the open / closed state of the electronic device 1100, the relative positioning of components, such as the display and keypad of the electronic device 1100, and the sensor assembly 1114 can also detect the position change of the electronic device 1100 or a component of the electronic device 1100, the presence or absence of user contact with the electronic device 1100, the orientation or acceleration / deceleration of the electronic device 1100, and the temperature change of the electronic device 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1114 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0186] The communication component 1116 is configured to facilitate wired or wireless communication between the electronic device 1100 and other devices. The electronic device 1100 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR (NewRadio) or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0187] In an exemplary embodiment, the electronic device 1100 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0188] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, and the instructions can be executed by a processor 1120 of the electronic device 1100 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0189] The embodiments of the present disclosure further provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the communication control method described in the above embodiments of the present disclosure.
[0190] An embodiment of the present disclosure further provides a computer program product, including a computer program, which executes the communication control method described in the above embodiment of the present disclosure when a processor executes the computer program.
[0191] Fig.12 FIG. 1 is a schematic diagram of a structure of a chip 1200 for implementing the above communication control method according to an exemplary embodiment. Fig.12The chip 1200 includes at least one communication interface 1201 and a processor 1202. The communication interface 1201 is used to receive signals input to the chip 1200 or signals output from the above chip 1200. The processor 1202 communicates with the communication interface 1201 and implements the communication control method described in the above embodiments of the present disclosure through logic circuits or executing code instructions.
[0192] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0193] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0194] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.
[0195] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processing module, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (control method), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.
[0196] It should be understood that the various parts of the embodiments of the present disclosure can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0197] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0198] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0199] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may make changes, modifications, substitutions and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A communication control method, characterized in that: The method comprises: In response to the first communication card and the second communication card occupying the uplink resource of the terminal at the same time, entering the uplink channel sharing mode; In the uplink channel sharing mode, the priority of the first communication card and the second communication card in occupying the uplink resource is adjusted.
2. The method according to claim 1, characterized in that In the uplink channel sharing mode, adjusting the priority of the first communication card and the second communication card in occupying the uplink resource includes: For a first time period, determining a first priority number of the first communication card and a second priority number of the second communication card according to an arbitration unit size, and determining communication quality evaluation parameters of the first communication card and the second communication card; For a second time period, determining a priority proportional factor according to the arbitration unit size and the communication quality evaluation parameter; According to the priority proportional factor, the first priority number of the first communication card and the second priority number of the second communication card within the second time period are adjusted.
3. The method according to claim 2, characterized in that The determining of the priority proportional factor for the second time period according to the arbitration unit size and the communication quality evaluation parameter includes: Determining a first parameter of the first communication card according to the arbitration unit size and the communication quality evaluation parameter; Determining a second parameter of the second communication card according to the arbitration unit size and the first parameter; The priority scaling factor is determined according to the first parameter and the second parameter.
4. The method according to claim 2, characterized in that: The adjusting the first priority number of the first communication card and the second priority number of the second communication card within the second time period according to the priority proportional factor comprises: Determining whether the priority scale factor satisfies a first condition; When the priority scale factor satisfies a first condition, a numerator and a denominator of the priority scale factor are respectively determined as the first priority number and the second priority number.
5. The method according to claim 2, characterized in that: The adjusting the first priority number of the first communication card and the second priority number of the second communication card within the second time period according to the priority proportional factor comprises: Determining whether the priority scale factor satisfies a first condition; When the priority scale factor does not satisfy the first condition, the priority scale factor is adjusted, and the numerator and denominator of the adjusted priority scale factor are respectively determined as the first priority number and the second priority number.
6. The method according to claim 5, characterized in that When the priority scale factor does not satisfy the first condition, adjusting the priority scale factor, and determining the numerator and denominator of the adjusted priority scale factor as the first priority number and the second priority number, respectively, comprises: Determine a ratio list, wherein the ratio list includes at least one ratio value that satisfies the first condition; Determine a first scale value in the scale list, the first scale value having a minimum error with the priority scale factor; The first scale value is determined as the adjusted priority scale factor.
7. The method according to any one of claims 2 to 6, characterized in that The method further comprises: The sum of the first priority number and the second priority number in the second time period is determined as the arbitration unit size corresponding to the second time period.
8. The method according to claim 2 or 3, characterized in that: The communication quality evaluation parameters include a downlink decoding retransmission rate and / or an uplink transmission bit error rate.
9. A communication control device, characterized in that: The device comprises: A response module, configured to enter an uplink channel sharing mode in response to the first communication card and the second communication card occupying the uplink resources of the terminal at the same time; The adjustment module is used to adjust the priority of the first communication card and the second communication card in occupying the uplink resource in the uplink channel sharing mode.
10. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.
11. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.
12. A chip, characterized in that: It includes at least one processor and a communication interface; the communication interface is used to receive a signal input to the chip or a signal output from the chip, and the processor communicates with the communication interface and implements the method as described in any one of claims 1 to 8 through a logic circuit or executing code instructions.