CN111555825B - Radio frequency resource allocation method and device - Google Patents
Radio frequency resource allocation method and device Download PDFInfo
- Publication number
- CN111555825B CN111555825B CN202010384645.5A CN202010384645A CN111555825B CN 111555825 B CN111555825 B CN 111555825B CN 202010384645 A CN202010384645 A CN 202010384645A CN 111555825 B CN111555825 B CN 111555825B
- Authority
- CN
- China
- Prior art keywords
- radio frequency
- sim card
- priority
- frequency resource
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/382—Monitoring; Testing of propagation channels for resource allocation, admission control or handover
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/56—Allocation or scheduling criteria for wireless resources based on priority criteria
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/20—Manipulation of established connections
- H04W76/27—Transitions between radio resource control [RRC] states
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a radio frequency resource allocation method and a radio frequency resource allocation device, which are applied to electronic equipment, wherein the electronic equipment comprises at least two Subscriber Identity Modules (SIM) cards, the at least two SIM cards comprise a first SIM card and at least one second SIM card, the first SIM card is in a wireless resource control connection state, and the method comprises the following steps: receiving a first radio frequency resource request from a second SIM card; sending a first request instruction to a radio frequency control layer through a physical layer corresponding to a second SIM card according to a first priority, wherein the first priority is determined by the physical layer corresponding to the second SIM card according to a first radio frequency resource request; and when receiving the first request instruction, the radio frequency control layer allocates a first target radio frequency resource to the second SIM card according to a preset strategy, wherein when the second SIM card uses the first target radio frequency resource, the first SIM card keeps data connection. By adopting the embodiment of the application, the refinement of the radio frequency resource allocation is promoted, and meanwhile, the data connection of the first SIM card is ensured.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for allocating radio frequency resources.
Background
At present, most electronic devices (such as mobile phones, tablet computers, and the like) are multi-user identification card devices, and for such multi-card devices, when a data card in a plurality of cards is in a Radio Resource Control (RRC) connected state to process a data service, and other cards are in an RRC idle state, if a non-data card needs to use a Radio Resource for a long time (such as a network searching or signaling process), allocation of the Radio Resource is controlled by a protocol stack, and the data card is correspondingly placed in the idle state to cause RRC connection release, so that a user can perceive that the data service cannot be used, and therefore, how to avoid RRC connection release of the data card becomes a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a radio frequency resource allocation method and device, so that the refinement of radio frequency resource allocation is expected to be improved, and meanwhile, the data connection of a first SIM card is guaranteed.
In a first aspect, an embodiment of the present application provides a radio frequency resource allocation method, which is applied to an electronic device, where the electronic device includes at least two Subscriber Identity Module (SIM) cards, where the at least two SIM cards include a first SIM card and at least one second SIM card, where the first SIM card is in a Radio Resource Control (RRC) connected state, and the method includes:
receiving a first radio frequency resource request from a second SIM card, wherein the first radio frequency resource request is used for requesting radio frequency resources for a target service;
sending a first request instruction to a radio frequency control layer through a physical layer corresponding to the second SIM card according to a first priority, wherein the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request;
and when the radio frequency control layer receives the first request instruction, allocating a first target radio frequency resource to the second SIM card according to a preset strategy, wherein when the second SIM card uses the first target radio frequency resource, the first SIM card keeps data connection.
In a second aspect, an embodiment of the present application provides a radio frequency resource allocation apparatus, where the electronic device includes at least two subscriber identity module SIM cards, where the at least two SIM cards include a first SIM card and at least one second SIM card, where the first SIM card is in a radio resource control RRC connected state, the radio frequency resource allocation apparatus includes a receiving unit, a sending unit, and an allocating unit, where:
the receiving unit is configured to receive a first radio frequency resource request from a second SIM card, where the first radio frequency resource request is used to request a radio frequency resource for a target service;
the sending unit is configured to send a first request instruction to a radio frequency control layer by using a first priority through a physical layer corresponding to the second SIM card, where the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request;
the allocation unit is configured to allocate, by the radio frequency control layer, a first target radio frequency resource to the second SIM card according to a preset policy when the first request instruction is received, where the first SIM card maintains data connection when the second SIM card uses the first target radio frequency resource.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in this embodiment of the application, when a first SIM card is in a connected state, an electronic device receives a first radio frequency resource request from a second SIM card, and sends a first request instruction to a radio frequency control layer with a first priority through a physical layer corresponding to the second SIM card, where the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request, and finally, when the first request instruction is received through the radio frequency control layer, allocates a first target radio frequency resource to the second SIM card according to a preset policy, where the first SIM card maintains data connection when the second SIM card uses the first target radio frequency resource. Therefore, the electronic equipment determines the distributed first target radio frequency resource through the radio frequency control layer instead of the upper protocol stack, so that refinement of radio frequency resource distribution is facilitated, and the radio frequency control layer is the radio frequency resource distributed according to the first priority determined by the physical layer and the preset strategy, so that rationality of radio frequency resource distribution is facilitated, and data connection of the first SIM card can be ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 3A is a schematic flowchart of a radio frequency resource allocation method according to an embodiment of the present application;
fig. 3B is a schematic diagram of an rf resource allocation provided in an embodiment of the present application;
fig. 3C is a schematic diagram of another radio frequency resource allocation provided in the embodiment of the present application;
fig. 3D is a schematic diagram of another radio frequency resource allocation provided in the embodiment of the present application;
fig. 3E is a schematic diagram of another radio frequency resource allocation provided in the embodiment of the present application;
fig. 4 is a schematic flowchart of another radio frequency resource allocation method according to an embodiment of the present application;
fig. 5 is a flowchart illustrating another radio frequency resource allocation method according to an embodiment of the present application;
fig. 6 is a block diagram of a distributed functional unit of an apparatus for allocating radio frequency resources according to an embodiment of the present application;
fig. 7 is a block diagram of an integrated functional unit of an apparatus for allocating radio frequency resources according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
In order to better understand the scheme of the embodiments of the present application, the following first introduces related terms and concepts to which the embodiments of the present application may relate.
1) The electronic device may be a portable electronic device such as a cell phone, a tablet, a wearable electronic device with wireless communication capabilities (e.g., a smart watch), etc., that also contains other functions such as personal digital assistant and/or music player functions. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices that carry an IOS system, an Android system, a Microsoft system, or other operating system. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be understood that in other embodiments, the electronic device may not be a portable electronic device, but may be a desktop computer.
2) A Radio Resource Control (RRC) connected state is a state in which the electronic device completes a random access procedure after completing camping in a certain cell, and is called as entering a connected state.
Fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charge 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 compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 100 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose-output (GPIO) interface, a SIM card interface, and/or a USB interface. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives an input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (blue tooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (mini-light-emitting diode, mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in the external memory card.
Internal memory 121 may be used to store one or more computer programs, which include instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, so as to enable the electronic device 100 to execute the method for displaying page elements provided in some embodiments of the present application, and various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (such as photos, contacts, etc.) created during use of the electronic device 100, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage units, flash memory units, universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 100 to execute the method for displaying page elements provided in the embodiments of the present application and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but have different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the X, Y, and Z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for identifying the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and the like.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint characteristics to unlock a fingerprint, access an application lock, photograph a fingerprint, answer an incoming call with a fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
Fig. 2 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
Content providers are used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide a fusion of the 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes embodiments of the present application in detail.
Referring to fig. 3A, fig. 3A is a schematic flowchart of a radio frequency resource allocation method, which is applied to an electronic device, where the electronic device includes at least two subscriber identity module cards SIM cards, and the at least two SIM cards include a first SIM card and at least one second SIM card, where the first SIM card is in a radio resource control RRC connected state.
S301, an electronic device receives a first radio frequency resource request from a second SIM card, wherein the first radio frequency resource request is used for requesting radio frequency resources for a target service;
the second SIM card may be one or more of the at least two SIM cards, which is not limited herein.
The first radio frequency resource request is triggered by the second SIM card according to the received user event, for example, when the user searches for a network through the second SIM card, the second SIM card sends the first radio frequency resource request.
The target service may be various, for example, network search, signaling interaction, and the like, which is not limited herein.
S302, the electronic device sends a first request instruction to a radio frequency control layer through a physical layer corresponding to the second SIM card according to a first priority, wherein the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request;
the electronic device may report a first mapping relationship, where the first mapping relationship is a mapping relationship between a target service and a priority, and the physical layer may query the first mapping relationship according to the target service corresponding to the first radio frequency resource request, so as to determine the first priority.
S303, when receiving the first request instruction, the electronic device allocates a first target radio frequency resource to the second SIM card according to a preset policy through the radio frequency control layer, where the first SIM card maintains data connection when the second SIM card uses the first target radio frequency resource.
In one possible example, the priority corresponding to the second request instruction is the first priority, the second request instruction is an instruction sent by the physical layer corresponding to the first SIM card to the radio frequency control layer, and the second request instruction is used to maintain the data connection of the first SIM card.
The first SIM card is a data card and is in an RRC (radio resource control) connected state, in the RRC connected state, a physical layer corresponding to the first SIM card continuously sends a second request instruction to a radio frequency control layer with a first priority, and the first priority is determined by the physical layer corresponding to the first SIM card.
As can be seen, in this example, the first priority corresponding to the second request instruction is flexible, and the physical layer may change according to the current scenario, so as to provide a reasonable basis for the subsequent radio resource control layer to allocate radio resources, which is beneficial to improving accuracy, flexibility, and rationality of radio resource allocation.
As shown in fig. 3B, the specific implementation manner of allocating the first target radio frequency resource to the second SIM card according to the preset policy may be various, for example, the radio frequency resource control layer may allocate the radio frequency resource to the first SIM card and the second SIM card according to the priority of the first request instruction and the priority of the second request instruction, or the radio frequency resource control layer may allocate the radio frequency resource to the first SIM card and the second SIM card according to an average allocation time division unit, or the radio frequency resource control layer may allocate the radio frequency resource to the first SIM card and the second SIM card according to a certain proportion allocation time division unit, and the time for the second SIM card to use the radio frequency resource does not exceed the preset time period, so as to ensure that the RRC connection state of the first SIM card is not released, which is not limited herein.
It can be seen that, in this embodiment of the application, when a first SIM card is in a connected state, an electronic device receives a first radio frequency resource request from a second SIM card, and sends a first request instruction to a radio frequency control layer with a first priority through a physical layer corresponding to the second SIM card, where the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request, and finally, when the first request instruction is received through the radio frequency control layer, allocates a first target radio frequency resource to the second SIM card according to a preset policy, where the first SIM card maintains data connection when the second SIM card uses the first target radio frequency resource. Therefore, the electronic equipment determines the distributed first target radio frequency resource through the radio frequency control layer instead of the upper protocol stack, so that refinement of radio frequency resource distribution is facilitated, and the radio frequency control layer is the radio frequency resource distributed according to the first priority determined by the physical layer and the preset strategy, so that rationality of radio frequency resource distribution is facilitated, and data connection of the first SIM card can be ensured.
In one possible example, the method further comprises:
sending the first radio frequency resource request of the second SIM card to the first SIM card;
and switching the first priority to be a second priority through a physical layer corresponding to the first SIM card, so as to send the second request instruction to the radio frequency control layer through the second priority, wherein the second priority is higher or lower than the first priority, and the second priority is determined by the physical layer corresponding to the first SIM card according to the first radio frequency resource request.
The first SIM card informs the physical layer when receiving the first radio frequency resource request, and the physical layer determines a first priority corresponding to the first radio frequency resource request according to a target service corresponding to the first radio frequency resource request, and further the physical layer corresponding to the first SIM card switches the priority according to a time at which the RRC connection may be out of synchronization, for example, according to an evaluation time of the radio link monitor, and if a time difference between a current time and the evaluation time of the radio link monitor is greater than a preset threshold, the first priority is switched to a second priority, and the second priority is lower than the first priority; and when the time difference between the current time and the evaluation time of the wireless link monitor is smaller than a preset threshold value, switching the first priority to be a second priority, wherein the second priority is higher than the first priority.
When the second SIM cards are multiple second SIM cards, the physical layer corresponding to the first SIM card may switch the priority according to the time at which the RRC connection may be out of synchronization in the process that the multiple second SIM cards use the radio frequency resources, for example, if a time difference between the current time and the evaluation time of the radio link monitor is greater than a preset threshold, the physical layer switches to the low priority, so that the radio frequency control layer allocates the radio frequency resources to the second SIM card 1, then switches to the high priority before the evaluation time of the radio link monitor, and then switches to the low priority again after the evaluation of the radio link monitor, so that the radio frequency control layer allocates the radio frequency resources to the second SIM card 2.
As can be seen, in this example, the physical layer corresponding to the first SIM card may be switched to the second priority according to the first radio frequency resource request corresponding to the second SIM card and the current connection condition of the first SIM card RRC, which affects the result of allocating radio frequency resources by the radio frequency control layer, instead of fixing the priority according to the target service, and is beneficial to improving the flexibility of radio frequency resource allocation.
In one possible example, the second priority is lower than the first priority, and after the switching the first priority to the second priority by the physical layer corresponding to the first SIM card, the method further includes:
before the RRC connection of the first SIM card is determined to be out of synchronization, switching the second priority to a third priority through a physical layer corresponding to the first SIM card, so as to send the second request instruction to the radio frequency control layer through the third priority, where the third priority is higher than the first priority.
Here, when there is only one second SIM card, the procedure of this example is shown in fig. 3C, and before the RRC connection of the first SIM card is determined to be out of synchronization, for example, it may be before the timer T311 expires.
As can be seen, in this example, before the RRC connection of the first SIM card is determined to be out of synchronization, the physical layer raises the second priority to the third priority, so that the radio frequency control layer allocates the radio frequency resource to the first SIM card, which effectively ensures the data connection of the first SIM card.
In one possible example, the first SIM card is in a Connected Discontinuous Reception (CDRX) scenario, and the method further includes:
when the first SIM card is in a continuous receiving state, switching the first priority to be a second priority through a physical layer corresponding to the first SIM card, wherein the second priority is higher than the first priority;
when the first SIM card is in a discontinuous reception dormant state, switching the first priority to a second priority through a physical layer corresponding to the first SIM card, wherein the second priority is lower than the first priority.
When only one second SIM card is present, in this example, as shown in fig. 3D, the physical layer monitors the state of the first SIM card, and when it is monitored that the first SIM card is in the continuous Reception state on duration, in order to ensure that the RRC connection of the first SIM card is not released, the priority is raised, when it is monitored that the first SIM card is in the Discontinuous Reception sleep state (DRX sleep), the priority is lowered, so that at least one second SIM card may use the radio frequency resources in this time period, and when the at least one second SIM card includes multiple second SIM cards, when the first SIM card is in the Discontinuous Reception sleep state, the radio frequency control layer may equally allocate the time period or proportionally allocate the time period to the multiple second SIM cards to use the radio frequency resources.
As can be seen, in this example, when the first SIM card is in CDRX, the physical layer flexibly switches the priority of the second request instruction according to the state of the first SIM card, which not only ensures the data connection of the first SIM card, but also ensures the use of the radio frequency resource of the second SIM card, and is beneficial to improving the rationality and flexibility of the radio frequency resource allocation.
In one possible example, the allocating, to the second SIM card, the first target radio frequency resource according to a preset policy includes:
when the priorities corresponding to the first request instruction and the second request instruction are the same, determining a first time period through the radio frequency control layer, wherein the first time period and a second time period are allocated by the radio frequency control layer according to a first proportion, and the second time period is a time period for the radio frequency control layer to allocate radio frequency resources to the first SIM card;
allocating, by the radio frequency control layer, the first target radio frequency resource for the first time period to the second SIM card.
When there is only one second SIM card, for example, as shown in fig. 3E, when the second SIM card is a plurality of SIM cards, the radio frequency control layer may allocate radio frequency resources to the plurality of second SIM cards according to a second ratio in a first time period.
The first ratio and the second ratio may be various, and for example, may be 1.
As can be seen, in this example, when the priorities corresponding to the first request instruction and the second request instruction are the same, the radio frequency control layer may allocate radio frequency resources to the first SIM card and the second SIM card according to a certain proportion, instead of allocating radio frequency resources through the protocol stack under the condition that the priorities are not clear, which is beneficial to improving the rationality of radio frequency resource allocation.
In one possible example, the at least one second SIM card is a plurality of second SIM cards, and the allocating the first target radio frequency resource to the second SIM cards according to the preset policy includes:
when the priority of a plurality of first request instructions corresponding to a plurality of second SIM cards is higher than the priority corresponding to a second request instruction, determining a time division unit for allocating radio frequency resources to each second SIM card through the radio frequency control layer, wherein the sum of the time division units occupied by the plurality of second SIM cards is less than a preset time period, and the preset time period is less than the time interval between two evaluations of a physical layer wireless link monitor corresponding to the first SIM card;
and distributing the first target radio frequency resources to the plurality of second SIM cards according to the time unit through the radio frequency control layer.
When the priority of the first request instructions is higher than the priority corresponding to the second request instructions, the radio frequency control layer firstly allocates radio frequency resources corresponding to the time division units to the second SIM cards.
When the preset time period is less than a time interval (e.g. 100-200 ms) between two evaluations of the physical layer radio link monitor corresponding to the first SIM card, the RRC connection of the first SIM card may be prevented from being judged out of synchronization.
As can be seen, in this example, when the radio frequency control layer allocates the radio frequency resource to the plurality of second SIM cards, the sum of the time division units occupied by the plurality of second SIM cards is smaller than a preset time period, and the preset time period is smaller than a time interval between two evaluations of the physical layer wireless link monitor corresponding to the first SIM card, so that the first SIM card can be effectively prevented from being judged to be out of synchronization.
Referring to fig. 4, fig. 4 is a flowchart illustrating another radio frequency resource allocation method according to an embodiment of the present application, where the radio frequency resource allocation method can be applied to an electronic device. As shown in the figure, the radio frequency resource allocation method includes the following operations:
s401, the electronic device receives a first radio frequency resource request from a second SIM card, wherein the first radio frequency resource request is used for requesting radio frequency resources for a target service.
S402, the electronic equipment sends the first radio frequency resource request of the second SIM card to a first SIM card.
S403, the electronic device switches the first priority to a second priority through a physical layer corresponding to the first SIM card, so as to send a second request instruction to a radio frequency control layer through the second priority, where the second priority is lower than the first priority, and the second request instruction is used to maintain data connection of the first SIM card.
S404, the electronic device sends a first request instruction to a radio frequency control layer through a physical layer corresponding to the second SIM card according to the first priority, wherein the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request.
S405, when receiving the first request instruction, the electronic device allocates a first target radio frequency resource to the second SIM card through the radio frequency control layer, where the first SIM card maintains data connection when the second SIM card uses the first target radio frequency resource.
It can be seen that, in this embodiment of the application, when a first SIM card is in a connected state, an electronic device receives a first radio frequency resource request from a second SIM card, and sends a first request instruction to a radio frequency control layer with a first priority through a physical layer corresponding to the second SIM card, where the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request, and finally, when the first request instruction is received through the radio frequency control layer, allocates a first target radio frequency resource to the second SIM card according to a preset policy, where when the second SIM card uses the first target radio frequency resource, the first SIM card maintains data connection. Therefore, the electronic equipment determines the allocated first target radio frequency resource through the radio frequency control layer instead of the upper protocol stack, which is beneficial to improving the refinement of the radio frequency resource allocation.
In addition, the physical layer corresponding to the first SIM card can be switched to the second priority according to the first radio frequency resource request corresponding to the second SIM card and the current connection condition of the first SIM card RRC, which affects the result of radio frequency resource allocation by the radio frequency control layer, rather than fixing the priority according to the target service, and is beneficial to improving the flexibility of radio frequency resource allocation.
Referring to fig. 5, fig. 5 is a flowchart illustrating another radio frequency resource allocation method according to an embodiment of the present application, where the radio frequency resource allocation method can be applied to an electronic device. As shown in the figure, the radio frequency resource allocation method includes the following operations:
s501, the electronic device receives a first radio frequency resource request from a second SIM card, wherein the first radio frequency resource request is used for requesting radio frequency resources for a target service.
S502, the electronic device sends a first request instruction to a radio frequency control layer through a physical layer corresponding to the second SIM card according to a first priority, wherein the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request.
S503, when the priorities of the first request instruction and the second request instruction are the same, the electronic device determines, through the radio frequency control layer, a first time period, where the first time period and the second time period are allocated by the radio frequency control layer according to a first ratio, the second time period is a time period when the radio frequency control layer allocates radio frequency resources to the first SIM card, and the second request instruction is an instruction sent to the radio frequency control layer by a physical layer corresponding to the first SIM card, where the second request instruction is used to maintain data connection of the first SIM card.
S504, the electronic device allocates the first target radio frequency resource of the first time period to the second SIM card through the radio frequency control layer.
It can be seen that, in this embodiment of the application, when a first SIM card is in a connected state, an electronic device receives a first radio frequency resource request from a second SIM card, and sends a first request instruction to a radio frequency control layer with a first priority through a physical layer corresponding to the second SIM card, where the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request, and finally, when the first request instruction is received through the radio frequency control layer, allocates a first target radio frequency resource to the second SIM card according to a preset policy, where the first SIM card maintains data connection when the second SIM card uses the first target radio frequency resource. Therefore, the electronic equipment determines the distributed first target radio frequency resource through the radio frequency control layer instead of the upper protocol stack, so that refinement of radio frequency resource distribution is facilitated, and the radio frequency control layer is the radio frequency resource distributed according to the first priority determined by the physical layer and the preset strategy, so that rationality of radio frequency resource distribution is facilitated, and data connection of the first SIM card can be ensured.
In addition, when the priorities corresponding to the first request instruction and the second request instruction are the same, the radio frequency control layer may allocate radio frequency resources to the first SIM card and the second SIM card according to a certain proportion, instead of allocating the radio frequency resources through a protocol stack under the condition that the priorities are not clear, which is beneficial to improving the rationality of radio frequency resource allocation.
The embodiment of the present application provides a radio frequency resource allocation apparatus, which may be an electronic device 100. Specifically, the radio frequency resource allocation method is used for executing the steps of the radio frequency resource allocation method. The radio frequency resource allocation method provided by the embodiment of the application can comprise modules corresponding to corresponding steps.
In the embodiment of the present application, the radio frequency resource allocation apparatus may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 shows a schematic structural diagram of a possible radio frequency resource allocation apparatus in the above embodiment, in the case of dividing each functional module according to each function. As shown in fig. 6, the radio frequency resource allocation apparatus 600 includes a receiving unit 601, a transmitting unit 602, and an allocating unit 603, where:
the receiving unit 601 is configured to receive a first radio frequency resource request from a second SIM card, where the first radio frequency resource request is used to request a radio frequency resource for a target service;
the sending unit 602 is configured to send a first request instruction to a radio frequency control layer by using a first priority through a physical layer corresponding to the second SIM card, where the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request;
the allocating unit 603 is configured to allocate, according to a preset policy, a first target radio frequency resource to the second SIM card when the radio frequency control layer receives the first request instruction, where the first SIM card maintains data connection when the second SIM card uses the first target radio frequency resource.
All relevant contents of the steps related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. Of course, the radio frequency resource allocation apparatus provided in the embodiment of the present application includes, but is not limited to, the modules described above, for example: the radio frequency resource allocation means may further comprise a storage unit 502. The memory unit 503 may be used for storing program codes and data of the radio frequency resource allocation apparatus.
In the case of using an integrated unit, a schematic structural diagram of the radio frequency resource allocation apparatus provided in the embodiment of the present application is shown in fig. 7. In fig. 7, an rf resource allocation apparatus 700 includes: a processing module 702 and a communication module 701. The processing module 702 is used for controlling and managing the actions of the radio frequency resource allocation apparatus, for example, performing the steps performed by the allocation unit 603, and/or other processes for performing the techniques described herein. The communication module 701 is configured to support interaction between the radio frequency resource allocation apparatus and other devices, or between modules inside the radio frequency resource allocation apparatus. As shown in fig. 7, the radio frequency resource allocation apparatus may further include a storage module 703, where the storage module 703 is configured to store program codes and data of the radio frequency resource allocation apparatus, for example, contents stored in the storage unit 703.
The Processing module 702 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication module 701 may be a transceiver, a radio frequency circuit or a communication interface, etc. The storage module 703 may be a memory.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. Both the radio frequency resource allocation apparatus 600 and the radio frequency resource allocation apparatus 700 can perform the radio frequency resource allocation method shown in any one of fig. 3A-5.
The present embodiment also provides a computer storage medium, in which computer instructions are stored, and when the computer instructions are run on an electronic device, the computer instructions cause the electronic device to execute the relevant method steps to implement the operation method in the foregoing embodiment.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the relevant steps described above, so as to implement the radio frequency resource allocation method in the foregoing embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the apparatus runs, the processor may execute the computer execution instructions stored in the memory, so as to make the chip execute the radio frequency resource allocation method in the above-mentioned method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the foregoing embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is only one type of logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a separate product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (9)
1. A radio frequency resource allocation method is applied to an electronic device, wherein the electronic device comprises at least two Subscriber Identity Module (SIM) cards, and the at least two SIM cards comprise a first SIM card and at least one second SIM card, wherein the first SIM card is in a Radio Resource Control (RRC) connection state, and the method comprises the following steps:
receiving a first radio frequency resource request from a second SIM card, wherein the first radio frequency resource request is used for requesting radio frequency resources for a target service;
sending a first request instruction to a radio frequency control layer through a physical layer corresponding to the second SIM card according to a first priority, wherein the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request;
when the radio frequency control layer receives the first request instruction, allocating a first target radio frequency resource to the second SIM card according to a preset strategy, wherein when the second SIM card uses the first target radio frequency resource, the first SIM card keeps an RRC (radio resource control) connection state;
when the first SIM card is in a connection state discontinuous receiving state, monitoring the state of the first SIM card through the physical layer corresponding to the state of the first SIM card, upgrading the first priority when monitoring that the first SIM card is in a continuous receiving state, and reducing the first priority when monitoring that the first SIM card is in a discontinuous receiving dormant state, so that the second SIM card ensures the data connection of the first SIM card and the use of radio frequency resources of the second SIM card when using the first radio frequency resources in a request stage.
2. The method according to claim 1, wherein a priority corresponding to a second request instruction is the first priority, the second request instruction is an instruction sent by a physical layer corresponding to the first SIM card to the radio frequency control layer, and the second request instruction is used for maintaining data connection of the first SIM card.
3. The method of claim 2, further comprising:
sending the first radio frequency resource request of the second SIM card to the first SIM card;
and switching the first priority to be a second priority through a physical layer corresponding to the first SIM card, so as to send the second request instruction to the radio frequency control layer through the second priority, wherein the second priority is higher or lower than the first priority, and the second priority is determined by the physical layer corresponding to the first SIM card according to the first radio frequency resource request.
4. The method of claim 3, wherein the second priority is lower than the first priority, and wherein after switching the first priority to the second priority via the physical layer corresponding to the first SIM card, the method further comprises:
before the RRC connection of the first SIM card is judged to be out of synchronization, switching the second priority to a third priority through a physical layer corresponding to the first SIM card so as to send the second request instruction to the radio frequency control layer through the third priority, wherein the third priority is higher than the first priority.
5. The method according to any one of claims 2 to 4, wherein the allocating the first target radio frequency resource to the second SIM card according to a preset policy comprises:
when the priorities corresponding to the first request instruction and the second request instruction are the same, determining a first time period through the radio frequency control layer, wherein the first time period and the second time period are allocated by the radio frequency control layer according to a first proportion, and the second time period is a time period for the radio frequency control layer to allocate radio frequency resources to the first SIM card;
allocating, by the radio frequency control layer, the first target radio frequency resource for the first time period to the second SIM card.
6. The method according to any of claims 2-4, wherein the at least one second SIM card is a plurality of second SIM cards, and wherein the allocating the first target radio frequency resource to the second SIM cards according to the preset policy comprises:
when the priority of a plurality of first request instructions corresponding to the plurality of second SIM cards is higher than the priority corresponding to the second request instructions, determining a time division unit for allocating radio frequency resources to each second SIM card through the radio frequency control layer, wherein the sum of the time division units occupied by the plurality of second SIM cards is less than a preset time period, and the preset time period is less than the time interval between two evaluations of a physical layer wireless link monitor corresponding to the first SIM card;
and distributing the first target radio frequency resource to the plurality of second SIM cards according to the time division unit through the radio frequency control layer.
7. A radio frequency resource allocation device is applied to an electronic device, the electronic device includes at least two SIM cards including a first SIM card and at least one second SIM card, wherein the first SIM card is in a Radio Resource Control (RRC) connection state, the radio frequency resource allocation device includes a receiving unit, a transmitting unit and an allocation unit, wherein:
the receiving unit is configured to receive a first radio frequency resource request from a second SIM card, where the first radio frequency resource request is used to request a radio frequency resource for a target service;
the sending unit is configured to send a first request instruction to a radio frequency control layer through a physical layer corresponding to the second SIM card with a first priority, where the first priority is determined by the physical layer corresponding to the second SIM card according to the first radio frequency resource request;
the allocating unit is configured to allocate, according to a preset policy, a first target radio frequency resource to the second SIM card when the radio frequency control layer receives the first request instruction, where the first SIM card maintains an RRC connection when the second SIM card uses the first target radio frequency resource;
when the first SIM card is in a connection state discontinuous receiving state, monitoring the state of the first SIM card through the physical layer corresponding to the state of the first SIM card, upgrading the first priority when monitoring that the first SIM card is in a continuous receiving state, and reducing the first priority when monitoring that the first SIM card is in a discontinuous receiving dormant state, so that the second SIM card ensures the data connection of the first SIM card and the use of radio frequency resources of the second SIM card when using the first radio frequency resources in a request stage.
8. An electronic device comprising a processor, memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the method of any of claims 1-6.
9. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010384645.5A CN111555825B (en) | 2020-05-08 | 2020-05-08 | Radio frequency resource allocation method and device |
PCT/CN2021/083323 WO2021223539A1 (en) | 2020-05-08 | 2021-03-26 | Radio frequency resource allocation method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010384645.5A CN111555825B (en) | 2020-05-08 | 2020-05-08 | Radio frequency resource allocation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111555825A CN111555825A (en) | 2020-08-18 |
CN111555825B true CN111555825B (en) | 2022-10-18 |
Family
ID=72008066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010384645.5A Active CN111555825B (en) | 2020-05-08 | 2020-05-08 | Radio frequency resource allocation method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111555825B (en) |
WO (1) | WO2021223539A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111555825B (en) * | 2020-05-08 | 2022-10-18 | Oppo广东移动通信有限公司 | Radio frequency resource allocation method and device |
CN112312565B (en) * | 2020-10-30 | 2023-03-24 | 紫光展锐(重庆)科技有限公司 | Communication processing method, device, apparatus and storage medium |
CN114650526A (en) * | 2020-12-18 | 2022-06-21 | Oppo广东移动通信有限公司 | Service response method, device, terminal and storage medium |
JP2024507969A (en) * | 2021-02-26 | 2024-02-21 | 日本電気株式会社 | Terminal devices, network devices, and communication methods |
CN115278906A (en) * | 2021-04-30 | 2022-11-01 | Oppo广东移动通信有限公司 | Radio frequency resource allocation method, user terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104756592A (en) * | 2012-11-01 | 2015-07-01 | 高通股份有限公司 | Apparatus and method for employing a tune-away operation to communicate simultaneously with a plurality of channels |
WO2017052906A1 (en) * | 2015-09-25 | 2017-03-30 | Intel IP Corporation | Communication terminal and method for communicating data |
WO2017107637A1 (en) * | 2015-12-24 | 2017-06-29 | 努比亚技术有限公司 | Mobile phone radio frequency resource allocation method and device |
WO2017140082A1 (en) * | 2016-02-18 | 2017-08-24 | Qualcomm Incorporated | System and methods for improving performance during radio resource control (rrc) connected state on wireless communication device supporting concurrent radio access technologies |
WO2019165628A1 (en) * | 2018-03-01 | 2019-09-06 | Oppo广东移动通信有限公司 | Extended use method for terminal device, terminal device and network device |
WO2020063773A1 (en) * | 2018-09-27 | 2020-04-02 | 奇酷互联网络科技(深圳)有限公司 | Radio frequency resource allocation method, user equipment, and device having storage function |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306681B (en) * | 2015-09-18 | 2020-10-09 | 华为技术有限公司 | Management method and device supporting multiple SIM cards to share RF processor |
CN107645734A (en) * | 2016-07-21 | 2018-01-30 | 中兴通讯股份有限公司 | The dispatching method and device of a kind of service concurrence |
CN106528298A (en) * | 2016-12-29 | 2017-03-22 | 努比亚技术有限公司 | Resource distribution method and device |
EP3591948B1 (en) * | 2017-03-24 | 2021-11-03 | Huawei Technologies Co., Ltd. | Communication method and terminal for realizing dual-sim, dual-standby, and dual-active communication |
US10925056B2 (en) * | 2018-06-29 | 2021-02-16 | Intel Corporation | Multimode device priority access management |
CN109379783B (en) * | 2018-11-28 | 2023-06-06 | 北京小米移动软件有限公司 | Radio frequency resource allocation method and device |
CN111555825B (en) * | 2020-05-08 | 2022-10-18 | Oppo广东移动通信有限公司 | Radio frequency resource allocation method and device |
-
2020
- 2020-05-08 CN CN202010384645.5A patent/CN111555825B/en active Active
-
2021
- 2021-03-26 WO PCT/CN2021/083323 patent/WO2021223539A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104756592A (en) * | 2012-11-01 | 2015-07-01 | 高通股份有限公司 | Apparatus and method for employing a tune-away operation to communicate simultaneously with a plurality of channels |
WO2017052906A1 (en) * | 2015-09-25 | 2017-03-30 | Intel IP Corporation | Communication terminal and method for communicating data |
WO2017107637A1 (en) * | 2015-12-24 | 2017-06-29 | 努比亚技术有限公司 | Mobile phone radio frequency resource allocation method and device |
WO2017140082A1 (en) * | 2016-02-18 | 2017-08-24 | Qualcomm Incorporated | System and methods for improving performance during radio resource control (rrc) connected state on wireless communication device supporting concurrent radio access technologies |
WO2019165628A1 (en) * | 2018-03-01 | 2019-09-06 | Oppo广东移动通信有限公司 | Extended use method for terminal device, terminal device and network device |
WO2020063773A1 (en) * | 2018-09-27 | 2020-04-02 | 奇酷互联网络科技(深圳)有限公司 | Radio frequency resource allocation method, user equipment, and device having storage function |
Also Published As
Publication number | Publication date |
---|---|
WO2021223539A1 (en) | 2021-11-11 |
CN111555825A (en) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111555825B (en) | Radio frequency resource allocation method and device | |
CN111553846B (en) | Super-resolution processing method and device | |
CN111182614B (en) | Method and device for establishing network connection and electronic equipment | |
CN111768416B (en) | Photo cropping method and device | |
CN111835530B (en) | Group joining method and device | |
EP4130969B1 (en) | Method and device for adjusting memory configuration parameter | |
CN111882642B (en) | Texture filling method and device for three-dimensional model | |
WO2022078105A1 (en) | Memory management method, electronic device, and computer-readable storage medium | |
CN113115439A (en) | Positioning method and related equipment | |
CN110806926A (en) | Resource control method and equipment | |
CN114461589B (en) | Method for reading compressed file, file system and electronic equipment | |
CN111381996B (en) | Memory exception handling method and device | |
CN114915996A (en) | Communication exception handling method and related device | |
CN111880661A (en) | Gesture recognition method and device | |
CN114422686A (en) | Parameter adjusting method and related device | |
CN111581119B (en) | Page recovery method and device | |
WO2022188511A1 (en) | Voice assistant wake-up method and apparatus | |
CN113781959B (en) | Interface processing method and device | |
CN115390738A (en) | Scroll screen opening and closing method and related product | |
CN111836226B (en) | Data transmission control method, device and storage medium | |
CN112712378A (en) | After-sale service management system in service community mode | |
CN111459271B (en) | Gaze offset error determination method and device | |
CN114125738B (en) | Data transmission control method and related device | |
CN113542315B (en) | Communication framework, business event processing method and device | |
CN117917629A (en) | Service operation method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |