CN113746489A - Radio frequency resource allocation method and device - Google Patents
Radio frequency resource allocation method and device Download PDFInfo
- Publication number
- CN113746489A CN113746489A CN202111047526.1A CN202111047526A CN113746489A CN 113746489 A CN113746489 A CN 113746489A CN 202111047526 A CN202111047526 A CN 202111047526A CN 113746489 A CN113746489 A CN 113746489A
- Authority
- CN
- China
- Prior art keywords
- communication card
- antenna
- target
- service
- priority
- 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.)
- Pending
Links
- 238000013468 resource allocation Methods 0.000 title claims abstract description 43
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000004891 communication Methods 0.000 claims abstract description 258
- 230000009467 reduction Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/005—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
- H04B1/0067—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with one or more circuit blocks in common for different bands
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
- H04B1/401—Circuits for selecting or indicating operating mode
-
- 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
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application provides a radio frequency resource allocation method and a radio frequency resource allocation device, wherein in the radio frequency resource allocation method, a first communication card and a second communication card respectively monopolize a first antenna and a second antenna and share a third antenna, so that when the first communication card is in a connection state, if the second communication card needs to do a service, the second communication card occupies a radio frequency resource of the third antenna, and the first communication card continues to execute the service by using the first antenna monopolized by the first communication card. The code complexity increased for maintaining the original service operation caused by service interruption is reduced, and the system stability is improved.
Description
[ technical field ] A method for producing a semiconductor device
The embodiment of the application relates to the technical field of communication, in particular to a radio frequency resource allocation method and device.
[ background of the invention ]
Currently, two Subscriber identity modules (communication cards) are generally installed in a mobile terminal such as a smart phone. In order to enable the mobile terminal to support the dual-card dual-standby function of two communication cards, two sets of independent radio frequency communication systems need to be arranged in the mobile terminal, and a plurality of independent antennas need to be arranged in each set of independent radio frequency communication system, so that a large layout space in the mobile terminal needs to be occupied, and the space utilization in the mobile terminal is not facilitated.
In the existing dual-card communication scheme, when the primary card is in a connected state, if the secondary card needs to perform measurement and paging operations, the primary card needs to punch a hole to give up the control right of the antenna, which may cause service interruption in the middle of the connected state of the primary card, thereby causing significant performance degradation. Also, because of the need to maintain interrupted traffic, puncturing makes the main card control logic more complex and results in reduced product stability.
[ summary of the invention ]
The embodiment of the application provides a radio frequency resource allocation method and a radio frequency resource allocation device, which can realize that when a secondary card processes a service, a primary card can still keep the original service continuously going although the performance of the primary card is reduced to a certain extent, so that the communication stability is improved.
In a 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, where the mobile terminal includes 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 further includes a third antenna, and the third antenna is respectively connected to the first communication card and the second communication card, and the method includes: receiving a first resource request which is sent by a first communication card and used for executing a first target service; when the third antenna is occupied by a second target service of the second communication card, judging the priority of the second target service and the first target service occupying the third antenna; if the priorities are the same, the priorities of the first communication card and the second communication card are judged, the communication card with the higher priority is selected as a target communication card, and the third antenna is distributed to execute the target service of the target communication card.
In the radio frequency resource allocation method, the first communication card and the second communication card respectively monopolize the first antenna and the second antenna and share the third antenna, so that when the first communication card is in a connection state, if the second communication card needs to do a service, the second communication card occupies the radio frequency resource of the third antenna, and the first communication card continues to execute the service by using the monopolized first antenna. The code complexity increased for maintaining the original service operation caused by service interruption is reduced, and the system stability is improved.
In one embodiment, the method further includes: and if the priority of the first target service is lower than the priority of the second target service occupying the third antenna at present, allocating the first antenna to execute the first target service of the first target communication card.
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 occupying the third antenna at present, 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.
In one embodiment, the determining the priority of the second target service and the priority of the first target service occupying the third antenna includes: judging the priority of the second target service and the first target service occupying the third antenna according to the preset priority sequence of the mobile terminal service; the priority sequence of the mobile terminal service comprises that the priority sequence is sequentially reduced according to the sequence of the voice service, the paging service, the network selection service and the data service.
In one embodiment, the presetting that the priority of the first communication card is higher than that of the second communication card, and the selecting a communication card with a higher priority as a target communication card includes: and selecting the first communication card with higher priority as a target communication card.
In one embodiment, the selecting a communication card with a higher priority as a target communication card, where the target service is a current target service, includes: and judging to obtain a communication card with higher priority in the first communication card and the second communication card, wherein the communication card with higher priority is a target communication card determined when the mobile terminal performs radio frequency resource allocation last time.
In a second aspect, an embodiment of the present application further provides a radio frequency resource allocation apparatus, applied to a mobile terminal including a first communication card and a second communication card, where the mobile terminal includes 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 further includes a third antenna, and the third antenna is connected to the first communication card and the second communication card, respectively, the apparatus includes: the resource request receiving module is used for receiving a first resource request which is sent by a first communication card and used for executing a first target service; a priority judging module, configured to judge, when the third antenna is occupied by a second target service of the second communication card, a priority of the second target service and the first target service occupying the third antenna; and the resource allocation module is used for judging the priority of the first communication card and the second communication card if the priority is the same, selecting the communication card with higher priority as a target communication card, and allocating the third antenna to execute the target service of the target communication card.
In one embodiment, the apparatus further 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.
In one embodiment, the apparatus further includes: the resource allocation module is further configured to 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, if the priority of the first target service is higher than the priority of the second target service currently occupying the third antenna.
In one embodiment, the apparatus further includes: the priority setting module is used for judging the priority of the second target service and the first target service occupying the third antenna according to the preset priority sequence of the mobile terminal service; the priority sequence of the mobile terminal service comprises the sequential reduction of a voice service, a paging service, a network selection service and a data service.
In one embodiment, the priority of the first communication card is preset to be higher than that of the second communication card, and the apparatus further includes: and the target communication card selection module is used for selecting the first communication card with higher priority as the target communication card.
In one embodiment, the apparatus further includes: and the target communication card selecting module is used for judging to obtain a communication card with higher priority in 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 performs the radio frequency resource allocation last time.
In a third aspect, an embodiment of the present application further provides a radio frequency resource allocation apparatus, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the steps of the above radio frequency resource allocation method.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions, when executed by a processor, implement the steps of the radio frequency resource allocation method described above.
It should be understood that the second to fourth aspects of the embodiment of the present application are consistent with the technical solution of the first aspect of the embodiment of the present application, and beneficial effects obtained by the aspects and the corresponding possible implementation are similar, and are not described again.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present specification, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a radio frequency circuit according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a radio frequency resource allocation method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an rf resource allocation apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an rf resource allocation apparatus according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for allocating radio frequency resources according to yet another embodiment of the present application.
[ detailed description ] embodiments
For better understanding of the technical solutions in the present specification, the following detailed description of the embodiments of the present application is provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only a few embodiments of the present specification, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step are within the scope of the present specification.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the specification. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In the prior art, when a dual-card mobile phone handles a problem of allocating radio frequency resources for a communication service, the dual-card mobile phone may divide priorities of the communication service according to importance of the communication service, for example, a CS (Circuit Switching Domain) service has a highest priority, and a PS (Packet Switching Domain) service has a lowest priority, so that a resource transceiving arbitration module of the mobile phone may allocate radio frequency resources according to the priorities of the communication service, for example, when a certain card needs to use a radio frequency resource, an application is first made to the resource transceiving arbitration module, and if the radio frequency resource is not occupied, the radio frequency resource may be directly allocated to the card for use; if the radio frequency resources are occupied, the priority levels of the two services need to be compared, the radio frequency resources are allocated to the service with the high priority level for use, but if the priority levels of the two services are the same, the problem of radio frequency resource conflict occurs, no matter which party the radio frequency resources are allocated to, the other party has the condition that the services need to be interrupted, in order to maintain the continuous execution of the original services, the complexity of logic codes needs to be increased, and the system stability is reduced.
The embodiment of the application provides a mobile terminal, which can be a smart phone, a tablet personal computer and other devices, and can also be a game device, an AR (Augmented Reality) device, an automobile device, a data storage device, an audio playing device, a video playing device, a notebook computer, a desktop computer device and the like.
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
The mobile terminal 100 includes a center frame 101, a cover plate 102, a rear cover 103, a circuit board 104, a display screen 105, a battery 106, a first communication card 107, and a second communication card 108.
The middle frame 101 may have a thin plate-like or sheet-like structure, or may have a hollow frame structure. The middle frame 101 is used for providing a supporting function for electronic elements or functional components in the mobile terminal 100 so as to mount the electronic elements or functional components in the mobile terminal 100 together.
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 from being scratched or damaged by water.
The middle frame 101 and the rear cover 103 may together form a housing of the mobile terminal 100 for accommodating or mounting electronic components, functional components, and the like of the mobile terminal. For example, the display screen 105 may be mounted on the housing. In addition, functional components of the mobile terminal, such as a camera, a receiver, a circuit board 104, and a battery 106, may be mounted on the middle frame 101 for fixation. It is understood that the material of the middle frame 101 may include metal or plastic.
The circuit board 104 is mounted inside a case formed by the middle frame 101 and the rear cover 103 together. For example, the circuit board 104 may be mounted on the middle frame 101. The circuit board 104 may be a motherboard of the mobile terminal 100. Wherein, the circuit board 104 is provided with a radio frequency circuit. The radio frequency circuit is used to implement wireless communication between the mobile terminal 100 and a base station or other mobile terminals. In addition, one or more of a microphone, a speaker, a receiver, an earphone interface, a camera, an acceleration sensor, a gyroscope, a processor, and other functional components may be integrated on the circuit board 104. Meanwhile, the display screen 105 may be electrically connected to the circuit board 104 to control the display of the display screen 105 by a processor on the circuit board 104.
A 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, text, and the like.
The battery 106 is mounted inside a case formed by the middle frame 101 and the rear cover 103 together. For example, the battery 106 may be mounted on the middle frame 101. Meanwhile, the battery 106 is electrically connected to the circuit board 104 to enable the battery 106 to supply power to the mobile terminal 100. The circuit board 104 may be provided thereon with a power management circuit. The power management circuit is used to distribute the voltage provided by the battery 106 to the various electronic components in the mobile terminal 100.
The first communication card 107 is mounted inside a casing formed by the middle frame 101 and the rear cover 103 together. For example, the first communication card 107 is mounted on the middle frame 101. The first communication card 107 may serve as an information storage for storing identification information of the user, such as a telephone number for indicating the identity of the user. In addition, the first communication card 107 may also be used to store personal information of the user, such as a key used to encrypt voice content at the time of a voice call, a phone book of the user, and the like. Among them, the communication card is also called a user identification card, a smart card, or the like.
It should be noted that, 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 on the first communication card 107.
A second communication card 108 is also mounted inside the housing formed by the middle frame 101 and the rear cover 103 together. For example, the second communication card 108 is also mounted on the center frame 101. The second communication card 108 may also serve as an information storage for storing identification information of the user, personal information of the user, and the like.
Wherein the user identification information stored on the second communication card 108 is different from the user identification information stored on the first communication card 107. For example, the first communication card 107 stores thereon first identification information of the user, such as a first telephone number for indicating the identity of the user, and the second communication card 108 stores thereon second identification information of the user, such as a second telephone number for indicating the identity of the user. Further, the user personal information stored on the second communication card 108 may be the same as or partially the same as or different from the user personal information stored on the first communication card 107.
It should be noted that, 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 on the second communication card 108.
In the embodiment of the present application, the circuit board 104 is provided with a radio frequency circuit 200. The rf circuit 200 is used for wireless communication between the mobile terminal 100 and a base station or other mobile terminals. Referring to fig. 2, fig. 2 is a schematic structural diagram of a radio frequency circuit 200 according to an embodiment of the present disclosure.
The radio frequency circuit 200 comprises 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.
The baseband circuit 201 is used for processing communication data of the rf circuit 200 and controlling the operating state of each device in the rf circuit 200 according to the interaction information with the base station or the network server. It is understood that the baseband circuit 201 may be integrated into the processor of the mobile terminal 100, or may be a separate processing circuit or processing chip.
The first modem 202 is connected to the baseband circuit 201. The first modem 202 is used for processing 5G radio frequency signals. For example, the first modem 202 may modulate upstream signals passing through the first modem 202 and demodulate downstream signals passing through the first modem 202.
A second modem 203 is connected to the baseband circuitry 201. The second modem 203 is used for processing 4G radio frequency signals. For example, the second modem 203 may modulate upstream signals passing through the second modem 203 and demodulate downstream signals passing through the second modem 203.
It is understood that the uplink signal refers to a radio frequency signal transmitted by the radio frequency circuit 200 to the outside through the antenna, and the downlink signal refers to a radio frequency signal received by the radio frequency circuit 200 from the outside through the antenna.
At least two splitters 204, each splitter 204 is connected to the first modem 202 and the second modem 203 simultaneously. The splitter 204 is configured to combine and split the radio frequency signal. That is, the splitter 204 may be configured to combine two uplink signals into one uplink signal, and to split one downlink signal into two downlink signals.
At least two first antennas 205, each first antenna 205 being connected to the first modem 202. Each of the first antennas 205 is configured to transmit a 5G network signal of the first communication card 107. Wherein the transmitting 5G network signals comprises transmitting 5G network signals, receiving 5G network signals, and transmitting and receiving 5G network signals. For example, of the at least two first antennas 205, one first antenna 205 may be used for transmitting and receiving 5G network signals, and another first antenna 205 may be used for receiving 5G network signals. Alternatively, the at least two first antennas 205 may both be used for receiving 5G network signals.
It is understood that the 5G network signal of the first communication card 107 refers to a network signal when the mobile terminal 100 wirelessly communicates with a base station or other mobile terminals by the fifth generation mobile communication technology through the information stored in the first communication card 107.
At least two second antennas 206, each second antenna 206 being connected to the second modem 203. Wherein each of the second antennas 206 is used for transmitting the 5G network signal of the second communication card 108. Wherein the transmitting 4G network signals comprises transmitting 4G network signals, receiving 4G network signals, and transmitting and receiving 4G network signals. For example, one second antenna 206 of the at least two second antennas 206 may be used for transmitting and receiving 4G network signals, and another second antenna 206 may be used for receiving 4G network signals. Alternatively, the at least two second antennas 206 may both be used for receiving 4G network signals.
It is understood that the 4G network signal of the second communication card 108 refers to a network signal when the mobile terminal 100 wirelessly communicates with a base station or other mobile terminals through the information stored in the second communication card 108 in the fourth generation mobile communication technology.
At least two third antennas 207, each third antenna 207 being connected to the first modem 202 and the second modem 203. The third antenna 207 may be connected to one end of the splitter 204, and the other end of the splitter 204 is connected to the first modem 202 and the second modem 203 at the same time, so that the third antenna 207 is connected to the first modem 202 and the second modem 203 at the same time. Each of the third antennas 207 is used for transmitting the 5G network signal of the first communication card 107 and for transmitting the 4G network signal of the second communication card 108. For example, one third antenna 207 of the at least two third antennas 207 may be used for transmitting and receiving 5G network signals of the first communication card 107 and for transmitting and receiving 4G network signals of the second communication card 108; another third antenna 207 may be used for receiving 5G network signals of the first communication card 107 and for receiving 4G network signals of the second communication card 108.
Fig. 3 is a schematic flow chart of a radio frequency resource allocation method provided in an embodiment of the present application, and is applied to the mobile terminal shown in fig. 1, where a connection relationship among a first antenna, a second antenna, a third antenna, and a baseband circuit is shown in fig. 2, and the radio frequency resource allocation method includes the steps of:
step S301, a first resource request for executing a first target service sent by a first communication card is received.
Illustratively, if the first communication card needs to use the radio frequency resource to execute the first target service, a first resource request needs to be sent to a resource transceiving arbitration module of the mobile terminal, where the first resource request is used to request the radio frequency resource to execute the first target service. The target service refers to a service that needs to use radio frequency resources, and includes a voice (circuit-switched Domain) service, a paging (paging) service, a data (Packet switched Domain), and the like.
Step S302, when the third antenna is occupied by the second target service of the second communication card, the priority of the second target service and the first target service occupying the third antenna is judged.
Exemplarily, after a resource transceiving arbitration module of the mobile terminal receives a first resource request sent by a first communication card, it needs to determine an occupation situation of a third antenna at the time, and if the third antenna is in an unoccupied state at the time, a first antenna exclusively occupied by the third antenna and the first communication card is equally distributed to the first communication card to execute a first target service; if the third antenna is in the occupied state, the priority between the second target service occupying the third antenna and the first target service needs to be further determined.
Wherein the step of determining the priority of the second target service and the first target service occupying the third antenna comprises: and judging the priority of the second target service and the first target service occupying the third antenna according to the preset priority sequence of the mobile terminal service. The priority sequence of the mobile terminal service comprises the sequential reduction according to the sequence of the voice service, the paging service, the network selection service and the data service.
Illustratively, the priority order among the mobile terminal services is generally defaulted to a decrease in order among the voice service, the paging service, the network selection service, and the data service. For example, if the first target service is a voice service and the second target service is a network selection service, the priority of the first target service is higher.
Optionally, when the first communication card or the second communication card requests to execute a service with low radio frequency resource occupancy, such as a network selection service and a data service, the resource transceiving arbitration module of the mobile terminal may allocate only an exclusive antenna of the corresponding communication card, that is, allocate no third antenna to execute a related service.
Step S303, if the priorities are the same, the priorities of the first communication card and the second communication card are judged, the communication card with the higher priority is selected as a target communication card, and the third antenna is distributed to execute a target service sent by the target communication card.
For example, if it is determined in step S302 that the priorities of the second target service occupying the third antenna and the first target service are the same, a communication card with a higher priority from among the first communication card and the second communication card needs to be further selected, so that the resource transceiving arbitration module of the mobile terminal can allocate radio frequency resources as needed.
The step of selecting the communication card with higher priority as the target communication card may be: and selecting a communication card with a preset higher priority as a target communication card.
Illustratively, the mobile terminal performs networking activation processing on the first communication card and the second communication card when starting to be used, a target communication card with a higher priority level is preset according to user selection, and the resource transceiving arbitration module of the mobile terminal can further determine the target communication card accordingly, but the mobile terminal needs to further dynamically adjust the target communication card to adapt to the use habit of the user as the communication traffic of the user increases.
Optionally, the step of selecting a communication card with a higher priority as the target communication card may also be: and taking the target service as the current target service, and judging to obtain a communication card with higher priority in the first communication card and the second communication card, wherein the communication card with higher priority is the target communication card determined when the mobile terminal performs the radio frequency resource allocation last time.
For example, when a communication card with a higher priority is further currently performed, the first communication card may be directly selected as the current target communication card, so as to achieve an effect of dynamically adjusting the target communication card.
It should be noted that determining the current radio frequency resource allocation process may also be implemented by determining the current target communication card and the current resource request, so as to determine the last radio frequency resource allocation process.
It should be noted that the method for dynamically adjusting the target communication card is only an example, and other determination methods that can achieve the dynamic adjustment effect of the priority of the communication card may be adopted, and the embodiment of the present application is not limited thereto.
Illustratively, 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 assigned to execute the first target service of the first target communication card.
Exemplarily, if it is determined that the priority of the second target service occupying the third antenna is higher than the priority of the first target service in step S302, the resource transceiving 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 exclusive to the second communication card to execute the service, and the first target service occupies the first antenna to execute the service, so that the uplink and downlink peak rates when the dual-card executes the service are increased, and the stability of the product is improved.
Illustratively, 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 assigned to execute the first target service of the first target communication card, and the second antenna is assigned to execute the second target service of the second target communication card.
If it is determined in 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 transceiving 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, the second target service only reserves the second antenna, that is, the second target service can only execute the service using the second antenna exclusively occupied by the second communication card, and the first target service occupies the first antenna exclusively occupied by the third antenna and the first communication card to execute the service, so that the uplink and downlink peak rates when the dual cards execute the service are increased on the basis of ensuring that the control logic of the service is unchanged, and the stability of the product is increased.
The embodiment of the present application further provides a radio frequency resource allocation apparatus, which may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. The device can be applied to a mobile terminal comprising a first communication card and a second communication card, wherein the mobile terminal comprises a first antenna and a second antenna, the first communication card is connected with the first antenna, the second communication card is connected with the second antenna, and the mobile terminal further comprises a third antenna which is respectively connected with the first communication card and the second communication card.
As shown in fig. 4, the radio frequency resource allocation apparatus 400 includes: a resource request receiving module 401, configured to receive a first resource request sent by a first communication card and used for executing a first target service; a priority determining module 402, configured to determine, when the third antenna is occupied by a second target service of the second communications card, a priority of the second target service and the first target service occupying the third antenna; and the resource allocation module 403 is configured to, if the priorities are the same, determine the priorities of the first communication card and the second communication card, select a communication card with a higher priority as a target communication card, and allocate the third antenna to execute a target service of the target communication card.
In one embodiment, the apparatus further includes: the resource allocation module 403 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.
In one embodiment, the apparatus further includes: the resource allocation module 403 is further configured to release the third antenna occupied by the second target communication card, 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, if the priority of the first target service is higher than the priority of the second target service currently occupying the third antenna.
As shown in fig. 5, in one embodiment, the apparatus further includes: a priority setting module 404, configured to determine, according to a preset priority order of mobile terminal services, priorities of the second target service and the first target service occupying the third antenna; the priority sequence of the mobile terminal service comprises the sequential reduction of a voice service (CS service), a paging service (paging service), a network selection service and a data service (PS service).
As shown in fig. 6, in an embodiment, the priority of the first communication card is preset to be higher than that of the second communication card, and the apparatus further includes: and a target communication card selecting module 405, configured to select the first communication card with a higher priority as a target communication card.
As shown in fig. 6, in one embodiment, the apparatus further includes: and a target communication card selecting module 405, configured to determine to obtain a communication card with a higher priority from the first communication card and the second communication card, where the communication card with the higher priority is a target communication card determined when the mobile terminal performs radio frequency resource allocation last time.
With regard to the apparatus in the above embodiments, the specific manner in which the respective modules perform operations has been described in detail in the embodiments related to the method, and will not be elaborated here.
An embodiment of the present application further provides a radio frequency resource allocation apparatus, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the steps of the above radio frequency resource allocation method.
Embodiments of the present application also provide a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the radio frequency resource allocation method are implemented. The readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In the method, a first communication card and a second communication card respectively monopolize a first antenna and a second antenna and share a third antenna, so that when the first communication card is in a connected state and needs to do business, the second communication card occupies radio frequency resources of the third antenna, and the first communication card continues to execute business by using the monopolized first antenna. The code complexity increased for maintaining the original service operation caused by service interruption is reduced, and the system stability is improved.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the embodiments of the application following, in general, the principles of the embodiments of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the embodiments of the application pertain. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the embodiments of the application being indicated by the following claims.
It is to be understood that the embodiments of the present application are not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the embodiments of the present application should be limited only by the attached claims.
Claims (14)
1. A radio frequency resource allocation method is applied to a mobile terminal comprising a first communication card and a second communication card, wherein the mobile terminal comprises a first antenna and a second antenna, the first communication card is connected with the first antenna, the second communication card is connected with the second antenna, the mobile terminal further comprises a third antenna, and the third antenna is respectively connected with the first communication card and the second communication card, and the method comprises the following steps:
receiving a first resource request which is sent by a first communication card and used for executing a first target service;
when the third antenna is occupied by a second target service of the second communication card, judging the priority of the second target service and the first target service occupying the third antenna;
if the priorities are the same, the priorities of the first communication card and the second communication card are judged, the communication card with the higher priority is selected as a target communication card, and the third antenna is distributed to execute the target service of the target communication card.
2. The method of claim 1, wherein the method further comprises:
and if the priority of the first target service is lower than the priority of the second target service occupying the third antenna at present, allocating the first antenna to execute the first target service of the first target communication card.
3. The method of claim 1, wherein the method further comprises:
if the priority of the first target service is higher than the priority of the second target service occupying the third antenna at present, 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.
4. The method of claim 1, wherein the determining the priority of the second target traffic and the first target traffic occupying the third antenna comprises:
judging the priority of the second target service and the first target service occupying the third antenna according to the preset priority sequence of the mobile terminal service;
the priority sequence of the mobile terminal service comprises that the priority sequence is sequentially reduced according to the sequence of the voice service, the paging service, the network selection service and the data service.
5. The method according to claim 1 or 4, wherein the first communication card is preset to have a higher priority than the second communication card, and wherein the selecting the communication card with the higher priority as the target communication card comprises:
and selecting the first communication card with higher priority as a target communication card.
6. The method of claim 1, wherein the target service is a current target service, and wherein selecting a communication card with a higher priority as a target communication card comprises:
and judging to obtain a communication card with higher priority in the first communication card and the second communication card, wherein the communication card with higher priority is a target communication card determined when the mobile terminal performs radio frequency resource allocation last time.
7. A radio frequency resource allocation apparatus, applied to a mobile terminal including a first communication card and a second communication card, wherein the mobile terminal includes 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 further includes a third antenna, and the third antenna is respectively connected to the first communication card and the second communication card, the apparatus comprising:
the resource request receiving module is used for receiving a first resource request which is sent by a first communication card and used for executing a first target service;
a priority judging module, configured to judge, when the third antenna is occupied by a second target service of the second communication card, a priority of the second target service and the first target service occupying the third antenna;
and the resource allocation module is used for judging the priority of the first communication card and the second communication card if the priority is the same, selecting the communication card with higher priority as a target communication card, and allocating the third antenna to execute the target service of the target communication card.
8. The apparatus of claim 7, wherein the apparatus further comprises:
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 apparatus of claim 7, wherein the apparatus further comprises:
the resource allocation module is further configured to 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, if the priority of the first target service is higher than the priority of the second target service currently occupying the third antenna.
10. The apparatus of claim 7, wherein the apparatus further comprises:
the priority setting module is used for judging the priority of the second target service and the first target service occupying the third antenna according to the preset priority sequence of the mobile terminal service; the priority sequence of the mobile terminal service comprises the sequential reduction of a voice service, a paging service, a network selection service and a data service.
11. The apparatus according to claim 7 or 10, wherein the first communication card is preset to have a higher priority than the second communication card, the apparatus further comprising:
and the target communication card selection module is used for selecting the first communication card with higher priority as the target communication card.
12. The apparatus of claim 7, the target service being a current target service, the apparatus further comprising:
and the target communication card selecting module is used for judging to obtain a communication card with higher priority in 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 performs the radio frequency resource allocation last time.
13. An apparatus for allocating radio frequency resources, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of claims 1-6.
14. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111047526.1A CN113746489A (en) | 2021-09-08 | 2021-09-08 | Radio frequency resource allocation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111047526.1A CN113746489A (en) | 2021-09-08 | 2021-09-08 | Radio frequency resource allocation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113746489A true CN113746489A (en) | 2021-12-03 |
Family
ID=78736862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111047526.1A Pending CN113746489A (en) | 2021-09-08 | 2021-09-08 | Radio frequency resource allocation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113746489A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105472755A (en) * | 2014-09-10 | 2016-04-06 | 联想(北京)有限公司 | Antenna distribution method and device and electronic equipment |
CN106130618A (en) * | 2016-08-11 | 2016-11-16 | 华为技术有限公司 | The antenna switching method being used in terminal unit and device and terminal unit |
CN109831223A (en) * | 2019-03-21 | 2019-05-31 | Oppo广东移动通信有限公司 | Antenna multiplexed radio-frequency unit and terminal |
CN110166073A (en) * | 2019-06-14 | 2019-08-23 | Oppo广东移动通信有限公司 | Radio circuit and electronic equipment |
CN111787631A (en) * | 2020-06-29 | 2020-10-16 | 维沃移动通信有限公司 | Radio frequency resource allocation method and device and electronic equipment |
-
2021
- 2021-09-08 CN CN202111047526.1A patent/CN113746489A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105472755A (en) * | 2014-09-10 | 2016-04-06 | 联想(北京)有限公司 | Antenna distribution method and device and electronic equipment |
CN106130618A (en) * | 2016-08-11 | 2016-11-16 | 华为技术有限公司 | The antenna switching method being used in terminal unit and device and terminal unit |
CN109831223A (en) * | 2019-03-21 | 2019-05-31 | Oppo广东移动通信有限公司 | Antenna multiplexed radio-frequency unit and terminal |
CN110166073A (en) * | 2019-06-14 | 2019-08-23 | Oppo广东移动通信有限公司 | Radio circuit and electronic equipment |
CN111787631A (en) * | 2020-06-29 | 2020-10-16 | 维沃移动通信有限公司 | Radio frequency resource allocation method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11895709B2 (en) | Random access method and terminal | |
US20210320766A1 (en) | Method and apparatus for sending reference signal, method and apparatus for receiving reference signal, vehicle-mounted device, and terminal | |
US8824367B2 (en) | Method and apparatus for receiving paging information | |
US20110012987A1 (en) | Method and apparatus for connecting video call in dual standby mobile communication termainal | |
JP7453422B2 (en) | Wireless communication methods and devices, terminals and storage media | |
CN112399484B (en) | Data transmission method and device, storage medium and electronic equipment | |
CN110336578B (en) | Radio frequency circuit and electronic equipment | |
CN110224706B (en) | Radio frequency circuit and electronic equipment | |
CN110166074B (en) | Radio frequency circuit, electronic equipment and control method of radio frequency circuit | |
KR102219015B1 (en) | Use of network support protocols to improve network usage | |
KR100810910B1 (en) | Method and apparatus for managementing radio resource in mobile communication system | |
CN110299927B (en) | Radio frequency circuit, electronic equipment and radio frequency circuit control method | |
US20230292364A1 (en) | Bandwidth resource multiplexing method and apparatus, communication device and storage medium | |
CN112867069B (en) | Interference processing method and device, storage medium and electronic equipment | |
CN112566262B (en) | Data processing method and device, communication equipment and storage medium | |
CN109379783B (en) | Radio frequency resource allocation method and device | |
CN111787522B (en) | Radio resource control RRC state maintenance method, terminal and storage medium | |
US20230164827A1 (en) | Communications method and apparatus | |
CN112243262A (en) | Electronic device for transmitting data by splitting bearer and method for operating electronic device | |
CN112004223A (en) | Multi-card receiving method and device | |
CN114867120A (en) | Resource allocation method, device, equipment and storage medium | |
CN109565837B (en) | Information transmission method, device, base station and terminal | |
CN109314969B (en) | Transmission configuration method, device, equipment, system and storage medium | |
EP3258617B1 (en) | Antenna configuration method and terminal | |
CN110176940B (en) | Radio frequency circuit and electronic equipment |
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 |