A method and device for allocating radio frequency resources

Through the RF resource allocation method, the sharing mechanism of the third antenna is used to allocate RF resources according to service priority, solving the problem of service interruption of main card in dual-card communication, and improving communication stability and system stability.

CN113746489BActive Publication Date: 2025-04-04SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111047526.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-08
Publication Date
2025-04-04
Estimated Expiration
2041-09-08

AI Technical Summary

Technical Problem

In the existing dual-card communication solution, if the secondary card needs to perform measurement and paging operations when the main card is connected, the main card needs to drill holes to give up the control of the antenna, resulting in the service interruption of the main card in the connected state, significantly degradation of performance, and increasing the complexity of the control logic and reducing product stability.

Method used

A radio frequency resource allocation method is provided. By receiving resource requests sent by the first communication card, and when the third antenna is occupied by the second communication card, the priority of both services is judged, and the third antenna is allocated to perform its target services with a communication card with a higher priority, ensuring that the main card can still maintain the continuous progress of the original services during the secondary card service.

Benefits of technology

It is realized that when the secondary card is processing services, the main card can maintain the continuous progress of the original service, improve communication stability, reduce the code complexity caused by service interruption, and improve system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113746489B_ABST
    Figure CN113746489B_ABST
Patent Text Reader

Abstract

The embodiment of the present application proposes a method and device for allocating radio frequency resources, wherein in the above radio frequency resource allocation method, the first communication card and the second communication card not only exclusively occupy the first and second antennas respectively, but also share a third antenna, so that when the first communication card is in a connected state, if the second communication card needs to do business, the second communication card occupies the radio frequency resources of the third antenna, and the first communication card uses the first antenna exclusively occupied by itself to continue to perform business. The increased code complexity caused by business interruption in order to maintain the original business operation is reduced, and the system stability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a method and device for allocating radio frequency resources. [Background technology]

[0002] Currently, two subscriber identification modules (Subscriber Identification Modules, communication, referred to as communication cards) are usually provided in mobile terminals such as smart phones. In order to enable the mobile terminal to support the dual-card dual-standby function of two communication cards, two independent radio frequency communication systems need to be provided in the mobile terminal, and multiple independent antennas need to be provided in each independent radio frequency communication system, which requires a large layout space inside the mobile terminal, which is not conducive to the space utilization inside the mobile terminal.

[0003] In the existing dual-card communication solution, when the main card is in the connected state, if the secondary card needs to perform measurement and paging operations, the main card needs to punch a hole to give up control of the antenna, which will cause the main card to interrupt the service in the connected state and cause a significant drop in performance. At the same time, because the interrupted service needs to be maintained, punching a hole will make the main card control logic more complicated and cause a drop in product stability. [Summary of the invention]

[0004] The embodiments of the present application provide a method and device for allocating radio frequency resources, which can achieve that when the secondary card is processing a service, although the performance of the primary card has a certain decline, the original service can still be maintained, thereby improving communication stability.

[0005] In the first aspect, an embodiment of the present application provides a radio frequency resource allocation method, which is applied to a mobile terminal including a first communication card and a second communication card, the mobile terminal including a first antenna and a second antenna, the first communication card is connected to the first antenna, the second communication card is connected to the second antenna, the mobile terminal also includes a third antenna, and the third antenna is respectively connected to the first communication card and the second communication card, the method including: receiving a first resource request sent by the first communication card for executing a first target service; when the third antenna is occupied by the second target service of the second communication card, determining the priority of the second target service and the first target service occupying the third antenna; if the priorities are the same, determining the priorities of the first communication card and the second communication card, selecting the communication card with a higher priority as the target communication card, and allocating the third antenna to execute the target service of the target communication card.

[0006] In the above radio frequency resource allocation method, the first communication card and the second communication card not only exclusively occupy the first and second antennas respectively, but also share the third antenna, so that when the first communication card is in a connected state, if the second communication card needs to do business, the second communication card occupies the radio frequency resources of the third antenna, and the first communication card uses the first antenna exclusively occupied by itself to continue to perform business. This reduces the code complexity increased by maintaining the original business operation due to business interruption and improves system stability.

[0007] In one of the implementation modes, the method further includes: if the priority of the first target service is lower than the priority of the second target service currently occupying the third antenna, allocating the first antenna to execute the first target service of the first target communication card.

[0008] In one embodiment, the method further includes: if the priority of the first target service is higher than the priority of the second target service currently occupying the third antenna, releasing the third antenna occupied by the second target communication card, allocating the third antenna to execute the first target service of the first target communication card, and allocating the second antenna to execute the second target service of the second target communication card.

[0009] In one of the embodiments, the determining of the priority of the second target service and the first target service occupying the third antenna includes: determining the priority of the second target service and the first target service occupying the third antenna according to a preset priority order of mobile terminal services; the priority order of the mobile terminal services includes descending in the order of voice service, paging service, network selection service and data service.

[0010] In one implementation manner, the priority of the first communication card is preset to be higher than that of the second communication card, and selecting the communication card with a higher priority as the target communication card includes: selecting the first communication card with a higher priority as the target communication card.

[0011] In one of the implementation modes, the target service is used as the current target service, and the selection of a communication card with a higher priority as the target communication card includes: determining the communication card with a higher priority between the first communication card and the second communication card, and the communication card with a higher priority is the target communication card determined when the mobile terminal last allocated radio frequency resources.

[0012] In the second aspect, an embodiment of the present application also provides a radio frequency resource allocation device, which is applied to a mobile terminal including a first communication card and a second communication card, the mobile terminal including a first antenna and a second antenna, the first communication card is connected to the first antenna, the second communication card is connected to the second antenna, the mobile terminal also includes a third antenna, and the third antenna is respectively connected to the first communication card and the second communication card, the device includes: a resource request receiving module, used to receive a first resource request sent by the first communication card for executing a first target service; a priority judgment module, used to judge the priority of the second target service and the first target service occupying the third antenna when the third antenna is occupied by the second target service of the second communication card; a resource allocation module, used to judge the priority of the first communication card and the second communication card if the priorities are the same, select the communication card with a higher priority as the target communication card, and allocate the third antenna to execute the target service of the target communication card.

[0013] In one embodiment, the above-mentioned device also includes: the resource allocation module is also used to allocate the first antenna to execute the first target service of the first target communication card if the priority of the first target service is lower than the priority of the second target service currently occupying the third antenna.

[0014] In one embodiment, the above-mentioned device also includes: the resource allocation module is also used to release the third antenna occupied by the second target communication card if the priority of the first target service is higher than the priority of the second target service currently occupying the third antenna, allocate the third antenna to execute the first target service of the first target communication card, and allocate the second antenna to execute the second target service of the second target communication card.

[0015] In one of the embodiments, the above-mentioned device also includes: a priority setting module, used to determine the priority of the second target service and the first target service occupying the third antenna according to a pre-set priority order of mobile terminal services; the priority order of the mobile terminal services includes voice services, paging services, network selection services and data services in descending order.

[0016] In one embodiment, the priority of the first communication card is preset to be higher than that of the second communication card, and the above-mentioned device further includes: a target communication card selection module, which is used to select the first communication card with a higher priority as the target communication card.

[0017] In one embodiment, the device further includes: a target communication card selection module, used to determine the communication card with a higher priority between the first communication card and the second communication card, wherein the communication card with a higher priority is the target communication card determined when the mobile terminal last allocated radio frequency resources.

[0018] In a third aspect, an embodiment of the present application further provides a radio frequency resource allocation device, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute the steps of the above-mentioned radio frequency resource allocation method.

[0019] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the above-mentioned radio frequency resource allocation method.

[0020] It should be understood that the second to fourth aspects of the embodiments of the present application are consistent with the technical solutions of the first aspect of the embodiments of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here.

Brief Description of the Drawings

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 A schematic diagram of the structure of a mobile terminal provided by an embodiment of the present application;

[0023] Figure 2 A schematic diagram of the structure of a radio frequency circuit provided in one embodiment of the present application;

[0024] Figure 3 A flowchart of a radio frequency resource allocation method provided by an embodiment of the present application;

[0025] Figure 4 A schematic diagram of the structure of a radio frequency resource allocation device provided in one embodiment of the present application;

[0026] Figure 5 A schematic diagram of the structure of a radio frequency resource allocation device provided in another embodiment of the present application;

[0027] Figure 6 A schematic diagram of the structure of a radio frequency resource allocation device provided in yet another embodiment of the present application. [Specific implementation method]

[0028] In order to better understand the technical solution of this specification, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0029] It should be clear that the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0030] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit this specification. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0031] In the prior art, when a dual-SIM mobile phone processes the allocation of radio frequency resources for communication services, the priority of the communication services can be divided according to the importance of the communication services. For example, the priority of the CS (Circuit Switching Domain) service is the highest, and the priority of the PS (Packet Switching Domain) service is the lowest. Therefore, the resource transceiver arbitration module of the mobile phone can allocate radio frequency resources according to the priority of the communication services. For example, when a card needs to use radio frequency resources, it first applies to the resource transceiver arbitration module. If the radio frequency resources are not occupied, the radio frequency resources can be directly allocated to the card for use; if the radio frequency resources are occupied, it is necessary to compare the priorities of the two services and allocate the radio frequency resources to the service with the higher priority. However, if the priorities of the two services are the same, there will be a problem of radio frequency resource conflict. No matter which party the radio frequency resources are allocated to, the other party will need to interrupt the service. In order to maintain the continued execution of the original service, the complexity of the logic code needs to be increased, which reduces the stability of the system.

[0032] An embodiment of the present application provides a mobile terminal, which may be a smart phone, a tablet computer, or other device, and may also be a gaming device, an AR (Augmented Reality) device, an automotive device, a data storage device, an audio playback device, a video playback device, a laptop computer, a desktop computer device, or the like.

[0033] Figure 1 A schematic diagram of the structure of a mobile terminal provided in an embodiment of the present application.

[0034] The mobile terminal 100 includes a middle frame 101 , a cover plate 102 , a back cover 103 , a circuit board 104 , a display screen 105 , a battery 106 , a first communication card 107 , and a second communication card 108 .

[0035] The middle frame 101 may be a thin plate or sheet structure, or a hollow frame structure. The middle frame 101 is used to provide support for electronic components or functional components in the mobile terminal 100 so as to install the electronic components and functional components in the mobile terminal 100 together.

[0036] The cover plate 102 is mounted on the middle frame 101 , and the cover plate 102 covers the display screen 105 to protect the display screen 105 and prevent the display screen 105 from being scratched or damaged by water.

[0037] The middle frame 101 and the back cover 103 may together form a housing of the mobile terminal 100, which is used to accommodate or install electronic components, functional components, etc. of the mobile terminal. For example, the display screen 105 may be installed on the housing. In addition, functional components such as the camera, receiver, circuit board 104, and battery 106 of the mobile terminal may be installed on the middle frame 101 for fixing. It is understandable that the material of the middle frame 101 may include metal or plastic.

[0038] The circuit board 104 is installed inside the shell formed by the middle frame 101 and the back cover 103. For example, the circuit board 104 can be installed on the middle frame 101. The circuit board 104 can be the mainboard of the mobile terminal 100. Among them, a radio frequency circuit is provided on the circuit board 104. The radio frequency circuit is used to realize wireless communication between the mobile terminal 100 and a base station or other mobile terminals. In addition, one or more functional components such as a microphone, a speaker, a receiver, a headphone jack, a camera, an acceleration sensor, a gyroscope, and a processor can be integrated on the circuit board 104. At the same time, the display screen 105 can be electrically connected to the circuit board 104 so that the display of the display screen 105 can be controlled by the processor on the circuit board 104.

[0039] The display screen 105 is mounted on the middle frame 101 to form a display surface of the mobile terminal 100 for displaying information such as images and texts.

[0040] The battery 106 is installed inside the housing formed by the middle frame 101 and the back cover 103. For example, the battery 106 can be installed on the middle frame 101. At the same time, the battery 106 is electrically connected to the circuit board 104 so that the battery 106 can power the mobile terminal 100. Among them, a power management circuit can be provided on the circuit board 104. The power management circuit is used to distribute the voltage provided by the battery 106 to various electronic components in the mobile terminal 100.

[0041] The first communication card 107 is installed inside the housing formed by the middle frame 101 and the back cover 103. For example, the first communication card 107 is installed on the middle frame 101. The first communication card 107 can be used as an information storage device to store the user's identity information, such as a phone number used to indicate the user's identity. In addition, the first communication card 107 can also be used to store the user's personal information, such as a key used to encrypt voice content during a voice call, a user's phone book, etc. Among them, the communication card is also called a user identity card, a smart card, etc.

[0042] It should be noted that only after the first communication card 107 is installed on the mobile terminal 100 , the mobile terminal 100 can communicate with a base station or other mobile terminals through the information stored in the first communication card 107 .

[0043] The second communication card 108 is also installed inside the housing formed by the middle frame 101 and the back cover 103. For example, the second communication card 108 is also installed on the middle frame 101. The second communication card 108 can also be used as an information storage device for storing user identification information, user personal information, etc.

[0044] The user identity information stored on the second communication card 108 is different from the user identity information stored on the first communication card 107. For example, the first communication card 107 stores the user's first identity information, such as a first telephone number used to indicate the user's identity, and the second communication card 108 stores the user's second identity information, such as a second telephone number used to indicate the user's identity. In addition, the user personal information stored on the second communication card 108 may be the same or partially the same as the user personal information stored on the first communication card 107, or may be different.

[0045] It should be noted that only after the second communication card 108 is installed on the mobile terminal 100 , the mobile terminal 100 can communicate with a base station or other mobile terminals through the information stored in the second communication card 108 .

[0046] In the embodiment of the present application, a radio frequency circuit 200 is disposed on the circuit board 104. The radio frequency circuit 200 is used to implement wireless communication between the mobile terminal 100 and a base station or other mobile terminals. Figure 2 , Figure 2 A schematic diagram of the structure of a radio frequency circuit 200 provided in an embodiment of the present application.

[0047] The radio frequency circuit 200 includes a baseband circuit 201 , a first modem 202 , a second modem 203 , at least two splitters 204 , at least two first antennas 205 , at least two second antennas 206 , and at least two third antennas 207 .

[0048] The baseband circuit 201 is used to process the communication data of the radio frequency circuit 200, and control the working state of each device in the radio frequency circuit 200 according to the interactive information with the base station or the network server. It can be understood that the baseband circuit 201 can be integrated into the processor of the mobile terminal 100, or it can be independently a separate processing circuit or processing chip.

[0049] The first modem 202 is connected to the baseband circuit 201. The first modem 202 is used to process the 5G radio frequency signal. For example, the first modem 202 can modulate the uplink signal passing through the first modem 202 and demodulate the downlink signal passing through the first modem 202.

[0050] The second modem 203 is connected to the baseband circuit 201. The second modem 203 is used to process the 4G radio frequency signal. For example, the second modem 203 can modulate the uplink signal passing through the second modem 203 and demodulate the downlink signal passing through the second modem 203.

[0051] It can be understood that the uplink signal refers to the radio frequency signal transmitted by the radio frequency circuit 200 to the outside through the antenna, and the downlink signal refers to the radio frequency signal received by the radio frequency circuit 200 from the outside through the antenna.

[0052] Each of the at least two splitters 204 is connected to the first modem 202 and the second modem 203 at the same time. The splitter 204 is used to combine and split the radio frequency signal. That is, the splitter 204 can be used to combine two uplink signals into one uplink signal, and to split one downlink signal into two downlink signals.

[0053] Each of the at least two first antennas 205 is connected to the first modem 202. Each of the first antennas 205 is used to transmit the 5G network signal of the first communication card 107. Transmitting the 5G network signal includes transmitting the 5G network signal, receiving the 5G network signal, and transmitting and receiving the 5G network signal. For example, among the at least two first antennas 205, one first antenna 205 can be used to transmit and receive the 5G network signal, and the other first antenna 205 can be used to receive the 5G network signal. Alternatively, the at least two first antennas 205 can both be used to receive the 5G network signal.

[0054] It can be understood that the 5G network signal of the first communication card 107 refers to the network signal when the mobile terminal 100 wirelessly communicates with a base station or other mobile terminals using the fifth generation mobile communication technology through the information stored in the first communication card 107.

[0055] Each of the at least two second antennas 206 is connected to the second modem 203. Each of the second antennas 206 is used to transmit the 5G network signal of the second communication card 108. The transmission of the 4G network signal includes transmitting a 4G network signal, receiving a 4G network signal, and transmitting and receiving a 4G network signal. For example, one of the at least two second antennas 206 can be used to transmit and receive a 4G network signal, and the other second antenna 206 can be used to receive a 4G network signal. Alternatively, the at least two second antennas 206 can both be used to receive a 4G network signal.

[0056] It can be understood that the 4G network signal of the second communication card 108 refers to the network signal when the mobile terminal 100 wirelessly communicates with a base station or other mobile terminals using the fourth generation mobile communication technology through the information stored in the second communication card 108.

[0057] Each of the at least two third antennas 207 is connected to the first modem 202 and the second modem 203. The third antenna 207 can be connected to one end of the splitter 204, and the other end of the splitter 204 is simultaneously connected to the first modem 202 and the second modem 203, so as to achieve the connection of the third antenna 207 to the first modem 202 and the second modem 203 at the same time. Each of the third antennas 207 is used to transmit the 5G network signal of the first communication card 107, and to transmit the 4G network signal of the second communication card 108. For example, among the at least two third antennas 207, one third antenna 207 can be used to transmit and receive the 5G network signal of the first communication card 107, and to transmit and receive the 4G network signal of the second communication card 108; the other third antenna 207 can be used to receive the 5G network signal of the first communication card 107, and to receive the 4G network signal of the second communication card 108.

[0058] Figure 3 A schematic diagram of a flow chart of a radio frequency resource allocation method provided in an embodiment of the present application, which is applied to Figure 1 In the mobile terminal shown in FIG. 1 , the connection relationship between the first antenna, the second antenna, the third antenna and the baseband circuit is as follows: Figure 2 As shown, the steps of the radio frequency resource allocation method include:

[0059] Step S301: receiving a first resource request for executing a first target service sent by a first communication card.

[0060] Exemplarily, if the first communication card needs to use radio frequency resources to execute the first target service, it needs to send a first resource request to the resource transceiver arbitration module of the mobile terminal to request radio frequency resources to execute the first target service. The above-mentioned target service refers to a service that needs to use radio frequency resources, including voice (Circu-it Switching Domain, circuit switching domain) service, paging service, data (Packet Switching Domain, packet switching domain), etc.

[0061] Step S302: when the third antenna is occupied by the second target service of the second communication card, determining the priority of the second target service and the first target service occupying the third antenna.

[0062] Exemplarily, after the resource receiving and sending arbitration module of the mobile terminal receives the first resource request sent by the first communication card, it is necessary to judge the occupancy status of the third antenna at this time. If the third antenna is unoccupied at this time, the third antenna and the first antenna exclusively occupied by the first communication card are both allocated to the first communication card to execute the first target service; if the third antenna is occupied at this time, it is necessary to further judge the priority between the second target service occupying the third antenna and the above-mentioned first target service.

[0063] The step of determining the priority of the second target service and the first target service occupying the third antenna includes: determining the priority of the second target service and the first target service occupying the third antenna according to a preset priority order of mobile terminal services. The priority order of mobile terminal services includes descending in the order of voice service, paging service, network selection service and data service.

[0064] Exemplarily, the priority order among mobile terminal services is generally defaulted to voice service, paging service, network selection service and data service in descending order. For example, if the first target service is voice service and the second target service is network selection service, the first target service has a higher priority.

[0065] Optionally, when the first communication card or the second communication card requests to execute services with low RF resource occupancy rate such as network selection service and data service, the resource transceiver arbitration module of the mobile terminal can only allocate the exclusive antenna of the corresponding communication card, that is, not allocate the third antenna to execute related services.

[0066] Step S303: If the priorities are the same, determine the priorities of the first communication card and the second communication card, select the communication card with a higher priority as the target communication card, and allocate the third antenna to execute the target service sent by the target communication card.

[0067] Exemplarily, if it is determined in step S302 that the second target service occupying the third antenna has the same priority as the first target service, it is necessary to further select the communication card with a higher priority between the first communication card and the second communication card so that the resource transceiver arbitration module of the mobile terminal can allocate radio frequency resources as needed.

[0068] The step of selecting a communication card with a higher priority as the target communication card may include: selecting a communication card with a higher priority that is preset as the target communication card.

[0069] Exemplarily, when the mobile terminal is first used, it will activate the first communication card and the second communication card for network connection, and will pre-set a target communication card with a higher priority based on the user's selection. The resource receiving and sending arbitration module of the mobile terminal can further judge the target communication card based on this. However, as the amount of communication business conducted by the user increases, the mobile terminal needs to make further dynamic adjustments to the target communication card to adapt to the user's usage habits.

[0070] Optionally, the step of selecting a communication card with a higher priority as the target communication card may also be: taking the target service as the current target service, determining the communication card with a higher priority between the first communication card and the second communication card, wherein the communication card with a higher priority is the target communication card determined when the mobile terminal last allocated radio frequency resources.

[0071] Exemplarily, the target service is taken as the current target service, where the target service is the first target service or the second target service, thereby determining the currently ongoing radio frequency resource allocation process, thereby selecting the target communication card determined when the mobile terminal last allocated radio frequency resources as the current communication card with a higher priority. For example, when the radio frequency resource allocation was last performed, the first communication card was determined to be the target communication card occupying the third antenna to execute the first target service. When further selecting a communication card with a higher priority, the first communication card can be directly selected as the current target communication card to achieve the effect of being able to dynamically adjust the target communication card.

[0072] It should be noted that the current RF resource allocation process may also be determined by determining the current target communication card and the current resource request, so that the last RF resource allocation process can be determined accordingly. The embodiments of the present application do not list them one by one.

[0073] It should be noted that the above method of dynamically adjusting the target communication card is only an example, and other determination methods that can achieve the dynamic adjustment effect of the communication card priority can be adopted, and the embodiments of the present application do not limit them.

[0074] Exemplarily, if the priority of the first target service is lower than the priority of the second target service currently occupying the third antenna, the first antenna is allocated to execute the first target service of the first target communication card.

[0075] Exemplarily, if step S302 determines that the priority of the second target service occupying the third antenna is higher than the priority of the first target service, the resource transceiver arbitration module of the mobile terminal allocates the third antenna to the second communication card to execute the second target service, and allocates the first antenna to the first target service, that is, the second target service continues to occupy the third antenna and the second antenna exclusively occupied by the second communication card to execute the service, and the first target service occupies the first antenna to execute the service, thereby improving the uplink and downlink peak rates when the dual cards execute the service and improving the stability of the product.

[0076] Exemplarily, if the priority of the first target service is higher than the priority of the second target service currently occupying the third antenna, the third antenna occupied by the second target communication card is released, the third antenna is allocated to execute the first target service of the first target communication card, and the second antenna is allocated to execute the second target service of the second target communication card.

[0077] If it is determined through step S302 that the priority of the second target service occupying the third antenna is lower than the priority of the first target service, the resource transceiver arbitration module of the mobile terminal allocates the first antenna and the third antenna to the first communication card to execute the first target service, and the second target service only retains the second antenna, that is, the second target service can only use the second antenna exclusively occupied by the second communication card to execute the service, and the first target service occupies the third antenna and the first antenna exclusively occupied by the first communication card to execute the service, thereby improving the uplink and downlink peak rates when the dual cards execute the service while ensuring that the control logic of the service remains unchanged, thereby improving the stability of the product.

[0078] The embodiment of the present application also provides a radio frequency resource allocation device, which can be implemented as part or all of an electronic device through software, hardware, or a combination of both. The above device can be applied to a mobile terminal including a first communication card and a second communication card, the mobile terminal including a first antenna and a second antenna, the first communication card is connected to the first antenna, the second communication card is connected to the second antenna, and the mobile terminal also includes a third antenna, the third antenna is connected to the first communication card and the second communication card respectively.

[0079] like Figure 4As shown, the above-mentioned radio frequency resource allocation device 400 includes: a resource request receiving module 401, which is used to receive a first resource request for executing a first target service sent by a first communication card; a priority judgment module 402, which is used to judge the priority of the second target service occupying the third antenna and the first target service when the third antenna is occupied by the second target service of the second communication card; a resource allocation module 403, which is used to judge the priority of the first communication card and the second communication card if the priorities are the same, select the communication card with a higher priority as the target communication card, and allocate the third antenna to execute the target service of the target communication card.

[0080] In one of the embodiments, the above-mentioned device also includes: the resource allocation module 403 is also used to allocate the first antenna to execute the first target service of the first target communication card if the priority of the first target service is lower than the priority of the second target service currently occupying the third antenna.

[0081] In one of the embodiments, the above-mentioned device also includes: the resource allocation module 403 is also used to release the third antenna occupied by the second target communication card if the priority of the first target service is higher than the priority of the second target service currently occupying the third antenna, allocate the third antenna to execute the first target service sent by the first target communication card, and allocate the second antenna to execute the second target service of the second target communication card.

[0082] like Figure 5 As shown, in one embodiment, the above-mentioned device also includes: a priority setting module 404, which is used to determine the priority of the second target service and the first target service occupying the third antenna according to a preset priority order of mobile terminal services; the priority order of the mobile terminal services includes voice services (CS services), paging services (paging services), network selection services and data services (PS services) in descending order.

[0083] like Figure 6 As shown, in one embodiment, the priority of the first communication card is preset to be higher than that of the second communication card, and the above-mentioned device also includes: a target communication card selection module 405, which is used to select the first communication card with a higher priority as the target communication card.

[0084] like Figure 6 As shown, in one embodiment, the above-mentioned device also includes: a target communication card selection module 405, which is used to determine the communication card with a higher priority between the first communication card and the second communication card, and the communication card with a higher priority is the target communication card determined when the mobile terminal last allocated radio frequency resources.

[0085] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0086] An embodiment of the present application also provides a radio frequency resource allocation device, which includes: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute the steps of the above radio frequency resource allocation method.

[0087] The embodiment of the present application also provides a computer-readable storage medium on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the above-mentioned radio frequency resource allocation method are implemented. The readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

[0088] The embodiment of the present application provides a method and device for allocating radio frequency resources, in which the first communication card and the second communication card not only exclusively occupy the first and second antennas respectively, but also share a third antenna, so that when the first communication card is in a connected state, if the second communication card needs to perform a service, the second communication card occupies the radio frequency resources of the third antenna, and the first communication card uses the first antenna exclusively occupied by itself to continue to perform the service. The increased code complexity caused by service interruption in order to maintain the original service operation is reduced, and the system stability is improved.

[0089] Those skilled in the art will readily appreciate other embodiments of the present application embodiments after considering the specification and practicing the disclosure disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application embodiments, which follow the general principles of the present application embodiments and include common knowledge or customary technical means in the art that are not disclosed in the present application embodiments. The specification and embodiments are intended to be exemplary only, and the true scope and spirit of the present application embodiments are indicated by the appended claims.

[0090] It should be understood that the embodiments of the present application are not limited to the precise structures described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the embodiments of the present application should be limited by the appended claims.

Claims

1. A radio frequency resource allocation method, applied to a mobile terminal including a first communication card and a second communication card, the mobile terminal including a first antenna and a second antenna, the first communication card is connected to the first antenna, and the second communication card is connected to the second antenna, characterized in that: The mobile terminal further includes a third antenna, and the third antenna is connected to the first communication card and the second communication card respectively. The method includes: receiving a first resource request for executing a first target service sent by a first communication card; When the third antenna is occupied by the second target service of the second communication card, determining the priority of the second target service and the first target service occupying the third antenna; If the priorities are the same, determining the priorities of the first communication card and the second communication card, selecting the communication card with a higher priority as the target communication card, and allocating the third antenna to execute the target service of the target communication card; After receiving the first resource request for executing the first target service sent by the first communication card, the method further includes: If the first target service is a preset type of service, the first antenna is allocated to execute the first target service, and the third antenna is not allocated to execute the first target service. The first target service includes a service whose radio frequency resource occupancy rate is less than a preset threshold.

2. The method according to claim 1, characterized in that The method further comprises: If the priority of the first target service is lower than the priority of the second target service currently occupying the third antenna, the first antenna is allocated to execute the first target service of the first target communication card.

3. The method according to claim 1, characterized in that The method further comprises: If the priority of the first target service is higher than the priority of the second target service currently occupying the third antenna, release the third antenna occupied by the second target communication card, allocate the third antenna to execute the first target service of the first target communication card, and allocate the second antenna to execute the second target service of the second target communication card.

4. The method according to claim 1, characterized in that The determining the priority of the second target service and the first target service occupying the third antenna includes: Determining the priority of the second target service and the first target service occupying the third antenna according to a preset priority order of mobile terminal services; The priority order of the mobile terminal services includes voice service, paging service, network selection service and data service in descending order.

5. The method according to claim 1 or 4, wherein the priority of the first communication card is preset to be higher than that of the second communication card, wherein: The step of selecting a communication card with a higher priority as the target communication card includes: The first communication card with a higher priority is selected as the target communication card.

6. The method according to claim 1, characterized in that The target service is used as the current target service, and the selecting of a communication card with a higher priority as the target communication card includes: A communication card with a higher priority between the first communication card and the second communication card is determined, and the communication card with a higher priority is a target communication card determined when the mobile terminal last allocated radio frequency resources.

7. A radio frequency resource allocation device, characterized in that: Applied to a mobile terminal including a first communication card and a second communication card, the mobile terminal including a first antenna and a second antenna, the first communication card is connected to the first antenna, the second communication card is connected to the second antenna, and the mobile terminal further includes a third antenna, the third antenna is connected to the first communication card and the second communication card respectively, and the device includes: A resource request receiving module, used for receiving a first resource request for executing a first target service sent by a first communication card; A priority determination module, configured to determine the priority of the second target service and the first target service occupying the third antenna when the third antenna is occupied by the second target service of the second communication card; A resource allocation module is used to determine the priorities of the first communication card and the second communication card if the priorities are the same, select the communication card with a higher priority as the target communication card, and allocate the third antenna to execute the target service of the target communication card; if the first target service is a preset type of service, allocate the first antenna to execute the first target service, and do not allocate the third antenna to execute the first target service, and the first target service includes a service whose radio frequency resource occupancy rate is less than a preset threshold.

8. The device according to claim 7, characterized in that The device also includes: The resource allocation module is further configured to allocate the first antenna to execute the first target service of the first target communication card if the priority of the first target service is lower than the priority of the second target service currently occupying the third antenna.

9. The device according to claim 7, characterized in that The device also includes: The resource allocation module is also used to release the third antenna occupied by the second target communication card if the priority of the first target service is higher than the priority of the second target service currently occupying the third antenna, allocate the third antenna to execute the first target service of the first target communication card, and allocate the second antenna to execute the second target service of the second target communication card.

10. The device according to claim 7, characterized in that The device also includes: A priority setting module is used to determine the priority of the second target service and the first target service occupying the third antenna according to a preset priority order of mobile terminal services; the priority order of the mobile terminal services includes voice services, paging services, network selection services and data services in descending order.

11. The device according to claim 7 or 10, wherein the priority of the first communication card is preset to be higher than that of the second communication card, wherein: The device also includes: The target communication card selection module is used to select the first communication card with a higher priority as the target communication card.

12. The device according to claim 7, wherein the target service is used as the current target service, characterized in that: The device also includes: The target communication card selection module is used to determine the communication card with higher priority between the first communication card and the second communication card, and the communication card with higher priority is the target communication card determined when the mobile terminal last allocated radio frequency resources.

13. A radio frequency resource allocation device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the steps of the method according to any one of claims 1 to 6.

14. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Antenna distribution method and device and electronic equipment

    CN105472755A

  • Antenna switching method and device applied to terminal device, and terminal device

    CN106130618A

  • Radio frequency circuit and electronic equipment

    CN110166073A