Communication method and device, storage medium and chip

By adjusting the antenna switch register status in the wireless terminal, the problem of antenna configuration conflicts in 5G dual-stop scenarios is solved, ensuring normal communication and networking of dual-stop systems is achieved, and the user experience is improved.

CN119030552APending Publication Date: 2024-11-26BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310594684.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

Under 5G mobile communication technology, in dual-stop scenarios, due to the large number of wireless frequency bands compatible with the terminal, frequency band conflicts often occur due to switching of the antenna configuration of the main card and the secondary card, resulting in sharp deterioration in the performance of the secondary card or the inability to be stationed on the network.

Method used

By setting the antenna switch register in the wireless terminal, when determining the antenna configuration conflict, adjust the antenna port connection status so that the antennas of the first and second networks work simultaneously, ensuring that the two share the antenna port under the priority relationship and avoid conflict .

Benefits of technology

It solves the problem of frequent network drops and searches of secondary cards caused by antenna configuration conflicts, ensures normal standby and network resident of the second network, improves user experience, and maintains the communication quality of the first network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030552A_ABST
    Figure CN119030552A_ABST
Patent Text Reader

Abstract

The invention relates to a communication method and device, a storage medium and a chip, the communication method is applied to a wireless terminal, and the wireless terminal is provided with one or more antenna ports shared between a first network connection and a second network connection in a dual-connection mode. The method comprises the following steps: determining that the antenna configuration of the first network connection and the antenna configuration of the second network connection have port conflicts; and under the condition that the priority of the first network is greater than that of the second network, enabling antennas of the first network and the second network to work at the same time by configuring the state of an antenna switch register. The embodiment of the invention can solve the problem that the second network is frequently disconnected and searched when the antenna configuration conflict occurs, not only meets the communication quality of the first network, but also ensures that the second network can still normally stand by and stay in the network, and improves the user experience satisfaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a communication method, device, storage medium and chip. Background Art

[0002] At present, dual-SIM dual-standby application scenarios are becoming more and more common among mobile terminal users at home and abroad, especially in the application scenario of 5G fifth-generation mobile communication technology (5G). Since the terminals are compatible with many wireless frequency bands, it is common to use multiple antennas for diversity reception and multiplexing. Therefore, the antenna configuration of the main card (usually card 1) is switched, resulting in software and hardware conflicts between the main card frequency band and the secondary card (usually card 2), causing the performance of the secondary card (usually card 2) to deteriorate sharply or even fail to stay on the network. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a communication method, which is applied to a wireless terminal, wherein the wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the method includes:

[0004] Determining that a port conflict occurs between antenna configurations of the first network connection and the second network connection;

[0005] In a case where the priority of the first network is greater than the priority of the second network, the antennas of the first network and the second network are made to work simultaneously by configuring the state of the antenna switch register.

[0006] Optionally, the determining that a port conflict occurs in antenna configurations of the first network connection and the second network connection includes:

[0007] When any one of the main transceiver antenna, the diversity receive antenna, the multiple-input multiple-output (MIMO) antenna of the main transceiver antenna, and the MIMO antenna of the diversity receive antenna of the first network and the second network occupies the same antenna port at the same time, it is determined that a port conflict occurs in the antenna configuration of the first network connection and the second network connection.

[0008] Optionally, when the first network is a primary network and the second network is a backup network, the priority of the first network is greater than the priority of the second network.

[0009] Optionally, when the first network is in a Radio Resource Control (RRC) connected state and the second network is in an RRC idle state, the priority of the first network is greater than the priority of the second network.

[0010] Optionally, when the priority of the first network is greater than the priority of the second network, configuring the state of the antenna switch register so that the antennas of the first network and the second network work simultaneously includes:

[0011] Without changing the configuration of the antenna switch of the first network, the antenna port connection required by the second network is opened by configuring the state of the antenna switch register, so that the antennas of the first network and the second network work simultaneously.

[0012] Optionally, the antenna switch register includes a first register and a second register;

[0013] The first register is used to control the connection between the first port and the second port of the non-antenna side of the antenna switch and different ports on the antenna side;

[0014] The second register is used to control the connection between the third port on the non-antenna side of the antenna switch and different ports on the antenna side.

[0015] Optionally, the first control bit of the first register is used to control the connection between the first port on the non-antenna side of the antenna switch and different ports on the antenna side, and the second control bit of the first register is used to control the connection between the second port on the non-antenna side of the antenna switch and different ports on the antenna side;

[0016] The first control bit and the second control bit of the first register do not conflict.

[0017] Optionally, the first control bit is the lowest three bits of each control bit of the first register;

[0018] The second control bit is the second lowest three bits among the control bits of the first register, and the second lowest three bits are the three bits adjacent to the lowest three bits.

[0019] Optionally, the antenna switch is a multi-port switch, which supports arbitrary and simultaneous interconnection between ports on the antenna side and ports on the non-antenna side.

[0020] Optionally, the instruction for configuring the state of the antenna switch register is sent via a Mobile Industry Processor Interface (MIPI);

[0021] The instruction for configuring the state of the antenna switch register is written into the antenna switch register by means of mask writing.

[0022] According to a second aspect of an embodiment of the present disclosure, a communication device is provided, which is applied to a wireless terminal, wherein the wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the device includes:

[0023] A determination module, configured to determine that a port conflict occurs between antenna configurations of the first network connection and the second network connection;

[0024] The configuration module is used to configure the state of the antenna switch register to make the antennas of the first network and the second network work simultaneously when the priority of the first network is greater than the priority of the second network.

[0025] According to a third aspect of an embodiment of the present disclosure, a wireless terminal is provided, wherein the wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the wireless terminal includes:

[0026] processor;

[0027] a memory for storing processor-executable instructions;

[0028] The processor is configured to: execute the executable instructions to implement the steps of any one of the methods described in the first aspect.

[0029] According to a fourth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of any one of the methods described in the first aspect are implemented.

[0030] According to a fifth aspect of an embodiment of the present disclosure, a chip is provided, comprising a processor and an interface; the processor is used to read instructions to execute any one of the methods described in the first aspect.

[0031] In summary, the embodiments of the present disclosure provide a communication method, which is applied to a wireless terminal, wherein the wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the method comprises: determining that a port conflict occurs in the antenna configurations of the first network connection and the second network connection; and when the priority of the first network is greater than the priority of the second network, configuring the state of the antenna switch register so that the antennas of the first network and the second network work simultaneously. The embodiments of the present disclosure can adjust the antenna port connection state by configuring the antenna switch register when the antenna configuration of the first network switches and causes a conflict with the antenna configuration of the second network, so that the antennas of the first network and the second network work simultaneously, thereby solving the problem of frequent network disconnection and network search of the second network when an antenna configuration conflict occurs, thereby satisfying the communication quality of the first network and ensuring that the second network can still standby and stay in the network normally, thereby improving the user experience.

[0032] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0034] Figure 1 It is a schematic diagram of an implementation scenario applicable to the embodiment of the present disclosure.

[0035] Figure 2 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0036] Figure 3 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0037] Figure 4 The diagram is a schematic diagram showing a port conflict between antenna configurations of a first network connection and a second network connection according to an exemplary embodiment.

[0038] Figure 5 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0039] Figure 6 The figure is a schematic diagram of an antenna switch register according to an exemplary embodiment.

[0040] Figure 7 is a schematic diagram showing a multi-port antenna switch according to an exemplary embodiment.

[0041] Figure 8is a schematic diagram showing a mask writing method according to an exemplary embodiment.

[0042] Fig. 9 It is a block diagram of a communication device 900 according to an exemplary embodiment.

[0043] Fig.10 is a block diagram of a wireless terminal 1000 according to an exemplary embodiment. DETAILED DESCRIPTION

[0044] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0045] It should be understood that the term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments".

[0046] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. The modifications of "one" and "multiple" mentioned in the present disclosure are illustrative and not restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more". In the description of the present disclosure, unless otherwise specified, "multiple" refers to two or more than two, and other quantifiers are similar; "at least one item", "one item or multiple items" or similar expressions refer to any combination of these items, including any combination of single items or plural items.

[0047] Although operations or steps are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood that it is required to perform these operations or steps in the specific order shown or in a serial order, or to perform all the operations or steps shown to obtain the desired results. In the embodiments of the present disclosure, these operations or steps can be performed in series; these operations or steps can also be performed in parallel; or some of these operations or steps can be performed.

[0048] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information. It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user in an appropriate manner in accordance with relevant laws and regulations and the user's authorization should be obtained. The present disclosure is described below in conjunction with specific embodiments.

[0049] First, the application scenarios of the present disclosure are described. With the continuous development of communication technology, it has become a trend for domestic and foreign consumers to use one wireless terminal to enjoy services of different networks at the same time. As shown in Table 1, common dual-SIM network scenarios in China include but are not limited to the following operator combinations:

[0050] Table 1

[0051]

[0052] As shown in Table 2, the specific corresponding frequency bands include but are not limited to the following frequency band combinations:

[0053] Table 2

[0054]

[0055] In the 5G era, wireless terminals need to be compatible with more and more network frequency bands. Most terminal manufacturers have adopted diversity transmit / receive technology and MIMO technology. Coupled with the need for one terminal to be compatible with multiple networks at the same time, the configuration and selection of antennas have become very complicated and prone to hardware conflicts.

[0056] Figure 1 is a schematic diagram of an implementation scenario applicable to the embodiment of the present disclosure, such as Figure 1 As shown, this embodiment is illustrated by taking the wireless terminal having 4 antennas as an example. Exemplarily, the multiple wireless networks supported by the wireless terminal share antennas 1-4 (ANT0-3) through two multi-port antenna switches (1# and 2#3P3T). In the first configuration, the first network of the wireless terminal can use ANT1 as the main receiving and transmitting antenna, ANT3 as the receiving diversity antenna, ANT0 as the main receiving MIMO antenna, and ANT2 as the receiving diversity MIMO antenna. The second network can use ANT0 as the main receiving and transmitting antenna, ANT2 as the receiving diversity antenna, ANT1 as the main receiving MIMO antenna, and ANT3 as the receiving diversity MIMO antenna. In this antenna configuration, there is no hardware conflict between the first network and the second network.

[0057] In actual use, due to the user's grip, environmental factors and other reasons, the main antenna of the first network or the second network may be blocked, thereby causing a bad impact on the transceiver capability of the wireless terminal. In the case of a relatively poor antenna environment for the wireless terminal, not only will the communication quality be reduced, affecting the user experience, but the power consumption of the wireless terminal for communication will also rise sharply, thus affecting its standby time. Therefore, it is necessary to switch the antenna configuration state at this time, change the antenna with deteriorated performance from the main antenna to a diversity antenna or a MIMO antenna, and use the unblocked antenna as the main antenna. The following takes the first network as the n41 frequency band and the second network as the B3 frequency band as an example for explanation. Several possible antenna configurations of the first network and the second network are shown in Tables 3 and 4. Table 3 shows four possible antenna configurations of the first network n41 frequency band (antenna switching CF0-3), and Table 4 shows four possible antenna configurations of the second network B3 frequency band (antenna switching CF0-3). Among them, TX / PRX means main reception and main transmission, DRX means diversity reception, PRXMIMO means main reception MIMO, and DRXMIMO means diversity reception MIMO.

[0058] Table 3

[0059] n41 frequency band TX / PRX DRX PRXMIMO DRXMIMO Remark Antenna switching CF0 ANT1 ANT3 ANT0 ANT2 Antenna switching CF1 ANT3 ANT1 ANT0 ANT2 Antenna switching CF2 ANT0 ANT3 ANT1 ANT2 Antenna switching CF3 ANT2 ANT3 ANT0 ANT1

[0060] Table 4

[0061] B3 Band TX / PRX DRX PRXMIMO DRXMIMO Remark Antenna switching CF0 ANT0 ANT2 ANT1 ANT3 Antenna switching CF1 ANT2 ANT0 ANT1 ANT3 Antenna switching CF2 ANT1 ANT2 ANT0 ANT3 Antenna switching CF3 ANT3 ANT2 ANT1 ANT0

[0062] It can be seen that when the first network n41 frequency band is switched to CF2 configuration, the main receiving and transmitting antennas are switched to ANT0. At this time, the main receiving antenna of the second network B3 frequency band CF0 configuration (default configuration) also needs to use ANT0. At this time, a port conflict occurs on the multi-port antenna switch 3P3T1#: that is, the port configurations of RF2-RF1 (B3 frequency band signal channel) and RF2-RF5 (n41 frequency band signal channel) conflict, and the first network n41 frequency band and the second network B3 frequency band occupy the RF2 port at the same time. At this time, since the priority of the first network n41 frequency band is greater than that of the second network B3 frequency band, the signal channel RF2-RF5 connection of the first network n41 frequency band is retained, and the signal channel RF2-RF1 connection of the second network B3 frequency band is closed, and the main receiving antenna ANT0 of the second network B3 frequency band is lost. Although the second network B3 frequency band still has a diversity antenna and a MIMO antenna at this time, since the Tuner of the second network B3 frequency band is configured on the main receiving antenna ANT0, with the loss of the main receiving antenna ANT0, the Tuner state of the second network B3 frequency band is lost, causing the receiving performance of the second network B3 frequency band to deteriorate sharply, which will cause the second network (usually card 2) to drop the network and frequently search for the network, affecting the user experience, and because the second network frequently searches for the network, it occupies too many Modem resources, which in turn affects the communication experience of the first network (usually card 1). In addition, this also increases battery consumption, which will eventually affect the standby time.

[0063] Figure 2 is a flow chart of a communication method according to an exemplary embodiment. Figure 2 As shown, an embodiment of the present disclosure provides a communication method, which is applied to a wireless terminal, wherein the wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the method may include the following steps:

[0064] In step S110, it is determined that a port conflict occurs between antenna configurations of the first network connection and the second network connection.

[0065] In this step, the wireless terminal determines that a port conflict occurs in the antenna configurations of the first network connection and the second network connection. Exemplarily, when the first network connection and the second network connection of the wireless terminal occupy the same antenna port at the same time, it is determined that a port conflict occurs in the antenna configurations of the first network connection and the second network connection. For example, in the application scenario of the present disclosure, the first network n41 frequency band and the second network B3 frequency band simultaneously occupy the antenna port RF2 of ANT0.

[0066] In step S120, when the priority of the first network is greater than the priority of the second network, the antennas of the first network and the second network are made to work simultaneously by configuring the state of the antenna switch register.

[0067] In this step, when the priority of the first network is greater than the priority of the second network, the wireless terminal configures the state of the antenna switch register to make the antennas of the first network and the second network work simultaneously. Figure 1 As shown, when the priority of the first network n41 frequency band is greater than the priority of the second network B3 frequency band, that is, while keeping the signal channel RF2-RF5 connection of the first network n41 frequency band unchanged, the wireless terminal configures the state of the antenna switch register to open the connection of the signal channel RF2-RF1 of the second network B3 frequency band, so that the main receiving antenna ANT0 of the second network B3 frequency band is restored to use, and the Tuner of the second network B3 frequency band is also restored to use. In this way, the receiving signal strength of the second network B3 frequency band can be improved by more than ten dB, so that the second network (generally card 2) will not drop the network and frequently search for the network. The price paid is only a 3dB decrease in the receiving signal strength of the first network (generally card 1), which will not affect the normal communication of the first network.

[0068] In summary, the embodiments of the present disclosure provide a communication method, which is applied to a wireless terminal, wherein the wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the method comprises: determining that a port conflict occurs in the antenna configurations of the first network connection and the second network connection; and when the priority of the first network is greater than the priority of the second network, configuring the state of the antenna switch register so that the antennas of the first network and the second network work simultaneously. The embodiments of the present disclosure can adjust the antenna port connection state by configuring the antenna switch register when the antenna configuration of the first network switches and causes a conflict with the antenna configuration of the second network, so that the antennas of the first network and the second network work simultaneously, thereby solving the problem of frequent network disconnection and network search of the second network when an antenna configuration conflict occurs, thereby satisfying the communication quality of the first network and ensuring that the second network can still standby and stay in the network normally, thereby improving the user experience.

[0069] Figure 3 is a flow chart of a communication method according to an exemplary embodiment. Figure 3 As shown, the determining that a port conflict occurs between the antenna configurations of the first network connection and the second network connection may include the following steps:

[0070] In step S1101, when any one of the main transceiver antenna, the diversity receive antenna, the MIMO antenna of the main transceiver antenna, and the MIMO antenna of the diversity receive antenna of the first network and the second network occupies the same antenna port at the same time, it is determined that a port conflict occurs in the antenna configuration of the first network connection and the second network connection.

[0071] In this step, when the wireless terminal occupies the same antenna port at the same time as the main transceiver antenna, diversity receive antenna, MIMO antenna of the main transceiver antenna, and MIMO antenna of the diversity receive antenna of the first network and the second network, it is determined that a port conflict occurs in the antenna configurations of the first network connection and the second network connection. For example, referring to Table 3-4, it can be seen that when the n41 band of the first network is switched to the CF3 configuration, the main transmit and receive antennas are switched to ANT2. At this time, the diversity receive antenna of the CF0 configuration (default configuration) of the B3 band of the second network also needs to use ANT2. At this time, a port conflict occurs on the multi-port antenna switch 3P3T1#: that is, the port configurations of RF4-RF3 (B3 band signal channel) and RF4-RF5 (n41 band signal channel) conflict, and the n41 band of the first network and the B3 band of the second network simultaneously occupy the RF4 port. For specific signal path conditions, see. Figure 4 .

[0072] In some embodiments, when the first network is the primary network, that is, the first network is the primary card (generally card 1), and the second network is the backup network, that is, the second network is the secondary card (generally card 2), the priority of the first network is greater than the priority of the second network. It is worth mentioning that the primary card and the secondary card can be switched.

[0073] In some embodiments, when the first network is in an RRC connection state, that is, the first network is in a call or data communication state, and the second network is in an RRC idle state, that is, the second network is in a non-call or non-data communication state (also commonly known as a standby state), the priority of the first network is greater than the priority of the second network.

[0074] Figure 5 is a flow chart of a communication method according to an exemplary embodiment. Figure 5 As shown, in the case where the priority of the first network is greater than the priority of the second network, configuring the state of the antenna switch register to make the antennas of the first network and the second network work simultaneously may include the following steps:

[0075] In step S1201, without changing the configuration of the antenna switch of the first network, the antenna port connection required by the second network is opened by configuring the state of the antenna switch register, so that the antennas of the first network and the second network work simultaneously.

[0076] In this step, the wireless terminal opens the antenna port connection required by the second network by configuring the state of the antenna switch register without changing the configuration of the antenna switch of the first network, so that the antennas of the first network and the second network work simultaneously.

[0077] In some embodiments, Figure 6 As shown, the antenna switch register may include a first register Register_0 and a second register Register_1, wherein the first register Register_0 is used to control the connection between the first port RF1 and the second port RF3 of the non-antenna side of the antenna switch and different ports (RF2, RF4, RF6) on the antenna side;

[0078] The second register Register_1 is used to control the connection between the third port RF5 on the non-antenna side of the antenna switch and different ports (RF2, RF4, RF6) on the antenna side.

[0079] In some embodiments, the first control bit of the first register Register_0 is used to control the connection between the first port RF1 of the non-antenna side of the antenna switch and different ports on the antenna side, and the second control bit of the first register Register_0 is used to control the connection between the second port RF3 of the non-antenna side of the antenna switch and different ports on the antenna side; the first control bit and the second control bit of the first register do not conflict. For example, Figure 6 As shown, the first control bit may be the lowest three bits (D0-D2) of each control bit (D0-D7) of the first register Register_0;

[0080] The second control bit may be the next lowest three bits among the control bits (D0-D7) of the first register Register_0, and the next lowest three bits are the three bits (D3-D5) adjacent to the lowest three bits (D0-D2).

[0081] The specific control relationship is as follows:

[0082] Port RF2 can support one-to-many connections, and the control bits do not conflict with the control bits of other ports:

[0083] RF2-RF1: Register_0XXXXX001

[0084] RF2-RF3: Register_0XX001XXX

[0085] RF2-RF5: Register_1XXXXX001

[0086] Port RF4 can support one-to-many connections, and the control bits do not conflict with the control bits of other ports:

[0087] RF4-RF1:Register_0XXXXX010

[0088] RF4-RF3:Register_0XX010XXX

[0089] RF4-RF5:Register_1XXXXX010

[0090] Port RF6 can support one-to-many connections, and the control bits do not conflict with the control bits of other ports:

[0091] RF6-RF1:Register_0XXXXX011

[0092] RF6-RF3:Register_0XX011XXX

[0093] RF6-RF5:Register_1XXXXX011

[0094] In some embodiments, the antenna switch is a multi-port switch that supports arbitrary and simultaneous interconnection between ports on the antenna side and ports on the non-antenna side. The multi-port switch supports bit-controlled ports through antenna switch registers. For example, taking a six-port antenna switch as an example, the arbitrary and simultaneous interconnection relationship between the ports on the antenna side (RF2, RF4, RF6) and the ports on the non-antenna side (RF1, RF3, RF5) can be seen in Figure 7 .

[0095] In some embodiments, the instruction to configure the state of the antenna switch register is sent via the mobile industry processor interface MIPI. Exemplarily, the multi-port antenna switch can support MIPI2.1 and above capabilities, and the antenna switch register supports the Masked Write function.

[0096] The instruction for configuring the state of the antenna switch register is written into the antenna switch register by means of a mask write method. For example, the mask write method is described in Figure 8, 1 of bits D4-D6 and D0 in the mask byte means that the values ​​of the corresponding bits D4-D6 and D0 of the antenna switch register cannot be changed, and 0 of bits D1-D3 and D7 in the mask byte means that the values ​​of the corresponding bits D1-D3 and D7 of the antenna switch register can be changed, that is, the values ​​of D1-D3 and D7 in the control instruction can be written to the corresponding bits D1-D3 and D7 of the antenna switch register. The values ​​of bits D4-D6 and D0 in the control instruction have no effect and can be any value 0 or 1, and the values ​​of the corresponding bits D4-D6 and D0 of the antenna switch register remain unchanged.

[0097] In summary, the embodiments of the present disclosure provide a communication method, which is applied to a wireless terminal, wherein the wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the method comprises: determining that a port conflict occurs in the antenna configurations of the first network connection and the second network connection; and when the priority of the first network is greater than the priority of the second network, configuring the state of the antenna switch register so that the antennas of the first network and the second network work simultaneously. The embodiments of the present disclosure can adjust the antenna port connection state by configuring the antenna switch register when the antenna configuration of the first network switches and causes a conflict with the antenna configuration of the second network, so that the antennas of the first network and the second network work simultaneously, thereby solving the problem of frequent network disconnection and network search of the second network when an antenna configuration conflict occurs, thereby satisfying the communication quality of the first network and ensuring that the second network can still standby and stay in the network normally, thereby improving the user experience.

[0098] Fig. 9 is a block diagram of a communication device 900 according to an exemplary embodiment. Fig. 9 As shown, an embodiment of the present disclosure provides a communication device 900, which is applied to a wireless terminal, wherein the wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the communication device 900 may include the following modules:

[0099] A determination module 910 is used to determine that a port conflict occurs between antenna configurations of the first network connection and the second network connection;

[0100] The configuration module 920 is used to configure the state of the antenna switch register to make the antennas of the first network and the second network work simultaneously when the priority of the first network is higher than the priority of the second network.

[0101] Optionally, the determination module 910 is also used to determine that a port conflict occurs in the antenna configuration of the first network connection and the second network connection when any one of the main transceiver antennas, the diversity receive antennas, the MIMO antennas of the main transceiver antennas, and the MIMO antennas of the diversity receive antennas of the first network and the second network occupies the same antenna port at the same time.

[0102] Optionally, when the first network is a primary network and the second network is a backup network, the priority of the first network is greater than the priority of the second network.

[0103] Optionally, when the first network is in an RRC connected state and the second network is in an RRC idle state, the priority of the first network is greater than the priority of the second network.

[0104] Optionally, the configuration module 920 is further configured to enable the antenna port connection required by the second network by configuring the state of the antenna switch register without changing the configuration of the antenna switch of the first network, so that the antennas of the first network and the second network work simultaneously.

[0105] Optionally, the antenna switch register includes a first register and a second register;

[0106] The first register is used to control the connection between the first port and the second port of the non-antenna side of the antenna switch and different ports on the antenna side;

[0107] The second register is used to control the connection between the third port on the non-antenna side of the antenna switch and different ports on the antenna side.

[0108] Optionally, the first control bit of the first register is used to control the connection between the first port on the non-antenna side of the antenna switch and different ports on the antenna side, and the second control bit of the first register is used to control the connection between the second port on the non-antenna side of the antenna switch and different ports on the antenna side;

[0109] The first control bit and the second control bit of the first register do not conflict.

[0110] Optionally, the first control bit is the lowest three bits of each control bit of the first register;

[0111] The second control bit is the second lowest three bits among the control bits of the first register, and the second lowest three bits are the three bits adjacent to the lowest three bits.

[0112] Optionally, the antenna switch is a multi-port switch, which supports arbitrary and simultaneous interconnection between ports on the antenna side and ports on the non-antenna side.

[0113] Optionally, the instruction for configuring the state of the antenna switch register is sent via a mobile industry processor interface MIPI;

[0114] The instruction for configuring the state of the antenna switch register is written into the antenna switch register by means of mask writing.

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

[0116] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which implement the steps of the communication method provided in the embodiment of the present disclosure when the program instructions are executed by a processor.

[0117] In summary, the embodiment of the present disclosure provides a communication device, which is applied to a wireless terminal, wherein the wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the device comprises: a determination module, which is used to determine that a port conflict occurs in the antenna configuration of the first network connection and the second network connection; and a configuration module, which is used to configure the state of the antenna switch register to make the antennas of the first network and the second network work simultaneously when the priority of the first network is greater than the priority of the second network. The embodiment of the present disclosure can adjust the antenna port connection state by configuring the antenna switch register when the antenna configuration of the first network switches and causes a conflict with the antenna configuration of the second network, so that the antennas of the first network and the second network work simultaneously, thereby solving the problem of frequent network disconnection and network search of the second network when the antenna configuration conflict occurs, which not only meets the communication quality of the first network, but also ensures that the second network can still standby and stay in the network normally, thereby improving the user experience.

[0118] Fig.10 1 is a block diagram of a wireless terminal 1000 according to an exemplary embodiment. For example, the wireless terminal 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0119] Reference Fig.10The wireless terminal 1000 may include one or more of the following components: a processing component 1002 , a memory 1004 , a power component 1006 , a multimedia component 1008 , an audio component 1010 , an input / output interface 1012 , a sensor component 1014 , and a communication component 1016 .

[0120] The processing component 1002 generally controls the overall operation of the wireless terminal 1000, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to perform all or part of the steps of the above-mentioned method. In addition, the processing component 1002 may include one or more modules to facilitate the interaction between the processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate the interaction between the multimedia component 1008 and the processing component 1002.

[0121] The memory 1004 is configured to store various types of data to support the operation of the wireless terminal 1000. Examples of such data include instructions for any application or method operating on the wireless terminal 1000, contact data, phone book data, messages, pictures, videos, etc. The memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0122] The power supply component 1006 provides power to various components of the wireless terminal 1000. The power supply component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the wireless terminal 1000.

[0123] The multimedia component 1008 includes a screen that provides an output interface between the wireless terminal 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front camera and / or a rear camera. When the wireless terminal 1000 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0124] The audio component 1010 is configured to output and / or input audio signals. For example, the audio component 1010 includes a microphone (MIC), and when the wireless terminal 1000 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1004 or sent via the communication component 1016. In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.

[0125] The input / output interface 1012 provides an interface between the processing component 1002 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0126] The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the wireless terminal 1000. For example, the sensor assembly 1014 can detect the open / closed state of the wireless terminal 1000, the relative positioning of components, such as the display and keypad of the wireless terminal 1000, the sensor assembly 1014 can also detect the position change of the wireless terminal 1000 or a component of the wireless terminal 1000, the presence or absence of user contact with the wireless terminal 1000, the orientation or acceleration / deceleration of the wireless terminal 1000 and the temperature change of the wireless terminal 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0127] The communication component 1016 is configured to facilitate wired or wireless communication between the wireless terminal 1000 and other devices. The wireless terminal 1000 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0128] In an exemplary embodiment, the wireless terminal 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.

[0129] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, and the instructions can be executed by the processor 1020 of the wireless terminal 1000 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0130] In addition to being an independent electronic device, the wireless terminal can also be a part of an independent electronic device. For example, in one embodiment, the wireless terminal can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC, system on chip or system-level chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned communication method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other wireless terminals or devices. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other wireless terminals. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned communication method is implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned communication method.

[0131] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable wireless terminal. The computer program has a code portion for executing the above communication method when executed by the programmable wireless terminal.

[0132] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0133] It should be understood that the present disclosure is not limited to the exact structures that have been 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 present disclosure is limited only by the appended claims.

Claims

1. A communication method, applied to a wireless terminal, characterized in that: The wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the method includes: Determining that a port conflict occurs between antenna configurations of the first network connection and the second network connection; In a case where the priority of the first network is greater than the priority of the second network, the antennas of the first network and the second network are made to work simultaneously by configuring the state of the antenna switch register.

2. The method according to claim 1, characterized in that The determining that a port conflict occurs between antenna configurations of the first network connection and the second network connection includes: When any one of the main transceiver antenna, the diversity receive antenna, the multiple-input multiple-output MIMO antenna of the main transceiver antenna, and the MIMO antenna of the diversity receive antenna of the first network and the second network occupies the same antenna port at the same time, it is determined that a port conflict occurs in the antenna configuration of the first network connection and the second network connection.

3. The method according to claim 1, characterized in that: When the first network is a primary network and the second network is a backup network, the priority of the first network is greater than the priority of the second network.

4. The method according to claim 1, characterized in that: When the first network is in a radio resource control RRC connected state and the second network is in an RRC idle state, the priority of the first network is greater than the priority of the second network.

5. The method according to claim 1, characterized in that When the priority of the first network is greater than the priority of the second network, configuring the state of the antenna switch register so that the antennas of the first network and the second network work simultaneously includes: Without changing the configuration of the antenna switch of the first network, the antenna port connection required by the second network is opened by configuring the state of the antenna switch register, so that the antennas of the first network and the second network work simultaneously.

6. The method according to claim 5, characterized in that The antenna switch register includes a first register and a second register; The first register is used to control the connection between the first port and the second port of the non-antenna side of the antenna switch and different ports on the antenna side; The second register is used to control the connection between the third port on the non-antenna side of the antenna switch and different ports on the antenna side.

7. The method according to claim 6, characterized in that The first control bit of the first register is used to control the connection between the first port on the non-antenna side of the antenna switch and different ports on the antenna side, and the second control bit of the first register is used to control the connection between the second port on the non-antenna side of the antenna switch and different ports on the antenna side; The first control bit and the second control bit of the first register do not conflict.

8. The method according to claim 7, characterized in that The first control bit is the lowest three bits among the control bits of the first register; The second control bit is the second lowest three bits among the control bits of the first register, and the second lowest three bits are the three bits adjacent to the lowest three bits.

9. The method according to any one of claims 5 to 8, characterized in that: The antenna switch is a multi-port switch that supports arbitrary and simultaneous interconnection between ports on the antenna side and ports on the non-antenna side.

10. The method according to any one of claims 5 to 8, characterized in that: The instruction for configuring the state of the antenna switch register is sent via the mobile industry processor interface MIPI; The instruction for configuring the state of the antenna switch register is written into the antenna switch register by means of mask writing.

11. A communication device, applied to a wireless terminal, characterized in that: The wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the device includes: A determination module, configured to determine that a port conflict occurs between antenna configurations of the first network connection and the second network connection; The configuration module is used to configure the state of the antenna switch register to make the antennas of the first network and the second network work simultaneously when the priority of the first network is greater than the priority of the second network.

12. A wireless terminal, characterized in that: The wireless terminal is provided with one or more antenna ports for sharing between a first network connection and a second network connection in a dual connection mode, and the wireless terminal includes: processor; a memory for storing processor-executable instructions; The processor is configured to: execute the executable instructions to implement the steps of the method in any one of claims 1 to 10.

13. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 10 are implemented.

14. A chip, characterized in that: The method comprises a processor and an interface; the processor is used to read instructions to execute the method according to any one of claims 1 to 10.