CN115103464B - Mode switching method, mode switching device, computer device, storage medium, and program product - Google Patents
Mode switching method, mode switching device, computer device, storage medium, and program product Download PDFInfo
- Publication number
- CN115103464B CN115103464B CN202210709570.2A CN202210709570A CN115103464B CN 115103464 B CN115103464 B CN 115103464B CN 202210709570 A CN202210709570 A CN 202210709570A CN 115103464 B CN115103464 B CN 115103464B
- Authority
- CN
- China
- Prior art keywords
- card
- sim card
- double
- dual
- mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000005540 biological transmission Effects 0.000 claims description 94
- 238000004590 computer program Methods 0.000 claims description 40
- 230000009977 dual effect Effects 0.000 claims description 32
- ZHBXLZQQVCDGPA-UHFFFAOYSA-N 5-[(1,3-dioxo-2-benzofuran-5-yl)sulfonyl]-2-benzofuran-1,3-dione Chemical compound C1=C2C(=O)OC(=O)C2=CC(S(=O)(=O)C=2C=C3C(=O)OC(C3=CC=2)=O)=C1 ZHBXLZQQVCDGPA-UHFFFAOYSA-N 0.000 description 49
- 101000703681 Homo sapiens Single-minded homolog 1 Proteins 0.000 description 35
- 102100031980 Single-minded homolog 1 Human genes 0.000 description 35
- 101000616761 Homo sapiens Single-minded homolog 2 Proteins 0.000 description 32
- 102100021825 Single-minded homolog 2 Human genes 0.000 description 32
- 230000006854 communication Effects 0.000 description 21
- 238000004891 communication Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 10
- 230000008859 change Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008054 signal transmission Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- 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
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present application relates to a mode switching method, apparatus, computer device, storage medium, and program product. The method comprises the following steps: under the condition that the first SIM card or the second SIM card is detected to switch the transmitting link, determining whether the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the current first double-card double-pass mode of the terminal after the transmitting link is switched; if not, switching the first double-card double-pass mode into a second double-card double-pass mode; the first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode. The method can flexibly realize the double-card double-pass function of the terminal.
Description
Technical Field
The present invention relates to the field of terminal communication technologies, and in particular, to a mode switching method, an apparatus, a computer device, a storage medium, and a program product.
Background
Dual card bi-pass (Dual Sim Dual Active, DSDA) is a common function that terminals need to implement today. In general, the terminal may be implemented by FC DSDA (Full concurrency DSDA, full concurrency dual card dual pass). In FC DSDA, two SIM (Subscriber Identity Module, subscriber identity) cards may operate in two different and independent transmit links. However, each SIM card needs to be switched in two transmission links based on the different frequencies of the communication signals of each SIM card.
In the prior art, according to the requirement of the SIM card, the transmitting links of each SIM card are switched between two paths of transmitting link connection, so that each SIM card transmits signals through the required transmitting links.
However, in the prior art, after the transmission link is switched, each SIM card uses the same transmission link, which is in conflict with the principle that only different and independent transmission links are adopted when each SIM card works in FC DSDA, so that the switching is not available.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a mode switching method, apparatus, computer device, storage medium, and program product that can flexibly implement dual-card dual-pass of a terminal.
In a first aspect, the present application provides a mode switching method. The method comprises the following steps:
under the condition that the first SIM card or the second SIM card is detected to switch the transmitting link, determining whether the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the current first double-card double-pass mode of the terminal after the transmitting link is switched;
if not, switching the first double-card double-pass mode into a second double-card double-pass mode;
The first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode.
In a second aspect, the present application further provides a mode switching device. The device comprises:
the determining module is used for determining whether the use condition of the transmitting links of the first SIM card and the second SIM card is matched with the current first double-card double-pass mode of the terminal after the transmitting links are switched under the condition that the transmitting links of the first SIM card or the second SIM card are detected to be switched;
the switching module is used for switching the first double-card double-pass mode into a second double-card double-pass mode under the condition of no matching; the first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode.
In a third aspect, the present application also provides a terminal comprising a memory storing a computer program and a processor implementing the steps of the method of the first aspect described above when the computer program is executed by the processor.
In a fourth aspect, the present application also provides a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method according to the first aspect described above.
In a fifth aspect, the present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of the first aspect described above.
The mode switching method, the device, the computer equipment, the storage medium and the program product are used for determining whether the use condition of the transmission links of the first SIM card and the second SIM card is matched with the current first double-card double-pass mode of the terminal after the transmission links are switched under the condition that the transmission links of the first SIM card or the second SIM card are detected by detecting the use condition of the transmission links of the first SIM card and the second SIM card; if not, switching the first double-card double-pass mode into a second double-card double-pass mode; the first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode, namely, the first SIM card and the second SIM card in the full concurrency mode can work by adopting different transmitting links, and the first SIM card and the second SIM card in the link multiplexing mode can work by adopting the same transmitting link, so that under the condition that the use condition of the transmitting links of the first SIM card and the second SIM card is not matched with the current first dual-card dual-pass mode of the terminal after the transmitting links are switched, the dual-card dual-pass mode of the terminal is switched from the first dual-card dual-pass mode to the second dual-card dual-pass mode, whether the first SIM card and the second SIM card use the same transmitting link or not after the transmitting links are switched, the terminal can be allowed and realized, the conflict between FC DSDA and the link switching is avoided, the flexibility and the intelligence of the dual-card dual-pass realization of the terminal are improved, and the effectiveness, the real-time stability and the communication of the first SIM card and the second SIM card in the terminal are ensured.
Drawings
FIG. 1 is a flow diagram of a mode switching method in one embodiment;
FIG. 2 is a flow chart of a mode switching method according to another embodiment;
FIG. 3 is a flow chart of a method for determining a match in one embodiment;
FIG. 4 is a flow chart of a method for determining a match in another embodiment;
FIG. 5 is a flow diagram of an initial dual card dual pass mode determination process in one embodiment;
fig. 6 is a schematic diagram of a transmission link structure in a terminal according to an embodiment;
FIG. 7 is a schematic diagram of a hardware architecture of a full concurrency dual-card dual-pass in a terminal in one embodiment;
FIG. 8 is a schematic diagram of a hardware architecture of a link sharing dual-card dual-pass in a terminal according to an embodiment;
FIG. 9 is a block diagram of a mode switching device in one embodiment;
fig. 10 is an internal structural view of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Dual card bi-pass (Dual Sim Dual Active, DSDA) is a common function that terminals need to implement today. There are two implementations of dual-card dual-pass currently, one is FC DSDA (Full concurrency DSDA, full-concurrent dual-card dual-pass) and one is Tx sharing DSDA (transmit link multiplexed dual-card dual-pass).
In FC DSDA, two SIM (Subscriber Identity Module ) cards operate in different transmission links, and allow the two transmission links to operate independently at the same time, i.e., the terminal allocates corresponding transmission links for SIM1 and SIM2, respectively.
In Tx sharing DSDA, two SIM cards multiplex the same transmitting link, and at least devices such as a power supply and a power amplifier in the multiplexing link are needed to realize multiplexing of the transmitting link through time-sharing operation.
The FC DSDA has advantages over Tx sharing DSDA in terms of double-card jamming and throughput, but is much more design-dependent, requiring an independent two-way transmit link in hardware design.
In the prior art, in order to solve the problem that the transmitting links need to be switched by the SIM card in the FC DSDA, the transmitting links of each SIM card can be switched between two paths of transmitting link connection according to the requirement of the SIM card, so that each SIM card can transmit signals through the required transmitting links. However, in the prior art, two different transmission links are required before and after the handover, and two transmission links are required for the operation of the SIM card in the FC DSDA. Normally, two paths of transmitting links are already allocated, and in order to ensure that double-card double-pass is not interrupted, the frequency bands used by the SIM1 and the SIM2 cannot be switched. If the transmitting link of SIM1 or SIM2 needs to be switched, a collision occurs between the switched link and the link being used by the other SIM card at this time, that is, the switched link collides with the principle that the FC DSDA can only implement that each SIM card works by using a different and independent transmitting link, so that the switching is not available.
In view of this, the embodiment of the present application provides a mode switching method, by detecting the usage conditions of the transmitting links of the first SIM card and the second SIM card, and determining whether the usage conditions of the transmitting links of the first SIM card and the second SIM card after the transmitting links are switched match with the current first dual-card dual-pass mode of the terminal when detecting that the transmitting links of the first SIM card or the second SIM card are switched; if not, switching the first double-card double-pass mode into a second double-card double-pass mode; the first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode, namely, the first SIM card and the second SIM card in the full concurrency mode can work by adopting different transmitting links, and the first SIM card and the second SIM card in the link multiplexing mode can work by adopting the same transmitting link, so that under the condition that the use condition of the transmitting links of the first SIM card and the second SIM card is not matched with the current first dual-card dual-pass mode of the terminal after the transmitting links are switched, the dual-card dual-pass mode of the terminal is switched from the first dual-card dual-pass mode to the second dual-card dual-pass mode, whether the first SIM card and the second SIM card use the same transmitting link or not after the transmitting links are switched, the terminal can be allowed and realized, the conflict between FC DSDA and the link switching is avoided, the flexibility and the intelligence of the dual-card dual-pass realization of the terminal are improved, and the effectiveness, the real-time stability and the communication of the first SIM card and the second SIM card in the terminal are ensured.
In one embodiment, as shown in fig. 1, a mode switching method is provided, where the embodiment of the present application is applied to a terminal to illustrate the mode switching method, it is understood that the method may also be applied to a server, and may also be applied to a system including the terminal and the server, and implemented through interaction between the terminal and the server. The terminal is various devices capable of carrying a plurality of SIM cards for communication. In an embodiment of the present application, the method includes the following steps:
step 101, determining whether the use condition of the transmitting links of the first SIM card and the second SIM card is matched with the current first double-card double-pass mode of the terminal after the transmitting links are switched under the condition that the transmitting links of the first SIM card or the second SIM card are detected to be switched.
At present, most terminals can carry two SIM cards for communication and have a double-card double-pass function. Terminals typically include multiple antennas with different frequency bands for transmitting signals of different frequencies; of course, the terminal may also include an antenna with a wide frequency band range, which includes a plurality of frequency bands, where the plurality of frequency bands may correspond to the antennas with different frequency bands. The antenna is typically an integral part of the transmit chain. Two transmission links, namely a first transmission link and a second transmission link, may be included in the terminal, and different antennas may belong to different transmission links. In other words, when the SIM card transmits signals by using a target antenna among a plurality of antennas in the terminal, a transmission link formed by the target antenna needs to be used for signal transmission to transmit signals to free space through the target antenna. Because the signals transmitted under different conditions of the SIM cards are different, the signals are required to be transmitted by adopting antennas with different frequency bands, and therefore, in the running process of the terminal, each SIM card has the condition that a transmitting link needs to be switched. Taking the example that the terminal comprises the first SIM card and the second SIM card, based on the example, whether the first SIM card or the second SIM card performs transmission link switching needs to be detected in real time, so that the first SIM card and the second SIM card are distributed with proper transmission links through switching the double-card double-pass mode in the terminal, and the realization of the double-card double-pass function of the terminal is ensured.
Optionally, whether the first SIM card or the second SIM card performs transmission link switching may be determined by detecting a data type included in a signal to be transmitted by the first SIM card or the second SIM card; or, whether the first SIM card or the second SIM card performs transmission link switching can be judged by detecting the frequency of a signal required to be transmitted by the first SIM card or the second SIM card; or judging whether the first SIM card or the second SIM card performs transmission link switching according to the current throughput requirement or the current delay requirement of the first SIM card or the second SIM card, and the like; this is not a specific example, nor is it intended to be limiting.
The terminal can configure a first double-card double-pass mode or a second double-card double-pass mode to realize normal communication between the first SIM card and the second SIM card. In the running process of the terminal, a first double-card double-pass mode is configured currently. Detecting the use condition of the transmitting links of the first SIM card and the second SIM card in real time,
under the condition that the first SIM card or the second SIM card is detected to switch the transmitting link, whether the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the current first double-card double-pass mode of the terminal after the transmitting link is switched is determined, so as to determine whether the terminal needs to be replaced to realize the double-card double-pass mode.
Step 102, if not, switching the first dual-card dual-pass mode to the second dual-card dual-pass mode. The first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode.
The full concurrency mode comprises that the first SIM card and the second SIM card adopt two different and independent transmitting links to transmit signals, and the link multiplexing mode comprises that the first SIM card and the second SIM card adopt the same transmitting link to transmit signals. The first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode.
Under the condition that the first SIM card or the second SIM card is detected to switch the transmitting link, if the service conditions of the transmitting link of the first SIM card and the second SIM card are not matched with the current first double-card double-pass mode of the terminal after the transmitting link is switched, the current double-card double-pass mode in the terminal is required to be changed, namely, the current first double-card double-pass mode is switched to the second double-card double-pass mode, so that the first SIM card and the second SIM card after the transmitting link is switched can normally communicate. For example, if the first SIM card and the second SIM card transmit signals using different transmitting links in the current first dual-card dual-pass mode, after detecting that one of the first SIM card or the second SIM card performs transmitting link switching, it means that the switched first SIM card and second SIM card transmit signals using the same transmitting link, that is, do not match with the current first dual-card dual-pass mode, and should be switched to the second dual-card dual-pass mode.
Obviously, when the first SIM card and the second SIM card do not switch the transmitting link, the terminal maintains the current first double-card double-pass mode unchanged.
Optionally, in the link multiplexing mode, the currently used transmitting link may include two switches and two signal transmission lines, where the first SIM card adopts the transmitting link to transmit signals when the two switches are connected to the signal transmission lines corresponding to the first SIM card at the same time; the second SIM card transmits signals using the transmission link under the condition that the two switches are simultaneously connected with the signal transmission line corresponding to the second SIM card. In other words, the terminal can make the first SIM card and the second SIM card time-share multiplex the transmitting link by changing the connection mode of the switch.
In the mode switching method, through detecting the use condition of the transmitting links of the first SIM card and the second SIM card, under the condition that the transmitting links of the first SIM card or the second SIM card are detected to be switched, whether the use condition of the transmitting links of the first SIM card and the second SIM card is matched with the current first double-card double-pass mode of the terminal after the transmitting links are switched is determined; if not, switching the first double-card double-pass mode into a second double-card double-pass mode; the first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode, namely, the first SIM card and the second SIM card in the full concurrency mode can work by adopting different transmitting links, and the first SIM card and the second SIM card in the link multiplexing mode can work by adopting the same transmitting link, so that under the condition that the use condition of the transmitting links of the first SIM card and the second SIM card is not matched with the current first dual-card dual-pass mode of the terminal after the transmitting links are switched, the dual-card dual-pass mode of the terminal is switched from the first dual-card dual-pass mode to the second dual-card dual-pass mode, whether the first SIM card and the second SIM card use the same transmitting link or not after the transmitting links are switched, the terminal can be allowed and realized, the conflict between FC DSDA and the link switching is avoided, the flexibility and the intelligence of the dual-card dual-pass realization of the terminal are improved, and the effectiveness, the real-time stability and the communication of the first SIM card and the second SIM card in the terminal are ensured.
In one embodiment, as shown in fig. 2, a flow chart of another mode switching method provided in an embodiment of the present application is shown. The method comprises the following steps:
step 201, under the condition that the first SIM card or the second SIM card is detected to switch the transmitting link, determining whether the service condition of the transmitting link of the first SIM card and the second SIM card is matched with the current first double-card double-pass mode of the terminal after the transmitting link is switched.
Step 202a, if not, switching the first dual-card dual-pass mode to a second dual-card dual-pass mode.
Step 202b, if the first two-card two-way mode is matched, maintaining the first two-card two-way mode unchanged.
The above describes the case that the usage condition of the transmitting links of the first SIM card and the second SIM card after the transmitting link is switched is not matched with the current first dual-card dual-pass mode of the terminal, and of course, the case that the usage condition of the transmitting links of the first SIM card and the second SIM card after the transmitting link is switched is matched with the current first dual-card dual-pass mode of the terminal also exists. The above mismatch may occur when one of the first SIM card and the second SIM card switches the transmission link while the other remains unchanged, and of course, there may also be a case where the first SIM card and the second SIM card switch the transmission link at the same time, where, although the first SIM card and the second SIM card both switch the transmission link, the usage of the transmission link after switching still matches the first dual-card dual-pass mode, and the first dual-card dual-pass mode is maintained unchanged.
In the embodiment of the application, when the use condition of the transmitting links of the first SIM card and the second SIM card is matched with the current first double-card double-pass mode of the terminal after the transmitting link is switched, the current first double-card double-pass mode is maintained unchanged, the accurate matching of the configured double-card double-pass mode in the current terminal and the use state of the transmitting links of the first SIM card and the second SIM card is ensured, and the power consumption of the terminal is reduced.
As described above, the first two-card two-way mode may be one of the full concurrency mode and the link multiplexing mode, and the case where the first two-card two-way mode is the full concurrency mode and the first two-card two-way mode is the link multiplexing mode will be described below, respectively.
In one embodiment, as shown in fig. 3, a flow chart for determining matching conditions according to an embodiment of the present application is shown. If the first dual-card dual-pass mode is a full concurrency mode, determining whether the usage condition of the transmitting links of the first SIM card and the second SIM card after the transmitting link is switched matches the current first dual-card dual-pass mode of the terminal includes:
step 301, if the first SIM card and the second SIM card use different transmission links to transmit signals after the transmission link is switched, determining that the usage condition of the transmission links of the first SIM card and the second SIM card after the transmission link is switched matches the first dual-card dual-pass mode.
Step 302, if the first SIM card and the second SIM card use the same transmission link to transmit signals after the transmission link is switched, determining that the usage condition of the transmission link of the first SIM card and the second SIM card after the transmission link is switched does not match the first dual-card dual-pass mode.
Specifically, in the first case, if the current first dual-card dual-pass mode is the full concurrency mode, the current first SIM card and the second SIM card respectively adopt different transmission links to transmit signals. When one of the first SIM card and the second SIM card is detected to switch the transmitting link, it means that the first SIM card and the second SIM card need to use the same transmitting link to communicate after switching, and are not matched with the current first dual-card dual-pass mode, so that the first dual-card dual-pass mode needs to be switched to the second dual-card dual-pass mode, and obviously, in this case, the second dual-card dual-pass mode is a link multiplexing mode.
In the second case, if the current first dual-card dual-pass mode is the full concurrency mode, when the first SIM card and the second SIM card are detected to switch transmission links at the same time, it means that the first SIM card and the second SIM card still use different transmission links to communicate after the switching, in other words, the transmission links used by the first SIM card and the second SIM card after the switching are exchanged, which is matched with the current first dual-card dual-pass mode, so that the first dual-card dual-pass mode does not need to be switched to the second dual-card dual-pass mode, and obviously, in this case, the second dual-card dual-pass mode is the link multiplexing mode.
In one embodiment, as shown in fig. 4, another flow chart for determining matching conditions provided in the embodiment of the present application is shown. If the first dual-card dual-pass mode is a link multiplexing mode, determining whether the usage condition of the transmitting links of the first SIM card and the second SIM card after the transmitting link is switched matches the current first dual-card dual-pass mode of the terminal includes:
step 401, if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the usage condition of the transmitting link of the first SIM card and the second SIM card after the transmitting link is switched matches the first dual-card dual-pass mode.
Step 402, if the first SIM card and the second SIM card use different transmission links to transmit signals after the transmission link is switched, determining that the usage condition of the transmission links of the first SIM card and the second SIM card after the transmission link is switched does not match the first dual-card dual-pass mode.
Specifically, in the third case, if the current first dual-card dual-pass mode is the link multiplexing mode, the current first SIM card and the second SIM card transmit signals using the same transmission link. When one of the first SIM card and the second SIM card is detected to switch the transmitting link, it means that the first SIM card and the second SIM card use different transmitting links to communicate after the switching, and are not matched with the current first dual-card dual-pass mode, so that the first dual-card dual-pass mode needs to be switched to the second dual-card dual-pass mode, and obviously, in this case, the second dual-card dual-pass mode is a full concurrent mode.
In the fourth case, if the current first dual-card dual-pass mode is the link multiplexing mode, when the first SIM card and the second SIM card are detected to switch transmission links at the same time, it means that the first SIM card and the second SIM card still communicate with the same transmission link after the switching, in other words, the transmission links used by the first SIM card and the second SIM card are simultaneously switched from the first transmission link to the second transmission link or simultaneously switched from the second transmission link to the first transmission link, which is matched with the current first dual-card dual-pass mode, so that the first dual-card dual-pass mode does not need to be switched to the second dual-card dual-pass mode, and obviously, in this case, the second dual-card dual-pass mode is the full concurrent mode.
In the embodiment of the present invention, when the first dual-card dual-pass mode is a full concurrency mode or a link multiplexing mode, according to the service conditions of the transmitting links of the first SIM card and the second SIM card after the transmitting link is switched, whether the first dual-card dual-pass mode is matched with the first dual-card dual-pass mode is determined, so as to provide a basis for the subsequent process of whether to execute the switching of the first dual-card dual-pass mode into the second dual-card dual-pass mode, thereby helping to ensure effective and stable communication between the first SIM card and the second SIM card in the terminal.
The implementation process of the terminal for switching the first dual card dual pass mode to the second dual card dual pass mode will be described.
In one embodiment, switching the first dual card dual pass mode to the second dual card dual pass mode includes: and sending a configuration information changing instruction to an element in the transmitting link, wherein the configuration information changing instruction is used for indicating the element to be changed from the configuration corresponding to the first double-card double-pass mode to the configuration corresponding to the second double-card double-pass mode.
Wherein the elements in each transmit chain in the terminal may determine the signaling for the first SIM card or the signaling for the second SIM card based on the received configuration information. When the dual-card dual-pass mode is required to be switched, a control module in the terminal can send a configuration information changing instruction to an element in the transmitting link so as to instruct the element to change from a configuration state corresponding to the first dual-card dual-pass mode to a configuration state corresponding to the second dual-card dual-pass mode. Optionally, the configuration information modification instruction includes a configuration parameter corresponding to the second dual-card dual-pass mode, so that the element in the transmitting link is modified into the second dual-card dual-pass mode according to the configuration parameter.
Alternatively, the elements in the transmit chain may include PA (Power Amplifier). Different transmitting links may include different PAs, and when the first SIM card or the second SIM card needs to switch the transmitting link, the corresponding transmitting link may be switched by changing the PA used by the first SIM card or the second SIM card to transmit signals.
In the embodiment of the application, the configuration information changing instruction is sent to the element in the transmitting link to instruct the element in the transmitting link to change from the configuration corresponding to the first dual-card dual-pass mode to the configuration corresponding to the second dual-card dual-pass mode, so that the implementation process is simple and convenient, and the switching of the dual-card dual-pass mode can be accurately and efficiently performed.
The above describes the switching of the dual card dual pass mode during the operation of the terminal. In addition, when the terminal detects that the first SIM card and the second SIM card are carried for the first time, an initial dual-card dual-pass mode when the terminal operates should be determined so as to allocate an initial transmitting link for the first SIM card and the second SIM card.
In one embodiment, the method further comprises: under the condition that the first SIM card and the second SIM card are detected for the first time, corresponding initial transmitting links are distributed for the first SIM card and the second SIM card according to an initial double-card double-pass mode; wherein the initial dual card dual pass mode is one of a full concurrency mode and a link multiplexing mode.
The initial dual-card dual-pass mode may be a full concurrency mode or a link multiplexing mode.
In one case, the first detection of the first SIM card and the second SIM card may be the first detection of the first SIM card and the second SIM card by the terminal, or the first SIM card and the second SIM card are detected by the terminal after restarting, or in a process that one of the first SIM card or the second SIM card is mounted in the terminal and the other of the first SIM card or the second SIM card is normally communicated, which is not a one-to-one example.
If the initial dual-card dual-pass mode is the full concurrency mode, the corresponding initial transmitting links allocated to the first SIM card and the second SIM card are different transmitting links when the first SIM card and the second SIM card are detected for the first time, in other words, the initial transmitting link corresponding to the first SIM card may be the first transmitting link and the initial transmitting link corresponding to the second SIM card may be the second transmitting link, or the initial transmitting link corresponding to the first SIM card may be the second transmitting link and the initial transmitting link corresponding to the second SIM card may be the first transmitting link. In the case that one of the first SIM card or the second SIM card is detected in the process that the terminal is loaded with the other of the first SIM card or the second SIM card and normally communicates, if the SIM card which is loaded with the other of the first SIM card or the second SIM card in advance normally communicates has been allocated the first transmission link or the second transmission link in advance, then the other transmission link which is idle in the first transmission link and the second transmission link is allocated to the other SIM card which is detected subsequently.
If the initial dual-card dual-pass mode is the link multiplexing mode, under the condition that the first SIM card and the second SIM card are detected for the first time, corresponding initial transmission links are allocated to the first SIM card and the second SIM card as the same transmission link, in other words, the initial transmission links corresponding to the first SIM card and the second SIM card are both the first transmission link, or the initial transmission links corresponding to the first SIM card and the second SIM card are both the second transmission link.
In view of the advantages of being not easy to generate double-card blocking in the full concurrency mode, high throughput and the like, the initial double-card double-pass mode is preferably configured into the full concurrency mode.
Referring to fig. 5, a flow chart of an initial dual-card dual-pass mode determination procedure according to an embodiment of the present application is shown. The mode switching method further comprises the determination of an initial double-card double-pass mode, and specifically comprises the following steps:
step 501, obtaining data receiving and transmitting requirement information of a first SIM card and a second SIM card.
Step 502, determining the initial dual-card dual-pass mode according to the data transmission and reception requirement information.
Optionally, the data transceiving requirement information includes, for example, a delay requirement during data transceiving or a throughput requirement during data transceiving. Where throughput refers to the amount of data (measured in bits, bytes, packets, etc.) successfully transferred per unit time for a network, device, port, or other facility.
Optionally, when the terminal detects the first SIM card and the second SIM card, the terminal may determine data receiving and transmitting requirement information corresponding to the first SIM card and the second SIM card respectively according to the communication parameters of the first SIM card and the second SIM card by detecting the communication parameters of the first SIM card and the second SIM card. For example, the communication parameter may be an operating frequency band of a SIM card, specifically, taking a 5G network as an example, where the 5G network has 29 frequency bands, and is mainly divided into two frequency spectrum ranges, currently commonly used n1/n3/n28/n41/n77/n78/n79 has 7 frequency bands, and the operating frequency band of the first SIM card and the operating frequency band of the second SIM card may be one of the 7 frequency bands, where the data transceiving requirements of the SIM cards operating in different frequency bands are different, so that corresponding data transceiving requirement information may be determined according to the operating frequency bands of the first SIM card and the second SIM card, and the initial dual-card dual-pass mode may be determined according to the data transceiving requirement information.
Optionally, for the combination of the first SIM card and the second SIM card, which occupy a relatively high amount or have relatively high requirements on throughput and delay, in the actual communication process, the initial dual-card dual-pass mode may be configured as a full concurrency mode; the initial dual card dual pass mode is configurable as a link multiplexing mode for a combination of a first SIM card and a second SIM card that are more demanding for area coverage of the network.
In the embodiment of the application, the initial double-card double-pass mode is determined according to the data receiving and transmitting demand information of the first SIM card and the second SIM card, so that the switching times of the subsequent double-card double-pass mode of the terminal are effectively reduced, the power consumption of the terminal is reduced, and the stability of the first SIM card and the second SIM card in the communication process is improved.
In one embodiment, the mode switching method further includes: after corresponding initial transmitting links are allocated for the first SIM card and the second SIM card, the switching of the initial double-card double-pass mode is forbidden.
Optionally, because the initial dual-card dual-pass mode is determined according to the data receiving and transmitting requirement information corresponding to the first SIM card and the second SIM card respectively, after the corresponding initial transmitting links are allocated to the first SIM card and the second SIM card according to the initial dual-card dual-pass mode, the initial dual-card dual-pass mode is considered to be very suitable for the first SIM card and the second SIM card to communicate. In order to ensure the stability of the communication process of the first SIM card and the second SIM card and avoid the influence of hardware problems, the subsequent switching of the initial double-card double-pass mode can be forbidden.
In one embodiment, a DSDA intelligent switching method is provided. According to the method, intelligent switching can be realized between an FC DSDA (full concurrency double-card double-pass) mode and a Tx sharing DSDA (link sharing double-card double-pass) mode according to the use condition of a transmitting link of each SIM card in the terminal. Wherein, the FC DSDA mode supports the SIM1 and the SIM2 to use different transmitting links, and the Tx sharing DSDA mode supports the SIM1 and the SIM2 to use the same transmitting link.
Specifically, taking an example that the frequency band of the SIM1 carried in the terminal is an n1 frequency band in the 5G network and the frequency band of the SIM2 is an n78 frequency band in the 5G network. Fig. 6 is a schematic diagram of a transmission link structure in a terminal according to an embodiment of the present application. The transmission links of the internal signals in the terminal are two paths, each transmission link comprises an independent power supply module, namely, the power supply module 1 is used for supplying power to the first transmission link, and the power supply module 2 is used for supplying power to the second transmission link. The terminal also comprises antennas 1 to 5, transmission links Path1 to Path5 and a plurality of power amplifiers PA with different bandwidths. As can be seen, when the SIM card in the terminal uses the antenna 1, the antenna 2 or the antenna 5 to transmit signals, a first transmitting link is required to be used; when the SIM card in the terminal adopts the antenna 3 or the antenna 4 to transmit signals, a second transmitting link is needed. Correspondingly, the SIM1 and the SIM2 in the terminal can realize the switching of the transmitting link by switching the PA. Alternatively, only 4G LB PA (4G low bandwidth power amplifier), 4G MHB PA (4G medium bandwidth power amplifier), 5G MHB PA (5G medium bandwidth power amplifier), 5G UHB PA1 (5G ultra high bandwidth power amplifier 1) and 5G UHB PA2 (5G ultra high bandwidth power amplifier 2) are taken as example 5 in the figure, and of course, the operating frequency bands of the plurality of PAs included in the terminal may be other frequency bands, which is not limited specifically herein.
In the conventional technology, path1/2/5 uses power supply module 1, path3/4 uses power supply module 2, and two paths of transmitting links are independent, so that Non-independent Networking (NSA) and uplink communication technology of independent networking ultra-high frequency band (SA UHB ULMOM) can be supported. If the terminal supports FC DSDA, the transmission link in the transmission link of SIM1 needs to be set to path2, and the transmission link in the transmission link of SIM1 needs to be set to path4, where SIM1 and SIM2 have independent power supply modules, and the independent transmission links are used to transmit signals. However, if during the operation of the terminal, the SIM1 performs PA switching from path2 to path3 (5G MHB PA also supports 4G MHB), at this time, path3 and path4 of the SIM2 use the same power supply module, and the transmitting links of the SIM1 and the SIM2 belong to the same path, so that the FC DSDA cannot work at this time, resulting in a collision. Based on this, the DSDA intelligent switching method provided in the embodiment of the present application can solve the conflict, and enable the terminal to still realize dual-card dual-pass under the condition that the transmitting links of SIM1 and SIM2 belong to the same path.
In the operation process of the terminal, the use condition of the transmitting links of the SIM1 and the SIM2 can meet the following four situations, and based on different situations, the switching between the FC DSDA mode and the Tx sharing mode in the configurable terminal can be realized, so that the dual-card dual-pass DSDA can be realized no matter whether the SIM1 and the SIM2 use the same transmitting link or not.
Scenario 1: SIM1 uses a first transmit link and SIM uses a second transmit link; the FC DSDA mode is configured in the terminal.
Scenario 2: SIM1 uses the second transmit link and SIM2 uses the first transmit link; the FC DSDA mode is configured in the terminal.
Scenario 3: SIM1 uses a first transmit link and SIM2 uses a first transmit link; the terminal is configured with a Tx sharing DSDA mode.
Scenario 4: SIM1 uses a second transmit chain and SIM2 uses a second transmit chain; the terminal is configured with a Tx sharing DSDA mode.
Specifically, the initial dual card dual pass mode of the terminal may be configured as the FC DSDA mode. The terminal detects that the SIM1 and the SIM2 communicate at the same time for the first time, that is, when the terminal is triggered by the DSDA working mechanism, the working scenario is determined according to the transmitting link currently used by the SIM 1. If the current SIM1 works in the first transmitting link, selecting the initial scene to be the scene 1, and correspondingly, distributing a second transmitting link for the SIM 2; otherwise, scenario 2 is selected.
In the initial scenario, SIM1 and SIM2 will select the most suitable antenna to work according to the performance change of the antennas in the respective transmitting links, and when SIM1 and SIM2 need to switch antennas, it needs to determine in real time whether to switch DSDA modes according to the switching situation.
If the SIM1 needs to switch to use the antenna in another transmission link to perform operation and the SIM2 remains unchanged, the DSDA mode is reconfigured to Tx sharing DSDA according to the current transmission link after the SIM1 is switched (scenario 3 or scenario 4 will be satisfied after the SIM1 transmission link is switched). If the SIM2 needs to switch to use the antenna in another transmission link to operate and the SIM1 remains unchanged, the DSDA mode is reconfigured to be Tx sharing DSDA according to the current transmission link after the SIM2 is switched (scenario 3 or scenario 4 will be satisfied after the SIM2 transmission link is switched). If SIM1 and SIM2 need to switch the transmission links at the same time, the DSDA mode maintains the current FC DSDA mode without modification. In the above description, the frequency bands of the SIM card combination are taken as n1 and n78 as an example, and the DSDA mode switching process when the combination of other SIM cards works is the same.
Fig. 7 is a schematic diagram of a hardware structure of a full concurrency dual-card dual-pass in a terminal according to an embodiment of the present application. Taking n3 as an operating frequency band n1 of SIM1 and an operating frequency band n 2 of SIM2 and the terminal including antennas 1 to 4 as examples. It can be seen that the power supply module 1 is configured to supply power to the transmitting chain of the SIM1, and transmit signals corresponding to the SIM1 through the antenna 1, and also receive signals corresponding to the SIM1 through the antenna 1 and the antenna 2 (Tx transmission, rx reception). The power supply module 2 is used for supplying power to the transmitting chain of the SIM2, transmitting signals corresponding to the SIM2 through the antenna 4, and receiving signals corresponding to the SIM2 through the antenna 3 and the antenna 4. The PA is a power amplifier in the transmit chain and the LNA is a low noise amplifier in the receive chain. The radio frequency transceiver is used for carrying out corresponding signal processing on the received and transmitted signals.
Fig. 8 is a schematic diagram of a hardware structure of link sharing dual-card dual-pass in a terminal according to an embodiment of the present application. Also taking as an example the operating frequency band n1 of SIM1 and the operating frequency band n3 of SIM2, the terminal comprises antennas 1 to 4. It can be seen that the terminal comprises a power supply module for supplying power to a single transmission link. Wherein two switches 801 are included in the transmit chain. When the switch 801 is connected to transmission links corresponding to different SIM cards, the transmission links are used to transmit communication signals corresponding to different SIM cards. In addition, the antenna 1 and the antenna 2 can also receive signals corresponding to the SIM 1; the signals corresponding to SIM2 can also be received via antennas 3 and 4.
According to the DSDA intelligent switching method provided by the embodiment of the application, DSDA can be intelligently configured according to the current use states of the transmitting links of the SIM1 and the SIM2, a specific DSDA working scene is selected according to the current working scenes of the SIM1 and the SIM2, and the synchronous work of 4-way switching of double PAs and the DSDA is realized. According to the two working modes of DSDA, intelligent selection is performed through scene judgment, so that the conflict that the same transmitting link is used by the double cards in double-PA switching in the FC DSDA mode in the prior art is avoided, and the two working modes are cooperated.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a mode switching device for realizing the mode switching method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiment of one or more mode switching devices provided below may be referred to the limitation of the mode switching method hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 9, a mode switching device is provided. The mode switching device 900 includes: a determining module 901 and a switching module 902, wherein:
a determining module 901, configured to determine, when it is detected that a first SIM card or a second SIM card performs transmission link switching, whether a usage situation of a transmission link of the first SIM card and the second SIM card after the transmission link switching matches a current first dual-card dual-pass mode of a terminal;
a switching module 902, configured to switch the first dual-card dual-pass mode to a second dual-card dual-pass mode if the first dual-card dual-pass mode is not matched with the second dual-card dual-pass mode; the first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode.
In one embodiment, the apparatus further comprises:
and the maintaining module is used for maintaining the first double-card double-pass mode unchanged if the first double-card double-pass mode is matched with the first double-card double-pass mode.
In one embodiment, the first dual-card dual-pass mode is a full concurrency mode, and the determining module 901 is specifically configured to: if the first SIM card and the second SIM card respectively use different transmitting links to transmit signals after the transmitting links are switched, determining that the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the first double-card double-pass mode after the transmitting links are switched; if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the service condition of the transmitting link of the first SIM card and the second SIM card after the transmitting link is switched is not matched with the first double-card double-pass mode.
In one embodiment, the first dual card dual pass mode is a link multiplexing mode, and the determining module 901 is specifically configured to: if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the service condition of the transmitting link of the first SIM card and the second SIM card is matched with the first double-card double-pass mode after the transmitting link is switched; if the first SIM card and the second SIM card use different transmitting links to transmit signals after the transmitting links are switched, determining that the service conditions of the transmitting links of the first SIM card and the second SIM card after the transmitting links are switched are not matched with the first double-card double-pass mode.
In one embodiment, the switching module 902 is specifically configured to: and sending a configuration information changing instruction to an element in the transmitting link, wherein the configuration information changing instruction is used for indicating that the element is changed from the configuration corresponding to the first double-card double-pass mode to the configuration corresponding to the second double-card double-pass mode.
In one embodiment, the apparatus further comprises: the distribution module is used for distributing corresponding initial transmitting links for the first SIM card and the second SIM card according to an initial double-card double-pass mode under the condition that the first SIM card and the second SIM card are detected for the first time; wherein the initial dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode.
In one embodiment, the apparatus further comprises: the acquisition module is used for acquiring data receiving and transmitting demand information of the first SIM card and the second SIM card; and the second determining module is used for determining an initial double-card double-pass mode according to the data receiving and transmitting requirement information.
In one embodiment, the apparatus further comprises: and the prohibiting module is used for prohibiting the switching of the initial double-card double-pass mode after the corresponding initial transmitting links are allocated for the first SIM card and the second SIM card.
The respective modules in the above-described mode switching device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and an internal structure diagram thereof may be as shown in fig. 10. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a mode switching method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 10 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
under the condition that the first SIM card or the second SIM card is detected to switch the transmitting link, determining whether the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the current first double-card double-pass mode of the terminal after the transmitting link is switched; if the two modes are not matched, switching the first double-card double-pass mode into a second double-card double-pass mode; the first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode.
In one embodiment, the processor when executing the computer program further performs the steps of: if so, maintaining the first double-card double-pass mode unchanged.
In one embodiment, the processor when executing the computer program further performs the steps of: if the first SIM card and the second SIM card respectively use different transmitting links to transmit signals after the transmitting links are switched, determining that the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the first double-card double-pass mode after the transmitting links are switched; if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the service condition of the transmitting link of the first SIM card and the second SIM card after the transmitting link is switched is not matched with the first double-card double-pass mode.
In one embodiment, the processor when executing the computer program further performs the steps of: if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the service condition of the transmitting link of the first SIM card and the second SIM card is matched with the first double-card double-pass mode after the transmitting link is switched; if the first SIM card and the second SIM card use different transmitting links to transmit signals after the transmitting links are switched, determining that the service conditions of the transmitting links of the first SIM card and the second SIM card after the transmitting links are switched are not matched with the first double-card double-pass mode.
In one embodiment, the processor when executing the computer program further performs the steps of: and sending a configuration information changing instruction to an element in the transmitting link, wherein the configuration information changing instruction is used for indicating that the element is changed from the configuration corresponding to the first double-card double-pass mode to the configuration corresponding to the second double-card double-pass mode.
In one embodiment, the processor when executing the computer program further performs the steps of: under the condition that the first SIM card and the second SIM card are detected for the first time, corresponding initial transmitting links are distributed for the first SIM card and the second SIM card according to an initial double-card double-pass mode; wherein the initial dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring data receiving and transmitting demand information of a first SIM card and a second SIM card; and determining an initial double-card double-pass mode according to the data receiving and transmitting demand information.
In one embodiment, the processor when executing the computer program further performs the steps of: and after the corresponding initial transmitting links are allocated for the first SIM card and the second SIM card, the switching of the initial double-card double-pass mode is forbidden.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Under the condition that the first SIM card or the second SIM card is detected to switch the transmitting link, determining whether the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the current first double-card double-pass mode of the terminal after the transmitting link is switched; if the two modes are not matched, switching the first double-card double-pass mode into a second double-card double-pass mode; the first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: if so, maintaining the first double-card double-pass mode unchanged.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the first SIM card and the second SIM card respectively use different transmitting links to transmit signals after the transmitting links are switched, determining that the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the first double-card double-pass mode after the transmitting links are switched; if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the service condition of the transmitting link of the first SIM card and the second SIM card after the transmitting link is switched is not matched with the first double-card double-pass mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the service condition of the transmitting link of the first SIM card and the second SIM card is matched with the first double-card double-pass mode after the transmitting link is switched; if the first SIM card and the second SIM card use different transmitting links to transmit signals after the transmitting links are switched, determining that the service conditions of the transmitting links of the first SIM card and the second SIM card after the transmitting links are switched are not matched with the first double-card double-pass mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: and sending a configuration information changing instruction to an element in the transmitting link, wherein the configuration information changing instruction is used for indicating that the element is changed from the configuration corresponding to the first double-card double-pass mode to the configuration corresponding to the second double-card double-pass mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: under the condition that the first SIM card and the second SIM card are detected for the first time, corresponding initial transmitting links are distributed for the first SIM card and the second SIM card according to an initial double-card double-pass mode; wherein the initial dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring data receiving and transmitting demand information of a first SIM card and a second SIM card; and determining an initial double-card double-pass mode according to the data receiving and transmitting demand information.
In one embodiment, the computer program when executed by the processor further performs the steps of: and after the corresponding initial transmitting links are allocated for the first SIM card and the second SIM card, the switching of the initial double-card double-pass mode is forbidden.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
under the condition that the first SIM card or the second SIM card is detected to switch the transmitting link, determining whether the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the current first double-card double-pass mode of the terminal after the transmitting link is switched; if the two modes are not matched, switching the first double-card double-pass mode into a second double-card double-pass mode; the first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: if so, maintaining the first double-card double-pass mode unchanged.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the first SIM card and the second SIM card respectively use different transmitting links to transmit signals after the transmitting links are switched, determining that the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the first double-card double-pass mode after the transmitting links are switched; if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the service condition of the transmitting link of the first SIM card and the second SIM card after the transmitting link is switched is not matched with the first double-card double-pass mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the service condition of the transmitting link of the first SIM card and the second SIM card is matched with the first double-card double-pass mode after the transmitting link is switched; if the first SIM card and the second SIM card use different transmitting links to transmit signals after the transmitting links are switched, determining that the service conditions of the transmitting links of the first SIM card and the second SIM card after the transmitting links are switched are not matched with the first double-card double-pass mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: and sending a configuration information changing instruction to an element in the transmitting link, wherein the configuration information changing instruction is used for indicating that the element is changed from the configuration corresponding to the first double-card double-pass mode to the configuration corresponding to the second double-card double-pass mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: under the condition that the first SIM card and the second SIM card are detected for the first time, corresponding initial transmitting links are distributed for the first SIM card and the second SIM card according to an initial double-card double-pass mode; wherein the initial dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring data receiving and transmitting demand information of a first SIM card and a second SIM card; and determining an initial double-card double-pass mode according to the data receiving and transmitting demand information.
In one embodiment, the computer program when executed by the processor further performs the steps of: and after the corresponding initial transmitting links are allocated for the first SIM card and the second SIM card, the switching of the initial double-card double-pass mode is forbidden.
It should be noted that, user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.
Claims (11)
1. A mode switching method, characterized in that it is used in a terminal, the method comprising:
under the condition that the first SIM card or the second SIM card is detected to switch the transmitting link, determining whether the service conditions of the transmitting links of the first SIM card and the second SIM card are matched with the current first double-card double-pass mode of the terminal after the transmitting link is switched;
if not, switching the first double-card double-pass mode into a second double-card double-pass mode;
The first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode.
2. The method according to claim 1, wherein the method further comprises:
and if so, maintaining the first double-card double-pass mode unchanged.
3. The method according to any one of claims 1 or 2, wherein the first dual-card dual-pass mode is a full concurrency mode, and the determining whether the usage of the transmission links of the first SIM card and the second SIM card after the transmission link is switched matches the current first dual-card dual-pass mode of the terminal includes:
if the first SIM card and the second SIM card respectively use different transmitting links to transmit signals after the transmitting links are switched, determining that the service conditions of the transmitting links of the first SIM card and the second SIM card after the transmitting links are switched are matched with the first double-card double-pass mode;
and if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the service condition of the transmitting link of the first SIM card and the second SIM card after the transmitting link is switched is not matched with the first double-card double-pass mode.
4. The method according to any one of claims 1 or 2, wherein the first dual-card dual-pass mode is a link multiplexing mode, and the determining whether the usage of the transmission links of the first SIM card and the second SIM card after the transmission link is switched matches the current first dual-card dual-pass mode of the terminal includes:
if the first SIM card and the second SIM card use the same transmitting link to transmit signals after the transmitting link is switched, determining that the service condition of the transmitting link of the first SIM card and the second SIM card is matched with the first double-card double-pass mode after the transmitting link is switched;
and if the first SIM card and the second SIM card use different transmitting links to transmit signals after the transmitting links are switched, determining that the service conditions of the transmitting links of the first SIM card and the second SIM card after the transmitting links are switched are not matched with the first double-card double-pass mode.
5. The method of claim 1, wherein said switching the first dual card dual pass mode to a second dual card dual pass mode comprises:
and sending a configuration information changing instruction to an element in a transmitting link, wherein the configuration information changing instruction is used for indicating that the element is changed from the configuration corresponding to the first double-card double-pass mode to the configuration corresponding to the second double-card double-pass mode.
6. The method according to claim 1, wherein the method further comprises:
under the condition that the first SIM card and the second SIM card are detected for the first time, corresponding initial transmitting links are distributed for the first SIM card and the second SIM card according to an initial double-card double-pass mode;
wherein the initial dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode.
7. The method of claim 6, wherein the method further comprises:
acquiring data receiving and transmitting demand information of the first SIM card and the second SIM card;
and determining the initial double-card double-pass mode according to the data receiving and transmitting demand information.
8. The method of claim 7, wherein the method further comprises:
and after corresponding initial transmitting links are allocated for the first SIM card and the second SIM card, the switching of the initial double-card double-pass mode is forbidden.
9. A mode switching device, the device comprising:
the determining module is used for determining whether the use condition of the transmitting links of the first SIM card and the second SIM card is matched with the current first double-card double-pass mode of the terminal after the transmitting links are switched under the condition that the transmitting links of the first SIM card or the second SIM card are detected to be switched;
The switching module is used for switching the first double-card double-pass mode into a second double-card double-pass mode under the condition of no matching;
the first dual-card dual-pass mode is one of a full concurrency mode and a link multiplexing mode, and the second dual-card dual-pass mode is the other of the full concurrency mode and the link multiplexing mode.
10. A terminal comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 8 when the computer program is executed.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210709570.2A CN115103464B (en) | 2022-06-22 | 2022-06-22 | Mode switching method, mode switching device, computer device, storage medium, and program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210709570.2A CN115103464B (en) | 2022-06-22 | 2022-06-22 | Mode switching method, mode switching device, computer device, storage medium, and program product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115103464A CN115103464A (en) | 2022-09-23 |
CN115103464B true CN115103464B (en) | 2024-03-01 |
Family
ID=83292979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210709570.2A Active CN115103464B (en) | 2022-06-22 | 2022-06-22 | Mode switching method, mode switching device, computer device, storage medium, and program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115103464B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117498888B (en) * | 2024-01-03 | 2024-04-26 | 珠海紫燕无人飞行器有限公司 | Device multiplexing radio frequency transceiver circuit and control method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017012532A1 (en) * | 2015-07-23 | 2017-01-26 | 努比亚技术有限公司 | Dual-sim-dual-standby terminal and data communication method |
CN112153759A (en) * | 2020-09-23 | 2020-12-29 | 北京小米移动软件有限公司 | Communication method and device of dual-card terminal |
CN113412581A (en) * | 2019-12-31 | 2021-09-17 | 华为技术有限公司 | Signal processing system, signal processing module and terminal equipment |
WO2022061651A1 (en) * | 2020-09-24 | 2022-03-31 | Qualcomm Incorporated | Network handovers in single link dual subscriber identity module (sim) dual active (dsda) user equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9521563B2 (en) * | 2015-04-22 | 2016-12-13 | Apple Inc. | System, apparatus, and method for controlling access to multiple antennas in mobile devices having multiple SIMs |
US10517003B2 (en) * | 2016-12-28 | 2019-12-24 | Qualcomm Incorporated | Systems and methods for maintaining service on multiple SIMs in a wireless communication device operating in a multi-SIM multi-standby (MSMS) mode |
-
2022
- 2022-06-22 CN CN202210709570.2A patent/CN115103464B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017012532A1 (en) * | 2015-07-23 | 2017-01-26 | 努比亚技术有限公司 | Dual-sim-dual-standby terminal and data communication method |
CN113412581A (en) * | 2019-12-31 | 2021-09-17 | 华为技术有限公司 | Signal processing system, signal processing module and terminal equipment |
CN112153759A (en) * | 2020-09-23 | 2020-12-29 | 北京小米移动软件有限公司 | Communication method and device of dual-card terminal |
WO2022061651A1 (en) * | 2020-09-24 | 2022-03-31 | Qualcomm Incorporated | Network handovers in single link dual subscriber identity module (sim) dual active (dsda) user equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115103464A (en) | 2022-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110741561B (en) | Controlling a co-existing radio system in a wireless device | |
CN106792829A (en) | Lift method, device and the terminal device of terminal WIFI message transmission rates | |
US9014083B2 (en) | Transport channel flexibility over satellite backhaul links | |
CN107046723B (en) | Duplex coupler for carrier aggregation | |
CN103312487B (en) | Method and Wireless Telecom Equipment for managing signal interference | |
CN106851683A (en) | Multifrequency carrier aggregation WIFI data transmission methods, device and terminal device | |
CN109039370A (en) | Radio frequency system, antenna switching control method and Related product | |
CN103812541A (en) | Apparatus and method for simultaneously sharing antenna by two modems | |
CN106685468B (en) | Radio frequency circuit, terminal and radio frequency circuit control method | |
AU2010253397A1 (en) | Wireless communication system, wireless communication method, terminal apparatus, and communication apparatus | |
CN115103464B (en) | Mode switching method, mode switching device, computer device, storage medium, and program product | |
US11881628B2 (en) | Adding virtual receive antennas using switching devices | |
CN114374968B (en) | Terminal capability reporting method, device and equipment | |
CN114785361B (en) | Radio frequency system, communication control method and communication device | |
CN113965223A (en) | Signal transmission method, signal transmission device, access network equipment and readable storage medium | |
WO2023246006A1 (en) | Radio frequency system and communication device | |
CN105764123A (en) | Network-assisted Power Consumption Reduction In Wireless Communication Terminal | |
CN114614838B (en) | Radio frequency system and communication equipment | |
CN106658746B (en) | Selection circuit of WiFi channel | |
CN116114187A (en) | Method, device, equipment and storage medium for reporting and receiving capability information | |
CN112637970A (en) | Radio frequency circuit, communication device and electronic equipment | |
US11223392B2 (en) | Radio module configurations for antennas | |
CN112751584B (en) | Switch, radio frequency circuit and terminal equipment | |
US20230199516A1 (en) | Configurable hybrid beamforming | |
US20170177542A1 (en) | Operating a VLIW Processor in a Wireless Sensor Device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |