Upstream rate adjustment method and electronic device

By using a dual-SIM shared transmission mode, the electronic device discards the CQI of the call card and allocates transmission resources to the data card under certain conditions, thus solving the problem of reduced uplink speed of the data card due to call services and improving the speed of data services and user experience.

WO2026001407A1PCT designated stage Publication Date: 2026-01-02HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/095215
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-28
Filing Date
2025-05-15
Publication Date
2026-01-02

AI Technical Summary

Technical Problem

In the dual-SIM dual-pass Tx-sharing DSDA mode with dual-SIM shared transmission, the uplink rate of the first SIM card is significantly reduced because the second SIM card is performing call services, affecting the data service rate and user experience.

Method used

Under certain conditions, the electronic device discards the CQI of the call card to allocate transmission resources to the data card, ensuring that the uplink packets of the data card can be sent in a timely manner and improving the uplink rate. These conditions include the call card's uplink packet error rate being less than a preset threshold, and the transmission resources being detected and configured via a chip or modem.

Benefits of technology

It improves the uplink speed of the data card, reduces the frequent punching of the data card by the uplink packets of the call card, and avoids affecting call quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025095215_02012026_PF_FP_ABST
    Figure CN2025095215_02012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the field of communications. Provided are an upstream rate adjustment method and an electronic device. The upstream rate adjustment method provided in the present application is applied to an electronic device, the electronic device being in a Tx-sharing Dual SIM dual active (DSDA) mode. The method comprises: when it is detected that an upstream packet to be sent by a call SIM card in the current time slot is a channel quality indicator (CQI) and a data SIM card has an upstream packet to be sent in the current time slot, allocating a transmission resource to the data SIM card when a first condition is met, the call SIM card being a subscriber identity module (SIM) card executing call services, and the data SIM card being a SIM card executing data services. The method of the present application can improve the upstream rate of data SIM cards when electronic devices are in the Tx-sharing DSDA mode.
Need to check novelty before this filing date? Find Prior Art

Description

Method for uplink rate adjustment and electronic device

[0001] The present application claims priority to the Chinese patent application No. 202410868786.2, filed on June 28, 2024, entitled "Method for uplink rate adjustment and electronic device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the field of communication, and in particular, to a method for uplink rate adjustment and an electronic device. BACKGROUND

[0003] Mobile terminals (such as mobile phones) usually support a dual card mode. The dual card mode includes a dual SIM dual standby (DSDS) mode, a dual receive DSDS (DR-DSDS) mode, and a dual SIM dual active (DSDA) mode. The DSDS mode refers to that an electronic device can insert two SIM cards, and the two SIM cards can be in a standby state at the same time. The DR-DSDS mode refers to that only one SIM card of the two SIM cards in the electronic device is in a connected state, but both SIMs have receiving capability. The DSDA mode refers to that both SIM cards in the electronic device are in a connected state, and the two SIMs perform data service and call service, respectively. That is, the mobile terminal can support a mode in which two SIM cards simultaneously transmit or receive data.

[0004] The DSDA mode can further include a full-concurrent DSDA mode and a Tx-sharing DSDA mode. The full-concurrent DSDA mode refers to that two SIM cards transmit signals through independent transmission resources for the two SIM cards, respectively. The Tx-sharing DSDA mode refers to that two SIM cards multiplex (for example, time division multiplex) the same transmission resource for signal transmission.

[0005] However, when the mobile phone is in the Tx-sharing DSDA mode, the uplink rate of the first SIM card is reduced, where the first SIM card in the mobile phone performs data service, and the second SIM card performs call service. For example, at a first time, the first SIM card of the mobile phone performs data service and the second SIM card does not perform call / data service, and the uplink rate of the first SIM card is x Mbps; at a second time, the first SIM card performs data service and the second SIM card performs call service, the mobile phone is in the Tx-sharing DSDA mode, and the uplink rate of the first SIM card is x / 4 Mbps. SUMMARY

[0006] To solve the above technical problems, the embodiments of the present application provide a method for adjusting uplink rate and an electronic device to improve the uplink rate of a data card of the electronic device in a Tx-sharing DSDA mode.

[0007] In a first aspect, the embodiments of the present application provide a method for adjusting uplink rate, which is applied to an electronic device in a Tx-sharing DSDA mode. The method comprises: when it is detected that an uplink packet to be sent by a call card in a current time slot is a channel quality indicator (CQI) and an uplink packet to be sent by a data card in the current time slot exists, allocating a transmission resource to the data card if a first condition is met, wherein the call card is a subscriber identity module (SIM) card for performing a call service, and the data card is a SIM card for performing a data service.

[0008] For example, the electronic device can be a mobile phone, a tablet computer or other device supporting dual-card dual-standby.

[0009] For example, when the electronic device is in the Tx-sharing DSDA mode, the call card and the data card in the electronic device multiplex the same transmission resource for signal transmission. The transmission resource includes a transmission path inside a radio frequency chip, an antenna switch module (ASM), a power amplifier, a power supply of the power amplifier, a filter, a multi-path switch, a tuner and an antenna.

[0010] For example, when the electronic device is in the Tx-sharing DSDA mode, the call card performs a call service, such as a call service like making a call, receiving a call and the like; and the data card performs a data service, such as a data service like sending an image, text, video and the like.

[0011] Thus, since the calling card periodically sends CQI to the base station, the CQI is used for the base station to select the modulation code rate and order, that is, the CQI does not contain the calling data of the calling card, and in the example, when the scenario that the to-be-sent uplink packet of the calling card is CQI and the data card has a to-be-sent uplink packet occurs, the transmission resource is allocated to the data card to transmit the to-be-sent uplink packet of the data card in the current time slot under the condition that the first condition is met. Since the transmission resource corresponding to the current time slot does not transmit the to-be-sent uplink packet (CQI) of the calling card in the current time slot, that is, the electronic device discards the CQI of the calling card in the current time slot, which is equivalent to the electronic device confirming that the service priority of the data card is higher than the service priority of the calling card when the first condition is met, so that the electronic device allocates part of the transmission resource used to transmit the CQI of the calling card to the data card, increases the transmission time slot obtained by the data card, reduces the problem of frequent puncturing of the uplink packet of the calling card to the uplink packet of the data card, and thus improves the uplink rate of the data card. And the electronic device discards only the CQI in the calling card under the condition that the first condition is met, that is, the electronic device discards part of the CQI in the calling card, which can avoid affecting the calling quality of the calling card.

[0012] According to the first aspect, the first condition includes that the uplink packet error rate of the calling card is less than a preset threshold.

[0013] Exemplarily, the preset threshold can be in the range of 8% to 20%, for example, the preset threshold can be 8%, 10%, 12%, etc.

[0014] Exemplarily, different frequency band combinations of the Tx-sharing DSDA mode can have respective preset thresholds. For example, the preset threshold corresponding to the N1+B3 frequency band combination is 8%, and the preset threshold corresponding to the n41+n78 frequency band combination is 10%. The preset threshold is not limited to the numerical values exemplified in the example in actual application.

[0015] Thus, the electronic device further judges the uplink packet error rate of the calling card in the scenario that the to-be-sent uplink packet of the calling card is CQI and the data card has a to-be-sent uplink packet. The uplink packet error rate of the calling card can be used to measure the service quality of the current calling service. When the uplink packet error rate of the calling card is lower than the preset threshold, it indicates that the service quality of the current calling service is good, and the CQI of the calling card is discarded at this time, which does not affect the calling service. When the uplink packet error rate of the calling card is higher than the preset threshold, the calling service may have a problem, and the CQI should not be discarded at this time to avoid the problem that the base station cannot timely adjust the modulation order / code rate.

[0016] According to the first aspect, the method further comprises: obtaining the CQI reporting period of the calling card; obtaining the uplink packet sending information of the calling card and the uplink packet sending information of the data card, the uplink packet sending information of the calling card being information indicating whether the calling card has an uplink packet to be sent in a current time slot, and the uplink packet sending information of the data card being information indicating whether the data card has an uplink packet to be sent in the current time slot; and detecting, according to the CQI reporting period of the calling card, the uplink packet sending information of the data card, and the uplink packet sending information of the calling card, whether there is an uplink packet to be sent by the calling card in the current time slot and the uplink packet to be sent by the data card in the current time slot is a CQI.

[0017] For example, if the electronic device is provided with a first chip, and the first chip is electrically connected to the radio frequency chip, the modem, the power amplifier, the power supply of the power amplifier, the antenna switch module ASM, the second multi-through switch XSW, and the tuner, respectively, the CQI reporting period of the calling card and the uplink packet information of the calling card and the data card are obtained from the modem by the first chip, and it is detected by the first chip, based on the CQI reporting period of the calling card, the uplink packet sending information of the data card, and the uplink packet sending information of the calling card, whether there is an uplink packet to be sent by the calling card in the current time slot and the uplink packet to be sent by the data card in the current time slot is a CQI.

[0018] For example, if the electronic device is provided with a first chip, before the first chip obtains the CQI reporting period of the calling card from the modem (also referred to as Modem), the first chip detects whether the electronic device is in the Tx-sharing DSDA mode; when the first chip detects that the electronic device is in the Tx-sharing DSDA mode, the first chip turns on an enable switch, the enable switch being used to control whether the first chip takes over the right to configure the transmission resource of the radio frequency chip; and the first chip takes over the right to configure the transmission resource of the radio frequency chip. In this way, it can be ensured that the electronic device will not start the function of adjusting the uplink rate of the data card when in other modes, i.e., the transmission resource will not be configured by the first chip, thereby avoiding affecting other modes.

[0019] Exemplarily, the first chip detects whether the electronic device is in the Tx-sharing DSDA mode, including: when the electronic device is in the Tx-sharing DSDA mode, the radio frequency chip calls the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode, to transmit the identification of the first event in the radio frequency channel software parameter to the first chip, the identification of the first event being used to indicate that the electronic device is in the Tx-sharing DSDA mode; when the first chip detects the identification of the first event, the first chip determines that the electronic device is in the Tx-sharing DSDA mode. In this way, the radio frequency chip stores the correspondence between each mode and the corresponding radio frequency channel software parameter, wherein the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode is configured with the identification of the first event, when the electronic device is in the Tx-sharing DSDA mode, the radio frequency chip transmits the identification of the first event in the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode to the first chip by calling the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode, so that the first chip can timely learn that the electronic device is in the Tx-sharing DSDA mode.

[0020] Exemplarily, the electronic device is not provided with the first chip, the modem perceives the CQI reporting period of the calling card, the uplink packet transmission information of the data card and the uplink packet transmission information of the calling card, and the modem detects whether there is an uplink packet to be sent by the calling card in the current time slot and an uplink packet to be sent by the data card in the current time slot based on the CQI reporting period of the calling card, the uplink packet transmission information of the data card and the uplink packet transmission information of the calling card.

[0021] Exemplarily, if the electronic device is not provided with the first chip, before the modem obtains the CQI reporting period of the calling card, the modem perceives whether the electronic device is in the Tx-sharing DSDA mode; when the modem perceives that the electronic device is in the Tx-sharing DSDA mode, the modem starts the first function, the first function being the function of adjusting the uplink rate of the data card. In this way, it can be ensured that the electronic device will not start the function of adjusting the uplink rate of the data card in other modes, i.e. will not allocate the transmission resource to the data card in the case of satisfying the first condition, to avoid affecting other modes.

[0022] Therefore, the uplink packet transmission information of the calling card and the uplink packet transmission information of the data card of the electronic device can determine whether there is both the uplink packet to be sent by the calling card and the uplink packet to be sent by the data card in the current time slot; the CQI reporting period of the calling card can identify whether the uplink packet to be sent by the calling card is CQI; and the determination method is simple and accurate.

[0023] According to the first aspect, according to the CQI reporting period of the talk card, the uplink packet sending information of the data card and the uplink packet sending information of the talk card, it is detected whether there is an uplink packet to be sent by the talk card in the current time slot and an uplink packet to be sent by the data card in the current time slot, comprising: according to the uplink packet sending information of the talk card, it is detected whether there is an uplink packet to be sent by the talk card in the current time slot; when it is detected that there is an uplink packet to be sent by the talk card in the current time slot, according to the CQI reporting period, it is detected whether the uplink packet to be sent by the talk card in the current time slot is CQI; when it is detected that the uplink packet to be sent by the talk card in the current time slot is CQI, according to the uplink packet sending information of the data card, it is detected whether there is an uplink packet to be sent by the data card in the current time slot; when it is detected that there is an uplink packet to be sent by the data card in the current time slot, it is determined that there is an uplink packet to be sent by the talk card in the current time slot and an uplink packet to be sent by the data card in the current time slot.

[0024] Therefore, when the electronic device (such as the first chip or the modem of the electronic device) detects that the uplink packet of the talk card is CQI, it further detects whether the uplink packet to be sent by the data card needs to be sent in the current time slot, which can reduce unnecessary judgment steps.

[0025] According to the first aspect, the electronic device is provided with a first chip, the first chip is electrically connected with a modem, a radio frequency chip, a power amplifier, a power supply of the power amplifier, an antenna switch module ASM, a second multi-through switch XSW and a tuner; the modem is electrically connected with the radio frequency chip, a talk card transmitting end of the radio frequency chip is electrically connected with a first end of the first XSW, a data card transmitting end of the radio frequency chip is electrically connected with a second end of the first XSW, a fixed end of the first XSW is electrically connected with an input end of the power amplifier, an output end of the power amplifier is electrically connected with an input end of the ASM, an output end of the ASM is electrically connected with an input end of a filter, an output end of the filter is electrically connected with an input end of the second XSW, an output end of the second XSW is electrically connected with an antenna, the antenna is electrically connected with the tuner, and the power supply is used for supplying power to the power amplifier; wherein the data card transmitting end is an interface for outputting a radio frequency signal of the data card in the radio frequency chip, and the talk card transmitting end is an interface for outputting a radio frequency signal of the talk card in the radio frequency chip.

[0026] Therefore, the first chip is electrically connected with the modem, the radio frequency chip, the power amplifier, the power supply, the first XSW, the second XSW and the tuner, so that the first chip can obtain information for configuring the transmission resource and configure the transmission resource. By setting the first chip in the electronic device, the change of the software module for allocating the transmission resource in the existing electronic device can be reduced, and the adaptability of the method is improved.

[0027] According to the first aspect, before the transmitting resource is allocated to the data card under the first condition, the method further comprises: the first chip instructing the radio frequency chip to output the radio frequency signal of the data card from the data card transmitting end, and the radio frequency chip controlling the moving end of the first XSW to switch to the second end corresponding to the data card in the first XSW; and the first chip configuring the transmitting resource for the data card according to the first control requirement.

[0028] For example, the first control requirement can include information indicating to turn on the power supply, information indicating that the power amplifier operates according to the amplification power corresponding to the data card, information indicating that the ASM selects the frequency band corresponding to the data card, information indicating to turn on the second path corresponding to the data card in the second XSW, and information indicating to configure the tuner according to the frequency band where the data card is located.

[0029] Therefore, the first chip obtains the first control requirement from the radio frequency chip, and after the transmitting resource is allocated to the data card, the first chip sets the state of each module in the transmitting resource according to the first control requirement, so that the configured transmitting resource can transmit the radio frequency signal of the data card. Since the first chip does not need to generate the first control requirement, the power consumption of the first chip is reduced, and the accuracy of the first chip in configuring the transmitting resource is improved.

[0030] According to the first aspect, the first chip configures the transmitting resource for the data card according to the first control requirement, comprising:

[0031] The first chip turns on the power supply, and the power supply supplies power to the power amplifier; the first chip controls the power amplifier to operate according to the amplification power matched with the data card; the first chip controls the ASM to select the frequency band corresponding to the data card; the first chip turns on the second path corresponding to the data card in the second XSW, the second XSW includes the first path and the second path, the first path corresponds to the calling card, and the second path corresponds to the data card; and the first chip configures the tuner according to the frequency band where the data card is located.

[0032] Therefore, the first chip controls each device in the transmitting resource according to the first control requirement, so as to open the transmitting path, so that the transmitting path can transmit the radio frequency signal corresponding to the data card.

[0033] According to the first aspect, the modem in the electronic device is electrically connected to the radio frequency chip in the electronic device; the talk card transmitting end of the radio frequency chip is electrically connected to the first end of the first XSW, the data card transmitting end of the radio frequency chip is electrically connected to the second end of the first XSW, and the fixed end of the first XSW is electrically connected to the input end of the power amplifier, wherein the data card transmitting end is an interface for outputting the radio frequency signal of the data card in the radio frequency chip, and the talk card transmitting end is an interface for outputting the radio frequency signal of the talk card in the radio frequency chip; the output end of the power amplifier is electrically connected to the input end of the antenna switch module ASM, and the power supply of the power amplifier is electrically connected to the power amplifier; the output end of the ASM is electrically connected to the input end of the filter; the output end of the filter is electrically connected to the input end of the second XSW; the output end of the second XSW is electrically connected to the antenna, and the antenna is electrically connected to the tuner; the transmission resource is allocated to the data card under the condition that the first condition is met, which comprises: the modem determines that the radio frequency chip allocates the transmission resource corresponding to the current time slot to the data card under the condition that the first condition is met, and controls the movable end of the first XSW to switch to the second end corresponding to the data card in the first XSW; the modem generates the first control requirement corresponding to the data card, and the first control requirement is information indicating the state of each device in the transmission resource when the transmission resource is allocated to the data card; the modem transmits the first control requirement to the radio frequency chip through the bottom layer; and the radio frequency chip configures the transmission resource for the data card according to the first control requirement.

[0034] Thus, the modem in the electronic device determines to allocate the transmission resource to the data card, generates the first control requirement corresponding to the data card, and transmits the first control requirement to the radio frequency chip through the bottom layer, so that the radio frequency chip controls each device in the transmission resource according to the first control requirement.

[0035] According to the first aspect, the radio frequency chip configures the transmission resource for the data card according to the first control requirement, which comprises: the radio frequency chip turns on the power supply, and the power supply supplies power to the power amplifier; the radio frequency chip controls the power amplifier to operate at the amplification power matched with the data card; the radio frequency chip controls the ASM to select the frequency band corresponding to the data card; the radio frequency chip turns on the second path corresponding to the data card in the second XSW, and the second XSW comprises the first path and the second path, the first path corresponds to the talk card, and the second path corresponds to the data card; and the radio frequency chip configures the tuner according to the frequency band where the data card is located.

[0036] Thus, the radio frequency chip opens the transmission path corresponding to the data card, so that the transmission path can transmit the radio frequency signal corresponding to the data card.

[0037] In a second aspect, the present application provides a chip system, comprising one or more interface circuits, and one or more processors; the interface circuit is configured to receive a signal from a memory of an electronic device, and send a signal to the processor, the signal comprising computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device is caused to perform the method of adjusting the uplink rate according to the first aspect and any implementation manner of the first aspect.

[0038] For example, the chip system can be a system composed of a single chip, for example, the chip system comprises a first chip, a modem and a radio frequency chip. The first chip in the chip system is electrically connected to the modem and the radio frequency chip, the modem is electrically connected to the radio frequency chip, the radio frequency chip is electrically connected to a radio frequency front end and an antenna, and the radio frequency front end can comprise an XSW, a power amplifier, a power supply, an ASM, a filter and a tuner.

[0039] For example, the chip system can comprise a first chip and a system on chip (SOC), and the SOC comprises a modem. The first chip is electrically connected to the modem and a radio frequency chip, the modem is electrically connected to the radio frequency chip, the radio frequency chip is electrically connected to a radio frequency front end and an antenna, and the radio frequency front end can comprise an XSW, a power amplifier, a power supply, an ASM, a filter and a tuner.

[0040] For example, the chip system can comprise a modem and a radio frequency chip. The modem is electrically connected to the radio frequency chip, the radio frequency chip is electrically connected to a radio frequency front end and an antenna, and the radio frequency front end can comprise an XSW, a power amplifier, a power supply, an ASM, a filter and a tuner.

[0041] For example, the chip system can also be a SOC integrated by multiple chips, and the SOC can comprise a first chip and a modem. The first chip is electrically connected to the modem and a radio frequency chip, the modem is electrically connected to the radio frequency chip, the radio frequency chip is electrically connected to a radio frequency front end and an antenna, and the radio frequency front end can comprise an XSW, a power amplifier, a power supply, an ASM, a filter and a tuner.

[0042] For example, the SOC can comprise a modem. The modem is electrically connected to a radio frequency chip, the radio frequency chip is electrically connected to a radio frequency front end and an antenna, and the radio frequency front end can comprise an XSW, a power amplifier, a power supply, an ASM, a filter and a tuner.

[0043] According to the second aspect, the chip system comprises a first chip, and the first chip is configured to control the radio frequency resource when the electronic device is in a dual-card sharing transmission (Tx-sharing DSDA) mode.

[0044] The second aspect and any kind of implementation of the second aspect correspond to the first aspect and any kind of implementation of the first aspect respectively. The technical effects corresponding to the second aspect and any kind of implementation of the second aspect can be referred to the technical effects corresponding to the first aspect and any kind of implementation of the first aspect, which will not be repeated here.

[0045] In a third aspect, the present application provides an electronic device, comprising: one or more processors, the processor comprising a modem; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the electronic device performs the method of adjusting the uplink rate corresponding to the first aspect and any kind of implementation of the first aspect.

[0046] The third aspect and any kind of implementation of the third aspect correspond to the first aspect and any kind of implementation of the first aspect respectively. The technical effects corresponding to the third aspect and any kind of implementation of the third aspect can be referred to the technical effects corresponding to the first aspect and any kind of implementation of the first aspect, which will not be repeated here.

[0047] In a fourth aspect, the present application provides a computer readable medium, comprising a computer program, when the computer program is run on an electronic device, the electronic device performs the method of adjusting the uplink rate corresponding to the first aspect and any kind of implementation of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0049] Fig. 1 is a schematic diagram of a scenario in which the first SIM card in the mobile phone performs data service and the second SIM card performs call service;

[0050] Fig. 2 is a hardware structure diagram of an electronic device;

[0051] Fig. 3 is a structural schematic diagram of a mobile communication module;

[0052] Fig. 4 is a schematic diagram of an electronic device reporting CQI to a base station;

[0053] Fig. 5 is a structural diagram of an uplink frame of a call card and a data card;

[0054] FIG. 6 is a schematic diagram illustrating uplink frame puncturing of a talker card by a data card;

[0055] FIG. 7 is a schematic diagram illustrating a structure of a mobile communication module;

[0056] FIG. 8 is a schematic diagram illustrating interactions between modules when an electronic device performs a method of uplink rate adjustment;

[0057] FIG. 9 is a schematic diagram illustrating interactions between a first chip and a transmit resource;

[0058] FIG. 10 is a schematic diagram illustrating an image uploaded by a data card;

[0059] FIG. 11 is a schematic diagram illustrating a structure of a mobile communication module;

[0060] FIG. 12 is a schematic diagram illustrating interactions between modules when an electronic device performs a method of uplink rate adjustment;

[0061] FIG. 13 is a schematic diagram illustrating interactions between a modem and a transmit resource. DETAILED DESCRIPTION

[0062] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of the present application.

[0063] The term "and / or" in the present application is merely used to describe an association relationship of associated objects, and indicates that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone.

[0064] The terms "first" and "second" and the like in the specification and claims of the embodiments of the present application are used to distinguish different objects, and are not used to describe a specific order of the objects. For example, the first target object and the second target object are used to distinguish different target objects, and are not used to describe a specific order of the target objects.

[0065] In the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design presented as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or advantageous than other embodiments or designs. In fact, a person of ordinary skill in the art should understand that the words "exemplary" or "for example" are used to present concepts in a concrete manner.

[0066] Before the embodiments of the present application are explained in detail, some technical terms involved in the present application are explained.

[0067] (1) Transmit resource: The transmit resource in the Tx-sharing DSDA mode includes a transmit (Tx) link inside a radio frequency integrated circuit (RFIC), a data interface of a radio frequency transceiver (RFIC / SDR port), a power amplifier (PA), an antenna switch module (ASM), a power supply of the PA, a multi-path switch XSW, a tuner, and an antenna.

[0068] When the calling card and the data card transmit signals, there is any one same transmit resource in the Tx link, the RFIC / SDR port, the PA, the power supply, the ASM, the XSW, the tuner, and the available antenna in the used RFIC, which all belong to the DSDA mode of the shared transmission of the data card and the calling card.

[0069] First, the application scenarios of the embodiments of the present application are described in combination with the accompanying drawings. The electronic device in the present application can be a mobile phone, a tablet computer, etc. For ease of description, the electronic device in the embodiments of the present application is taken as a mobile phone.

[0070] FIG. 1 is a schematic diagram of a scenario in which a first SIM card in a mobile phone performs data service and a second SIM card performs calling service.

[0071] For example, the phone 100 of the user C supports the DSDA mode, and the phone 100 has two SIM cards, a first SIM card and a second SIM card. The first SIM card of the phone 100 performs the data service, so that the chat software of the phone 100 can interact with the chat software of the user A. As shown in Fig. 1a, the display interface of the phone 100 displays the chat interface 101 of the chat software. The chat interface 101 includes a message box and a soft keyboard 102. The soft keyboard 102 includes a plurality of function controls, as shown in Fig. 1a, the soft keyboard 102 includes an album, a location, a music, a file, a business card and the like. The phone responds to the operation of the user clicking the album control, and jumps from the chat interface 101 to the interface 103 of the picture and video selection. The interface 103 of the picture and video selection displays the thumbnail of the image in the gallery. The user C can select the image to be sent in the interface 103 of the picture and video selection. As shown in Fig. 1b, the user C selects two images in sequence, and the selected images are displayed in the interface 103 of the picture and video selection in response to the selection operation of the user, as shown in Fig. 1b, the upper right corner of the selected image indicates the sequence of the selected image. At the first time, the phone responds to the operation of the user clicking the send button, and the selected image is sent to the chat software of the user A in the sequence of the user C selecting the image. In the present example, the user C selects two images from the gallery. The phone 100 completes the uploading of the first image 104 within a first preset time period (such as 2 seconds), wherein the uplink rate of the first SIM card of the phone 100 is reduced to x Mbps. As shown in Fig. 1c, the chat interface 101 of the phone 100 displays the first image 104 sent to the chat software of the user A successfully.

[0072] In the process of the phone 100 sending the second image to the chat software of the user A, the second SIM card of the phone 100 receives the call request of the phone B, as shown in Fig. 1d, the display interface of the phone 100 displays the incoming call interface 105. The incoming call interface 105 includes an answer control 106 and a reject control. The phone 100 responds to the answer operation of the user A (as shown in 1d), the phone 100 answers the call, and switches from the incoming call interface 104 to the call interface 107 (as shown in Fig. 1e). When the first SIM card of the phone 100 performs the data service and the second SIM card performs the call service, the phone 100 is in the Tx-sharing DSDA mode.

[0073] The mobile phone 100 returns to the chat interface 101 from the call interface 107 in response to the user's operation of returning to the chat interface 101, as shown in Fig. 1f. The chat interface 101 includes the first image 104 and the second image 108, wherein the first image 104 has been transmitted to the chat software of the classmate A. The chat interface 101 also includes the icon 101-1 of the call duration and the icon 101-2 of the call in the status bar at the top of the interface.

[0074] Since the mobile phone 100 is in the Tx-sharing DSDA mode, when the second SIM card is performing the call service, the rate of uploading the second image 108 by the first SIM card is reduced, that is, the uplink rate of the first SIM card is reduced. The progress of the image uploaded by the mobile phone 100 within 2 seconds is 1 / 4 of the image, as shown in the uploading progress 108-1 in Fig. 1f, and the black shadow is the proportion of the image 108 that has been transmitted. The uploading progress of the first SIM card shown in Fig. 1f is 1 / 4 of the uploading progress of the first SIM card in Fig. 1c, and the uploading speed of the first SIM card shown in Fig. 1f is 1 / 4 of the uploading speed in Fig. 1c.

[0075] From the above scenario in Fig. 1, it can be seen that when the mobile phone is in the Tx-sharing DSDA mode (assuming that the first SIM in the mobile phone performs data service, and the second SIM card in the mobile phone performs call service), the uplink rate of the first SIM card is significantly reduced during the process of performing call service by the second SIM card, which affects the user's experience of uploading data.

[0076] In order to better analyze the reason why the uplink rate of the first SIM card is significantly reduced during the process of performing call service by the second SIM card when the mobile phone is in the Tx-sharing DSDA mode, the hardware structure of the above electronic device 100 will be introduced in combination with Fig. 2. In the present example, the electronic device 100 is taken as a mobile phone.

[0077] The electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.

[0078] The processor 110 can include one or more processing units, such as an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a neural-network processing unit (NPU), etc., which are not listed one by one here, and the present application does not limit this.

[0079] The controller as the processing unit described above can be the nerve center and command center of the mobile phone 100. In actual application, the controller can generate operation control signals according to instruction operation codes and timing signals to complete the control of instruction fetching and instruction execution.

[0080] The Modem described above can include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal, and transmit the demodulated low-frequency baseband signal to the baseband processor for processing.

[0081] The baseband processor described above is used to process the low-frequency baseband signal transmitted by the modulator, and transmit the processed low-frequency baseband signal to the application processor.

[0082] It should be noted that, in some implementations, the baseband processor can be integrated within the modem, i.e., the modem can have the functionality of the baseband processor.

[0083] Regarding the above-mentioned application processor, it is configured to output sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or display images or videos through the display screen 194.

[0084] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 100. The mobile communication module 150 can include a radio frequency front-end (RF front-end), etc.

[0085] In some embodiments, the antenna 1 of the electronic device 100 and the mobile communication module 150 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology.

[0086] It should be understood that the electronic device 100 shown in FIG. 2 is only an example of an electronic device, and the electronic device 100 can have more or fewer components than those shown in the figure, can combine two or more components, or can have a different component configuration. The various components shown in FIG. 2 can be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0087] When the first SIM card and the second SIM in the electronic device 100 share the transmission resource, the dual-card mode of the electronic device is a Tx-sharing DSDA mode. The first SIM card and the second SIM card sharing the transmission resource will be described in detail below in conjunction with FIG. 3.

[0088] FIG. 3 is a structural schematic diagram of a mobile communication module. Optionally, the mobile communication module 150 includes a radio frequency front-end and a radio frequency integrated circuit (RFIC) 150-1, the radio frequency front-end can include an XSW 150-2 (the XSW 150-2 includes an XSW 150-21 and an XSW 150-22), a power amplifier (PA) 150-3, a power supply 150-4, an antenna switch module (ASM) 150-5, a filter 150-6, a tuner 150-7, etc. Optionally, the radio frequency front-end can also include a low-noise amplifier, a duplexer, etc.

[0089] The RFIC 150-1 is configured to convert a baseband signal to be transmitted into a radio frequency signal, or convert a received radio frequency signal into a baseband signal.

[0090] XSW150-2 is used for multi-path switching, which can be a single-pole double-throw switch, such as XSW150-21 in FIG. 3. In this example, the fixed terminal in XSW150-21 is linked to the input terminal of PA, the first terminal in XSW150-21 is electrically connected to TX1 interface in RFCI150-1, and the second terminal in XSW150-21 is electrically connected to TX0 interface in RFCI150-1. The movable terminal in XSW150-21 can be switched back and forth between the first terminal and the second terminal in XSW150-21, so that the input terminal of PA receives the radio frequency signals transmitted by different SIM cards.

[0091] In this example, TX1 interface is used to transmit signals of the first SIM card, and TX0 interface is used to transmit signals of the second SIM card, wherein the first SIM card is a SIM card for performing data service, and the second SIM card is a SIM card for performing call service.

[0092] For the convenience of subsequent description, in this application, the SIM card for performing data service is referred to as data card, and the SIM card for performing call service is referred to as call card.

[0093] Optionally, the form of XSW can also be xPxT, x is an integer greater than 0, such as x is 3 in this example, i.e. the XSW150-22 is an example of 3P3T. In this application, XSW150-21 is referred to as the first XSW, and XSW150-22 is referred to as the second XSW.

[0094] PA150-3 can be used to amplify the radio frequency signals output by RFIC. Power supply 150-4 is used to power PA150-3.

[0095] ASM150-5 is generally used for frequency band selection, and generally has the form of SpxT.

[0096] Filter 150-6 is used to filter the radio frequency signals output by PA150-3. Tuner 150-7 is an impedance matching network, which is used to realize the functions of signal receiving, filtering, amplifying, gain control, etc., so that the antenna radiates maximum power at all application frequencies.

[0097] When the mobile phone is in the Tx-sharing DSDA mode, the data card and the call card in the mobile phone send data in time-sharing manner. For example, at a first time, when the call card of the mobile phone is performing a call service and the data card is performing a data service, the Modem determines that the current time slot is used by the call card according to the service priority, and the Modem instructs the RFIC to divide the transmission resource for the call card, wherein the service priority of the call card is higher than the service priority of the data card. The RFIC controls the moving terminal of the first XSW to switch from the second terminal (for example, one terminal of the first XSW connected with TX0 in FIG. 3) corresponding to the data card to the first terminal (for example, one terminal of the first XSW connected with TX1 in FIG. 3) in the first XSW corresponding to the call card, and the radio frequency signal is transmitted from the TX1 interface to the input terminal of the PA, the RFIC controls the PA to operate according to the amplification power matched with the call card, so as to amplify the received radio frequency signal; the PA transmits the amplified radio frequency signal to the filter, and the filter filters the amplified radio frequency signal; the RFIC turns on the first path in the second XSW corresponding to the call card, so as to make the filtered radio frequency signal transmitted to the antenna through the first path in the second XSW corresponding to the call card; and the RFIC controls the tuner to configure the tuner according to the frequency band used by the call card, so as to make the antenna radiate the maximum power at all application frequencies. In the example, the first path of the second XSW is matched with the call card, for example, the first path is the first input terminal and the first output terminal (for example, I0 and O0 in FIG. 3) of the second XSW. At a second time, when the Modem detects that the call card has no uplink packet to be transmitted in the current time slot and the data card has an uplink packet to be transmitted in the current time slot, the Modem instructs the RFIC to divide the transmission resource for the data card. The RFIC controls the moving terminal of the first XSW to switch from the first terminal corresponding to the call card to the second terminal in the first XSW corresponding to the data card, the radio frequency signal is transmitted from the TX0 interface to the input terminal of the PA, the RFIC controls the PA to operate according to the amplification power matched with the data card, so as to amplify the received radio frequency signal; the PA transmits the amplified radio frequency signal to the filter, and the filter filters the amplified radio frequency signal; the RFIC turns on the second path in the second XSW corresponding to the data card, so as to make the filtered radio frequency signal transmitted to the antenna through the second path in the second XSW corresponding to the data card; and the RFIC controls the tuner to configure the tuner according to the frequency band used by the data card, so as to make the antenna radiate the maximum power at all application frequencies.

[0098] It should be noted that in the 4G and 5G wireless network, the base station sends the electronic device 100 a downlink channel state information reference signal (CSI-RS), as shown in FIG. 4, the electronic device periodically measures the CSI-RS to obtain a channel quality indication (CQI), and periodically reports the CQI to the base station, and the base station selects appropriate modulation order, code rate, downlink data block size, etc. according to the CQI information. Among them, the CQI reporting period of the electronic device reporting CQI is controlled by the base station. That is, the electronic device sends the CQI in the uplink frame to the base station.

[0099] Referring to FIG. 5, the uplink frame of the data card and the call card each includes user data (such as voice, image, text, etc.), acknowledgement information (such as the ACK signal in FIG. 5), and CQI. Generally, the data packets of the call card are relatively sparse, and the data packets of the data card are relatively dense, as shown in FIG. 5. In the same period (T1-T2 period), the data density in the uplink frame of the data card is higher than that in the uplink frame (also referred to as uplink packet) of the call card.

[0100] When the mobile phone is in the Tx-sharing DSDA mode and the data card and the call card need to transmit signals at the same time, the Modem will allocate transmission resources to the call card in priority to make the call card transmit signals in priority. During the transmission of the uplink packet of the call card, the mobile phone discards the data to be transmitted in the data card that coincides with the transmission period of the call card, resulting in missing data in the uplink packet of the data card, i.e. the data in the uplink packet of the data card is punctured. Moreover, the call card periodically reports CQI, which further aggravates the problem of frequent puncturing of the uplink frame data of the data card, and seriously affects the uplink rate of the data card.

[0101] For example, as shown in FIG. 6, assuming that the CQI reporting period of the CQI in the uplink frame of the call card is 5ms; when the data card and the call card need to transmit signals at the same time, the Modem will allocate transmission resources to the call card in priority to transmit CQI through the transmission resources. As shown in FIG. 6, the periodically reported CQI frequently punctures the uplink frame of the data card, and the data in the gray part of the data card in FIG. 6 is no longer transmitted, thereby greatly reducing the uplink rate of the data card and affecting the use of the user.

[0102] In view of this, the embodiment of the present application provides a method for adjusting uplink rate. In the case that the mobile terminal is in Tx-sharing DSDA mode, when it is detected that both the data card and the call card have uplink packets at the same time, and it is detected that the uplink packet of the call card is CQI and the uplink packet error rate of the call card is less than a threshold, the transmission resource is preferentially configured to the data card, so as to reduce the number of times that the data of the uplink frame of the data card is punctured during the uplink of the call card, and further improve the uplink rate of the data card.

[0103] The method for adjusting uplink rate will be described in detail below in combination with FIG. 7-9. FIG. 7 is a schematic diagram of the hardware structure of the mobile communication module in the present example.

[0104] Referring to FIG. 7, the first chip 150-8 is arranged in the mobile communication module 150, and the first chip 150-8 is electrically connected with the Modem 110-1, the RFIC 150-1, the XSW 150-22 (i.e. the first XSW), the PA 150-3, the power supply 150-4, the XSW 150-5, the filter 150-6, and the tuner 150-7. Among them, the Modem 110-1 is electrically connected with the RFIC 150-1, the RFIC 150-1 is electrically connected with the XSW 150-21, the XSW 150-21 is electrically connected with the PA 150-3, and the power supply 150-4 is electrically connected with the PA 150-3; the PA 150-3 is electrically connected with the ASM 150-5, the ASM 150-5 is electrically connected with the filter 150-6, the filter 150-6 is electrically connected with the XSW switch 150-22 (i.e. the second XSW), the XSW 150-22 is electrically connected with the antenna, and the antenna is electrically connected with the tuner 150-7.

[0105] FIG. 8 is an interaction diagram of each module when the method for adjusting uplink rate is executed in the electronic device, and the method for adjusting uplink rate specifically includes:

[0106] Step S801: obtaining a first control instruction from the RFIC.

[0107] Specifically, the first control instruction includes the identification of the first event. The RFIC stores the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode, and the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode is configured with the identification of the first event, which is used to indicate that the electronic device enters the Tx-sharing DSDA mode. When the electronic device enters the Tx-sharing DSDA mode, the RFIC calls the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode. The RFIC transmits the first control instruction to the first chip by calling the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode.

[0108] When the electronic device exits the Tx-sharing DSDA mode, the identification of the first event is still carried in the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode, and the RFIC no longer calls the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode, that is, the first chip cannot obtain the first control instruction. For example, when the electronic device switches from the Tx-sharing DSDA mode to the Full-concurrent DSDA mode, the RFIC calls the radio frequency channel software parameter corresponding to the Full-concurrent DSDA mode, wherein the radio frequency channel software parameter corresponding to the Full-concurrent DSDA mode does not contain the identification of the first event.

[0109] It should be noted that in the present example, when the electronic device is in the Tx-sharing DSDA mode, the radio frequency channel software parameter called by the RFIC is the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode.

[0110] Step S802: The first chip determines whether the electronic device is in a Tx-sharing DSDA state.

[0111] Specifically, after obtaining the identification of the first event, the first chip determines that the electronic device is in the Tx-sharing DSDA mode. When the identification of the first event is not obtained, it is determined that the electronic device has exited the Tx-sharing DSDA mode.

[0112] It should be noted that the frequency band combination of the Tx-sharing DSDA mode can include n41+n78, n1+b5, n41+n41, and n28+n28, etc. That is, one SIM card can use a 5G frequency band, and the other SIM card can use a 4G frequency band; or both SIM cards can use a 5G frequency band.

[0113] Step S803: The first chip opens an enable switch.

[0114] Specifically, the first chip is provided with an enable switch, which is used to control whether to start the function of adjusting the uplink rate of the data card. When the first chip enables the enable switch, the first chip starts the function of increasing the uplink rate of the data card, and takes over the authority of the RFIC to configure the shared uplink radio front-end link (i.e., the transmission resource) through the connection between the first chip and the RFIC. When the first chip closes the enable switch, the first chip closes the function of increasing the uplink rate of the data card, and restores the authority of the RFIC to configure the shared uplink radio front-end link.

[0115] When the first chip determines that the electronic device is currently in the Tx-sharing DSDA mode, the enable switch is turned on. Wherein, the first chip initially defaults the enable switch to be turned off.

[0116] When the electronic device exits the Tx-sharing DSDA mode, the RFCI ends the call of the radio frequency channel software parameter of the Tx-sharing DSDA mode, i.e. the first chip does not detect the identification of the first event, and the enable switch is turned off.

[0117] Step S804: The first chip takes over the right of the RFIC to configure the transmission resource.

[0118] Since the first chip is electrically connected with the RFIC, the PA, the power supply, the ASM, the filter, the second XSW and the tuner, the first chip can allocate the transmission resource for the data card. Optionally, when the enable switch is turned on, in the Tx-sharing DSDA mode, the first chip will take over the right of the RFIC to configure the transmission resource for the data card. Step 805: The first chip obtains the CQI reporting period of the Modem to report the CQI of the calling card and the uplink packet error rate of the calling card.

[0119] Specifically, the Modem can perceive the CQI reporting period of the calling card to report the CQI. The Modem can also obtain the uplink packet error rate of the calling card. The first chip obtains the CQI reporting period of the Modem to report the CQI of the calling card and the uplink packet error rate of the calling card.

[0120] The electronic device transmits the collected voice data to the baseband chip, and the baseband chip encodes the voice data into a baseband signal for transmission. The baseband chip transmits the baseband signal to the Modem, and the Modem modulates the baseband signal.

[0121] Step 806: The first chip obtains the control requirements of the data card and the calling card on the radio frequency front end.

[0122] Specifically, the RFIC can also transmit the radio frequency front end link control requirement (hereinafter referred to as the first control requirement) of the data card and the radio frequency front end link control requirement (hereinafter referred to as the second control requirement) of the calling card to the first chip by calling the radio frequency channel software parameter corresponding to the Tx-sharing DSDA mode. The first control requirement of the data card includes information indicating the state of each device in the transmission resource when the transmission resource is allocated to the data card. For example, when the transmission resource is allocated to the data card, the RFIC outputs the radio frequency signal from Tx0, the ASM selects the frequency band corresponding to the data card, the amplification power of the PA corresponds to the transmission frequency band of the data card, the second channel in the second XSW corresponding to the data card is turned on, and the tuner operates according to the frequency band where the data card is located.

[0123] The second control requirement of the calling card includes information indicating the state of each device in the transmission resource when the transmission resource is allocated for use by the calling card. For example, when the transmission resource is allocated for use by the calling card, the radio frequency signal in the RFIC is output from Tx1, the ASM selects a frequency band corresponding to the calling card, the amplification power of the PA corresponds to the transmission frequency band of the calling card, the first path corresponding to the calling card in the second XSW is turned on, and the tuner is operated according to the frequency band in which the calling card is located.

[0124] That is, the control requirement is information indicating the state of each module of the transmission resource when the SIM card uses the transmission resource. The first chip configures the transmission resource according to the first control requirement of the data card to turn on the transmission path matched with the data card. The first chip configures the shared transmission resource according to the control requirement of the calling card to turn on the transmission path matched with the calling card.

[0125] Step 807: The first chip obtains the uplink packet sending information of the data card and the calling card from the Modem.

[0126] Specifically, the first chip obtains the uplink packet sending information of the calling card and the uplink packet sending information of the data card from the Modem. The uplink packet sending information of the calling card is information indicating whether the calling card has an uplink packet to be sent in the current time slot, and the uplink packet sending information of the data card is information indicating whether the data card has an uplink packet to be sent in the current time slot.

[0127] It should be noted that in the prior art, when the uplink packet sending information of the data card indicates that the data card has an uplink packet to be sent in the current time slot and the uplink packet sending information of the calling card indicates that the calling card has an uplink packet to be sent in the current time slot, the service priority of the calling card is higher than that of the data card, and the Modem determines to allocate the transmission resource for use by the calling card.

[0128] Step 808: The first chip allocates the transmission resource according to the CQI reporting period of the CQI, the uplink packet sending information of the calling card, and the uplink packet sending information of the data card.

[0129] In this example, the allocation of the transmission resource by the first chip means that the first chip turns on the transmission path by selecting the path in the connected radio frequency front end.

[0130] The process of how the first chip allocates the transmission resource in step 809 can refer to FIG. 9, and specifically includes:

[0131] Step S901: The first chip determines whether the calling card has an uplink packet to be sent in the current time slot. When the first chip determines that the calling card has an uplink packet to be sent in the current time slot, step S902 is performed. When the first chip determines that the calling card does not have an uplink packet to be sent in the current time slot, no operation is performed.

[0132] Specifically, in the NR, one time slot can be used for downlink transmission and uplink transmission. Since the uplink packet sending information of the talk card is information indicating whether the talk card has an uplink packet to be sent in the current time slot, when the first chip obtains the uplink packet sending information of the talk card, the first chip can determine whether the talk card has an uplink packet to be sent in the current time slot according to the uplink packet sending information of the talk card.

[0133] When the first chip determines that the talk card has an uplink packet to be sent in the current time slot, step 902 is performed.

[0134] When the first chip determines that the talk card does not have an uplink packet to be sent in the current time slot, no operation is performed.

[0135] Alternatively, when the first chip determines that the talk card does not have an uplink packet to be sent in the current time slot, the first chip can also allocate the transmission resource based on the service priority. Specifically, when the first chip detects that the talk card does not have an uplink packet to be sent in the current time slot and the data card has an uplink packet to be sent in the current time slot, the first chip allocates the transmission resource to the data card. When the first chip detects that the talk card does not have an uplink packet to be sent in the current time slot and the data card does not have an uplink packet to be sent in the current time slot, no transmission resource is allocated.

[0136] In this example, when the first chip determines that the talk card does not have an uplink packet to be sent in the current time slot, the first chip does not perform any operation.

[0137] Step S902: The first chip determines whether the uplink packet is CQI. When the first chip determines that the uplink packet is CQI, step S904 is performed, that is, the first chip determines whether the data card has an uplink packet to be sent in the current time slot; when the first chip determines that the uplink packet is not CQI, the first chip does not perform any operation.

[0138] Specifically, the length of the NR radio frame is 10 ms, one radio frame contains 10 subframes, and the length of each subframe is 1 ms. In each subframe, 1-2 time slots are contained. When the subcarrier spacing is 15 KHz, one subframe contains one time slot, and when the subcarrier spacing is 30 KHz, one subframe contains 2 time slots. Based on this, the first chip determines whether there is CQI in the current time slot according to the CQI reporting period of the talk card reporting CQI to the base station, that is, determines whether the uplink packet in the current time slot is CQI.

[0139] For example, the CQI reporting period of CQI is 5 ms, and the subcarrier spacing is 15 KHz. Assuming that the 5th time slot (denoted as slot_5) in the first radio frame. When the first chip detects that the current time slot is slot_5, according to the CQI reporting period of CQI, it can be determined that there is CQI in the slot_5, i.e., it is determined that the uplink includes CQI. Assuming that the first chip detects that the current time slot is the 6th time slot (slot_6) in the first radio frame, according to the CQI reporting period of CQI, it is determined that at the 6th ms, it is not the time for reporting CQI, so it can be determined that the current time slot does not include CQI, i.e., the uplink packet is not CQI.

[0140] When the first chip determines that the uplink packet is CQI, step S903 is performed, i.e., the first chip continues to determine whether the data card has an uplink packet in the current time slot; when the first chip determines that the uplink packet is not CQI, the first chip does not perform any operation (i.e., the first chip ends the operation).

[0141] Alternatively, when the first chip determines that the uplink packet is not CQI, the first chip can also allocate the transmission resource based on the service priority. Specifically, when the first chip determines that the uplink packet is not CQI, since the service priority of the talk card is higher than that of the data card, the first chip allocates the transmission resource to the talk card.

[0142] In this example, when the first chip determines that the uplink packet is not CQI, the first chip ends the operation is taken as an example.

[0143] Step 903: The first chip determines whether the data card has an uplink packet in the current time slot. When the first chip determines that the data card has an uplink packet in the current time slot, step 904 is performed. When the first chip determines that the data card does not have an uplink packet in the current time slot, the first chip does not perform any operation.

[0144] Specifically, when the first chip detects that the talk card has an uplink packet in the current time slot and the uplink packet is CQI, if the data card has an uplink packet in the current time slot, the first chip can continue to determine whether the current time slot meets the condition of allocating the transmission resource to the data card, i.e., step 904 is performed.

[0145] If the data card does not have an uplink packet to be sent in the current time slot, i.e., it is indicated that the data card does not have an uplink packet to be sent in the current time slot, the first chip does not need to perform any operation. The RFIC will allocate the transmission resource according to the instruction of the Modem. In this example, the Modem determines to allocate the transmission resource to the talk card according to the service priority.

[0146] Optionally, if the first chip detects that the data card has no uplink packet to be sent in the current time slot, the first chip can also allocate the transmission resource based on the service priority. Specifically, when the first chip detects that the data card has no uplink packet to be sent in the current time slot, the first chip allocates the transmission resource to the talk card.

[0147] In this example, if the first chip detects that the data card has no uplink packet to be sent in the current time slot, the first chip does not perform any operation.

[0148] Step S904: The first chip determines whether the uplink packet error rate of the talk card is greater than a preset threshold. When the first chip determines that the uplink packet error rate of the talk card is less than or equal to the preset threshold, step S905 is performed, i.e., the first chip turns on the power supply of the PA. When the first chip determines that the uplink packet error rate of the talk card is greater than the preset threshold, the first chip does not perform any operation.

[0149] Specifically, the first chip detects whether the uplink packet error rate of the talk card is greater than a preset threshold. The preset threshold can be set as needed, and the range of the preset threshold can be 8% to 20%, for example, the preset threshold is 8%. When the first chip detects that the uplink packet error rate of the talk card is greater than the preset threshold, the first chip ends the operation.

[0150] Optionally, when the first chip detects that the uplink packet error rate of the talk card is greater than the preset threshold, the first chip can also allocate the transmission resource based on the service priority. Specifically, when the first chip detects that the uplink packet error rate of the talk card is greater than the preset threshold, since the service priority of the talk card is higher than the service priority of the data card, the first chip allocates the transmission resource to the talk card.

[0151] In this example, when the first chip detects that the uplink packet error rate of the talk card is greater than the preset threshold, the first chip ends the operation.

[0152] When the first chip detects that the uplink packet error rate of the talk card is less than the preset threshold, the transmission resource is configured to the data card, i.e., step 905 is performed.

[0153] Step S905: The first chip instructs the radio frequency signal of the data card to be output from the data card transmission end of the RFIC.

[0154] After the first chip determines to configure the transmission resource to the data card, the first chip can instruct the RFIC to output the radio frequency signal of the data card from the data card transmission end (such as Tx0 in FIG. 7). Therefore, the RFIC can perform step 906 according to the instruction.

[0155] Step S906: The RFIC controls the moving terminal of the first XSW to switch to the second terminal corresponding to the data card in the first XSW.

[0156] Specifically, the RFIC controls the moving terminal of the first XSW to switch to the second terminal of the first XSW corresponding to the data card, and the second terminal of the first XSW is connected to Tx0 in FIG. 7, so that the radio frequency signal of the data card can be transmitted to the PA through the first XSW.

[0157] Step S907: The first chip turns on the power supply of the PA.

[0158] Specifically, after the first chip determines to configure the transmission resource to the data card, the first chip turns on the power supply (i.e., ET in FIG. 9) for the PA according to the first control requirement of the data card, so that the PA can work normally.

[0159] Step S908: The first chip operates according to the amplification power matched with the data card.

[0160] Specifically, the first chip determines the amplification power corresponding to the data card according to the first control requirement of the data card, and controls the PA to operate according to the amplification power.

[0161] After the PA operates according to the amplification power matched with the data card, the amplified radio frequency signal is transmitted to the ASM

[0162] Step S909: The first chip controls the ASM to select the frequency band corresponding to the data card.

[0163] Step S910: The first chip controls the second XSW to turn on the second path.

[0164] Specifically, the first chip turns on the second path in the XSW according to the second control requirement of the data card, and the second path in the second XSW is the path corresponding to the data card. In this example, the second path takes the second input terminal and the second output terminal (I1 and O1 in FIG. 7) as an example, and the radio frequency signal is input from the second input terminal of the second XSW and output from the second output terminal of the second XSW.

[0165] In other examples, the second path of the second XSW can be other paths, such as turning on the first input terminal and the second output terminal in the second XSW.

[0166] Step S911: The first chip configures the tuner according to the frequency band of the data card.

[0167] Specifically, the first chip obtains the frequency band of the data card according to the control requirement of the data card. The first chip configures the tuner according to the frequency band of the data card, so that the antenna has the maximum radiation power in the frequency band of the data card.

[0168] It should be noted that when the first chip does not perform any operation (i.e. the first chip ends operation), the RFIC will allocate the transmission resource according to the instruction of the Modem. In the prior art, the Modem allocates the transmission resource for the data card and the calling card according to the service priority, wherein the service priority of the calling card is higher than that of the data card.

[0169] In some embodiments, when the Modem detects that the calling card has no uplink packet to be sent in the current time slot and the data card also has no uplink packet to be sent in the current time slot, the Modem instructs the RFIC not to allocate the transmission resource. When the Modem detects that the calling card has no uplink packet to be sent in the current time slot and the data card has uplink packet to be sent in the current time slot, the Modem instructs the RFIC to allocate the transmission resource to the data card. The RFIC obtains the instruction of the Modem and the first control requirement corresponding to the data card.

[0170] The process of the RFIC allocating the transmission resource to the data card includes the following steps:

[0171] Step S10: The RFIC controls the movable terminal of the first XSW to switch to the second terminal corresponding to the data card in the first XSW.

[0172] The Modem instructs the RFIC to output the radio frequency signal of the data card from the data card transmission terminal of the RFIC (e.g. Tx0 in FIG. 7), so that the RFIC controls the movable terminal of the first XSW to switch to the second terminal corresponding to the data card in the first XSW based on the instruction of the Modem.

[0173] Step S11: The RFIC turns on the power supply to supply power to the PA.

[0174] Step S12: The RFIC operates according to the amplification power corresponding to the data card.

[0175] Specifically, the radio frequency signal of the data card is transmitted to the input terminal of the PA through the first XSW. The RFIC determines the amplification power corresponding to the data card according to the first control requirement of the data card, and operates according to the amplification power. After the PA operates according to the amplification power of the data card, the amplified radio frequency signal is transmitted to the ASM, and the ASM selects the frequency band corresponding to the data card.

[0176] Step S13: The RFIC controls the ASM to select the frequency band corresponding to the data card.

[0177] Specifically, the data card has a corresponding frequency band, and the RFIC controls the ASM to select the frequency band corresponding to the data card according to the first control requirement.

[0178] Step S14: The RFIC controls the second XSW to turn on the second path.

[0179] The RFIC turns on a first path in the second XSW according to the first control requirement of the data card, the first path in the second XSW being a path corresponding to the call card. In this example, the second path takes the second input end and the second output end (I1 and O1 shown in FIG. 7) as an example, the radio frequency signal is input from the second input end of the second XSW and output from the second output end of the second XSW.

[0180] Step S15: The RFIC configures the tuner according to the frequency band in which the call card is located.

[0181] The RFIC configures the tuner according to the frequency band in which the data card is located, so that the antenna has maximum radiation power in the frequency band in which the data card is located.

[0182] In some embodiments, when the Modem detects that the call card has uplink packets to be sent in the current time slot, the Modem instructs the RFIC to allocate the transmission resource to the call card because the service priority of the call card is higher than that of the data card. The RFIC obtains the instruction of the Modem and the second control requirement corresponding to the call card.

[0183] The process of the RFIC allocating the transmission resource to the call card includes the following steps:

[0184] Step S20: The movable end of the first XSW is switched to a first end in the first XSW corresponding to the call card.

[0185] The Modem instructs the RFIC to output (Tx1 in FIG. 7) the radio frequency signal of the call card from the call card transmission end of the RFIC, so that the RFIC controls the movable end of the first XSW to switch to the first end in the first XSW corresponding to the call card based on the instruction of the Modem.

[0186] Step S21: The RFIC turns on the power supply to supply power to the PA.

[0187] Step S22: The RFIC operates according to the amplification power corresponding to the call card.

[0188] Specifically, the radio frequency signal of the call card is transmitted to the input end of the PA through the first XSW. The RFIC determines the amplification power corresponding to the call card according to the second control requirement of the call card, and operates according to the amplification power. After the PA operates according to the amplification power of the call card, the amplified radio frequency signal is transmitted to the ASM, and the ASM selects the frequency band corresponding to the call card.

[0189] Step S23: The RFIC controls the ASM to select the frequency band corresponding to the call card.

[0190] Specifically, the call card has a corresponding frequency band, and the RFIC controls the ASM to select the frequency band corresponding to the call card according to the second control requirement.

[0191] Step S24: The RFIC controls the second XSW to turn on the first path.

[0192] The RFIC controls the first path in the second XSW according to the second control requirement of the call card, and the first path in the second XSW is the path corresponding to the call card. In this example, the first path takes the first input end and the first output end (I0 and O0 shown in FIG. 7) as an example, and the radio frequency signal is input from the first input end of the second XSW and output from the first output end of the second XSW.

[0193] In other examples, the first path can be other paths, such as turning on the first input end and the third output end in the second XSW, etc.

[0194] Step S25: The RFIC configures the tuner according to the frequency band of the call card.

[0195] The RFIC configures the tuner according to the frequency band of the call card, so that the antenna has the maximum radiation power in the frequency band of the call card.

[0196] The effect of uploading images after using the uplink rate adjustment method in the present application will be described in detail below with reference to FIG. 10.

[0197] In this example, the application scenario in FIG. 1 can be referred to first. In this example, the frequency band of the Tx-sharing DSDA mode of the mobile phone is N1+B3, N1 is the frequency band of 5G, and B3 is the frequency band of 4G. The frequency band of the data card is the N1 frequency band, and the frequency band of the call card is the B3 frequency band.

[0198] At the first time, the mobile phone responds to the user's operation of sending images and sends the images selected by the user to the chat software of classmate A in order according to the order of the images selected by the user. In the first preset period (such as 2 seconds), the mobile phone 100 completes the operation of sending the first image 103 to the chat software of classmate A, wherein the uplink rate of the first SIM card of the mobile phone 100 is reduced to x Mbps. As shown in 1b of FIG. 1, the first image 103 successfully sent to the chat software of classmate A is displayed in the chat interface 101 of the mobile phone 100.

[0199] At T3, the mobile phone 100 sends the second image to the chat software of the student A, and the second SIM card in the mobile phone 100 receives the call request of the mobile phone B, as shown in 1c of FIG. 1, the display interface of the mobile phone 100 displays the incoming call interface 104. The incoming call interface 104 includes the answering control 105 and the rejecting control. The mobile phone 100 responds to the answering operation of the user A (as shown in 1c), the mobile phone 100 answers the call, and switches from the incoming call interface 104 to the call interface 106 (as shown in 1d of FIG. 1). At this time, the first SIM card in the mobile phone 100 is executing data service, and the second SIM card is executing call service. It is assumed that in this example, the voice packet is short, the optional modulation order / code rate is small, and the frequency band does not need to be adjusted.

[0200] It is assumed that the CQI reporting period of the call card is 5 ms, and the uplink rate of the data card is 30 Mbps. The data card uploads the image according to the uplink rate. Referring to 10a in FIG. 10, during the T3-T4 period of the mobile phone, the upload progress 1002 of the image shows that 1 / 4 of the image has been transmitted. At T4-T5, the image 1002 has transmitted 1 / 2 of the image. That is, when the uplink speed adjustment method in the present application is not used, it takes 4 T3-T4 time lengths to complete the transmission of the second image. In this example, it is assumed that the T3-T4 time length is equal to the T4-T5 time length.

[0201] In another example, the mobile communication module of the mobile phone is as shown in FIG. 7. At T5, the first SIM card of the mobile phone executes data service (i.e., the first SIM card is a data card), and the second SIM card executes call service (i.e., the second SIM card is a call card). When the mobile phone is in the Tx-sharing DSDA mode, the RFIC calls the corresponding radio path software parameters of the Tx-sharing DSDA mode to transmit the identifier of the first event in the radio path software parameters to the first chip. When the first chip detects the identifier of the first event, it is determined that the current electronic device is in the Tx-sharing DSDA mode, and the first chip opens the enable switch to make the first chip take over the right to configure the transmission resource of the RFIC. The frequency band of the Tx-sharing DSDA mode of the mobile phone is N1+B3, N1 is the frequency band of 5G, and B3 is the frequency band of 4G. The frequency band of the data card is the N1 frequency band, and the frequency band of the call card is the B3 frequency band.

[0202] The microphone of the mobile phone transmits the collected voice data to the baseband chip, and the baseband chip converts the voice data into a baseband signal. The baseband chip transmits the baseband signal to the Modem, and the Modem modulates the baseband signal. The Modem can also perceive the CQI reporting period of the second SIM card reporting CQI and obtain the uplink packet error rate of the second SIM card. The Modem sends the CQI reporting period of the calling card and the uplink packet error rate of the calling card to the first chip.

[0203] The first chip obtains the radio frequency front-end link control requirements of the first SIM card and the radio frequency front-end link control requirements of the second SIM card from the RFIC. The first chip obtains the uplink packet sending information of the first SIM card and the uplink packet sending information of the second SIM card from the Modem. When the first chip determines that the second SIM card has an uplink packet in the current time slot according to the uplink packet sending information of the second SIM card, the first chip judges whether the uplink packet is CQI according to the CQI reporting period of the second SIM card (such as 50ms). When the first chip determines that the uplink packet is a CQI packet, the first chip detects whether the uplink packet error rate of the second SIM card is greater than a preset threshold (such as 8%). When the first chip detects that the uplink packet error rate of the second SIM card is less than the preset threshold, the first chip allocates the transmission resource in the radio frequency front-end to the first SIM card. The specific process of the first chip to configure the transmission resource includes: the first chip instructs the RFIC to control the movable end in the first XSW to switch to the second end corresponding to the data card. The first chip configures the power supply of the PA, the PA, the ASM, the second XSW, and the tuner according to the first control information of the first SIM card.

[0204] The first chip starts the power supply to supply power to the PA. The first chip controls the PA to operate at an amplification power matched with the first SIM card. The first chip controls the ASM to select a frequency band corresponding to the first SIM card. The first chip controls the second path corresponding to the first SIM card in the second XSW to be conductive, and in this example, the second path in the second XSW takes I1 and O1 as an example. The first chip configures the tuner according to the frequency band used by the first SIM card. After the configuration is completed, the RFIC transmits the radio frequency signal to the PA through TX0 and the first end in the first XSW, and the PA amplifies the radio frequency signal according to the power matched with the first SIM card. The PA outputs the amplified radio frequency signal, and the radio frequency signal is input to the filter through the frequency band corresponding to the first SIM card. The filtered radio frequency signal is transmitted to the antenna through the second path corresponding to the first SIM card in the second XSW, and the tuner works in the frequency band corresponding to the first SIM card to make the radiation power of the antenna in the frequency band of the first SIM card maximum.

[0205] In the Tx-sharing DSDA mode, when the first chip detects that the uplink packet to be sent by the second SIM card in the current time slot is CQI and the first SIM card has uplink packet to be sent in the current time slot, the first chip detects the uplink error packet rate of the second SIM card. When the uplink error packet rate of the second SIM card is less than a preset threshold, the first chip allocates the transmission resource to the first SIM card. Since the first chip allocates the transmission resource to the first SIM card, the mobile phone discards the CQI in the call card in the current time slot, reduces the number of missing uplink packet data to be sent by the first SIM card, and reduces the problem that the uplink packet of the first SIM is frequently punctured by the uplink packet of the second SIM card, thereby improving the uplink rate of the first SIM card. In addition, when the uplink error packet rate of the second SIM card is less than the preset threshold, the first chip reduces the number of CQI in the second SIM card, and increases the actual reporting period of the CQI. In this example, the actual reporting period of the CQI is increased from 50 ms to 160 ms, and the uplink rate of the data card is increased from 30 Mbps to 60 Mbps. At the same time, the call card does not have the phenomenon of call drop, indicating that discarding part of the CQI does not affect the uplink data sent by the second SIM card. Referring to 10c and 10d in FIG. 10, 10c and 10d show the time length required by the mobile phone to upload the same image at the same time. In 10c, the mobile phone displays the upload progress 1004 of the uploaded image in the chat interface 1003 in the T5-T6 period, which indicates that 1 / 2 of the image has been transmitted. In the T6-T7 period, the image 1004 has been uploaded completely, wherein it is assumed that the time length of T3-T4, the time length of T4-T5, the time length of T5-T6, and the time length of T6-T7 are all the same. That is, when the uplink rate adjustment method in the present application is used, the transmission speed of the second image is doubled compared with 10a and 10b.

[0206] In the embodiment of the present application, the first chip discards part of the CQI in the second SIM card, which is equivalent to the first chip determining that the service priority of the uplink packet to be sent by the first SIM card is higher than the service priority of part of the CQI to be sent by the second SIM card, so that the first SIM card obtains more transmission time slots and the uplink rate of the data card is improved.

[0207] In another embodiment, the mobile communication module does not have the first chip, and the method for adjusting the uplink rate can be implemented by the modem in the form of a software module. The structure of the mobile communication module can be as shown in FIG. 11. The modem 110-1 is connected with the RFIC 150-1. The RFIC 150-1 is electrically connected with the XSW 150-21, the XSW 150-21 is electrically connected with the PA 150-3, the power supply 150-4 is electrically connected with the PA 150-3; the PA 150-3 is electrically connected with the ASM 150-5, the ASM 150-5 is electrically connected with the filter 150-6, the filter 150-6 is electrically connected with the XSW 150-22, the XSW 150-22 is electrically connected with the antenna, and the antenna is electrically connected with the tuner 150-7.

[0208] FIG. 12 is a flowchart of the method for adjusting the uplink rate executed by the modem, which specifically includes:

[0209] Step 1201: The modem determines whether the electronic device is in the Tx-sharing DSDA mode. When the modem determines that the electronic device is in the Tx-sharing DSDA mode, step 1202 is executed; when the modem determines that the electronic device is not in the Tx-sharing DSDA mode, the method for adjusting the uplink rate is ended.

[0210] The modem can perceive whether the electronic device is currently in the Tx-sharing DSDA mode.

[0211] Step 1202: The modem starts the function of adjusting the uplink rate of the data card.

[0212] The modem starts the function of adjusting the uplink rate of the data card when it is detected that the electronic device is currently in the Tx-sharing DSDA mode. The function of adjusting the uplink rate of the data card is in a default closed state. When the function of adjusting the uplink rate is in the closed state, the modem operates in the existing manner. The modem closes the function of adjusting the uplink rate of the data card when it is detected that the electronic device is not in the Tx-sharing DSDA mode.

[0213] Step 1203: The modem obtains the CQI reporting period of the calling card and the uplink packet error rate of the calling card.

[0214] The modem can perceive the CQI reporting period of the calling card reporting the CQI. The modem can also obtain the uplink packet error rate of the calling card.

[0215] Step 1204: The modem obtains the uplink packet sending information of the data card and the calling card.

[0216] Specifically, the modem can perceive the uplink packet sending information of the data card and the calling card respectively. The uplink packet sending information of the data card is information indicating whether the data card has uplink packet in the current time slot. The uplink packet sending information of the calling card is information indicating whether the calling card has uplink packet in the current time slot.

[0217] It should be noted that when the uplink packet sending information of the data card indicates that the data card has uplink packet in the current time slot and the uplink packet sending information of the calling card indicates that the calling card has uplink packet in the current time slot, the service priority of the calling card is usually higher than that of the data card in the prior art, and the modem allocates the transmission resource to the calling card.

[0218] Step 1205: The modem configures the transmission resource according to the CQI reporting period of the CQI, the uplink packet sending information of the calling card and the data card.

[0219] The process of how the modem allocates the transmission resource can refer to FIG. 13, and specifically includes the following steps.

[0220] Step S1301: The modem determines whether the calling card has uplink packet to be sent in the current time slot. When the modem determines that the calling card does not have uplink packet to be sent in the current time slot, step S1302 is performed; when the modem determines that the calling card has uplink packet to be sent in the current time slot, step S1303 is performed.

[0221] Specifically, since the uplink packet sending information of the calling card is information indicating whether the current time slot has uplink packet to be sent, when the modem obtains the uplink packet sending information of the calling card, the modem can determine whether the calling card has uplink packet to be sent in the current time slot according to the uplink packet sending information of the calling card.

[0222] When the modem determines that the calling card has uplink packet to be sent in the current time slot, step 1303 is performed. When the modem determines that the calling card does not have uplink packet to be sent in the current time slot, step 1302 is performed.

[0223] Step S1302: The modem allocates the transmission resource according to the service priority.

[0224] Specifically, when the Modem detects that the calling card does not have an uplink packet to be sent in the current time slot, the Modem allocates the transmission resource according to the service priority. The service priority of the calling card is higher than the service priority of the data card. When the Modem determines that the calling card does not have an uplink packet to be sent in the current time slot, the Modem detects whether the data card has an uplink packet to be sent in the current time slot. When the Modem detects that the data card does not have an uplink packet to be sent in the current time slot, the Modem does not allocate the transmission resource corresponding to the current time slot. When the Modem determines that the data card has an uplink packet to be sent in the current time slot, the Modem allocates the transmission resource to the data card, that is, step 1306 is performed.

[0225] Step 1303: The Modem determines whether the uplink packet to be sent is CQI. When the Modem determines that the uplink packet is CQI, step S1304 is performed, that is, the Modem determines whether the data card has an uplink packet in the current time slot; when the Modem determines that the uplink packet is not CQI, step S1313 is performed, that is, the Modem allocates the transmission resource according to the service priority of the data card and the service priority of the calling card.

[0226] Specifically, the Modem determines whether there is CQI in the current time slot according to the CQI reporting period of the calling card reporting CQI to the base station, that is, determines whether the uplink packet to be sent in the current time slot is CQI. When the Modem determines that the uplink packet to be sent is CQI, step S1304 is performed, that is, the Modem continues to determine whether the data card has an uplink packet in the current time slot; when the Modem determines that the uplink packet is not CQI, the Modem allocates the transmission resource in the existing manner, that is, the Modem

[0227] According to the service priority of the data card and the service priority of the calling card, the Modem allocates the transmission resource. The specific process of the Modem allocating the transmission resource according to the service priority of the data card and the service priority of the calling card includes: when the calling card has an uplink packet to be sent in the current time slot and the data card has an uplink packet to be sent in the current time slot, the Modem preferentially allocates the transmission resource to the calling card. When only the calling card has an uplink packet to be sent in the current time slot, the Modem allocates the transmission resource to the calling card. When only the data card has an uplink packet to be sent in the current time slot, the Modem allocates the transmission resource to the data card.

[0228] In this example, when the Modem detects that the uplink packet to be sent by the calling card is not CQI, the Modem allocates the transmission resource according to the service priority, that is, the Modem allocates the transmission resource to the calling card.

[0229] Step S1304: The Modem determines whether the data card has uplink packets to be sent in the current time slot. When the Modem determines that the data card has uplink packets to be sent in the current time slot, step S1305 is performed. When the Modem determines that the data card has no uplink packets to be sent in the current time slot, step S1313 is performed, i.e., the Modem allocates the transmission resource according to the service priority of the data card and the service priority of the calling card.

[0230] When the Modem detects that the calling card has uplink packets to be sent in the current time slot and the uplink packets to be sent are CQI, and the data card has no uplink packets to be sent in the current time slot. The Modem allocates the transmission resource according to the service priority, i.e., the Modem allocates the transmission resource to the calling card.

[0231] When the data card has uplink packets to be sent in the current time slot, the Modem can continue to determine whether the current time slot meets the condition for allocating the transmission resource to the data card, i.e., step S1305 is performed.

[0232] Step S1305: The Modem determines whether the uplink packet error rate of the calling card is greater than a preset threshold. When the Modem determines that the uplink packet error rate of the calling card is less than or equal to the preset threshold, step S1306 is performed, i.e., the Modem instructs the RFIC to configure the transmission resource for the data card. When the Modem determines that the uplink packet error rate of the calling card is greater than the preset threshold, step S1313 is performed, i.e., the Modem allocates the transmission resource according to the service priority of the data card and the service priority of the calling card.

[0233] Specifically, the Modem detects whether the uplink packet error rate of the calling card is greater than a preset threshold, and the preset threshold can be set as needed, for example, the preset threshold is 8%. When the Modem detects that the uplink packet error rate of the calling card is greater than the preset threshold, the Modem allocates the transmission resource according to the service priority, i.e., the Modem allocates the transmission resource to the calling card.

[0234] When the Modem detects that the uplink packet error rate of the calling card is less than the preset threshold, the transmission resource is configured to the data card, i.e., step S1306 is performed.

[0235] Step S1306: The Modem instructs the RFIC to allocate the transmission resource corresponding to the current time slot to the data card.

[0236] Specifically, the Modem determines to allocate the transmission resource corresponding to the current time slot to the data card, the Modem generates the first control requirement of the data card, and sends the first control requirement of the data card to the bottom layer (such as LL1) of the data card, and transmits the first control requirement of the data card to the RFIC through the bottom layer, so that the RFIC configures the shared uplink radio frequency front-end link according to the first control requirement of the data card.

[0237] Step S1307: The RFIC controls the movable terminal of the first XSW to switch to the second terminal in the first XSW corresponding to the data card.

[0238] The modem determines to allocate the transmission resource corresponding to the current time slot to the data card, and the modem instructs the RFIC to control the movable terminal of the first XSW to switch to the second terminal in the first XSW, which is the terminal connected with TX0 in FIG. 11, so that the transmission signal of the data card can be transmitted to the PA through the first XSW.

[0239] In the present example, since the modem determines to allocate the transmission resource to the data card, the RFIC needs to output the radio frequency signal of the data card from the data card transmission terminal (i.e., Tx0) of the RFIC, so the RFIC can control the movable terminal of the first XSW to switch to the second terminal in the first XSW corresponding to the data card without the first control requirement.

[0240] Step S1308: The RFIC turns on the power supply to supply power to the PA.

[0241] Step S1309: The RFIC operates at the amplification power matched with the data card.

[0242] The RFIC determines the amplification power matched with the data card according to the first control requirement of the data card, and controls the PA to operate at the amplification power.

[0243] Step S1310: The RFIC controls the ASM to select the frequency band corresponding to the data card.

[0244] Step S1311: The RFIC turns on the second path in the second XSW corresponding to the data card.

[0245] The RFIC turns on the second path in the second XSW according to the first control requirement of the data card, and the second path in the second XSW is the path corresponding to the data card.

[0246] Step S1312: The RFIC configures the tuner according to the frequency band where the data card is located.

[0247] The RFIC obtains the frequency band where the data card is located according to the first control requirement of the data card, and configures the tuner according to the frequency band where the data card is located, so that the radiation power of the antenna on the frequency band where the data card is located is maximum.

[0248] Step S1313: The modem allocates the transmission resource according to the service priority of the data card and the service priority of the talk card.

[0249] Since the service priority of the call card is higher than that of the data card, the Modem allocates the transmission resource to the call card regardless of whether there is an uplink packet to be sent in the current time slot, the Modem generates a second control requirement of the call card, the Modem sends the second control requirement of the call card to the bottom layer (such as LL1) of the call card, and the bottom layer sends the second control requirement of the call card to the RFIC, so that the RFIC configures the transmission resource according to the second control requirement of the call card.

[0250] The process of the RFIC configuring the transmission resource according to the second control requirement of the call card includes:

[0251] Step S1313-1: The RFIC controls the moving terminal of the first XSW to switch to the first terminal corresponding to the call card in the first XSW.

[0252] Step S1313-2: The RFIC turns on the power supply to supply power to the PA.

[0253] Step S1313-3: The RFIC operates according to the amplification power matched with the call card.

[0254] The RFIC determines the amplification power matched with the call card according to the control requirement of the call card, and controls the PA to operate according to the amplification power. After the PA operates according to the amplification power of the call card, the amplified radio frequency signal is transmitted to the ASM.

[0255] Step S1313-3: The RFIC controls the ASM to select the frequency band corresponding to the call card.

[0256] Step S1313-4: The RFIC turns on the first path corresponding to the call card in the second XSW.

[0257] The RFIC turns on the first path in the second XSW according to the second control requirement of the call card, and the first path in the second XSW is the path corresponding to the call card.

[0258] Step S1313-5: The RFIC configures the tuner according to the frequency band where the call card is located.

[0259] The RFIC obtains the frequency band where the call card is located according to the second control requirement of the call card, and configures the tuner according to the frequency band where the call card is located, so that the radiation power of the antenna on the frequency band where the call card is located is maximum.

[0260] The embodiments of the present application do not need to add a chip in the mobile communication module, and thus the hardware in the electronic device is reduced. In addition, when the electronic device is in the Tx-sharing DSDA mode, the Modem detects that the uplink packet to be sent by the calling card in the current time slot is CQI and the data card has an uplink packet to be sent in the current time slot, and detects that the uplink packet error rate of the calling card is less than a preset threshold, the transmission resource is allocated to the data card, the period of CQI is increased, the problem that the uplink packet of the data card is frequently punctured by CQI is reduced, and thus the uplink rate of the data card is greatly improved.

[0261] It can be understood that, in order to implement the photographing method in the embodiments of the present application, the electronic device contains hardware and / or software modules corresponding to each function. The algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered beyond the scope of the present application.

[0262] It can be understood that, in order to implement the photographing method in the embodiments of the present application, the electronic device contains hardware and / or software modules corresponding to each function. The algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered beyond the scope of the present application.

[0263] The embodiments of the present application also provide a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected through a line. For example, the interface circuit can be used to receive signals from other devices (such as the memory of the electronic device). For another example, the interface circuit can be used to send signals to other devices (such as the processor). Illustratively, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can perform each step in the above embodiments. Of course, the chip system can also include other discrete devices, and the embodiments of the present application do not specifically limit this.

[0264] The embodiment further provides a computer storage medium, which stores computer instructions, and when the computer instructions run on an electronic device, the electronic device executes the related method steps to realize the uplink rate adjustment method in the above embodiment. The storage medium includes a U disk, a mobile hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various storage medium capable of storing program codes.

[0265] The embodiment further provides a computer program product, which, when running on a computer, causes the computer to execute the related steps to realize the uplink rate adjustment method in the above embodiment.

[0266] The electronic device, the computer storage medium, the computer program product or the chip provided in the embodiment are used to execute the corresponding uplink rate adjustment method provided above, and thus the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product or the chip can refer to the beneficial effects of the corresponding method provided above, which will not be described here again.

[0267] Any content of each embodiment of the present application, and any content of the same embodiment, can be freely combined. Any combination of the above is within the scope of the present application.

[0268] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality of" is two or more. For example, a plurality of processing units refers to two or more processing units; a plurality of systems refers to two or more systems.

[0269] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above specific embodiments, and the above specific embodiments are only illustrative, but not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope of protection of the claims, which all belong to the protection of the present application.

Claims

1. A method for adjusting the uplink rate, characterized in that, Applied to electronic devices, the method includes: The electronic device is in a dual-SIM dual-pass Tx-sharing DSDA mode, where the dual SIMs include a voice card and a data card; When it is detected that the uplink packet to be transmitted by the call card in the current time slot is a Channel Quality Indicator (CQI) and the data card has an uplink packet to be transmitted in the current time slot, transmission resources are allocated to the data card if the first condition is met. Here, the call card is a SIM card that performs call services and the data card is a SIM card that performs data services.

2. The method according to claim 1, characterized in that, The first condition includes: the uplink packet error rate of the call card is less than a preset threshold.

3. The method according to claim 1, characterized in that, The method further includes: Obtain the CQI reporting cycle of the call card; The uplink packet transmission information of the call card and the uplink packet transmission information of the data card are obtained. The uplink packet transmission information of the call card indicates whether the call card has uplink packets to be transmitted in the current time slot, and the uplink packet transmission information of the data card indicates whether the data card has uplink packets to be transmitted in the current time slot. Based on the CQI reporting cycle of the call card, the uplink packet transmission information of the data card, and the uplink packet transmission information of the call card, it is detected whether there is an uplink packet to be transmitted by the call card in the current time slot that is a CQI packet and whether the data card has an uplink packet to be transmitted in the current time slot.

4. The method according to claim 3, characterized in that, Based on the CQI reporting cycle of the call card, the uplink packet transmission information of the data card, and the uplink packet transmission information of the call card, detect whether there is an uplink packet of CQI to be transmitted by the call card in the current time slot and whether the data card has an uplink packet to be transmitted in the current time slot, including: Based on the uplink packet transmission information of the call card, detect whether the call card has an uplink packet to be sent in the current time slot; When it is detected that the call card has an uplink packet to be sent in the current time slot, it is determined whether the uplink packet to be sent by the call card in the current time slot is a CQI according to the CQI reporting period; When it is detected that the uplink packet to be sent by the call card in the current time slot is CQI, the uplink packet sending information of the data card is used to detect whether the data card has an uplink packet to be sent in the current time slot. When it is detected that the data card has an uplink packet to be sent in the current time slot, it is determined that the call card has an uplink packet to be sent in the current time slot that is CQI and the data card has an uplink packet to be sent in the current time slot.

5. The method according to any one of claims 1 to 4, characterized in that, The electronic device is equipped with a first chip, which is electrically connected to a modem, a radio frequency chip, a power amplifier, a power supply for the power amplifier, an antenna switch module ASM, a second multi-pass switch XSW, and a tuner. The modem is electrically connected to the radio frequency chip. The call card transmitter of the radio frequency chip is electrically connected to the first terminal of the first XSW. The data card transmitter of the radio frequency chip is electrically connected to the second terminal of the first XSW. The stationary terminal of the first XSW is electrically connected to the input terminal of the power amplifier. The output terminal of the power amplifier is electrically connected to the input terminal of the ASM. The output terminal of the ASM is electrically connected to the input terminal of the filter. The output terminal of the filter is electrically connected to the input terminal of the second XSW. The output terminal of the second XSW is electrically connected to the antenna. The antenna is electrically connected to the tuner. The power supply is used to power the power amplifier. The data card transmitter is the interface in the radio frequency chip that outputs the radio frequency signal of the data card, and the call card transmitter is the interface in the radio frequency chip that outputs the radio frequency signal of the call card.

6. The method according to claim 5, characterized in that, Before allocating launch resources to the data card if the first condition is met, the method further includes: The first chip obtains a first control request for the data card from the radio frequency chip. The first control request is information indicating the status of each device in the transmission resource when the transmission resource is allocated to the data card. The step of allocating transmission resources to the data card when the first condition is met includes: The first chip instructs the radio frequency chip to output the radio frequency signal of the data card from the transmitting end of the data card, and the radio frequency chip controls the moving end of the first XSW to switch to the second end of the first XSW corresponding to the data card; The first chip configures the transmission resources for the data card according to the first control requirement.

7. The method according to claim 6, characterized in that, The first chip configures the transmission resources for the data card according to the first control requirement, including: The first chip turns on the power supply, and the power supply provides power to the power amplifier. The first chip controls the power amplifier to operate at an amplification power matching that of the data card; The first chip controls the ASM to select the frequency band corresponding to the data card; The first chip activates the second path in the second XSW corresponding to the data card. The second XSW includes a first path and a second path. The first path corresponds to the call card, and the second path corresponds to the data card. The first chip configures the tuner according to the frequency band where the data card is located.

8. The method according to any one of claims 1 to 4, characterized in that, The modem in the electronic device is electrically connected to the radio frequency (RF) chip in the electronic device; the call card transmitter of the RF chip is electrically connected to the first terminal of the first XSW, the data card transmitter of the RF chip is electrically connected to the second terminal of the first XSW, and the stationary terminal of the first XSW is electrically connected to the input terminal of the power amplifier. The data card transmitter is the interface in the RF chip that outputs the RF signal of the data card, and the call card transmitter is the interface in the RF chip that outputs the RF signal of the call card. The output terminal of the power amplifier is electrically connected to the input terminal of the antenna switch module (ASM), and the power supply of the power amplifier is electrically connected to the power amplifier. The output terminal of the ASM is electrically connected to the input terminal of the filter. The output terminal of the filter is electrically connected to the input terminal of the second XSW. The output terminal of the second XSW is electrically connected to the antenna, and the antenna is electrically connected to the tuner. If the first condition is met, the launch resources will be allocated to the data card, including: The modem determines that, if the first condition is met, it instructs the radio frequency chip to allocate the transmission resources corresponding to the current time slot to the data card, and the radio frequency chip controls the active end of the first XSW to switch to the second end of the first XSW corresponding to the data card; The modem generates a first control requirement corresponding to the data card. The first control requirement is information indicating the status of each device in the transmission resource when the transmission resource is allocated to the data card. The modem transmits the first control request to the radio frequency chip through the underlying layer; The radio frequency chip configures the transmission resources for the data card according to the first control requirement.

9. The method according to claim 8, characterized in that, The radio frequency chip configures the transmission resources for the data card according to the first control requirement, including: The radio frequency chip turns on the power supply, and the power supply provides power to the power amplifier. The radio frequency chip controls the power amplifier to operate at an amplification power matched to the data card; The radio frequency chip controls the ASM to select the frequency band corresponding to the data card; The radio frequency chip activates the second path in the second XSW corresponding to the data card. The second XSW includes a first path and a second path. The first path corresponds to the call card, and the second path corresponds to the data card. The radio frequency chip is configured with the tuner according to the frequency band where the data card is located.

10. A chip system, characterized in that, The device includes one or more interface circuits and one or more processors; the interface circuits are configured to receive signals from the memory of the electronic device and send the signals to the processors, the signals including computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device performs the uplink rate adjustment method as described in any one of claims 1 to 9.

11. The chip system according to claim 10, characterized in that, The chip system includes a first chip, which is used to control radio frequency resources when the electronic device is in the dual-SIM dual-pass Tx-sharing DSDA mode with dual-SIM shared transmission.

12. An electronic device, characterized in that, include: One or more processors, said processors including a modem; Memory; And one or more computer programs, wherein the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, cause the electronic device to perform the uplink rate adjustment method as described in any one of claims 1-9.

13. A computer-readable storage medium comprising a computer program, characterized in that, When the computer program is run on the electronic device, it causes the electronic device to perform the uplink rate adjustment method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Multi-card multi-standby mobile terminal service conflict processing method and device

    CN106792628A

  • Time domain resource management method, electronic equipment and system

    CN118102450A

  • Communication method and terminal for realizing dual-SIM, dual-standby, and dual-active communication

    WO2018171012A1

  • Method of dual subscriber identity module (SIM)-dual active (DSDA) user equipment (UE) flexible transmission resource-sharing mode switching and uplink transmission protection

    WO2023201691A1