Communication method and electronic equipment

By using the repeat counter and transmission timer to control the RF channel resources in electronic devices, the communication success rate of low-priority service SIM cards is improved, and the communication failure problem of low-priority service caused by long-term resource occupation by high-priority services is solved. Improved user experience.

CN118945823APending Publication Date: 2024-11-12HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310522351.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-09
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In dual-card dual-pass mode, SIM cards running high-priority services occupy electronic device resources for a long time, resulting in SIM cards running low-priority services that cannot communicate normally, affecting the user experience.

Method used

By introducing a repeat counter and a transmission timer in the electronic device, the number and time of the time of the high-priority service SIM card occupying the radio frequency transmission channel is controlled, and the scheduling request priority of the low-priority service SIM card is increased, so that it can be used in the first When the three time slots overlap with the fourth time slot, the scheduling request is successfully sent to avoid multiple failures and network connection disconnection.

Benefits of technology

It effectively reduces the waiting time of low-priority service SIM cards, improves its communication success rate, improves user experience, and reduces the impact on high-priority service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945823A_ABST
    Figure CN118945823A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and discloses a communication method and electronic equipment, and the method can comprise the steps that an SIM card 1 needs to send first uplink data in a first time slot, and an SIM card 2 needs to send a scheduling request in a second time slot. The priority of the first uplink data is higher than that of the scheduling request. And at the moment, the SIM card 1 occupies the radio frequency transmitting channel. By controlling the time that the SIM card 1 occupies the radio frequency transmitting channel, improving the priority of the scheduling request and sending the scheduling request within the preset threshold time, the situation that the scheduling request fails to be sent for multiple times, and consequently a random access process is triggered is avoided; and the success rate of sending the scheduling request is improved, and the use experience of the SIM card 2 is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a communication method and electronic device. Background Art

[0002] With the development of communication technology, many electronic devices can support the simultaneous operation of multiple subscriber identity modules (SIMs). Taking an electronic device supporting two SIM cards as an example, it can communicate using a dual SIM and dual availability (DSDA) approach. Considering cost and efficiency, the SIM cards in the electronic device can share the device's resources, employing time-division multiplexing to transmit signals to the base station via the same radio frequency transmission channel at different times. In this mode, the electronic device allocates resources to both SIM cards, prioritizing the SIM card running higher-priority services. If the SIM card running a higher-priority service occupies the device's resources for an extended period, causing the SIM card running a lower-priority service to be unable to communicate for a prolonged time, the lower-priority SIM card will be unable to operate its service properly, thus affecting the user experience. Summary of the Invention

[0003] In view of this, this application provides a communication method and electronic device to improve the communication success rate of low-priority service cards.

[0004] In a first aspect, embodiments of this application provide a communication method applicable to an electronic device. The electronic device includes a radio frequency transmission channel and supports at least two user identities, including a first user identity and a second user identity. The method includes:

[0005] An electronic device connects to a first access network device as a first user, thereby communicating through the first network. The electronic device receives first configuration information through the first network. This first configuration information includes first time slot resources, which comprise multiple time slots distributed periodically. Each time slot can be an uplink time slot, a downlink time slot, or a flexible time slot. The multiple time slots include one or more first time slots, and the first user needs to send first uplink data through the first network in a first time slot.

[0006] The electronic device connects to the second access network device as a second user, thereby communicating through the second network. The electronic device receives second configuration information through the second network. This second configuration information includes second time slot resources, which comprise multiple time slots distributed periodically. Each time slot can be an uplink time slot, a downlink time slot, or a flexible time slot. These multiple time slots include one or more second time slots, and the second user needs to send scheduling requests through the first network in these second time slots.

[0007] The priority of the aforementioned scheduling request is lower than the priority of the aforementioned first uplink data. The first time slot includes at least one third time slot, and the second time slot includes at least one fourth time slot;

[0008] The methods for a second user to send a scheduling request through a second network include:

[0009] The overlap counter is initialized by resetting its value to its initial value. The overlap counter value indicates the number of times the third and fourth time slots overlap.

[0010] The system determines that the scheduling request timer and measurement timer have stopped running, and the scheduling request counter value is less than the second threshold. When the scheduling request timer and measurement timer are running, the electronic device cannot send scheduling requests. When the scheduling request counter value is greater than or equal to the second threshold, the second user identity triggers a random access procedure to reconnect with the second access network device.

[0011] The electronic device detects whether the third and fourth time slots overlap in time. If an overlap is detected, the overlap counter is incremented by 1.

[0012] At this point, the third and fourth time slots overlap. The electronic device can only send either the first uplink data or a scheduling request, not both simultaneously. Since the first uplink data has a higher priority than the scheduling request, the electronic device prioritizes allocating RF transmission channel resources for the first user identity and sends the first uplink data, thus failing to send the scheduling request. The electronic device prepares to continue sending the scheduling request in the next fourth time slot. At this time, the overlap counter is not initialized; its value remains the current value. The overlap counter records the number of times the third and fourth time slots overlap.

[0013] When the third and fourth time slots overlap, if the overlap counter value is greater than or equal to the first threshold, the priority of the scheduling request is increased, making the priority of the scheduling request higher than that of the first uplink data. This allows the electronic device to prioritize allocating radio frequency transmission channel resources for the second user identity and send the scheduling request through the second network.

[0014] By controlling the number of time slots occupied by the first user identity in the radio frequency transmission channel using an overlap counter, the duration of the first user identity's occupation of the radio frequency transmission channel is controlled. This avoids the first user identity occupying radio frequency transmission channel resources for an extended period, reduces the waiting time for the second user identity to send scheduling requests, and allows scheduling requests to be sent through the second network even when the third and fourth time slots overlap. Furthermore, it avoids multiple failed scheduling request transmissions that could trigger a random access process, thus mitigating the risk of network connection drops during random access and reducing the impact on the first user identity's operational services. Finally, it increases the probability of the second user identity successfully sending scheduling requests, improving the user experience.

[0015] This application also provides a communication method applied to the above-mentioned electronic device, wherein a method for a second user identity to send a scheduling request through a second network includes:

[0016] The transmission timer is initialized, resetting its value to its initial value. The transmission timer indicates the time elapsed since a scheduling request failed to be sent.

[0017] Start the transmission timer; the transmission timer begins counting.

[0018] The system determines that the scheduling request timer and measurement timer have stopped running, and the scheduling request counter value is less than the second threshold. When the scheduling request timer and measurement timer are running, the electronic device cannot send scheduling requests. When the scheduling request counter value is greater than or equal to the second threshold, the second user identity triggers a random access procedure to reconnect with the second access network device.

[0019] The electronic equipment checks whether the third and fourth time slots overlap. When the third and fourth time slots overlap, it confirms the time recorded by the transmission timer.

[0020] At this time, the third and fourth time slots overlap, and the electronic device can only send either the first uplink data or a scheduling request, not both simultaneously. Since the priority of the first uplink data is higher than that of the scheduling request, the electronic device prioritizes allocating RF transmission channel resources for the first user identity and sends the first uplink data, thus failing to send the scheduling request. The electronic device prepares to continue sending the scheduling request in the next fourth time slot. At this time, the transmission timer is not initialized and continues counting without interruption.

[0021] When the third and fourth time slots overlap, if the transmission timer reaches the third threshold, the priority of the scheduling request is increased, making the priority of the scheduling request higher than that of the first uplink data. This allows the electronic device to prioritize allocating radio frequency transmission channel resources for the second user identity and send the scheduling request through the second network.

[0022] The time a first user identity occupies the RF transmission channel is recorded by a transmission timer, and the time is controlled by setting a third threshold. This avoids the first user identity occupying the RF transmission channel resources for an extended period, reduces the waiting time for the second user identity to send scheduling requests, and allows scheduling requests to be sent through the second network even when the third and fourth time slots overlap. Furthermore, it avoids multiple failed scheduling request attempts that could trigger a random access process, thus mitigating the risk of network connection drops during random access and reducing the impact on the first user identity's operational services. Finally, it increases the probability of the second user identity successfully sending scheduling requests, improving the user experience.

[0023] Secondly, this application provides a system-on-a-chip (SoC) application electronic device, including: an application processor and a baseband processor, a scheduling request timer, a measurement timer, a scheduling request counter, and also including an overlap counter or a transmission timer, enabling the SoC to support the simultaneous operation of at least two user identities, the at least two user identities including a first user identity and a second user identity, and to execute the method of any one of the first aspects.

[0024] Thirdly, this application provides an electronic device including one or more processors and a computer storage medium; wherein the computer storage medium stores computer instructions, and when the one or more processors execute the computer instructions, the electronic device enables the electronic device to support the simultaneous operation of at least two user identities, the at least two user identities including a first user identity and a second user identity, and to perform the method of any one of the first aspects.

[0025] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method of any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of a communication system provided in an embodiment of this application;

[0027] Figure 2 A schematic diagram of an electronic device structure provided in an embodiment of this application;

[0028] Figure 3 This is a schematic diagram illustrating a specific implementation of a communication process between an electronic device and a base station, provided in an embodiment of this application.

[0029] Figure 4 This is a schematic flowchart illustrating a communication method provided in an embodiment of this application.

[0030] Figure 5 This application provides a schematic diagram of time slot resources configured for a base station.

[0031] Figure 6 A schematic diagram illustrating a specific process of a resource allocation decision-making method provided in an embodiment of this application;

[0032] Figures 7A-7D A schematic diagram of an electronic device desktop provided in an embodiment of this application;

[0033] Figure 8 This is a schematic flowchart illustrating a communication method provided in an embodiment of this application.

[0034] Figure 9 This is a schematic flowchart illustrating a communication method provided in an embodiment of this application.

[0035] Figure 10 This is a schematic diagram of the structure of a system chip provided in an embodiment of this application. DETAILED DESCRIPTION

[0036] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to including one or more of the listed prominent features, any or all possible combinations. In the embodiments of this application, the terms “first” and “second” are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as “first” or “second” may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, “a plurality” means two or more.

[0037] First, a communication system 100 provided in the embodiments of this application will be introduced.

[0038] Please refer to Figure 1 , Figure 1 An exemplary schematic diagram of the architecture of a communication system 100 provided in an embodiment of this application is shown.

[0039] like Figure 1 As shown, the communication system 100 may include one or more access network devices and one or more electronic devices connected to the access network devices. Figure 1 An example is shown with two access network devices (e.g., base station 10 and base station 20) and one electronic device (e.g., UE 30). It is understood that... Figure 1This is merely an illustrative diagram and does not limit the applicable scenarios of the technical solutions provided in this application.

[0040] Access network equipment can be a transmission reception point (TRP), base station, relay station, node, or access point, etc. Access network equipment can be access network equipment in a 5G communication system or in a future evolved network. Access network equipment can be a base transceiver station (BTS) in a Global System for Mobile Communication (GSM) or Code Division Multiple Access (CDMA) network, a base station (NodeB, NB) in Wideband Code Division Multiple Access (WCDMA), an evolutionary NodeB (eNB) in Long Term Evolution (LTE), or a base station (gNodeB, gNB) in New Radio (NR). Access network equipment can also be a radio controller in a cloud radio access network (CRAN) scenario. The embodiments of this application will subsequently use base stations (e.g., base station 10, base station 20) as examples to illustrate the technical solutions provided in this application.

[0041] Electronic devices can be user equipment (UE), access terminals, UE units, UE stations, mobile stations, mobile stations, remote stations, remote terminals, mobile devices, UE terminals, wireless communication devices, UE agents, or UE devices, etc. Access terminals can be cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, in-vehicle devices, wearable devices, terminals in 5G networks, or terminals in future evolved public land mobile networks (PLMNs), etc. The embodiments of this application will subsequently use user equipment (UE) (e.g., UE30) as an example to describe the technical solutions provided in this application.

[0042] In the embodiments of this application, Figure 1 The base station shown can be a base station in an LTE / NR communication system. The base station may include low-frequency carriers, such as those in the B28 / n28 band; it may also include high-frequency carriers, such as those in the n41 band. UE30 can use either the B28 / n28 or n41 band carriers for uplink transmission with the base station (i.e., UE30 transmits signals to the base station). Simultaneously, UE30 can also use either the B28 / n28 or n41 band carriers for downlink transmission with the base station (i.e., the base station transmits signals to UE30). The link used for uplink transmission between UE30 and the base station can be called the uplink (UL), and the link used for downlink transmission can be called the downlink (DL).

[0043] In the embodiments of this application, Figure 1 The UE30 shown can be equipped with two SIM card slots, which can accommodate two SIM cards, for example, SIM card 1 and SIM card 2. In some embodiments, the UE30 can support eSIM cards.

[0044] SIM card 1 and SIM card 2 can connect to different access network devices. For example, SIM card 1 can connect to base station 10 and SIM card 2 can connect to base station 20.

[0045] In one possible scenario, UE30 using SIM card 1 and SIM card 2 can communicate using a dual-SIM dual-pass (DSDA) method. In this communication mode, both SIM cards can perform communication services simultaneously. When UE30 is configured with only one radio frequency transmission channel (also known as the uplink channel), the two SIM cards can use time-division multiplexing to transmit signals to the base station using the same radio frequency transmission channel at different times. This mode is called time-division duplex mode. The above-mentioned mode of sharing a single radio frequency transmission channel through time-division multiplexing technology is also called radio frequency sharing mode.

[0046] See also Figure 2 , Figure 2 A schematic diagram of the structure of an exemplary UE30 provided in an embodiment of this application is shown.

[0047] The UE30 may 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 headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0048] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on UE30. In other embodiments of this application, UE30 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0049] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, uplink scheduling request timer (SR request timer), uplink scheduling request counter (SR request counter), measurement timer, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. The different processing units may be independent devices or integrated into one or more processors.

[0050] The controller can serve as the nerve center and command center of the UE30. It can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

[0051] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0052] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a limitation on the structure of the UE30. In other embodiments of this application, the UE30 may also adopt different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.

[0053] The wireless communication function of UE30 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0054] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in UE30 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0055] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on the UE30. The mobile communication module 150 may include a radio frequency (RF) channel 205, which includes at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The RF channel 205 includes only one transmit path (TX) and at least one receive path (RX). The mobile communication module 150 can receive electromagnetic waves through antenna 1 and transmit them to a modem processor for demodulation via the RX path of the RF channel 205. The signal modulated by the modem processor can also be coupled to antenna 1 via the TX path of the RF channel 205, where antenna 1 converts the signal into electromagnetic waves for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of processor 110 may be housed in the same device.

[0056] The modem processor 201 may include a modulator and a demodulator. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

[0057] The wireless communication module 160 can provide solutions for wireless communication applications on the UE30, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0058] In some embodiments, antenna 1 of UE30 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling UE30 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0059] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the UE 30. The UE 30 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. In this embodiment, the UE 30 can support at least two SIM card interfaces, such as SIM card 1 and SIM card 2. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external storage cards. The UE 30 interacts with the network through the SIM card to realize functions such as voice calls and data communication. In some embodiments, the UE 30 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the UE 30.

[0060] For example, taking SIM card 1 as an example, the electronic device obtains the identification code of SIM card 1, selects a network using the user identity corresponding to SIM card 1 (e.g., the first user identity), and registers with the selected network (or simply, SIM card 1 registers with the network). After successful registration, SIM card 1 can initiate a random access procedure (RACH) and access the cell of the access network device (e.g., base station 10) in the selected network, entering a connected state. It then communicates through the first network, sending uplink data packets to base station 10 and receiving downlink data packets from base station 10. Taking SIM card 2 as an example, the electronic device obtains the identification code of SIM card 2, selects a network using the user identity corresponding to SIM card 2 (e.g., the second user identity), and registers with the selected network. After successful registration, SIM card 2 can initiate a random access procedure and access the cell of the access network device (e.g., base station 20) in the selected network, entering a connected state. It then communicates through the second network, sending uplink data packets to base station 20 and receiving downlink data packets from base station 20.

[0061] Figure 3 The communication process between the second user identity in UE30 and base station 20 is shown.

[0062] In S301 and UE30, the second user identity connects to base station 20 through a random access procedure. The base station sends configuration information to the SIM card in the cell, which includes time slot resources.

[0063] S302, the second user identity sends a radio resource control (RRC) connection establishment request to base station 20.

[0064] S303. After receiving the RRC connection establishment request, base station 20 sends an RRC connection establishment message to the second user identity. The RRC connection establishment message includes resource information configured for the second user identity. The resource information includes uplink control channel (PUCCH) resource information, time domain resources used for uplink and downlink transmission, maximum number of failed scheduling requests (SR) information, minimum time interval information for sending two SR requests, etc.

[0065] The PUCCH channel can be used to send SR requests.

[0066] Among them, time-domain resources are used for uplink transmission by UE30. The time-domain resources are distributed according to a first time-domain resource period, which can optionally be 10ms, 40ms, etc. Taking a first time-domain resource period of 10ms as an example, that is, every 10ms, the SIM card can send an SR request through the PUCCH channel;

[0067] Based on time slot resources and time domain resources, the second user identity can send an SR request to base station 20 through the PUCCH channel.

[0068] S304 and UE30 perform corresponding configurations based on the configuration and resource information, and send an RRC connection establishment completion message to the base station. The second user identity in UE30 establishes a radio resource control (RRC) connection with the base station 20.

[0069] S305. When the medium access control (MAC) layer buffer (hereinafter referred to as the MAC layer buffer) corresponding to the second user identity in UE30 receives specified uplink data and needs to send the specified uplink data to base station 20, UE30 executes S306. The specified uplink data may be voice data, video data, game data, etc.

[0070] S306 and UE30 determine whether an SR request can be sent based on the first indication information.

[0071] If it is determined that an SR request can be sent based on the first indication information, then proceed to step S307. If it is determined that an SR request cannot be sent based on the first indication information, then return to step S306 until it is determined that an SR request can be sent based on the first indication information.

[0072] The first indication information includes information on whether the scheduling request timer (hereinafter referred to as the "SR request timer") and the measurement timer are running, as well as the value of the scheduling request counter (hereinafter referred to as the "SR request counter").

[0073] To avoid excessive PUCCH channel load caused by frequent SR requests from UE30, UE30 uses an SR request timer to indicate the minimum time interval between two consecutive SR requests. After the SIM card sends an SR request to the base station, the SR request timer starts. During the timer's runtime, the SIM card cannot send SR requests to the base station until the timer closes. Optionally, the SR request timer's runtime can be 2ms, 5ms, 10ms, 20ms, 50ms, etc. After the specified time expires, the SR request timer closes, and the SIM card can continue sending SR requests to the base station after the timer closes.

[0074] The SR request counter indicates the number of times the SIM card has failed to send an SR request. When the MAC layer buffer corresponding to the SIM card receives specified uplink data that needs to be sent to the base station, the UE30 can reset the SR request counter to its initial value, optionally 0. Each time the SIM card sends an SR request, the SR request counter increments by 1 step. If the SIM card does not receive the UL grant information from the base station within a preset time, the transmission fails. The reason for failure could be insufficient UE30 RF channel resources, excessive transmission path loss, or inability to complete the data transmission. After a failed SR request, the SIM card will send another SR request to the base station 20 until it receives the UL grant information from the base station within the preset time, indicating successful transmission. Alternatively, if the SR request counter value is greater than or equal to threshold one, the UE30 triggers a random access procedure. Threshold one indicates the maximum number of failed SR request attempts made by the SIM card to the base station in the UE30; optionally, threshold one can be 32. Threshold one is configured by the base station and sent to the UE30 via the RCC connection establishment message. The UE30 performs corresponding configuration based on the RCC connection establishment message.

[0075] After successful transmission, when the SIM card sends the specified uplink data to the base station for the next time, the UE30 initializes the SR request counter and resets the SR request counter to its initial value.

[0076] The SR request timer and SR request counter are associated with the SIM card running low-priority services. When the first user identity in UE30 is running a high-priority service and the second user identity is running a low-priority service, the SR request timer indicates the minimum time interval between two consecutive SR requests from the second user identity, and the SR request counter records the number of times the second user identity fails to send an SR request while sending the same specified uplink data. When the SR request counter value reaches threshold one, the second user identity disconnects from base station 20, triggering a random access procedure. When the second user identity in UE30 is running a high-priority service and the first user identity is running a low-priority service, the SR request timer indicates the minimum time interval between two consecutive SR requests from the first user identity, and the SR request counter records the number of times the first user identity sends an SR request. When the SR request counter value reaches threshold one, the first user identity disconnects from base station 10, triggering a random access procedure.

[0077] The measurement timer is used to indicate the measurement gap time for UE30. The measurement gap time represents the duration of inter-frequency measurement performed by UE30. During the measurement gap period, UE30 stops transmitting and receiving data and performs cell signal measurement. When the measurement timer starts, UE30 cannot transmit uplink data during the measurement timer's runtime and therefore cannot send SR requests to the base station. UE30 resumes transmitting and receiving data only after the measurement timer is turned off.

[0078] S307 and UE30 send control information containing SR requests to base station 20 through the PUCCH channel in a designated time slot.

[0079] Base station 20 configures time domain resources for the second user identity in a specified time slot, and UE30 allocates radio frequency channel resources for the second user identity, so that UE30 can send SR requests to base station 20 in the specified time slot using the second user identity (hereinafter referred to as the second user identity).

[0080] S308 After receiving the SR request sent by UE30, base station 20 sends UL grant information to UE30. The UL grant information can be used to instruct base station 20 to allocate uplink physical shared channel (PUSCH) resources for the second user identity in UE30, and the specified time slot for UE30 to send specified uplink data through the second user identity.

[0081] If UE30 receives the UL grant information from base station 20 within the preset time, the SR request is successfully sent, and step S310 is executed. If the UL grant information from base station 20 is not received within the preset time, the SR request fails, and the process returns to step S306 to send the SR request again.

[0082] The reasons for not receiving the UL grant information sent by base station 20 may include: base station 20 not receiving the SR request sent by UE 30, thus being unable to send the UL grant information; or, base station 20 successfully sending the UL grant information, but UE 30 not receiving it.

[0083] After receiving the UL grant information, the S310 and SIM card can send specified uplink data and a buffer status report (BSR) in the specified time slot. The BSR is used to indicate to the base station 20 how much specified uplink data exists in the MAC buffer that needs to be sent.

[0084] S311. In one possible scenario, the second user identity disconnects from base station 20, triggering a random access procedure.

[0085] S312 and UE30 reconnect to base station 20 as second users.

[0086] In one possible scenario, UE30 includes a first user identity and a second user identity. The first user identity establishes a radio resource control (RRC) connection with base station 10. When the first user identity receives downlink data or sends uplink data from base station 10, if the second user identity needs to trigger a random access procedure, since the electronic device only has one radio frequency receiving path, the electronic device needs to interrupt the relevant services running by the first user identity to use that radio frequency receiving path to receive data sent by base station 20 and perform the random access procedure. During the random access procedure initiated by the second user identity, the electronic device's radio frequency receiving path needs to communicate with the base station in the network to which the second user identity belongs, resulting in a relatively long interruption of services related to the first user identity.

[0087] In specific implementation, when the MAC layer buffer corresponding to the second user identity in UE30 receives specified uplink data that needs to be transmitted to the base station, the specified time slot that can be used to upload the SR request is determined based on the time slot resources and time domain resources configured by the base station 20 for the second user identity. An initialization operation is performed before executing step S306, i.e., step S401 is executed. The specific process of step S306 is as follows... Figure 4 shown.

[0088] S401 and UE30 initialize the SR request counter value M, resetting it to its initial value, which can optionally be 0. As mentioned earlier, in a possible scenario, if SIM card 2 failed to send an SR request before sending this SR request, it is considered that there is an ongoing SR. In this case, the SR request counter does not perform the initialization operation and maintains the current value M of the SR request counter.

[0089] S402. If the measurement timer is running, do not perform the following steps until the measurement timer is turned off, then perform step S403.

[0090] If the measurement timer is running, UE30 is in the measurement gap period and performs inter-frequency measurements. During the measurement gap period, UE30 stops sending and receiving data and performs cell signal measurements. Therefore, UE30 cannot send any uplink data, including SR requests, until the measurement timer is turned off and step S403 is executed.

[0091] If the SR request timer is running, do not execute the following steps until the SR request timer is turned off, then execute step S404.

[0092] The SR request timer is used to indicate the minimum time interval between two consecutive SR requests sent by an electronic device. When UE30 sends an SR request, if the SR request timer is running, it means that the time interval since the last SR request is short, and UE30 cannot send the SR request until the SR request timer is turned off, and the measurement timer is also turned off. Optionally, the SR request timer can run for 2ms, 5ms, 10ms, 20ms, 50ms, etc. After the above-mentioned time intervals have elapsed after the SR request timer starts, the SR request timer is turned off, and step S404 is executed.

[0093] S404. If the value M of the SR request counter is less than the threshold one, proceed to step S406. If the value M of the SR request counter is greater than or equal to the threshold one, proceed to step S405.

[0094] The SR request counter value is M.

[0095] After receiving the specified uplink data, the MAC layer buffer corresponding to the second user identity needs to send uplink data to the base station. The second user identity sends an SR request to the base station 20. If the MAC layer buffer corresponding to the second user identity has received the specified uplink data but has not yet sent an SR request to the base station 20, the SR request counter is initialized. The SR request counter value M is the initial value, which can optionally be 0, so M = 0. In another possible scenario, if the second user identity has not received the UL grant information sent by the base station 20 within a preset time before sending this SR request, then the transmission fails before sending this SR request. The second user identity will then send the SR request again. If the second user identity fails to send SR requests N times, the SR request counter records the number of times the second user identity fails to send SR requests, so M = N.

[0096] The threshold 1 indicates the maximum number of times the UE30 fails to send an SR request to the base station during the transmission of the same specified uplink data. Optionally, the threshold 1 can be 32. The threshold 1 is configured by the base station and sent to the UE30 via an RCC connection establishment message. The UE30 performs corresponding configuration based on the RCC connection establishment message. The order of steps S402 to S404 can be interchanged, and this application does not impose any restrictions on this.

[0097] In S405 and UE30, the second user identity disconnects from base station 20, triggering a random access procedure.

[0098] When the SR request counter value M equals threshold one, UE30 sends at least one threshold number of SR requests to base station 20, but does not receive the UL grant information sent by base station 20, the transmission fails, the connection with base station 20 is disconnected, and a random access procedure is triggered, allowing the second user identity to reconnect with base station 20. In step S406, the SR request counter value M increments by 1. Step 307 is then executed. Steps S406 and S307 can be interchanged or performed simultaneously; this application does not impose any restrictions on this. The SR request counter is used to indicate the number of times UE30 has failed to send SR requests. As mentioned earlier, in one possible scenario, during this SR request transmission process, the SR request counter value M = 0, then M = 0 + 1; in another possible scenario, the SR request counter value M = N, then M = N + 1.

[0099] After executing S307, that is, after UE30 sends an SR request, UE30 starts an SR request timer. The SR request timer is used to indicate the minimum time interval between two consecutive SR requests sent by the second user identity. At this time, after UE30 sends an SR request, it needs to start a timer to control the time when the second user identity sends the next SR request, until the SR request timer is closed, and the SIM card can send an SR request again.

[0100] In UE30, the base station connected to the SIM card configures time slot resources for uplink transmission for the SIM card. These time slot resources may include one or more of uplink time slots, downlink time slots, or flexible time slots.

[0101] For example, Figure 5 The illustration shows time slot resources configured by base station 10 for a first user identity, including a first time slot, which can be an uplink time slot or a flexible time slot; and time slot resources configured by base station 20 for a second user identity, including a second time slot, which can be an uplink time slot or a flexible time slot. In this time slot resource example, the time slot period can be 5ms, and the arrangement of time slots of each type for the first user identity in each period can be "DDDSUDDSUU", where D represents downlink time slot, U represents uplink time slot, and S represents flexible time slot. All OFDM (Orthogonal Frequency Division Multiplexing) symbols in the downlink time slot are used for downlink. All OFDM symbols in the uplink time slot are used for uplink. OFDM symbols in the flexible time slot can be used for either uplink or downlink. The arrangement of time slots of each type for the second user identity in each period can be "DDDDDDDDSU".

[0102] Based on the time slot and time domain resources configured by the base station for the second user identity, the second user identity can send an SR request to the base station in a specified time slot. For example... Figure 5 As shown, taking a first time domain resource period of 10ms and a time slot period of 5ms as an example, the base station configures PUCCH channel resources for the second user identity every 10ms. At this time, there is a second time slot available for transmitting uplink data, such as an uplink time slot or a flexible time slot. The second user identity can then use the PUCCH channel to send SR requests in the second time slot. The second time slots are periodically distributed, and the distribution period of the second time slots is the same as the first time domain resource period. In one possible scenario, if the second user identity fails to send an SR request in the second time slot, it needs to send the SR request again in the next second time slot. The interval between the next second time slot and the previous second time slot is the first time domain resource period.

[0103] like Figure 5 As shown, when the first user identity needs to send uplink data to base station 10 in the first time slot, the second user identity needs to send uplink data to base station 20 in the second time slot.

[0104] In one possible scenario, as shown in Example 1, the first time slot coincides with the second time slot. The first and second time slots may coincide completely, or in another possible scenario, they may coincide partially. Optionally, partial coincidence may involve an overlap of at least 1 microsecond.

[0105] In another possible scenario, as shown in Example 2, the first time slot and the second time slot do not overlap, meaning they do not overlap at all. As shown in Figure 5, in Example 2, the time period of the first time slot overlaps with the uplink time slot allocated by base station 10 for the first user identity. At this time, the first user identity does not send uplink data to the base station in that time slot. Therefore, the first time slot and the second time slot do not overlap.

[0106] The following embodiment uses the example of the base station configuring the time domain resources of the second time slot for the second user identity, and the second time slot being used to send uplink data, to introduce the process of the second user identity sending SR requests in the second time slot.

[0107] For example, when the first user identity needs to send uplink data to base station 10 in the first time slot, and the second user identity needs to send uplink data to base station 20 in the second time slot:

[0108] In scenario one, the first time slot is an uplink time slot and the second time slot is a flexible time slot. During the time slots of the first and second time slots, both the first user identity and the second user identity need to transmit data to the base station using the UE30 radio frequency transmission channel.

[0109] In scenario two, the first time slot is an uplink time slot and the second time slot is an uplink time slot. During the time slots of the first and second time slots, both the first user identity and the second user identity need to transmit data to the base station using the UE30 radio frequency transmission channel.

[0110] In scenario three, the first time slot is a flexible time slot and the second time slot is an uplink time slot. During the time slots of the first and second time slots, both the first user identity and the second user identity need to transmit data to the base station using the UE30 radio frequency transmission channel.

[0111] In one possible implementation, the first time slot configured by the base station for the first user identity and the second time slot configured for the second user identity overlap in time period, such as... Figure 5 As shown in Example 1.

[0112] The first and second time slots can be completely overlapped. In another possible case, the first and second time slots can also be partially overlapped. Optionally, partial overlap can be an overlap of at least 1 microsecond.

[0113] In the above three scenarios, since UE30 is only configured with one radio frequency transmission channel and is in radio frequency sharing mode, UE30 needs to decide on the strategy for configuring radio frequency transmission channel resources, that is, to prioritize configuring radio frequency transmission channel resources for the first user identity or the second user identity.

[0114] In the aforementioned radio frequency sharing mode, before each time slot used for uplink data transmission by the first user identity and the second user identity arrives, the UE30 detects whether that time slot overlaps with other time slots used for uplink data transmission. If the first user identity in the UE30 needs to transmit uplink data in the first time slot, the UE30 detects the first time slot before its arrival to determine if it overlaps with other time slots used for uplink data transmission. If the second user identity in the UE30 needs to transmit uplink data in the second time slot, the UE30 detects the first time slot before the start of the second time slot to determine if it overlaps with other time slots used for uplink data transmission.

[0115] In one possible scenario, as described in scenario one or scenario two above, when the first user identity in UE30 needs to send uplink data in the first time slot and the second user identity needs to send uplink data in the second time slot, UE30 confirms that the first time slot and the second time slot overlap before the arrival of the first time slot or the second time slot.

[0116] UE30 can allocate radio frequency transmission resources to each SIM card based on the priority of the services it runs, giving priority to SIM cards running high-priority services. Figure 6 This demonstrates a specific implementation of a resource allocation decision-making scheme based on business priorities.

[0117] S61, Business Priority Configuration.

[0118] UE30 allows for pre-setting the priorities of various services. For example, services with high real-time requirements (such as voice calls) can be set as high-priority services, while services with lower real-time requirements (such as video browsing and web browsing) can be set as low-priority services. Alternatively, it can determine the real-time requirements of each service in real time without pre-setting, and this application does not impose any restrictions on this.

[0119] In S62 and UE30, the first user identity will send the first uplink data in the first time slot. Optionally, the first uplink data can be voice call service data, video call service data, video browsing service data, or web browsing service data, signaling, etc.

[0120] In S63 and UE30, the second user identity will transmit the second uplink data in the second time slot. Optionally, the second uplink data can be voice call service data, video call service data, video browsing service data, or web browsing service data, signaling, etc. Among them, voice call service data includes cellular voice call service data or third-party application voice call service data, which is not limited in this application.

[0121] S64. The first time slot and the second time slot overlap in time period.

[0122] Before the arrival of the first or second time slot, UE31 confirms that there is a time overlap between the first and second time slots. For example, the time overlap between the first and second time slots may be complete, or the time overlap may be partial. Optionally, partial overlap may be as little as 1 microsecond.

[0123] S65 and UE30 determine service priority based on the first uplink data and the second uplink data.

[0124] In one possible scenario, if the first uplink data is voice call data and the second uplink data is an SR request, then the first uplink data has a higher priority than the second uplink data, and is therefore determined to be the high-priority data. In another possible scenario, if the first uplink data is web browsing data and the second uplink data is voice call data, then the second uplink data has a higher priority than the first uplink data, and is therefore determined to be the high-priority data.

[0125] S66 and UE30 send high-priority uplink data.

[0126] When the first uplink data is determined to be high-priority service data, UE30 prioritizes allocating resources to the first user identity. The first user identity occupies the radio frequency transmission channel to send high-priority service data to the base station 10, and the second user identity cannot use the radio frequency transmission channel to send SR requests.

[0127] When the second uplink data is determined to be high-priority service data, UE30 prioritizes allocating resources to the second user identity. The second user identity occupies the radio frequency transmission channel to send high-priority service data to the base station 20, while the first user identity cannot use the radio frequency transmission channel to send data.

[0128] In this embodiment of the application, taking the first user identity as running a high-priority service and the second user identity as running a low-priority service as an example, the first uplink data has a higher priority than the second uplink data.

[0129] For example, Figures 7A-7D A schematic diagram of a UE30 desktop is shown. For example... Figure 7AAs shown, the desktop displayed by UE30 includes a status bar 711, which may include one or more signal strength indicators for two mobile communication signals (also known as cellular signals), such as signal strength indicator 711A and signal strength indicator 711B. Signal strength indicator 711A indicates the signal strength of the first user identity, and signal strength indicator 711B indicates the signal strength of the second user identity.

[0130] like Figure 7A As shown, a network data traffic identifier 711C is present next to the signal strength indicator 711B. The network data traffic identifier 711C indicates that UE30 is using the second user identity network data traffic.

[0131] When the first user identity has a voice call service request, the UE30 desktop will behave as follows: Figure 7B As shown, the desktop displays a notification interface for a voice call service request. The interface may include information such as the caller's phone number, the answer button, and the hang-up button. At this time, the second user identity can run other data services, and the network data traffic indicator 711C will be displayed next to the signal strength indicator 711B.

[0132] UE30 detects the user clicking the answer button and, in response, initiates a voice call. Figure 7C As shown, when the first user identity is engaged in a voice call, it sends voice call data to base station 10 in the first time slot, and the signal strength indicator 711A changes to a call indication indicator 711D. The second user identity can carry data transmission related to web browsing. UE30 then runs other applications and displays their application interfaces, and the network data traffic indicator 711C is still displayed next to the signal strength indicator 711B. If the second user identity needs to send an SR request to base station 20 in the first time slot to send specified uplink data, but multiple first time slots overlap with the second time slot, the second user identity cannot send the SR request and therefore cannot send the specified uplink data. In this case, the webpage content displayed by UE30 will show a refreshed state.

[0133] In another possible interface, neither signal strength indicator 711A nor signal strength indicator 711B is displayed on the interface; instead, call time indicator 711E is displayed. Figure 7D shown.

[0134] For example, in UE30, the first user identity has data that needs to be transmitted to base station 10 in the first time slot, and the second user identity has data that needs to be transmitted to base station 20 in the second time slot. The time periods of the first time slot and the second time slot overlap. The overlap of the time periods can be completely overlapped or partially overlapped. Optionally, the partial overlap can be an overlap of 1 microsecond.

[0135] Since UE30 is configured with only one radio frequency (RF) transmission channel, RF channel resources are allocated based on the priority of the services running on the SIM card. UE30 prioritizes allocating RF transmission channel resources to the first user identity running high-priority services. That is, if the first user identity occupies the uplink channel during this time, the second user identity running low-priority services cannot use the uplink channel and therefore cannot send uplink data, including SR requests.

[0136] Taking the inability to send an SR request as an example, when the second user identity sends an SR request to base station 20, steps S401 to S406 can be executed. However, because the first user identity, running a high-priority service, occupies the radio frequency transmission channel, the second user identity cannot execute step S307 to send an SR request to base station 20. At this time, the SR request counter is still incrementing step by step of 1. When the SR request counter reaches threshold two, the second user identity triggers a random access procedure. Since UE30 only has one radio frequency transmission channel, UE30 needs to interrupt the services related to the first user identity in order to use the radio frequency transmission channel to send data to base station 20, so that the second user identity can perform a random access procedure. Therefore, during the random access procedure initiated by the second user identity, the radio frequency transmission channel of the electronic device needs to be transmitted in the network to which the second user identity belongs, which will cause a long interruption of the first user identity's service, affecting the normal operation of the first user identity's service. In addition, there is a risk of the first user identity's connection with base station 10 being disconnected.

[0137] Furthermore, if the connection between the second user identity and base station 20 is stable and the signal quality is good, sufficient for data transmission and reception between the two, but the SR request sent by the second user identity fails due to overlap with the first time slot, a random access procedure is triggered. The second user identity enters the random access procedure to reconnect with base station 20, which is time-consuming and carries the risk of network disconnection during the reconnection process. Simultaneously, the SR counter reaches the maximum number of transmissions quickly, triggering the random access procedure for the second user identity, impacting the user experience of the second user identity running low-priority service cards.

[0138] To address the aforementioned issues, this application provides another specific implementation process for step S306, namely, a specific process for sending an SR request.

[0139] UE30 includes an overlap counter, which records the number of times the uplink data transmission time slots have overlapped when the first user identity and the second user identity want to send uplink data. In the embodiments of this application, by setting an upper limit threshold for the overlap counter, the number of times a SIM card running a low-priority service fails to send an SR request can be limited, or the duration for which a high-priority service occupies the radio frequency transmission channel can be limited. This shortens the waiting time for a SIM card running a low-priority service to send an SR request, and consequently shortens the waiting time for sending the specified uplink data, even when a SIM card running a high-priority service occupies the radio frequency transmission channel.

[0140] like Figure 8 As shown, when the first user identity in UE30 needs to send first uplink data to base station 10 in the first time slot, and the MAC layer buffer corresponding to the second user identity receives the specified uplink data, it needs to send an SR request to base station 20 in the second time slot. The first time slot and the second time slot are both uplink time slots. In one possible scenario, the first time slot is a flexible time slot, and the second time slot is an uplink time slot. In another possible scenario, the first time slot is an uplink time slot, and the second time slot is a flexible time slot. The priority of the first uplink data is higher than the priority of the SR request.

[0141] As mentioned earlier, an initialization operation, i.e., step S801, needs to be performed before executing step S306. The specific implementation of step S306 is as follows: Figure 8 shown.

[0142] S801. Initialize SR request counter and overlap counter.

[0143] In one possible scenario, before sending the specified uplink data, SIM card 2 sends an SR request to base station 20 for the first time. UE 30 initializes the SR request counter value, resetting the SR request counter value M to its initial value, which can optionally be 0. Simultaneously, UE 30 initializes the overlap counter, resetting the overlap request counter value Y to its initial value, which can optionally be 0.

[0144] In one possible scenario, if the UE30 fails to send the previous SR request before sending this SR request, that is, it does not receive the UL grant information sent by the base station 20 within the preset time, it is said that there is an ongoing SR. At this time, the initialization step is not performed, and the SR request counter and the overlap counter are not initialized. The current value M of the SR request counter and the current value Y of the overlap counter are maintained.

[0145] Perform steps S402 to S405, as described above.

[0146] S806. If the first time slot and the second time slot overlap, proceed to step S807. If the first time slot and the second time slot do not overlap, proceed to step S810.

[0147] The first user identity sends the first uplink data in the first time slot, and the second user identity sends an SR request to the base station 20 in the second time slot. The first uplink data has higher priority than the SR request. The first and second time slots overlap in time, where the first and second time slots are both uplink time slots. The overlap between the first and second time slots can be complete or partial. Optionally, partial overlap can mean an overlap of at least 1 microsecond.

[0148] When the first and second time slots overlap, since UE30 is only configured with one radio frequency (RF) transmission channel, RF channel resources are allocated based on the priority of the services running on the SIM card. UE30 prioritizes allocating RF transmission channel resources to the first user identity running high-priority services. That is, the first user identity occupies the uplink channel during this time, and the second user identity running low-priority services cannot use this uplink channel, thus failing to send uplink data including SR requests, and the SR request transmission fails.

[0149] If the time periods of the first and second time slots do not overlap, then the time periods of the first and second time slots do not overlap at all. Figure 5 As shown in Example 2, when the first time slot and the second time slot do not overlap at all, the second user identity can send an SR request to the base station 20.

[0150] S807. The overlap counter value Y increases in increments of 1, and step S808 is executed.

[0151] The overlap counter is used to indicate the number of times that the first time slot and the second time slot overlap during a certain period. As mentioned earlier, in one possible scenario, after the overlap counter is initialized, the overlap counter value Y = 0, then Y = 0 + 1; in another possible scenario, before this SR request is sent, X first time slots overlap with X second time slots, then there are X times the first time slot overlaps with the second time slot, and the overlap counter value Y = X, then Y = X + 1.

[0152] S808. If the overlap counter value Y is greater than or equal to the threshold value two, then execute step S809. If the overlap counter value is less than the threshold value two, then execute step S810.

[0153] Threshold 2 is less than threshold 1. Threshold 2 can be a fixed value or a different value. For example, it can be determined based on the type of the specified uplink data to be uploaded. In one possible implementation, if the specified uplink data to be uploaded is a latency-sensitive service (e.g., control signaling, game data packets, live streaming), then threshold 2 can be set to 4; if the specified uplink data to be uploaded is a latency-insensitive service (e.g., web browsing, video browsing), then threshold 2 can be set to 16. Adjusting the value of threshold 2 controls the time it takes for the overlap counter to reach threshold 2.

[0154] S809. Increase the priority of the SR request and execute step S406.

[0155] When the overlap counter is greater than or equal to threshold two, during the process of the second user identity sending specified uplink data, the first user identity occupies the UE30 radio frequency transmission channel multiple times (the cumulative number of times equal to or greater than threshold two). As a result, the second user identity cannot use the uplink channel to send SR requests, and there is a risk that the second user identity's service may not be able to operate normally. Therefore, the priority of this SR request is increased so that the priority of this SR request is higher than that of the first uplink data sent by the first user identity, so that the UE30 will give priority to allocating radio frequency transmission channel resources to the second user identity.

[0156] Using the above method, when the overlap counter value Y is greater than or equal to threshold two, the SR request priority is increased.

[0157] Using the above method, when the overlap counter equals threshold two, step S809 is executed. UE30 prioritizes allocating resources for the second user identity and sends an SR request. However, due to poor communication path quality, the communication request between UE30 and base station 20 may not be satisfied. UE30 does not receive the UL Grant information from base station 20 within the preset time, and the transmission fails. Step S306 is then executed again step by step to prepare for sending the next SR request. If the time slot for sending the next SR request coincides with the uplink time slot for the first user identity to send third uplink data (the third uplink data can be the same as or different from the first uplink data, but the third uplink data has a higher priority than the SR request), then step S807 is executed, and the overlap counter value increases in steps of 1. At this time, the overlap counter value is greater than threshold two, so step S809 is executed again to increase the priority of the SR request.

[0158] In one possible implementation, such as Figure 8As shown in the dashed box, after UE30 increases the priority of the SR request or when the first and second time slots do not overlap, step S810 is executed to initialize the overlap counter, resetting the overlap counter value Y to its initial value. When the overlap counter value is less than threshold two, step S810 is not executed. The execution order of steps S810, S406, S307, and starting the SR request timer can be interchanged or performed simultaneously; this application does not impose any restrictions on this. Through this method, after UE30 sends an SR request, the overlap counter is initialized. At this time, the overlap counter records the number of consecutive failures in sending SR requests due to the overlap of the first and second time slots during the process of the second user identity sending the same specified uplink data. This avoids the first user identity occupying radio frequency transmission channel resources for a long time, shortens the time taken for the second user identity to successfully send an SR request, and improves the user experience.

[0159] In the process of the second user identity sending specified uplink data in UE20, the above embodiment records the number of times the first time slot and the second time slot overlap through an overlap counter, thereby adjusting the resource allocation of the first user identity and the second user identity in UE30, so as to avoid the second user identity being unable to send SR requests due to the overlap of the first time slot and the second time slot, which would cause the running service to be unable to operate normally.

[0160] To address the aforementioned issues, this application also provides another specific process for sending SR requests.

[0161] UE30 includes a transmission timer, which indicates the time a SIM card running a high-priority service occupies the UE30 RF transmission channel or the time elapsed when a SIM card running a low-priority service fails to send an SR request. When the first user identity needs to transmit first uplink data to base station 10 in the first time slot, and the MAC layer buffer corresponding to the second user identity receives specified uplink data and needs to send it to base station 20, it needs to send an SR request in the second time slot. The first uplink data has a higher priority than the SR request. UE30 starts the transmission timer at the initial moment of sending the SR request. When the first and second time slots coincide, because the first user identity occupies the UE30 RF transmission channel, if the second user identity fails to receive UL Grant information from the base station within a preset time after sending the SR request, the transmission timer continues to count until the second user identity receives UL Grant information from the base station and the transmission is successful. At this time, the transmission timer is initialized, and the recorded time is reset to the initial value, which can optionally be 0. The transmission timer is started again when the second user identity sends an SR request next time.

[0162] In one implementation, after a successful SR request is sent, the transmission timer can be initialized and started again when the next SR request is sent.

[0163] Please refer to Figure 9 , Figure 9 An exemplary embodiment of step S306 is shown, namely, a schematic diagram of another specific process for sending an SR request provided in this application embodiment.

[0164] As mentioned earlier, an initialization operation, i.e., step S901, must be performed before executing step S306. The specific implementation of step S306 is as follows: Figure 9 As shown. S901, initialize the SR request counter and transmission timer, and execute step S902.

[0165] In one possible scenario, during the transmission of specified uplink data, the SIM card sends an SR request to the base station 20 for the first time. The UE30 initializes the SR request counter value, resetting the SR request counter value M to its initial value, which can optionally be 0. The transmission timer is also initialized, resetting its recording time to its initial value.

[0166] In one possible scenario, if the UE30 fails to send the previous SR request before sending this SR request, that is, it does not receive the UL grant information sent by the base station 20 within the preset time, it is said that there is an ongoing SR. At this time, the initialization step is not performed, and the SR request counter and the transmission timer do not perform the initialization operation, maintaining the current value M of the SR request counter and maintaining the current recording time of the transmission timer.

[0167] S902. Start the transmission timer. Step S902 can be performed in a different order than steps S402-S405 below, or simultaneously. This application does not impose any restrictions on this.

[0168] The transmission timer is used to indicate the time elapsed since the second user identity failed to send an SR request. In one possible scenario, the second user identity is sending the same uplink data but has not yet sent an SR request to base station 20; in this case, the transmission timer's value is the initial value. In another possible scenario, the second user identity fails to send the SR request before it is actually sent; in this case, the transmission timer continues to count down.

[0169] Perform steps S402-S405.

[0170] S907. If the first time slot and the second time slot overlap, proceed to step S908. If the first time slot and the second time slot do not overlap, proceed to step S910.

[0171] The first user identity sends the first uplink data in the first time slot, and the second user identity sends an SR request to the base station 20 in the second time slot. The first uplink data has a higher priority than the SR request. The first time slot and the second time slot overlap in time. The first time slot and the second time slot can completely overlap or partially overlap. Optionally, partial overlap can be as short as 1 microsecond of overlap.

[0172] When the first and second time slots overlap, since UE30 is only configured with one radio frequency (RF) transmission channel, RF channel resources are allocated based on the priority of the SIM card's running services. UE30 prioritizes allocating RF transmission channel resources to the first user identity running high-priority services. That is, the first user identity occupies the uplink channel during this time, and the second user identity running low-priority services cannot use this uplink channel, thus unable to send uplink data, including SR requests. When the first and second time slots do not overlap, the second user identity can send SR requests to base station 20.

[0173] S908. If the transmission timer reaches threshold three, proceed to step S909; if the transmission timer does not reach threshold three, proceed to step S910.

[0174] When the first and second time slots overlap, it is further determined whether the transmission timer has reached threshold three. In one implementation, threshold three can be a fixed value. In another implementation, threshold three can be a different value. For example, different thresholds can be determined based on the type of the specified uplink data to be uploaded. Optionally, for the specified data to be uploaded as a latency-sensitive service (e.g., control signaling, game data packets, live streaming), threshold three can be set to 200ms; for the specified data to be uploaded as a latency-insensitive service (e.g., web browsing, video browsing), threshold three can be set to 1000ms. The time when the transmission timer reaches threshold three is controlled by adjusting the value of threshold three.

[0175] If the transmission timer does not reach threshold three, step S910 is executed. At this time, since the first time slot and the second time slot overlap, the SR request fails to be sent, so we prepare to send the SR request again.

[0176] S909. Increase the priority of the SR request and execute step S910.

[0177] When the transmission timer reaches threshold three, the time elapsed during the second user identity's transmission of the same specified uplink data, during which the SR request failed to be sent, also reaches threshold three. Therefore, the priority of the SR request is increased, making it higher than the priority of the first uplink data sent by the first user identity, thereby enabling UE30 to allocate radio frequency transmission channel resources to the second user identity first.

[0178] By using the above method, when the transmission timer reaches threshold three, the priority of the SR request is increased, thereby preventing the first user identity from occupying the radio frequency transmission channel resources for a long time, shortening the time taken for the second user identity to successfully send the SR request, and thus sending the specified uplink data; and avoiding multiple failed SR request sending, which would trigger the random access process, thereby avoiding the risk of network connection disconnection during the random access process; increasing the probability of the second user identity successfully sending the SR request, and improving the user experience.

[0179] In one possible implementation, such as Figure 9 As shown in the dashed box, after UE30 increases the priority of the SR request, when sending the SR, step S910 is executed to initialize the transmission timer, followed by step SS406. The execution order of steps S910, S406, S307, and starting the SR request timer can be interchanged or performed simultaneously; this application does not impose any restrictions on this. Using the above method, when the transmission timer reaches threshold three, the first user identity's occupancy time on the radio frequency channel reaches threshold three. After increasing the SR request priority, the transmission timer is initialized. At this time, the transmission timer records the occupancy time of the first user identity on the radio frequency transmission channel. By setting a threshold for the transmission timer's recording time, the first user identity's prolonged occupancy of the radio frequency transmission channel is avoided, which could affect the first user identity's service operation and improve user experience.

[0180] In the process of the second user identity sending specified uplink data in UE30, the above embodiment indicates the time taken for the second user identity to fail to send SR request through the transmission timer, thereby adjusting the resource allocation of UE20 for the first user identity and the second user identity, improving the success rate of the second user identity sending SR request, and avoiding the second user identity failing to send SR request for a long time, which would cause the running service to be unable to operate normally.

[0181] Based on the descriptions in the foregoing embodiments, the following describes the relevant products to which this application applies, such as chips and devices. Please refer to... Figure 10 This is a schematic diagram of a system chip provided in an embodiment of the present invention. Figure 10 The system-on-a-chip 300 shown includes an application processor 301 (AP) and a baseband processor 302 (BP).

[0182] An application processor, short for Multimedia Application Processor (MAP), refers to a very large-scale integrated circuit (VLSI) that extends audio and video functionality and dedicated interfaces onto a low-power central processing unit (CPU). Application processors are mainly divided into three categories: comprehensive processors, multimedia processors, and single-media processors. A comprehensive processor possesses the functionality of a multimedia application processor while also being able to run complex operating systems like Linux. A multimedia processor handles more than two media, such as images, sound, video, and 3D graphics. A single-media processor handles only one type of media, typically processing only images or sound.

[0183] The baseband processor is a crucial component of a system-on-a-chip (SoC), essentially acting as a protocol processor responsible for data processing and storage. It primarily consists of a digital signal processor (DSP), a microcontroller unit (MCU), and memory (such as flash memory). Its main functions include baseband encoding or decoding, audio encoding, and voice encoding. Currently, baseband processors not only support multiple communication standards (such as GSM, LTE, CDMA, and 5G NR), but also provide multimedia functions and communication interfaces for multimedia displays, image sensors, and audio devices.

[0184] In practical applications, the application processor (AP) typically supports the running of software including the operating system, user interface, and applications. The baseband processor (BP) can be considered a wireless modem module, responsible for coordinating and controlling communication between the BP, base station, and AP. Its supported software includes communication control software for the baseband modem.

[0185] The application processor (AP) and baseband processor (BP) support communication via a preset interface technology. This interface technology can be customized by the system and includes, but is not limited to, Serial Peripheral Interface (SPI), Universal Asynchronous Receiver / Transmitter (UART), Universal Serial Bus (USB), and General Purpose Input / Output (GPIO). Specifically, the application processor and baseband processor can communicate with each other via control commands in message format to perform functions such as calls, SMS, and mobile internet access. These control commands can include traditional AT (attention) commands, Mobile Broadband Interface Model (MBIM) commands, or other protocol commands that support communication between the AP and BP.

[0186] Alternatively, as Figure 10 The baseband processor (BP) shown supports running protocol software related to the physical layer and RRC layer. In practical applications, the application processor (AP) supports communication with the RRC layer in the baseband processor (BP). For example, in this application, the application processor (AP) can use traditional AT commands to send corresponding signaling messages to the RRC layer to notify the RRC layer of the application status currently known to the AP (e.g., UE30 is powered on, UE30's flight mode is off), triggering the RRC layer to execute the network search process.

[0187] Optionally, the physical layer in the baseband processor BP supports the execution of the above. Figures 3-9 The method steps described in any of the method embodiments, with the physical layer as the execution entity, and / or other technical content described herein. The RRC layer in the baseband processor BP supports the execution of the above. Figures 3-9 The method steps described in any of the method embodiments, with the RRC layer as the execution subject, and / or other technical content described herein.

[0188] In practical applications, System-on-a-Chip 300 typically refers to a highly complex system-on-a-chip, such as a System-on-a-Chip (SoC). In actual deployment, it can be deployed inside or outside the device, controlling the device via wired or wireless connections. The device includes, but is not limited to, UE30 or electronic devices, such as smartphones, mobile internet devices (MIDs), wearable smart devices, or other devices supporting network communication. Specifically, when System-on-a-Chip 1000 is deployed inside an electronic device, System-on-a-Chip 300 is directly used to implement the above... Figure 5 - The method described in any of the method embodiments in Figure 7. When the system chip 300 is deployed outside the electronic device and supports establishing communication between the system chip 300 and the electronic device via wired or wireless connection, the electronic device can achieve the above by calling or controlling the system chip 300. Figures 3-9 The method described in any of the method embodiments.

[0189] This application also provides a computer-readable storage medium. The methods described in the above method embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. If implemented in software, the functionality can be stored as one or more instructions or code on or transmitted on a computer-readable medium. A computer-readable medium can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any available medium accessible by a computer.

[0190] As an optional design, a computer-readable storage medium may include RAM, ROM, EEPROM, CD-ROM, or any other medium that can be used to carry or store the required program code in the form of instructions or data structures, and may be accessible by a computer. Furthermore, any such connection is appropriately referred to as a computer-readable medium.

[0191] This application also provides a computer program product. The methods described in the above method embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. If implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the above computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the above method embodiments are generated. The above computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device.

[0192] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A communication method, applied to an electronic device, characterized in that: The electronic device includes a radio frequency transmission channel, the electronic device supports a first network communication corresponding to a first identity recognition module, and supports a second network communication corresponding to a second identity recognition module, and the method includes: receiving first configuration information through the first network, wherein the first configuration information includes one or more first time slots, and the one or more first time slots are used by the electronic device to send first uplink data through the first network; receiving second configuration information through the second network, wherein the second configuration information includes one or more second time slots, the one or more second time slots are used by the electronic device to send a scheduling request through the second network; the first priority of the scheduling request is lower than the second priority of the first uplink data; When the third time slot overlaps with the fourth time slot, it is determined that the value of the overlap counter is greater than or equal to the first threshold, and the scheduling request is sent through the second network in the fourth time slot; wherein the third time slot is one of the one or more first time slots, the fourth time slot is one of the one or more second time slots, and the value of the overlap counter is used to indicate the number of times the one or more first time slots overlap with the one or more second time slots.

2. The method according to claim 1, characterized in that: The overlap between the third time slot and the fourth time slot includes that the time periods of the third time slot and the fourth time slot partially overlap, or that the time periods of the third time slot and the fourth time slot completely overlap.

3. The method according to claim 1, characterized in that: The method further comprises: Before sending the scheduling request through the second network, the electronic device determines whether the second time slot overlaps with the first time slot.

4. The method according to any one of claims 1 to 3, characterized in that: The sending the scheduling request through the second network in the fourth time slot includes: Stop sending the first uplink data through the first network in the third time slot.

5. The method according to any one of claims 1 to 4, characterized in that: The sending the scheduling request through the second network in the fourth time slot includes: Raising the first priority of the scheduling request to a third priority, wherein the second priority of the first uplink data is lower than the third priority; The scheduling request is sent through the second network in the fourth time slot.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: When the third time slot overlaps with the fourth time slot, and the value of the overlap counter is greater than or equal to a first threshold, the value of the overlap counter is reset to an initial value.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: After the scheduling request is sent through the second network in the fourth time slot, if pre-scheduled uplink grant information is received through the second network within a preset time, the value of the coincidence counter is reset to an initial value.

8. The method according to claim 6 or 7, characterized in that: The initial value is 0.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: When the third time slot coincides with the fourth time slot, and the value of the coincidence counter is less than a first threshold, the value of the coincidence counter increases by 1; The first uplink data is sent through the first network in the third time slot.

10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: The electronic device determines that the value of the scheduling request counter is less than a second threshold, and sends the scheduling request through the second network in the fourth time slot, wherein the scheduling request counter is used to indicate the number of times the electronic device fails to send the scheduling request.

11. The method according to claim 10, characterized in that: The first threshold is smaller than the second threshold.

12. A communication method, applied to an electronic device, characterized in that: The electronic device supports a first network communication corresponding to a first identity recognition module and supports a second network communication corresponding to a second identity recognition module, the electronic device includes a radio frequency transmission channel, and the method includes: receiving first configuration information through the first network, the first configuration information including one or more first time slots; the one or more first time slots are used by the electronic device to send first uplink data through the first network; receiving second configuration information through the second network, wherein the first configuration information includes one or more second time slots; the one or more second time slots are used by the electronic device to send a scheduling request through the second network; the first priority of the scheduling request is lower than the second priority of the first uplink data; When the third time slot coincides with the fourth time slot, the third time slot is at least one time slot among the one or more first time slots, and the fourth time slot is at least one time slot among the one or more second time slots, it is determined that the value of the transmission timer is greater than or equal to a third threshold, and the scheduling request is sent through the second network in the fourth time slot; wherein the value of the transmission timer is used to indicate the time elapsed for failure to send the scheduling request.

13. The method according to claim 12, characterized in that: The overlap between the third time slot and the fourth time slot includes that the time periods of the third time slot and the fourth time slot partially overlap, or that the time periods of the third time slot and the fourth time slot completely overlap.

14. The method according to claim 12, characterized in that: The method further comprises: Before sending the scheduling request through the second network, the electronic device determines whether the second time slot overlaps with the first time slot.

15. The method according to any one of claims 12 to 14, characterized in that: The sending the scheduling request through the second network in the fourth time slot includes: Stop sending the first uplink data through the first network in the third time slot.

16. The method according to any one of claims 12 to 15, characterized in that: The sending the scheduling request through the second network in the fourth time slot includes: Raising the first priority of the scheduling request to a third priority, wherein the second priority of the first uplink data is lower than the third priority; The scheduling request is sent through the second network in the fourth time slot.

17. The method according to any one of claims 12 to 16, characterized in that: The method further comprises: When the third time slot coincides with the fourth time slot, and the value of the transmission timer is greater than or equal to a third threshold, the value of the transmission timer is reset to an initial value.

18. The method according to any one of claims 12 to 17, characterized in that: The method further comprises: After the scheduling request is sent through the second network in the fourth time slot, if pre-scheduled uplink grant information is received through the second network within a preset time, the value of the transmission timer is reset to an initial value.

19. The method according to any one of claims 12 to 18, characterized in that: The method further comprises: When the third time slot coincides with the second time slot, and the value of the transmission timer is less than a third threshold, the transmission timer continues to count; The first uplink data is sent through the first network in the third time slot.

20. A chip, characterized in that: The method comprises a baseband processor and an application processor, and is capable of executing the method according to any one of claims 1 to 19.

21. An electronic device, characterized in that: include: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any one of claims 1 to 19.

22. A computer storage medium, characterized in that The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method according to any one of claims 1 to 19.