Communication method and electronic device
By using repeat counters and transmission timers in electronic devices to control the allocation of RF channel resources, the problem of high-priority services occupying resources for a long time is solved, and the communication success rate and user experience of low-priority services are improved.
Patent Information
- Application Number
- PCT/CN2024/091500
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-09
- Filing Date
- 2024-05-07
- Publication Date
- 2024-11-14
AI Technical Summary
In dual-stop and 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 user experience.
By introducing a repeat counter and transmission timer in electronic devices, the number and time of the time of the high-priority service SIM card occupying the radio frequency transmission channel is controlled, and the success rate of the low-priority service SIM card sending scheduling requests is improved, and multiple failures are avoided Disconnect from the network.
It effectively reduces the sending waiting time of SIM cards for low-priority services, improves its communication success rate, improves user experience, and reduces the impact on high-priority services.
Smart Images

Figure CN2024091500_14112024_PF_FP_ABST
Abstract
Description
Communication method and electronic equipment
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 9, 2023, with application number 202310522351.8 and invention name “A Communication Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a communication method and electronic equipment. Background Art
[0003] With the development of communication technology, many electronic devices can support the simultaneous operation of multiple subscriber identity modules (SIMs). Taking an electronic device that supports two SIM cards as an example, a dual SIM and dual active (DSDA) mode can be used for communication. Taking cost and efficiency into consideration, the SIM cards in the electronic device can share the resources of the electronic device and use time division multiplexing to transmit signals to the base station using the same radio frequency transmission channel at different time periods for communication. In this mode, the electronic device allocates resources to the two SIM cards separately, and gives priority to allocating resources to the SIM card running a high-priority service. When the SIM card running a high-priority service occupies the electronic device resources for a long time, causing the SIM card running a low-priority service to be unable to communicate for a long time, the SIM card running the low-priority service cannot operate the service normally, thereby affecting the user experience.
[0004] Summary of the Invention
[0005] In view of this, the present application provides a communication method and electronic device to improve the communication success rate of running low-priority service cards.
[0006] In a first aspect, an embodiment of the present application provides a communication method, which may be applicable to an electronic device, the electronic device including a radio frequency transmission channel, the electronic device supporting at least two user identities, the at least two user identities including a first user identity and a second user identity, the method comprising:
[0007] An electronic device connects to a first access network device as a first user, thereby communicating via the first network. The electronic device receives first configuration information via the first network. The first configuration information includes first time slot resources. The first time slot resources include multiple periodically distributed time slots, each of which 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 identity needs to send first uplink data via the first network in the first time slot.
[0008] The electronic device connects to the second access network device as a second user, thereby communicating via the second network. The electronic device receives second configuration information via the second network. The second configuration information includes a second time slot resource. The second time slot resource includes multiple periodically distributed time slots, each of which can be an uplink time slot, a downlink time slot, or a flexible time slot. The multiple time slots include one or more second time slots, and the second user identity needs to send a scheduling request via the first network during the second time slot.
[0009] The priority of the scheduling request is lower than the priority of the 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;
[0010] The method for the second user identity to send a scheduling request through the second network includes:
[0011] The coincidence counter is initialized and the value of the coincidence counter is reset to an initial value. The value of the coincidence counter is used to indicate the number of times the third time slot and the fourth time slot overlap.
[0012] Determining that a scheduling request timer and a measurement timer have stopped running and that the value of the scheduling request counter is less than a second threshold; when the scheduling request timer and the measurement timer are running, the electronic device cannot send a scheduling request. When the value of the scheduling request counter 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.
[0013] The electronic device detects whether the time periods of the third time slot and the fourth time slot overlap. If it is detected that the time periods of the third time slot and the fourth time slot overlap, the value of the overlap counter is increased by 1.
[0014] At this time, the third time slot overlaps with the fourth time slot. The electronic device can only send the first uplink data or the scheduling request, but cannot send the first uplink data and the scheduling request at the same time. Because the priority of the first uplink data is higher than the priority of the scheduling request, the electronic device prioritizes allocating RF transmission channel resources to the first user identity and sends the first uplink data, which means that the scheduling request fails. The electronic device prepares to continue sending the scheduling request in the next fourth time slot. At this time, the coincidence counter is not initialized and the value of the coincidence counter is maintained at the current value. The coincidence counter records the number of times the third time slot overlaps with the fourth time slot.
[0015] When the third time slot overlaps with the fourth time slot, if the value of the overlap counter is greater than or equal to the first threshold, the priority of the scheduling request is increased, so that the priority of the scheduling request is higher than the priority of the first uplink data. This allows the electronic device to preferentially allocate radio frequency transmission channel resources to the second user identity and send the scheduling request through the second network.
[0016] The overlap counter controls the number of time slots the first user identity occupies on the radio frequency transmission channel, thereby controlling the duration of the first user identity's occupation of the radio frequency transmission channel. This prevents the first user identity from occupying radio frequency transmission channel resources for extended periods of time, reduces the waiting time for the second user identity to send a scheduling request, and enables scheduling requests to be sent through the second network even when the third and fourth time slots overlap. This also prevents multiple scheduling request failures that trigger a random access process, thereby avoiding the risk of network disconnection during the random access process and reducing the impact on the first user identity's business operations. This increases the probability of the second user identity successfully sending a scheduling request, improving the user experience.
[0017] The embodiment of the present application further provides a communication method applied to the above electronic device, wherein the method for the second user identity to send a scheduling request through the second network includes:
[0018] Initialize the transmission timer and reset the transmission timer to its initial value. The transmission timer is used to indicate the time elapsed during which the scheduling request failed to be sent.
[0019] Start the transmission timer and the transmission timer begins timing.
[0020] Determining that a scheduling request timer and a measurement timer have stopped running and that the value of the scheduling request counter is less than a second threshold; when the scheduling request timer and the measurement timer are running, the electronic device cannot send a scheduling request. When the value of the scheduling request counter 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.
[0021] The electronic device detects whether the time periods of the third time slot and the fourth time slot overlap, and confirms the time recorded by the transmission timer when the third time slot and the fourth time slot overlap.
[0022] At this point, the third time slot overlaps with the fourth time slot. The electronic device can only send the first uplink data or the scheduling request, not both. Because the priority of the first uplink data is higher than the priority of the scheduling request, the electronic device prioritizes allocating RF transmission channel resources to the first user identity. If the first uplink data is sent, the scheduling request fails. The electronic device prepares to send the scheduling request again in the next fourth time slot. The transmission timer is not initialized at this point, and continues counting without interruption.
[0023] When the third time slot overlaps with the fourth time slot, if the transmission timer reaches the third threshold, the priority of the scheduling request is increased, so that the priority of the scheduling request is higher than the priority of the first uplink data. This allows the electronic device to preferentially allocate radio frequency transmission channel resources to the second user identity and send the scheduling request through the second network.
[0024] The transmission timer records the time the first user identity occupies the radio frequency transmission channel, and the third threshold is set to control the time the first user identity occupies the radio frequency transmission channel. This prevents the first user identity from occupying the radio frequency transmission channel resources for a long time, reduces the waiting time for the second user identity to send a scheduling request, and allows the scheduling request to be sent through the second network when the third time slot and the fourth time slot overlap. It also avoids multiple failures in sending scheduling requests, which trigger the random access process, thereby avoiding the risk of network disconnection during the random access process and reducing the impact on the first user identity's business operations. It also increases the probability of the second user identity successfully sending a scheduling request, improving the user experience.
[0025] In a second aspect, the present application provides a system chip application electronic device, comprising: an application processor and a baseband processor, a scheduling request timer, a measurement timer, a scheduling request counter, and also a coincidence counter or a transmission timer, so that the system chip supports at least two user identities running simultaneously, the at least two user identities including a first user identity and a second user identity, and executes any method of the first aspect.
[0026] In a third aspect, the present application provides an electronic device comprising 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 supports at least two user identities running simultaneously, the at least two user identities including a first user identity and a second user identity, and executes any one of the methods of the first aspect.
[0027] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes any one of the methods of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] FIG1 is a schematic diagram of a communication system provided in an embodiment of the present application;
[0029] FIG2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0030] FIG3 is a schematic diagram of a specific implementation of a communication process between an electronic device and a base station provided in an embodiment of the present application;
[0031] FIG4 is a schematic diagram of a specific flow chart of a communication method provided in an embodiment of the present application;
[0032] FIG5 is a schematic diagram of time slot resources configured by a base station according to an embodiment of the present application;
[0033] FIG6 is a schematic diagram of a specific flow chart of a resource allocation decision-making method provided in an embodiment of the present application;
[0034] 7A-7D are schematic diagrams of a desktop of an electronic device provided in an embodiment of the present application;
[0035] FIG8 is a schematic diagram of a specific flow chart of a communication method provided in an embodiment of the present application;
[0036] FIG9 is a schematic diagram of a specific flow chart of a communication method provided in an embodiment of the present application;
[0037] FIG10 is a schematic structural diagram of a system chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to be limiting of the present application. As used in the specification and claims of this application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in this application refers to any or all possible combinations including one or more of the listed features. In the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise stated, the meaning of "multiple" is two or more.
[0039] First, a communication system 100 provided in an embodiment of the present application is introduced.
[0040] Please refer to FIG1 , which exemplarily shows an architectural diagram of a communication system 100 provided in an embodiment of the present application.
[0041] As shown in Figure 1, 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 exemplarily shows two access network devices (e.g., base station 10 and base station 20) and an electronic device (e.g., UE 30). It will be understood that Figure 1 is merely a schematic diagram and does not limit the applicable scenarios of the technical solutions provided in this application.
[0042] The access network device may be a transmission reception point (TRP), a base station, a relay station, a node or an access point, etc. The access network device may be an access network device in a 5G communication system or an access network device in a future evolution network. The access network device may be a base transceiver station (BTS) in a global system for mobile communication (GSM) or a code division multiple access (CDMA) network, or a base station (NodeB, NB) in a wideband code division multiple access (WCDMA), or an evolutionary NodeB (eNB) in a long term evolution (LTE), or a base station (gNodeB, gNB) in a new radio (NR). The access network device may also be a wireless controller in a cloud radio access network (CRAN) scenario. The embodiments of the present application will subsequently illustrate the technical solutions provided by the present application using base stations (e.g., base station 10, base station 20) as an example.
[0043] The electronic device may be user equipment (UE), an access terminal, a UE unit, a UE station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a UE terminal, a wireless communication device, a UE agent, or a UE apparatus, etc. The access terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal in a 5G network, or a terminal in a future evolved public land mobile network (PLMN) network, etc. The embodiments of the present application will be described later using a user equipment UE (e.g., UE30) as an example to illustrate the technical solution provided by the present application.
[0044] In an embodiment of the present application, the base station shown in Figure 1 may be a base station in an LTE / NR communication system. The base station may include a carrier in a low-frequency band, such as a carrier in the B28 / n28 band; the base station may also include a carrier in a high-frequency band, such as a carrier in the n41 band. UE30 may use a carrier in the B28 / n28 band or a carrier in the n41 band for uplink transmission with the base station (that is, UE30 transmits a signal to the base station). At the same time, UE30 may also use a carrier in the B28 / n28 band or a carrier in the n41 band for downlink transmission with the base station (that is, the base station transmits a signal to UE30). Among them, the link used for uplink transmission between UE30 and the base station may be called an uplink (uplink, UL), and the link used for downlink transmission between UE30 and the base station may be called a downlink (downlink, DL).
[0045] In an embodiment of the present application, the UE 30 shown in Figure 1 may be provided with two SIM card slots, which may be used to install two SIM cards, for example, SIM card 1 and SIM card 2. In some embodiments, the UE 30 may support an eSIM card.
[0046] SIM card 1 and SIM card 2 can be connected to different access network devices. For example, SIM card 1 can be connected to base station 10 , and SIM card 2 can be connected to base station 20 .
[0047] In one possible scenario, UE30 using SIM card 1 and SIM card 2 can communicate in a dual-card dual-channel DSDA mode. In this communication mode, two SIM cards can perform communication services at the same time. When UE30 is configured with only one RF transmission channel (also called an uplink channel), the two SIM cards can use time division multiplexing to use the same RF transmission channel to transmit signals to the base station at different time periods. At this time, the mode in which the two SIM cards are located can be called time division duplex mode. The above-mentioned mode of sharing a set of RF transmission channels through time division multiplexing technology is also called RF sharing mode.
[0048] Referring to FIG. 2 , FIG. 2 shows a schematic structural diagram of an exemplary UE 30 provided in an embodiment of the present application.
[0049] 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, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195, etc.
[0050] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on UE 30. In other embodiments of the present application, UE 30 may include more or fewer components than illustrated, or may combine or separate certain components, or may have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0051] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, an uplink scheduling request timer (SR request timer), an uplink scheduling request counter (SR request counter), a measurement timer, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0052] The controller can be the nerve center and command center of the UE 30. The controller can generate operation control signals based on instruction operation codes and timing signals to complete the control of instruction fetching and execution.
[0053] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0054] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only for illustrative purposes and does not constitute a structural limitation on UE 30. In other embodiments of the present application, UE 30 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0055] The wireless communication function of UE 30 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0056] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in UE 30 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0057] The mobile communication module 150 can provide wireless communication solutions including 2G / 3G / 4G / 5G, etc., applied to the UE 30. The mobile communication module 150 may include a radio frequency channel 205, which includes at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The radio frequency channel 205 only includes a transmit path TX and at least one receive path RX. The mobile communication module 150 can receive electromagnetic waves from the antenna 1 and transmit them to the modem processor for demodulation through the RX path of the radio frequency channel 205. The signal modulated by the modem processor can also be coupled to the antenna 1 through the TX path of the radio frequency channel 205, and the antenna 1 converts the signal into electromagnetic waves and radiates them out. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0058] The modem processor 201 may include a modulator and a demodulator. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and may be provided in the same device as the mobile communication module 150 or other functional modules.
[0059] The wireless communication module 160 can provide wireless communication solutions 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), infrared (IR), etc. applied on UE30. 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, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through antenna 2.
[0060] In some embodiments, antenna 1 of UE 30 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that UE 30 can communicate with a network and other devices via wireless communication technologies. The wireless communication technologies 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 technology. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS).
[0061] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and disconnected from the UE30 by inserting or removing it from the SIM card interface 195. The UE30 can support 1 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, and the like. In an embodiment of the present application, the UE30 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 at the same time. The types of the multiple cards can be the same or different. 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 memory cards. The UE30 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the UE30 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the UE30.
[0062] 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 (which can also be simply referred to as SIM card 1 registering with the network). After successful registration, SIM card 1 can initiate a random access procedure (RACH) and access a cell of an access network device (e.g., base station 10) in the selected network, enter a connected state, and then communicate via the first network, sending uplink data packets of services to base station 10 and receiving downlink data packets sent by 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 a cell of an access network device (e.g., base station 20) in the selected network, enter a connected state, and then communicate via the second network, sending uplink data packets of services to base station 20 and receiving downlink data packets sent by base station 20.
[0063] FIG3 shows a communication process between the second user identity in UE 30 and base station 20 .
[0064] S301: A second user identity in UE30 is connected to base station 20 through a random access process. The base station sends configuration information to a SIM card in a cell, where the configuration information includes time slot resources.
[0065] S302 : The second user identity sends a radio resource control (RRC) connection establishment request to the base station 20 .
[0066] S303. After receiving the RRC connection establishment request, the 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 (physical uplink control channel, PUCCH) resource information, time domain resources used for uplink and downlink transmission, the maximum number of failures for sending a scheduling request (scheduling request, SR) (hereinafter referred to as SR request), the minimum time interval for sending two SR requests, etc.
[0067] Among them, the PUCCH channel can be used to send an SR request.
[0068] The time domain resources are used for uplink transmission by UE30, and the time domain resources are distributed according to a first time domain resource period. Optionally, the first time domain resource period can be 10ms, 40ms, etc. Taking the 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;
[0069] According to the time slot resources and the time domain resources, the second user identity may send an SR request to the base station 20 via the PUCCH channel.
[0070] S304: UE30 performs corresponding configuration according to the configuration information and resource information, and sends an RRC connection establishment complete message to the base station. A radio resource control (RRC) connection is established between the second user identity in UE30 and the base station 20.
[0071] S305: When a media medium access control (MAC) layer buffer (hereinafter referred to as the MAC layer buffer) corresponding to the second user identity in UE 30 receives designated uplink data and needs to send the designated uplink data to base station 20, UE 30 executes S306. The designated uplink data may be voice data, video data, game data, etc.
[0072] S306. UE30 determines whether to send an SR request according to the first indication information.
[0073] If it is determined according to the first indication information that the SR request can be sent currently, then step S307 is executed. If it is determined according to the first indication information that the SR request cannot be sent currently, then step S306 is returned to be executed until it is determined according to the first indication information that the SR request can be sent.
[0074] The first indication information includes information on whether a scheduling request timer (hereinafter referred to as "SR request timer") and a measurement timer are running, and includes the value of a scheduling request counter (hereinafter referred to as "SR request counter").
[0075] To prevent UE30 from frequently sending SR requests, which would cause excessive PUCCH channel load, UE30 indicates the minimum time interval between two consecutive SR requests through an SR request timer. After the SIM card sends an SR request to the base station, the SR request timer starts. During the SR request timer's running time, the SIM card cannot send an SR request to the base station until the SR request timer is turned off. Optionally, the SR request timer's running time can be 2ms, 5ms, 10ms, 20ms, 50ms, etc. After the SR request timer starts and the above time expires, the SR request timer is turned off. The SIM card can continue to send SR requests to the base station after the SR request timer is turned off.
[0076] 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 and needs to be sent to the base station, UE30 can reset the SR request counter to its initial value, which can optionally be 0. Each time the SIM card sends an SR request, the SR request counter increments by 1. If the SIM card does not receive the UL grant information sent by the base station within a preset time, the request fails. This failure may be due to insufficient RF channel resources on the UE30, or excessive transmission path loss, preventing the data from being transmitted. If the SIM card fails to send an SR request, it will resend an SR request to base station 20 until it receives the UL grant information from the base station within a preset time, indicating a successful request. Alternatively, if the SR request counter value is greater than or equal to threshold 1, UE30 triggers a random access procedure. Threshold 1 indicates the maximum number of times the SIM card in UE30 has failed to send an SR request to the base station. Threshold 1 can optionally be 32. Threshold 1 is configured by the base station and sent to UE30 via an RCC connection establishment message. UE30 then configures the value accordingly based on the RCC connection establishment message.
[0077] After the sending is successful, when the SIM card sends designated uplink data to the base station next time, the UE 30 initializes the SR request counter and resets the SR request counter to the initial value.
[0078] The SR request timer and the SR request counter are related to the SIM card running a low-priority service. When the first user identity in UE30 runs a high-priority service and the second user identity runs a low-priority service, the SR request timer is used to indicate the minimum time interval for the second user identity to send two consecutive SR requests, and the SR request counter is used to record the number of times the second user identity fails to send an SR request while sending the same specified uplink data. When the value of the SR request counter reaches the threshold value one, the second user identity disconnects from the base station 20 and triggers a random access process. When the second user identity in UE30 runs a high-priority service and the first user identity runs a low-priority service, the SR request timer is used to indicate the minimum time interval for the first user identity to send two consecutive SR requests, and the SR request counter is used to record the number of times the first user identity sends an SR request. When the value of the SR request counter reaches the threshold value one, the first user identity disconnects from the base station 10 and triggers a random access process.
[0079] The measurement timer indicates the duration of the UE30's measurement gap (GAP). The GAP duration indicates the duration of the UE30's inter-frequency measurement. During the GAP, the UE30 stops sending and receiving data and performs cell signal measurements. If the UE30 cannot send uplink data while the measurement timer is running, it cannot send an SR request to the base station. The UE30 resumes sending and receiving data until the measurement timer expires.
[0080] S307 . UE 30 sends control information including an SR request to base station 20 via the PUCCH channel in a designated time slot.
[0081] Base station 20 configures time domain resources for the second user identity in the designated time slot, and UE30 allocates radio frequency channel resources for the second user identity, so that UE30 can send an SR request to base station 20 in the designated time slot as the second user identity (hereinafter referred to as the second user identity).
[0082] S308. After receiving the SR request sent by UE30, the base station 20 sends UL grant information to UE30. The UL grant information can be used to indicate the uplink physical shared channel (PUSCH) resources allocated by the base station 20 to the second user identity in UE30, and the designated time slot for UE30 to send designated uplink data through the second user identity.
[0083] S309: If UE 30 receives the UL grant information sent by base station 20 within the preset time, the SR request is successfully sent, and step S310 is executed. If the UL grant information sent by base station 20 is not received within the preset time, the SR request fails, and step S306 is returned to send the SR request again.
[0084] The reason for not receiving the UL grant information sent by base station 20 may include that base station 20 did not receive the SR request sent by UE30 and thus could not send the UL grant information; or, base station 20 successfully sent the UL grant information, but UE30 did not receive it.
[0085] S310: After receiving the UL grant information, the SIM card can send designated uplink data and a buffer status report (BSR) in a designated time slot. The BSR is used to indicate to the base station 20 how much designated uplink data is in the MAC buffer and needs to be sent.
[0086] S311. In a possible scenario, the second user identity is disconnected from the base station 20, triggering a random access process.
[0087] S312 : UE 30 reconnects with base station 20 as the second user.
[0088] 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 the base station 10. When the first user identity receives downlink data sent by the base station 10 or sends uplink data, if the second user identity needs to trigger a random access process, since the electronic device has only one radio frequency receiving path, the electronic device needs to interrupt the relevant services running by the first user identity to use the radio frequency receiving path to receive data sent by the base station 20 and perform a random access process. In the process of completing the random access initiated by the second user identity, the radio frequency receiving path of the electronic device needs to communicate with the base station in the network to which the second user identity belongs, which will cause the services related to the first user identity to be interrupted for a long time.
[0089] In a specific implementation, when the MAC layer buffer corresponding to the second user identity in UE 30 receives designated uplink data for transmission to the base station, the designated time slot available for uploading the SR request is determined based on the time slot resources and time domain resources configured for the second user identity by base station 20. Before executing step S306, an initialization operation (i.e., step S401) is performed. The specific process of step S306 is shown in Figure 4.
[0090] S401: UE 30 initializes the SR request counter value M and resets the SR request counter value to an initial value. Optionally, the initial value may be 0. As previously described, in one possible scenario, if SIM card 2 fails to send an SR request before sending the current SR request, it is said 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.
[0091] S402: If the measurement timer is running, the following steps will not be executed until the measurement timer is turned off, and then step S403 will be executed.
[0092] 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.
[0093] S403: If the SR request timer is running, the following steps will not be executed until the SR request timer is closed, and then step S404 will be executed.
[0094] The SR request timer indicates 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, indicating that the time interval since the last SR request was sent is short, UE30 cannot send an SR request until the SR request timer and the measurement timer are deactivated. Optionally, the SR request timer can run for 2ms, 5ms, 10ms, 20ms, 50ms, etc. After the SR request timer is started and the above time expires, the SR request timer is deactivated and step S404 is executed.
[0095] S404: When the value M of the SR request counter is less than the threshold value 1, execute step S406; when the value M of the SR request counter is greater than or equal to the threshold value 1, execute step S405.
[0096] The SR request counter value is M.
[0097] After the MAC layer buffer area corresponding to the second user identity receives the specified uplink data, it needs to send the uplink data to the base station, and the second user identity sends an SR request to the base station 20. After the MAC layer buffer area corresponding to the second user identity receives the specified uplink data, it has not yet sent an SR request to the base station 20. The SR request counter undergoes an initialization operation, and the SR request counter value M is the initial value. Optionally, the initial value can be 0, and M=0; in another possible scenario, before sending the SR request this time, the second user identity does not receive the UL grant information sent by the base station 20 within a preset time. Before sending this SR request, the sending fails, and the second user identity will send the SR request again. The second user identity has failed to send the SR request N times, and the SR request counter records the number of times the second user identity failed to send the SR request, and M=N.
[0098] Threshold 1 indicates the maximum number of times UE30 fails to send an SR request to the base station while sending the same specified uplink data. Optionally, Threshold 1 may be 32. Threshold 1 is configured by the base station and sent to UE30 via an RCC connection establishment message. UE30 then performs corresponding configuration based on the RCC connection establishment message. The order of steps S402 to S404 above may be interchangeable, and this application does not impose any restrictions on this.
[0099] S405 : The second user identity in UE 30 disconnects from base station 20 , triggering a random access process.
[0100] When the value M of the SR request counter is equal to the threshold value one, UE30 sends at least the threshold number of SR requests to the base station 20, but does not receive the UL grant information sent by the base station 20, and the sending fails, then the connection with the base station 20 is disconnected, the random access process is triggered, and the second user identity is reconnected with the base station 20. S406, the value M of the SR request counter increases in steps of 1. Execute step 307. Steps S406 and S307 can be interchanged in order, or performed simultaneously, and this application does not limit this. The SR request counter is used to indicate the number of times UE30 fails to send an SR request. As mentioned above, in one possible scenario, in the process of sending the SR request this time, the value M of the SR request counter is 0, then M=0+1 at this time; in another possible scenario, the value M of the SR request counter is N, then M=N+1 at this time.
[0101] After executing S307, i.e., after UE30 sends the SR request, UE30 starts the SR request timer. The SR request timer indicates the minimum time interval between two consecutive SR requests sent by the second user identity. After UE30 sends the SR request, it starts the timer to control the time when the second user identity sends the next SR request. The SIM card can then send another SR request until the SR request timer expires.
[0102] The base station to which the SIM card in UE30 is connected configures time slot resources for uplink transmission for the SIM card, and the time slot resources may include one or more of uplink time slots, downlink time slots or flexible time slots.
[0103] For example, Figure 5 shows the time slot resources configured by base station 10 for the first user identity, including a first time slot, which can be an uplink time slot or a flexible time slot; and the time slot resources configured by base station 20 for the 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 each type of time slot in each period for the first user identity can be "DDDSUDDSUU", where D represents a downlink time slot, U represents an uplink time slot, and S represents a flexible time slot. All OFDM (Orthogonal Frequency Division Multiplexing) symbols in the downlink time slot are used as downlink. All OFDM symbols in the uplink time slot are used as uplink. OFDM symbols in the flexible time slot can be used for uplink or downlink. The arrangement of each type of time slot in each period for the second user identity can be "DDDDDDDDSU".
[0104] According to the time slot resources 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. As shown in Figure 5, taking the first time domain resource period of 10ms and the 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 that can be used to transmit uplink data, such as an uplink time slot or a flexible time slot. The second user identity can use the PUCCH channel to send an SR request in the second time slot. The second time slot is distributed periodically, and the distribution period of the second time slot is the same as the first time domain resource period. In one possible scenario, when the second user identity fails to send an SR request after sending the SR request in the second time slot, it is necessary to send the SR request again in the next second time slot. The next second time slot is separated from the previous second time slot by the first time domain resource period.
[0105] As shown in FIG5 , when the first user identity needs to send uplink data to the base station 10 in the first time slot, the second user identity needs to send uplink data to the base station 20 in the second time slot.
[0106] In one possible scenario, as shown in Example 1, the first time slot overlaps with the second time slot. The overlap between the first time slot and the second time slot may be complete overlap. In another possible scenario, the overlap between the first time slot and the second time slot may be partial overlap. Optionally, the partial overlap may be an overlap of at least 1 microsecond.
[0107] In another possible scenario, as shown in Example 2, the first time slot and the second time slot do not overlap, and thus the first time slot and the second time slot do not overlap at all. As shown in Figure 5, the time period of the first time slot in Example 2 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 this time slot. Therefore, the first time slot and the second time slot do not overlap.
[0108] The following embodiment takes the case where the base station configures the time domain resources of the second time slot for the second user identity and the second time slot is used to send uplink data as an example to describe the process of the second user identity sending the SR request in the second time slot.
[0109] For example, when the first user identity needs to send uplink data to the base station 10 in the first time slot, and the second user identity needs to send uplink data to the base station 20 in the second time slot:
[0110] In scenario 1, the first time slot is an uplink time slot and the second time slot is a flexible time slot. In this case, both the first user identity and the second user identity need to use the UE30 radio frequency transmission channel to transmit data to the base station during the time period between the first time slot and the second time slot.
[0111] In scenario 2, the first time slot is an uplink time slot and the second time slot is an uplink time slot. In this case, both the first user identity and the second user identity need to use the UE30 radio frequency transmission channel to transmit data to the base station during the time period between the first time slot and the second time slot.
[0112] 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 period between the first time slot and the second time slot, both the first user identity and the second user identity need to use the UE30 radio frequency transmission channel to transmit data to the base station.
[0113] In a possible implementation, a first time slot configured by the base station for the first user identity and a second time slot configured for the second user identity have overlapping time periods, as shown in Example 1 of FIG5 .
[0114] The first time slot and the second time slot may completely overlap. In another possible scenario, the first time slot and the second time slot may partially overlap. Optionally, the partial overlap may be an overlap of at least 1 microsecond.
[0115] In the above three situations, since UE30 is only configured with one RF transmission channel and is in RF sharing mode, UE30 needs to decide the strategy for configuring RF transmission channel resources, that is, to prioritize configuring RF transmission channel resources for the first user identity or the second user identity.
[0116] In the above-mentioned radio frequency sharing mode, before each time slot for transmitting uplink data of the first user identity and the second user identity arrives, UE30 detects whether the time slot overlaps with other time slots for transmitting uplink data. When the first user identity in UE30 needs to transmit uplink data in the first time slot, UE30 detects the first time slot before the first time slot arrives to determine whether the first time slot overlaps with other time slots for transmitting uplink data. When the second user identity in UE30 needs to transmit uplink data in the second time slot, UE30 detects the first time slot before the start time of the second time slot to determine whether the second time slot overlaps with other time slots for transmitting uplink data.
[0117] In one possible scenario, as described in Scenario 1 or Scenario 2 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, before the first time slot or the second time slot arrives, UE30 confirms that the time period of the first time slot and the second time slot overlaps.
[0118] UE 30 can allocate radio frequency transmission resources to each SIM card based on the priority of the service running on the SIM card, and give priority to allocating resources to SIM cards running high-priority services. Figure 6 shows the specific implementation of the resource allocation decision solution based on service priority.
[0119] S61. Service priority configuration.
[0120] UE30 may pre-set the priority of each service, for example, setting services with high real-time requirements (such as voice calls) as high priority services, and setting services with low real-time requirements (such as video browsing, web browsing, etc.) as low priority services. Alternatively, the UE30 may determine the real-time requirements of each service in real time without pre-setting, which is not limited in this application.
[0121] S62. The first user identity in UE30 is about to send 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.
[0122] S63: The second user identity in UE30 is about to send second uplink data in the second time slot. Optionally, the second uplink data may be voice call service data, video call service data, video browsing service data, web browsing service data, signaling, etc. The voice call service data may include cellular voice call service data or third-party application voice call service data, which is not limited in this application.
[0123] S64. The first time slot and the second time slot have overlapping time periods.
[0124] Before the first time slot or the second time slot arrives, UE31 confirms that there is a time period overlap between the first time slot and the second time slot. For example, the time periods of the first time slot and the second time slot completely overlap, or the time periods of the first time slot and the second time slot partially overlap, and optionally, the partial overlap may be an overlap of 1 microsecond.
[0125] S65. UE30 determines the service priority based on the first uplink data and the second uplink data.
[0126] In one possible scenario, the first uplink data is voice call service data and the second uplink data is an SR request. In this case, the first uplink data has a higher priority than the second uplink data, and the first uplink data is determined to be high-priority service data. In another possible scenario, the first uplink data is web browsing service data and the second uplink data is voice call service data. In this case, the second uplink data has a higher priority than the first uplink data, and the second uplink data is determined to be high-priority service data.
[0127] S66. UE30 sends high-priority uplink data.
[0128] When it is determined that the first uplink data is high-priority service data, UE30 preferentially allocates resources to the first user identity. The first user identity occupies the radio frequency transmission channel to send the high-priority service data to the base station 10, and the second user identity cannot use the radio frequency transmission channel to send an SR request.
[0129] When it is determined that the second uplink data is high-priority service data, UE30 preferentially allocates resources to the second user identity. The second user identity occupies the radio frequency transmission channel to send the high-priority service data to the base station 20, and the first user identity cannot use the radio frequency transmission channel to send data.
[0130] In the embodiment of the present application, taking the case where a high-priority service is run by the first user identity and a low-priority service is run by the second user identity as an example, the priority of the first uplink data is higher than that of the second uplink data.
[0131] 7A-7D illustrate a schematic diagram of a UE 30 desktop. As shown in FIG7A , the desktop displayed by the UE 30 includes a status bar 711 , wherein the status bar 711 may include one or more signal strength indicators of two mobile communication signals (also referred to as cellular signals), such as a signal strength indicator 711A and a signal strength indicator 711B. The signal strength indicator 711A indicates the signal strength of the first user identity, and the signal strength indicator 711B indicates the signal strength of the second user identity.
[0132] As shown in FIG. 7A , there is a network data traffic indicator 711C next to the signal strength indicator 711B. The network data traffic indicator 711C indicates that the UE 30 is using the second user identity network data traffic.
[0133] When the first user identity has a voice call service request, the UE30 desktop is shown in Figure 7B. The desktop displays a notification interface for the voice call service request, which may include information such as the caller's phone number, answer button, and hang up button. At this time, the second user identity can run other data services, and the network data traffic indicator 711C is displayed next to the signal strength indicator 711B.
[0134] UE30 detects the user clicking the connect button and connects the voice call service in response to this action. As shown in FIG7C , when the first user identity is performing a voice call service, the first user identity sends voice call service data to base station 10 in the first time slot, and signal strength indicator 711A changes to call indication mark 711D. The second user identity can carry data transmission related to the web browsing service, so UE30 runs other applications and displays the application interface of other applications, and the network data traffic mark 711C is still displayed next to 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 to the base station, but multiple first time slots overlap with the second time slot, the second user identity cannot send the SR request, and thus cannot send the specified uplink data. The web page content displayed on UE30 is displayed as being refreshed.
[0135] In another possible interface, the signal strength indicator 711A and the signal strength indicator 711B are not displayed in the interface, and are replaced by a call time mark 711E, as shown in FIG7D .
[0136] For example, the first user identity in UE30 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 complete or partial. Optionally, the partial overlap can be an overlap of 1 microsecond.
[0137] Because UE30 is configured with only one RF transmit channel, RF channel resources are allocated based on the priority of the SIM card's services. UE30 prioritizes allocating RF transmit channel resources to the first user identity (UI) running a high-priority service. This means that if the first UI occupies the uplink channel during this time, the second UI running a low-priority service cannot use the uplink channel and thus cannot send uplink data, including SR requests.
[0138] Taking the inability to send an SR request as an example, when the second user identity sends an SR request to the base station 20, the above steps S401 to S406 can be executed. However, since the first user identity is occupying the radio frequency transmission channel for running a high-priority service, the second user identity cannot execute step S307 and send an SR request to the base station 20. At this time, the SR request counter is still counting up in steps of 1. When the SR request counter reaches threshold two, the second user identity triggers a random access process. Since UE30 only has one radio frequency transmission channel, UE30 needs to interrupt the service related to the first user identity to use the radio frequency transmission channel to send data to the base station 20, allowing the second user identity to perform a random access process. In the process of completing the random access initiated by the second user identity, the radio frequency transmission channel of the electronic device needs to be sent in the network to which the second user identity belongs, which causes the first user identity's service to be interrupted for a long time, affecting the normal operation of the first user identity. In addition, there is a risk of disconnection between the first user identity and the base station 10.
[0139] In addition, if the connection between the second user identity and base station 20 is stable at this time, and the signal quality is good, which can meet the data transmission and reception requirements between the second user identity and base station 20, the second user identity fails to send the SR request only because the second user identity sends it in the second time slot, which coincides with the first time slot. At this time, the random access process is triggered, and the second user identity enters the random access process to reconnect with base station 20, which takes a long time and may cause the network connection to be disconnected during the reconnection process. At the same time, the SR counter quickly reaches the maximum number of transmissions, and the second user identity triggers the random access process, affecting the user experience of the second user identity running the low-priority service card.
[0140] To solve the above problem, an embodiment of the present application provides another specific implementation process of step S306, namely, a specific process of sending an SR request.
[0141] UE30 includes a coincidence counter, which is used to record the number of times that the time slots for sending uplink data have overlapped when the first user identity and the second user identity want to send uplink data. In an embodiment of the present application, by setting an upper threshold of the coincidence 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 that a high-priority service occupies the radio frequency transmission channel can be limited. In this way, when a SIM card running a high-priority service occupies the radio frequency transmission channel, the time the SIM card running a low-priority service waits to send an SR request is shortened, thereby shortening the time it waits to send the specified uplink data.
[0142] As shown in Figure 8, when the first user identity in UE30 needs to send the first uplink data to the base station 10 in the first time slot and the MAC layer buffer area corresponding to the second user identity receives the specified uplink data, it is necessary to send an SR request to the base station 20 in the second time slot. The first time slot is the uplink time slot and the second time slot is the uplink time slot. 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.
[0143] As mentioned above, before executing step S306, an initialization operation needs to be performed, that is, executing step S801. The specific process of step S306 is shown in Figure 8.
[0144] S801: Initialize the SR request counter and the coincidence counter.
[0145] In one possible scenario, before sending designated 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 and resets the SR request counter value M to an initial value, which may optionally be 0. Simultaneously, UE 30 initializes the coincidence counter and resets the coincidence request counter value Y to an initial value, which may optionally be 0.
[0146] In one possible scenario, UE30 failed to send an SR request before sending this SR request, that is, it did not receive the UL grant information sent by the base station 20 within the preset time. This is called an ongoing SR. At this time, the initialization step is not performed, and the SR request counter and the coincidence counter do not perform the initialization operation, maintain the current value M of the SR request counter, and maintain the current value Y of the coincidence counter.
[0147] Execute steps S402 to S405, see the above description for details.
[0148] S806: If the first time slot and the second time slot overlap, execute step S807; if the first time slot and the second time slot do not overlap, execute step S810.
[0149] The first user identity sends first uplink data in the first time slot, and the second user identity sends an SR request to 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, wherein the first time slot is an uplink time slot and the second time slot is an uplink time slot. The overlap between the first time slot and the second time slot can be complete or partial. Optionally, the partial overlap can be at least 1 microsecond.
[0150] When the first and second time slots overlap, UE30 is configured with only one RF transmission channel, so RF channel resources are allocated based on the priority of the SIM card's services. UE30 prioritizes allocating RF transmission channel resources to the first user identity (UI) running a high-priority service. That is, if the first user identity (UI) occupies the uplink channel during this time, the second user identity (UI) running a low-priority service cannot use the uplink channel. Consequently, uplink data, including the SR request, cannot be sent, and the SR request fails.
[0151] When the time periods of the first time slot and the second time slot do not overlap, the time periods of the first time slot and the second time slot do not overlap at all. As shown in Example 2 of FIG5 , 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 .
[0152] S807. The coincidence counter value Y increases in steps of 1, and step S808 is executed.
[0153] The overlap counter indicates the number of times that the first time slot and the second time slot overlap. As previously described, in one possible scenario, after the overlap counter is initialized, the overlap counter value Y = 0, and Y = 0 + 1. In another possible scenario, before the SR request is sent, X first time slots overlap with X second time slots. Therefore, there are X overlaps between the first and second time slots, and the overlap counter value Y = X, and Y = X + 1.
[0154] S808: When the value Y of the coincidence counter is greater than or equal to the threshold 2, execute step S809. When the value Y of the coincidence counter is less than the threshold 2, execute step S810.
[0155] Threshold 2 is less than threshold 1. Threshold 2 can be a fixed value or a different value. For example, different thresholds can be determined based on the type of designated uplink data to be uploaded. In one possible implementation, if the designated uplink data to be uploaded is a delay-sensitive service (e.g., control signaling, game data packets, live broadcast services), threshold 2 can be set to 4. If the designated uplink data to be uploaded is a delay-insensitive service (e.g., web browsing, video browsing), threshold 2 can be set to 16. The time it takes for the coincidence counter to reach threshold 2 is controlled by adjusting the value of threshold 2.
[0156] S809: Increase the SR request priority and execute step S406.
[0157] When the overlap counter is greater than or equal to threshold 2, during the process of the second user identity sending the specified uplink data, since the first user identity occupies the UE30 radio frequency transmission channel multiple times (cumulatively equal to threshold 2 times, or greater than threshold 2 times), the second user identity cannot use the uplink channel to send an SR request, and the service running by the second user identity is at risk of not being able to operate normally. Therefore, the priority of this SR request is increased so that the priority of the SR request is higher than the first uplink data sent by the first user identity, so that UE30 prioritizes allocating radio frequency transmission channel resources to the second user identity.
[0158] By the above method, when the coincidence counter value Y is greater than or equal to the threshold value 2, the SR request priority is increased.
[0159] Through the above method, when the coincidence counter is equal to threshold 2, 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 cannot be met. UE30 does not receive the UL Grant information from base station 20 within the preset time, and the transmission fails. Step S306 is re-executed step by step to continue preparing to send the next SR request. When the time slot for the next SR request coincides with the uplink time slot for the first user identity to send the third uplink data, the third uplink data can be the same as or different from the first uplink data, and the third uplink data has a higher priority than the SR request, step S807 is executed, and the coincidence counter value is incremented by 1. At this time, the coincidence counter value is greater than threshold 2, and step S809 is continued to increase the priority of the SR request.
[0160] In one possible implementation, as shown in the dotted box in Figure 8, after UE30 increases the priority of the SR request or when the first time slot and the second time slot do not overlap, step S810 is executed to initialize the overlap counter and reset the overlap counter value Y to the initial value. When the overlap counter value is less than threshold two, step S810 is not executed. The execution order of step S810 and steps S406, S307, and starting the SR request timer can be interchanged or performed simultaneously, and this application does not impose any restrictions on this. In the above manner, after UE30 sends the SR request, the overlap counter is initialized. At this time, the overlap counter records the number of consecutive failures to send the SR request due to the overlap of the first time slot and the second time slot during the process of the second user identity sending the same designated uplink data. This avoids the first user identity from occupying the RF transmission channel resources for a long time, shortens the time taken for the second user identity to successfully send the SR request, and improves the user experience.
[0161] During the process of the second user identity in UE20 sending designated uplink data, the above embodiment records the number of times the first time slot overlaps with the second time slot through the overlap counter, thereby adjusting UE30's resource allocation to the first user identity and the second user identity, avoiding the second user identity being unable to send an SR request due to the overlap of the first time slot and the second time slot, thereby causing the running service to fail to operate normally.
[0162] To solve the above problem, the embodiment of the present application also provides another specific process for sending an SR request.
[0163] UE30 includes a transmission timer, which indicates the time a SIM card running a high-priority service occupies UE30's radio transmission channel, or the time a SIM card running a low-priority service fails to send an SR request. When a first user identity needs to transmit first uplink data to base station 10 in the first time slot, the MAC layer buffer corresponding to the second user identity receives designated uplink data and needs to transmit it to base station 20, requiring an SR request to be sent 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 overlap, and the second user identity does not receive UL Grant information from the base station within a preset time after sending the SR request due to the first user identity occupying UE30's radio transmission channel, the transmission fails. The transmission timer continues to count until the second user identity receives UL Grant information from the base station and the transmission succeeds. At this point, the transmission timer is initialized and the time recorded in the transmission timer is reset to the initial value, which can optionally be 0. The next time the second user identity sends an SR request, the transmission timer is restarted.
[0164] In one implementation, after the SR request is sent successfully, the transmission timer may be initialized and started when the SR request is sent next time.
[0165] Please refer to FIG. 9 , which exemplarily shows another implementation process of step S306 , that is, another specific flow chart of sending an SR request provided in an embodiment of the present application.
[0166] As mentioned above, before executing step S306, an initialization operation needs to be performed, that is, executing step S901. The specific process of step S306 is shown in Figure 9. S901, initialize the SR request counter and transmission timer, and execute step S902.
[0167] In one possible scenario, when sending designated uplink data, the SIM card sends an SR request to the base station 20 for the first time. The UE 30 initializes the SR request counter value, resetting the SR request counter value M to an initial value, which may optionally be 0. The transmission timer is initialized, resetting the transmission timer recording time to the initial value.
[0168] In one possible scenario, UE30 failed to send an SR request before sending this SR request, that is, it did not receive the UL grant information sent by the base station 20 within the preset time. This is called 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, maintain the current value M of the SR request counter, and maintain the current recording time of the transmission timer.
[0169] S902: Start the transmission timer. Step S902 can be executed in an interchangeable order with the following steps S402-S405, or can be executed simultaneously, which is not limited in this application.
[0170] The transmission timer indicates the time elapsed since the second user identity failed to send an SR request. In one possible scenario, the second user identity is sending uplink data with the same content but has not yet sent an SR request to base station 20. In this case, the transmission timer value is the initial value. In another possible scenario, the second user identity fails to send the SR request before sending the SR request. In this case, the transmission timer continues to count.
[0171] Execute steps S402-S405.
[0172] S907: If the first time slot and the second time slot overlap, execute step S908; if the first time slot and the second time slot do not overlap, execute step S910.
[0173] The first user identity sends first uplink data in the first time slot, and the second user identity sends an SR request to 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 may overlap completely or partially. Optionally, the partial overlap may include an overlap of 1 microsecond.
[0174] When the time periods of the first time slot and the second time slot overlap, since UE30 is only configured with one RF transmission channel, RF channel resources are allocated based on the priority of the SIM card's services. UE30 prioritizes allocating RF transmission channel resources to the first user identity running a high-priority service, that is, the first user identity occupies the uplink channel during this time, and the second user identity running a low-priority service cannot use the uplink channel, and thus cannot send uplink data including SR requests. When the time periods of the first time slot and the second time slot do not overlap, the time periods of the first time slot and the second time slot do not overlap at all, and the second user identity can send an SR request to the base station 20.
[0175] S908 , if the transmission timer reaches threshold three, execute step S909 ; if the transmission timer does not reach threshold three, execute step S910 .
[0176] When the first time slot coincides with the second time slot, it is further determined whether the transmission timer reaches threshold three. In one implementation, threshold three can be a fixed value. In another implementation, threshold three can be different values. For example, different thresholds can be determined according to the type of specified uplink data to be uploaded. Optionally, if the specified data to be uploaded is a delay-sensitive service (such as control signaling, game data packet, live broadcast service), threshold three can be set to 200ms. If the specified data to be uploaded is a delay-insensitive service (such as 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.
[0177] When the transmission timer does not reach the threshold three, step S910 is executed. At this time, since the first time slot and the second time slot overlap, sending the SR request fails, and then prepare to send the SR request again.
[0178] S909: Increase the SR request priority and execute step S910.
[0179] When the transmission timer reaches threshold three, the time it took for the second UE to send the same designated uplink data to fail to send the SR request has reached threshold three. Therefore, the priority of the SR request is increased, giving it a higher priority than the first uplink data sent by the first UE, so that UE 30 prioritizes allocating radio frequency transmission channel resources to the second UE.
[0180] Through the above method, when the transmission timer reaches threshold three, the SR request priority is increased, thereby avoiding 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 failures in sending the SR request, resulting in triggering the random access process, thereby avoiding the risk of network connection disconnection generated during the random access process; increasing the probability of the second user identity successfully sending the SR request, and improving the user experience.
[0181] In one possible implementation, as shown in the dotted box in Figure 9, after UE30 increases the priority of the SR request, when sending the SR, step S910 is executed to initialize the transmission timer, and then step SS406 is executed. The execution order of step S910 and steps S406, S307, and starting the SR request timer can be interchanged, or can be performed simultaneously, and this application does not impose any restrictions on this. Through the above method, when the transmission timer reaches threshold three, the time the first user identity occupies the radio frequency channel reaches threshold three, and after the SR request priority is increased, the transmission timer is initialized. The transmission timer now records the time the first user identity occupies the radio frequency transmission channel. By setting the threshold for the transmission timer to record the time, the first user identity is prevented from occupying the radio frequency transmission channel for a long time, which causes the first user identity to be affected in running services, thereby improving the user experience.
[0182] During the process of the second user identity sending designated uplink data in UE30, the above embodiment uses a transmission timer to indicate the time during which the second user identity fails to send an SR request, thereby adjusting UE20's resource allocation to the first user identity and the second user identity, improving the transmission success rate of the second user identity sending an SR request, and avoiding the second user identity failing to send an SR request for a long time, which may cause the running service to fail to operate normally.
[0183] Based on the relevant explanations in the above embodiments, the following describes relevant products applicable to this application, such as chips and devices. Please refer to Figure 10, which is a structural diagram of a system chip provided by an embodiment of the present invention. The system chip 300 shown in Figure 10 includes an application processor 301 (application processor, AP) and a baseband processor 302 (baseband processor, BP).
[0184] The full name of the application processor is multimedia application processor (MAP), which refers to a very large-scale integrated circuit that expands audio and video functions and dedicated interfaces on the basis of a low-power central processing unit (CPU). Application processors are mainly divided into three categories, including full-scale processors, multimedia processors and single-media processors. Full-scale processors must have the functions of a multimedia application processor and can also run complex operating systems such as Linux. Multimedia processors refer to processors that process more than two media, such as images, sounds, videos, and 3D graphics. Single-media processors refer to processors that process one type of media, usually only used to process images or sounds.
[0185] The baseband processor is a key component in the system-on-chip (SoC), 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 primary functions include baseband encoding and decoding, sound 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 capabilities and communication interfaces for multimedia displays, image sensors, and audio devices.
[0186] In practice, the application processor (AP) typically supports software running including operating systems, user interfaces, and applications. The baseband processor (BP) can be considered a wireless modem module, responsible for coordinating and controlling communications between the BP and base stations and APs. Software supported by the BP includes baseband modem communication control software.
[0187] The application processor (AP) and the baseband processor (BP) support mutual communication using a preset interface technology. This interface technology can be customized by the system and includes, for example, but not limited to, the serial peripheral interface (SPI), universal asynchronous receiver / transmitter (UART), universal serial bus (USB), and general purpose input / output (GPIO). Specifically, the application processor and the baseband processor can communicate with each other via control commands in the form of messages to facilitate functions such as calls, short messages, and mobile Internet access. Such control commands may include traditional AT (attention) commands, mobile broadband interface model (MBIM) commands, or other protocol commands that support communication between the AP and BP.
[0188] Optionally, as shown in FIG10 , the baseband processor BP supports running protocol software related to the physical layer and the RRC layer. In actual applications, the application processor AP supports communication with the RRC layer in the baseband processor BP. For example, in the present 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 information such as the application status currently known by the AP (for example, UE30 is turned on, UE30 turns off the flight mode), thereby triggering the RRC layer to execute the network search process.
[0189] Optionally, the physical layer in the baseband processor BP supports the execution of the method steps described in any of the method embodiments described in Figures 3 to 9 above with the physical layer as the execution subject, and / or other technical contents described herein. The RRC layer in the baseband processor BP supports the execution of the method steps described in any of the method embodiments described in Figures 3 to 9 above with the RRC layer as the execution subject, and / or other technical contents described herein.
[0190] In actual applications, the system chip 300 generally refers to a highly complex system chip, such as a SOC chip. In actual deployment, it can be deployed inside the device or outside the device, and the control of the device can be achieved through a wired connection or a wireless connection. The device includes but is not limited to UE30 or an electronic device, for example, it may specifically include a smart phone, a mobile Internet device (mobile internet devices, MID), a wearable smart device or other devices that support network communication. Specifically, when the system chip 1000 is deployed inside an electronic device, the system chip 300 is directly used to implement the method described in any of the method embodiments described in Figures 5 to 7 above. When the system chip 300 is deployed outside an electronic device and supports establishing communication between the system chip 300 and the electronic device through a wired or wireless connection, the electronic device implements the method described in any of the method embodiments described in Figures 3 to 9 above by calling or controlling the system chip 300.
[0191] The present 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 functions can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media 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 that can be accessed by a computer.
[0192] As an optional design, the computer-readable storage medium may include RAM, ROM, EEPROM, CD-ROM or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by the computer. Moreover, any connection is properly referred to as a computer-readable medium.
[0193] The present application also provides a computer program product. The methods described in the above method embodiments can be implemented in whole or in part via software, hardware, firmware, or any combination thereof. If implemented in software, they can be implemented in whole or in part via a computer program product. A computer program product comprises one or more computer instructions. When these computer program instructions are loaded and executed on a computer, they fully or partially perform the processes or functions described in the above method embodiments. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device.
[0194] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present 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.
Citation Information
Patent Citations
Task triggering method and mobile terminal
CN110234109A
Dual-card uplink transmission method and device, terminal equipment and chip
CN115988655A
User equipment, radio network node and methodsfor managing recovery procedures therein
WO2020167219A1
Data transmission method and communication apparatus
WO2022246616A1
