CN112242863B - Communication equipment and antenna switching method - Google Patents
Communication equipment and antenna switching method Download PDFInfo
- Publication number
- CN112242863B CN112242863B CN201910645765.3A CN201910645765A CN112242863B CN 112242863 B CN112242863 B CN 112242863B CN 201910645765 A CN201910645765 A CN 201910645765A CN 112242863 B CN112242863 B CN 112242863B
- Authority
- CN
- China
- Prior art keywords
- antenna
- chip
- communication device
- switch circuit
- electrically connected
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/06—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
- H04B7/0602—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/0404—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas the mobile station comprising multiple antennas, e.g. to provide uplink diversity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/06—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/08—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/08—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
- H04B7/0802—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Transceivers (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种通信设备及天线切换方法。The present application relates to the field of communication technologies, and in particular, to a communication device and an antenna switching method.
背景技术Background technique
通信设备(如平板电脑、手机等终端)已普遍应用于用户的日常和工作中。同时,为了满足用户的各种需求,通信设备连接的如鼠标、键盘等外部设备也在不断增加。Communication devices (such as tablet computers, mobile phones and other terminals) have been widely used in users' daily life and work. At the same time, in order to meet various demands of users, the number of external devices connected to communication devices, such as a mouse and a keyboard, is also increasing.
目前,外部设备可以采用有线接口实现与通信设备的连接,用户操作不够方便,通信设备的接口较少时会由于外接转换设备而提高成本。因此,外部设备常常采用无线蓝牙与终端设备进行通信。然而,无线蓝牙的通信方式由于操作时延增大而无法满足如游戏场景等低时延需求,降低了用户的体验感。At present, an external device can use a wired interface to realize the connection with the communication device, which is not convenient for the user to operate. When the interface of the communication device is small, the cost will be increased due to the external conversion device. Therefore, external devices often use wireless Bluetooth to communicate with terminal devices. However, the wireless Bluetooth communication method cannot meet low-latency requirements such as game scenarios due to the increased operation delay, which reduces the user's sense of experience.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种通信设备及天线切换方法,可在保障通信设备正常Wi-Fi通信的同时,还可以合理利用闲置Wi-Fi天线,实现通信设备与外部设备之间的通信,不仅提高了Wi-Fi天线的利用率,还提高了外部设备与通信设备之间的通信速率,以满足各种低时延场景的需求。The embodiments of the present application provide a communication device and an antenna switching method, which can ensure the normal Wi-Fi communication of the communication device and at the same time make reasonable use of the idle Wi-Fi antenna to realize the communication between the communication device and the external device, which not only improves the The utilization rate of Wi-Fi antennas is improved, and the communication rate between external devices and communication devices is also improved to meet the needs of various low-latency scenarios.
第一方面,本申请实施例提供一种通信设备,包括:多个Wi-Fi天线、控制电路、Wi-Fi芯片、外设芯片和开关电路。其中,控制电路的第一输入端与外设芯片的输出端电连接,控制电路的输出端与开关电路的控制端电连接,Wi-Fi芯片的信号端与开关电路的第一输入端电连接,外设芯片的信号端与开关电路的第二输入端电连接,开关电路的每个输出端电连接一个Wi-Fi天线。外设芯片,用于向控制电路发送匹配成功消息,其中,匹配成功消息用于表示外设芯片与外部设备匹配成功。控制电路,用于在接收到匹配成功消息时,控制Wi-Fi芯片通过开关电路与第一预设天线电连接,控制外设芯片通过开关电路电与第二预设天线电连接,其中,第一预设天线和第二预设天线为事先从多个Wi-Fi天线中设置的,第一预设天线用于通信设备的Wi-Fi通信,第二预设天线用于外部设备与通信设备之间的通信。Wi-Fi芯片,用于控制通信设备通过第一预设天线进行Wi-Fi通信。外设芯片,用于控制外部设备通过第二预设天线与通信设备进行通信。In a first aspect, an embodiment of the present application provides a communication device, including: a plurality of Wi-Fi antennas, a control circuit, a Wi-Fi chip, a peripheral chip, and a switch circuit. The first input terminal of the control circuit is electrically connected to the output terminal of the peripheral chip, the output terminal of the control circuit is electrically connected to the control terminal of the switch circuit, and the signal terminal of the Wi-Fi chip is electrically connected to the first input terminal of the switch circuit. , the signal terminal of the peripheral chip is electrically connected to the second input terminal of the switch circuit, and each output terminal of the switch circuit is electrically connected to a Wi-Fi antenna. The peripheral chip is used to send a matching success message to the control circuit, wherein the matching success message is used to indicate that the peripheral chip and the external device are successfully matched. The control circuit is used to control the Wi-Fi chip to be electrically connected to the first preset antenna through the switch circuit when receiving the matching success message, and to control the peripheral chip to be electrically connected to the second preset antenna through the switch circuit, wherein the first A preset antenna and a second preset antenna are set from multiple Wi-Fi antennas in advance. The first preset antenna is used for Wi-Fi communication of communication devices, and the second preset antenna is used for external devices and communication devices. communication between. The Wi-Fi chip is used to control the communication device to perform Wi-Fi communication through the first preset antenna. The peripheral chip is used to control the external device to communicate with the communication device through the second preset antenna.
通过第一方面提供的通信设备,事先从多个Wi-Fi天线中设置第一预设天线和第二预设天线,其中,第一预设天线用于通信设备进行Wi-Fi通信,第二预设天线用于外部设备与通信设备之间的通信。且开关电路的两个输出端分别与第一预设天线和第二预设天线电连接,开关电路的第一输入端与Wi-Fi芯片的信号端电连接,开关电路的第二输入端与外设芯片的信号端电连接,开关电路的控制端的输出端电连接,外设芯片的输出端与控制电路的输入端电连接。基于上述电连接关系,在外设芯片与外部设备匹配成功时,外设芯片可以向控制电路发送匹配成功消息。控制电路在接收到匹配成功消息时,可以通过开关电路控制Wi-Fi芯片与第一预设天线电连接且控制外设芯片与第二预设天线电连接。从而,Wi-Fi芯片可以控制通信设备通过第一预设天线进行Wi-Fi通信,外设芯片可以控制外部设备通过第二预设天线与通信设备进行通信。本申请实施例中,不仅可以保证通信设备的正常Wi-Fi通信,还可以合理利用闲置Wi-Fi天线实现通信设备与外部设备之间的通信,无需新增Wi-Fi天线而降低天线整体布局的难度,提高了Wi-Fi天线的利用率,提高了外部设备与通信设备之间的通信速率,满足了各种低时延场景,使得用户可以灵活操作,方便用户使用外部设备。With the communication device provided in the first aspect, a first preset antenna and a second preset antenna are set from a plurality of Wi-Fi antennas in advance, wherein the first preset antenna is used for the communication device to perform Wi-Fi communication, and the second preset antenna is used for performing Wi-Fi communication. A preset antenna is used for communication between an external device and a communication device. And the two output ends of the switch circuit are electrically connected to the first preset antenna and the second preset antenna respectively, the first input end of the switch circuit is electrically connected to the signal end of the Wi-Fi chip, and the second input end of the switch circuit is electrically connected to the Wi-Fi chip. The signal terminal of the peripheral chip is electrically connected, the output terminal of the control terminal of the switch circuit is electrically connected, and the output terminal of the peripheral chip is electrically connected to the input terminal of the control circuit. Based on the above electrical connection relationship, when the peripheral chip and the external device are successfully matched, the peripheral chip can send a matching success message to the control circuit. When receiving the matching success message, the control circuit can control the Wi-Fi chip to be electrically connected to the first preset antenna and the peripheral chip to be electrically connected to the second preset antenna through the switch circuit. Thus, the Wi-Fi chip can control the communication device to perform Wi-Fi communication through the first preset antenna, and the peripheral chip can control the external device to communicate with the communication device through the second preset antenna. In the embodiment of the present application, not only the normal Wi-Fi communication of the communication device can be ensured, but also the idle Wi-Fi antenna can be reasonably used to realize the communication between the communication device and the external device, and the overall layout of the antenna is reduced without adding a Wi-Fi antenna. It improves the utilization rate of Wi-Fi antennas, improves the communication rate between external devices and communication devices, meets various low-latency scenarios, enables users to operate flexibly, and facilitates users to use external devices.
在一种可能的设计中,控制电路的第二输入端与Wi-Fi芯片的输出端电连接。Wi-Fi芯片,用于判断多个Wi-Fi天线的通信质量;向控制电路发送判断结果,其中,判断结果为第一目标天线的通信质量优于第二目标天线的通信质量,第一目标天线用于通信设备的Wi-Fi通信,第二目标天线用于外设芯片搜索外部设备。控制电路,用于在接收到判断结果时,控制Wi-Fi芯片通过开关电路切换至与第一目标天线电连接,控制外设芯片通过开关电路切换至与第二目标天线电连接。Wi-Fi芯片,用于控制通信设备通过第一目标天线进行Wi-Fi通信。外设芯片,用于控制外设备芯片通过第二目标天线搜索外部设备。In a possible design, the second input terminal of the control circuit is electrically connected to the output terminal of the Wi-Fi chip. The Wi-Fi chip is used to judge the communication quality of multiple Wi-Fi antennas; send the judgment result to the control circuit, wherein the judgment result is that the communication quality of the first target antenna is better than that of the second target antenna, and the first target The antenna is used for Wi-Fi communication of the communication device, and the second target antenna is used for the peripheral chip to search for external devices. The control circuit is used to control the Wi-Fi chip to be switched to be electrically connected to the first target antenna through the switch circuit when the judgment result is received, and the peripheral chip to be switched to be electrically connected to the second target antenna through the switch circuit. The Wi-Fi chip is used to control the communication device to perform Wi-Fi communication through the first target antenna. The peripheral chip is used to control the peripheral chip to search for the external device through the second target antenna.
通过该实施方式提供的通信设备,其中,开关电路的两个输出端分别与第一目标天线和第二目标天线电连接,开关电路的第一输入端与Wi-Fi芯片的信号端电连接,开关电路的第二输入端与外设芯片的信号端电连接,Wi-Fi芯片的输出端与控制电路的输入端电连接,控制电路的输出端与开关电路的控制端电连接。基于上述电连接关系,Wi-Fi芯片可以判断多个Wi-Fi天线的通信质量,并向控制电路发送判断结果,其中,该判断结果为第一目标天线的通信质量优于第二目标天线的通信质量。控制电路在接收到判断结果时,可以确定第一目标天线用于通信设进行Wi-Fi通信,第二目标天线用于外设芯片搜索外部设备,便可通过开关电路控制Wi-Fi芯片与第一目标天线电连接且控制外设备芯片与第二目标天线电连接。从而,Wi-Fi芯片可以控制通信设备通过第一目标天线进行Wi-Fi通信,外设芯片可以控制外设芯片通过第二目标天线搜索外部设备。本申请实施例中,不仅可以保证通信设备的正常Wi-Fi通信,还可以合理利用闲置Wi-Fi天线,实现外设芯片搜索外部设备的过程,提高了Wi-Fi天线的利用率,使得Wi-Fi天线得以优化复用,在减少Wi-Fi天线数量的同时,有效保证了Wi-Fi天线的使用性能。In the communication device provided by this embodiment, the two output ends of the switch circuit are electrically connected to the first target antenna and the second target antenna respectively, and the first input end of the switch circuit is electrically connected to the signal end of the Wi-Fi chip, The second input terminal of the switch circuit is electrically connected to the signal terminal of the peripheral chip, the output terminal of the Wi-Fi chip is electrically connected to the input terminal of the control circuit, and the output terminal of the control circuit is electrically connected to the control terminal of the switch circuit. Based on the above electrical connection relationship, the Wi-Fi chip can judge the communication quality of multiple Wi-Fi antennas, and send a judgment result to the control circuit, wherein the judgment result is that the communication quality of the first target antenna is better than that of the second target antenna. communication quality. When the control circuit receives the judgment result, it can determine that the first target antenna is used for the communication device to perform Wi-Fi communication, and the second target antenna is used for the peripheral chip to search for external devices, and the switch circuit can control the Wi-Fi chip and the first target antenna. A target antenna is electrically connected and the control peripheral chip is electrically connected with the second target antenna. Thus, the Wi-Fi chip can control the communication device to perform Wi-Fi communication through the first target antenna, and the peripheral chip can control the peripheral chip to search for external devices through the second target antenna. In the embodiment of the present application, not only the normal Wi-Fi communication of the communication device can be ensured, but also the idle Wi-Fi antenna can be reasonably used to realize the process of searching for external devices by the peripheral chip, which improves the utilization rate of the Wi-Fi antenna and makes the Wi-Fi antenna more efficient. -Fi antennas are optimized for reuse, which effectively ensures the performance of Wi-Fi antennas while reducing the number of Wi-Fi antennas.
在一种可能的设计中,控制电路,用于在接收到匹配成功消息时,判断开关电路的当前状态是否预设状态,其中,当前状态为Wi-Fi芯片通过开关电路与第一目标天线电连接,且外设芯片通过开关电路与第二目标天线电连接的状态,预设状态为事先设置Wi-Fi芯片通过开关电路与第一预设天线电连接,且外设芯片通过开关电路与第二预设天线电连接的状态。In a possible design, the control circuit is configured to determine whether the current state of the switch circuit is a preset state when receiving the matching success message, wherein the current state is that the Wi-Fi chip is electrically connected to the first target antenna through the switch circuit. connected, and the peripheral chip is electrically connected to the second target antenna through the switch circuit, the default state is that the Wi-Fi chip is electrically connected to the first preset antenna through the switch circuit, and the peripheral chip is electrically connected to the first preset antenna through the switch circuit. 2. Preset the state of the electrical connection of the antenna.
在一种可能的设计中,控制电路,用于在判断开关电路的当前状态为预设状态时,锁定开关电路的当前状态,以使Wi-Fi芯片控制通信设备通过第一目标天线进行Wi-Fi通信且外设芯片控制外部设备通过第二目标天线与通信设备进行通信。控制电路,用于在判断开关电路的当前状态不为预设状态时,将开关电路的当前状态更新为预设状态,以控制Wi-Fi芯片通过开关电路切换至与第一预设天线电连接且控制外设芯片通过开关电路切换至与第二预设天线电连接。In a possible design, the control circuit is configured to lock the current state of the switch circuit when judging that the current state of the switch circuit is a preset state, so that the Wi-Fi chip controls the communication device to perform Wi-Fi through the first target antenna. The Fi communicates and the peripheral chip controls the external device to communicate with the communication device through the second target antenna. The control circuit is used to update the current state of the switch circuit to a preset state when judging that the current state of the switch circuit is not the preset state, so as to control the Wi-Fi chip to switch to be electrically connected to the first preset antenna through the switch circuit And the control peripheral chip is switched to be electrically connected with the second preset antenna through the switch circuit.
通过该实施方式提供的通信设备,在通信设备通过第一目标天线进行Wi-Fi通信,且外设芯片通过第二目标Wi-Fi天线搜索外部设备之后,当外设芯片与外部设备匹配成功时,控制电路可以判断开关电路的当前状态是否为预设状态。若是,则控制电路可以确定第一目标天线即第一预设天线,第二目标天线即第二预设天线,便可锁定开关电路的当前状态。若否,则控制电路可以将开关电路的当前状态调整为预设状态,使得Wi-Fi芯片与第一预设天线电连接且外设芯片与第二预设天线电连接。从而,通信设备可以通过第一预设天线进行Wi-Fi通信,且外部设备可以通过第二预设天线与通信设备进行通信。With the communication device provided in this embodiment, after the communication device performs Wi-Fi communication through the first target antenna and the peripheral chip searches for the external device through the second target Wi-Fi antenna, when the peripheral chip and the external device are successfully matched , the control circuit can determine whether the current state of the switch circuit is a preset state. If so, the control circuit can determine that the first target antenna is the first preset antenna, and the second target antenna is the second preset antenna, and the current state of the switch circuit can be locked. If not, the control circuit can adjust the current state of the switch circuit to a preset state, so that the Wi-Fi chip is electrically connected to the first preset antenna and the peripheral chip is electrically connected to the second preset antenna. Thus, the communication device can perform Wi-Fi communication through the first preset antenna, and the external device can communicate with the communication device through the second preset antenna.
在一种可能的设计中,控制电路,还用于在将开关电路的当前状态更新为预设状态之后,锁定开关电路的当前状态。In a possible design, the control circuit is further configured to lock the current state of the switching circuit after updating the current state of the switching circuit to a preset state.
在一种可能的设计中,Wi-Fi芯片,用于根据多个Wi-Fi天线的接收的信号强度指示RSSI,判断多个Wi-Fi天线的通信质量。In a possible design, the Wi-Fi chip is used for judging the communication quality of the multiple Wi-Fi antennas according to the RSSI indication of the received signal strength of the multiple Wi-Fi antennas.
在一种可能的设计中,多个Wi-Fi天线包括:第一Wi-Fi天线和第二Wi-Fi天线。其中,第一Wi-Fi天线位于通信设备处于竖屏状态下的上半部区域,第一Wi-Fi天线距通信设备处于横屏状态下的底边存在预设距离,第二Wi-Fi天线位于通信设备处于横屏状态下的上半部区域。在通信设备处于横屏状态时,第一预设天线为第二Wi-Fi天线,第二预设天线为第一Wi-Fi天线。在通信设备处于竖屏状态时,第一预设天线为第一Wi-Fi天线,第二预设天线为第二Wi-Fi天线。In a possible design, the multiple Wi-Fi antennas include: a first Wi-Fi antenna and a second Wi-Fi antenna. The first Wi-Fi antenna is located in the upper half area of the communication device in the vertical screen state, the first Wi-Fi antenna is at a preset distance from the bottom edge of the communication device in the horizontal screen state, and the second Wi-Fi antenna It is located in the upper half area when the communication device is in landscape state. When the communication device is in a horizontal screen state, the first preset antenna is the second Wi-Fi antenna, and the second preset antenna is the first Wi-Fi antenna. When the communication device is in a vertical screen state, the first preset antenna is the first Wi-Fi antenna, and the second preset antenna is the second Wi-Fi antenna.
在一种可能的设计中,通信设备还包括:第三Wi-Fi天线。其中,第三Wi-Fi天线位于通信设备处于竖屏状态时的上半部区域,且位于通信设备处于横屏状态下的上半部区域;Wi-Fi芯片的另一信号端与第三Wi-Fi天线电连接,第三Wi-Fi天线用于通信设备的Wi-Fi通信,以确保通信设备1的Wi-Fi通信。In a possible design, the communication device further includes: a third Wi-Fi antenna. Among them, the third Wi-Fi antenna is located in the upper half area when the communication device is in the vertical screen state, and is located in the upper half area when the communication device is in the horizontal screen state; the other signal end of the Wi-Fi chip is connected to the third Wi-Fi antenna. - The Fi antenna is electrically connected, and the third Wi-Fi antenna is used for the Wi-Fi communication of the communication device to ensure the Wi-Fi communication of the
在一种可能的设计中,在通信设备处于横屏状态时,第二Wi-Fi天线和第三Wi-Fi天线可以共同组成MIMO天线,实现通信设备1的Wi-Fi通信。In a possible design, when the communication device is in a horizontal screen state, the second Wi-Fi antenna and the third Wi-Fi antenna may jointly form a MIMO antenna to implement Wi-Fi communication of the
在一种可能的设计中,在通信设备处于竖屏状态时,第一Wi-Fi天线和第三Wi-Fi天线可以共同组成MIMO天线,实现通信设备1的Wi-Fi通信。In a possible design, when the communication device is in a vertical screen state, the first Wi-Fi antenna and the third Wi-Fi antenna may jointly form a MIMO antenna to implement Wi-Fi communication of the
在一种可能的设计中,外部设备为键盘和/或鼠标。In one possible design, the external device is a keyboard and/or mouse.
在一种可能的设计中,开关电路为双刀双掷开关。In one possible design, the switch circuit is a double pole double throw switch.
在一种可能的设计中,通信设备还包括:外设充电接口,其中,外设充电接口位于通信设备处于第一状态下的下半部区域,外设充电接口靠近下半部区域的底边,便于通信设备1向外部设备充电。In a possible design, the communication device further includes: a peripheral charging interface, wherein the peripheral charging interface is located in a lower half area of the communication device in the first state, and the peripheral charging interface is close to the bottom edge of the lower half area , it is convenient for the
第二方面,本申请实施例提供一种天线切换方法,应用于通信设备,通信设备包括:多个无线保真Wi-Fi天线、控制电路、Wi-Fi芯片、外设芯片和开关电路;其中,控制电路的第一输入端与外设芯片的输出端电连接,控制电路的输出端与开关电路的控制端电连接,Wi-Fi芯片的信号端与开关电路的第一输入端电连接,外设芯片的信号端与开关电路的第二输入端电连接,开关电路的每个输出端电连接一个Wi-Fi天线。In a second aspect, an embodiment of the present application provides an antenna switching method, which is applied to a communication device, where the communication device includes: a plurality of wireless fidelity Wi-Fi antennas, a control circuit, a Wi-Fi chip, a peripheral chip, and a switch circuit; wherein , the first input end of the control circuit is electrically connected to the output end of the peripheral chip, the output end of the control circuit is electrically connected to the control end of the switch circuit, the signal end of the Wi-Fi chip is electrically connected to the first input end of the switch circuit, The signal terminal of the peripheral chip is electrically connected to the second input terminal of the switch circuit, and each output terminal of the switch circuit is electrically connected to a Wi-Fi antenna.
该方法包括:外设芯片向控制电路发送匹配成功消息,其中,匹配成功消息用于表示外设芯片与外部设备匹配成功。控制电路在接收到匹配成功消息时,控制Wi-Fi芯片通过开关电路切换至与第一预设天线电连接,控制外设芯片通过开关电路切换至与第二预设天线电连接,其中,第一预设天线和第二预设天线为事先从多个Wi-Fi天线中设置的,第一预设天线用于通信设备的Wi-Fi通信,第二预设天线用于外部设备与通信设备之间的通信。Wi-Fi芯片控制通信设备通过第一预设天线进行Wi-Fi通信。外设芯片控制外部设备通过第二预设天线与通信设备进行通信。The method includes: the peripheral chip sends a matching success message to the control circuit, wherein the matching success message is used to indicate that the peripheral chip and the external device are successfully matched. When the control circuit receives the matching success message, it controls the Wi-Fi chip to be switched to be electrically connected to the first preset antenna through the switch circuit, and the peripheral chip to be switched to be electrically connected to the second preset antenna through the switch circuit. A preset antenna and a second preset antenna are set from multiple Wi-Fi antennas in advance. The first preset antenna is used for Wi-Fi communication of communication devices, and the second preset antenna is used for external devices and communication devices. communication between. The Wi-Fi chip controls the communication device to perform Wi-Fi communication through the first preset antenna. The peripheral chip controls the external device to communicate with the communication device through the second preset antenna.
在一种可能的设计中,控制电路的第二输入端与Wi-Fi芯片的输出端电连接。该方法还包括:Wi-Fi芯片判断多个Wi-Fi天线的通信质量。Wi-Fi芯片向控制电路发送判断结果,其中,判断结果为第一目标天线的通信质量优于第二目标天线的通信质量,第一目标天线用于通信设备的Wi-Fi通信,第二目标天线用于外设芯片搜索外部设备。控制电路在接收到判断结果时,控制Wi-Fi芯片通过开关电路切换至与第一目标天线电连接,控制外设芯片通过开关电路切换至与第二目标天线电连接。Wi-Fi芯片控制通信设备通过第一目标天线进行Wi-Fi通信。外设芯片控制外设备芯片通过第二目标天线搜索外部设备。In a possible design, the second input terminal of the control circuit is electrically connected to the output terminal of the Wi-Fi chip. The method further includes: the Wi-Fi chip judging the communication quality of the multiple Wi-Fi antennas. The Wi-Fi chip sends a judgment result to the control circuit, wherein the judgment result is that the communication quality of the first target antenna is better than the communication quality of the second target antenna, the first target antenna is used for Wi-Fi communication of the communication device, and the second target antenna is used for Wi-Fi communication. The antenna is used by the peripheral chip to search for external devices. When receiving the judgment result, the control circuit controls the Wi-Fi chip to be switched to be electrically connected to the first target antenna through the switch circuit, and the peripheral chip to be switched to be electrically connected to the second target antenna through the switch circuit. The Wi-Fi chip controls the communication device to perform Wi-Fi communication through the first target antenna. The peripheral chip controls the peripheral chip to search for the external device through the second target antenna.
在一种可能的设计中,在控制电路在接收到匹配成功消息时,控制Wi-Fi芯片通过开关电路切换至与第一预设天线电连接,控制外设芯片通过开关电路切换至与第二预设天线电连接之前,该方法还包括:控制电路判断开关电路的当前状态是否预设状态,其中,当前状态为当前Wi-Fi芯片通过开关电路与第一目标天线电连接,且外设芯片通过开关电路与第二目标天线电连接的状态,预设状态为事先设置Wi-Fi芯片通过开关电路与第一预设天线电连接,且外设芯片通过开关电路电与第二预设天线电连接的状态。In a possible design, when the control circuit receives the matching success message, the Wi-Fi chip is controlled to be switched to be electrically connected to the first preset antenna through the switch circuit, and the peripheral chip is controlled to be switched to be electrically connected to the second antenna through the switch circuit. Before the preset antenna is electrically connected, the method further includes: the control circuit determines whether the current state of the switch circuit is a preset state, wherein the current state is that the current Wi-Fi chip is electrically connected to the first target antenna through the switch circuit, and the peripheral chip The state of being electrically connected to the second target antenna through the switch circuit, the default state is that the Wi-Fi chip is electrically connected to the first preset antenna through the switch circuit in advance, and the peripheral chip is electrically connected to the second preset antenna through the switch circuit. The status of the connection.
在一种可能的设计中,控制电路在接收到匹配成功消息时,控制Wi-Fi芯片通过开关电路切换至与第一预设天线电连接,控制外设芯片通过开关电路切换至与第二预设天线电连接,包括:控制电路在判断开关电路的当前状态为预设状态时,锁定开关电路的当前状态,以使Wi-Fi芯片控制通信设备通过第一目标天线进行Wi-Fi通信且外设芯片控制外部设备通过第二目标天线与通信设备进行通信。控制电路在判断开关电路的当前状态不为预设状态时,将开关电路的当前状态更新为预设状态,以控制Wi-Fi芯片通过开关电路切换至与第一预设天线电连接且控制外设芯片通过开关电路切换至与第二预设天线电连接。In a possible design, when the control circuit receives the matching success message, the control circuit controls the Wi-Fi chip to switch to be electrically connected to the first preset antenna through the switch circuit, and controls the peripheral chip to switch to the second preset antenna through the switch circuit. Assume that the antenna is electrically connected, including: when the control circuit determines that the current state of the switch circuit is a preset state, locking the current state of the switch circuit, so that the Wi-Fi chip controls the communication device to perform Wi-Fi communication through the first target antenna and externally. It is assumed that the chip controls the external device to communicate with the communication device through the second target antenna. When judging that the current state of the switch circuit is not the preset state, the control circuit updates the current state of the switch circuit to the preset state, so as to control the Wi-Fi chip to be switched to be electrically connected to the first preset antenna through the switch circuit and to control the external It is assumed that the chip is switched to be electrically connected with the second preset antenna through the switch circuit.
在一种可能的设计中,该方法还包括:控制电路在将开关电路的当前状态更新为预设状态之后,锁定开关电路的当前状态。In a possible design, the method further includes: after the control circuit updates the current state of the switch circuit to a preset state, locking the current state of the switch circuit.
上述第二方面以及上述第二方面的各可能的设计中所提供的天线切换方法,其有益效果可以参见上述第一方面和第一方面的各可能的实施方式所带来的有益效果,在此不再赘述。For the above-mentioned second aspect and the antenna switching method provided in each possible design of the above-mentioned second aspect, the beneficial effects of the method can refer to the beneficial effects brought by the above-mentioned first aspect and each possible implementation manner of the first aspect. Here No longer.
第三方面,本申请实施例提供一种通信设备,包括:存储器和处理器;In a third aspect, an embodiment of the present application provides a communication device, including: a memory and a processor;
存储器用于存储程序指令;memory is used to store program instructions;
处理器用于调用存储器中的程序指令执行第二方面及第二方面任一种可能的设计中的天线切换方法。The processor is configured to invoke the program instructions in the memory to execute the antenna switching method in the second aspect and any possible design of the second aspect.
第四方面,本申请实施例提供一种可读存储介质,可读存储介质中存储有执行指令,当通信设备的至少一个处理器执行该执行指令时,通信设备执行第二方面及第二方面任一种可能的设计中的天线切换方法。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where an execution instruction is stored in the readable storage medium, and when at least one processor of a communication device executes the execution instruction, the communication device executes the second aspect and the second aspect Antenna switching method in any possible design.
第五方面,本申请实施例提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。通信设备的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得通信设备实施第二方面及第二方面任一种可能的设计中的天线切换方法。In a fifth aspect, an embodiment of the present application provides a program product, where the program product includes execution instructions, and the execution instructions are stored in a readable storage medium. At least one processor of the communication device can read the execution instruction from the readable storage medium, and the at least one processor executes the execution instruction to cause the communication device to implement the antenna switching method in the second aspect and any possible design of the second aspect.
第六方面,本申请实施例提供一种芯片,芯片与存储器相连,或者芯片上集成有存储器,当存储器中存储的软件程序被执行时,实现第二方面及第二方面任一种可能的设计中的天线切换方法。In a sixth aspect, an embodiment of the present application provides a chip, where the chip is connected to a memory, or a memory is integrated on the chip, and when a software program stored in the memory is executed, any possible designs of the second aspect and the second aspect are implemented. Antenna switching method in .
附图说明Description of drawings
图1为本申请实施例提供的一种示例性的通信设备的结构示意图;FIG. 1 is a schematic structural diagram of an exemplary communication device provided by an embodiment of the present application;
图2为本申请实施例提供的一种示例性的通信设备的结构示意图;FIG. 2 is a schematic structural diagram of an exemplary communication device provided by an embodiment of the present application;
图3为本申请实施例提供的一种示例性的通信设备处于横屏状态下的结构示意图;FIG. 3 is a schematic structural diagram of an exemplary communication device in a landscape screen state according to an embodiment of the present application;
图4为本申请实施例提供的一种示例性的通信设备处于竖屏状态下的结构示意图;FIG. 4 is a schematic structural diagram of an exemplary communication device in a vertical screen state according to an embodiment of the present application;
图5为本申请实施例提供的一种示例性的通信设备处于横屏状态下的结构示意图;FIG. 5 is a schematic structural diagram of an exemplary communication device in a landscape screen state according to an embodiment of the present application;
图6为本申请实施例提供的一种示例性的天线切换方法的流程图;FIG. 6 is a flowchart of an exemplary antenna switching method provided by an embodiment of the present application;
图7为本申请实施例提供的一种示例性的天线切换方法的流程图;FIG. 7 is a flowchart of an exemplary antenna switching method provided by an embodiment of the present application;
图8为本申请实施例提供的一种示例性的通信设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an exemplary communication device according to an embodiment of the present application.
附图标记说明:Description of reference numbers:
1—通信设备;1—communication equipment;
11—Wi-Fi天线;12—控制电路;11—Wi-Fi antenna; 12—control circuit;
13—Wi-Fi芯片;14—外设芯片;13—Wi-Fi chip; 14—peripheral chip;
15—开关电路;16—外设充电接口。15—switch circuit; 16—peripheral charging interface.
具体实施方式Detailed ways
在本申请实施例的描述中,需要解释的是,术语“中心”、“纵向”、“横向”、“上”、“下”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请实施例和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请实施例的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the embodiments of the present application, it should be explained that the orientations or positional relationships indicated by the terms "center", "longitudinal", "horizontal", "upper", "lower", etc. are based on the orientations shown in the drawings or The positional relationship is only for the convenience of describing the embodiments of the present application and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a reference to the embodiments of the present application. limit. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed to indicate or imply relative importance.
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or", which describes the relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, it can indicate that A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (a) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c may be single or multiple .
本申请实施例提供一种通信设备及天线切换方法,在保证通信设备正常Wi-Fi通信的基础上,可利用通信设备中闲置的Wi-Fi天线,实现外部设备与通信设备之间的通信,使得用户可以通过外部设备完成相应操作,从而有效减少操作的延时,满足各种低时延的场景需求,提高用户的体验感。The embodiments of the present application provide a communication device and an antenna switching method. On the basis of ensuring normal Wi-Fi communication of the communication device, an idle Wi-Fi antenna in the communication device can be used to realize the communication between the external device and the communication device. This enables users to complete corresponding operations through external devices, thereby effectively reducing the delay of operations, meeting the needs of various low-latency scenarios, and improving user experience.
为了满足低时延的诉求,本申请实施例提供一种通信设备及天线切换方法,可根据通信设备中Wi-Fi天线的位置,结合实际经验,事先从通信设备的多个Wi-Fi天线中设置第一预设天线和第二预设天线,第一预设天线用于通信设备的Wi-Fi通信,第二预设天线用于外部设备与通信设备之间的通信。通过通信设备中,开关电路的两个输出端分别与第一预设天线和第二预设天线电连接,开关电路的第一输入端与Wi-Fi芯片的信号端电连接,开关电路的第二输入端与外设芯片的信号端电连接,开关电路的控制端与控制电路的输出端电连接。从而,在外设芯片与外部设备匹配成功时,外设芯片可以向控制电路发送匹配成功消息。控制电路在接收到匹配成功消息时,可以通过开关电路控制Wi-Fi芯片与第一预设天线电连接,且控制外设芯片与第二预设天线电连接,从而,Wi-Fi芯片可以控制通信设备可以通过第一预设天线实现Wi-Fi通信,外设芯片可以控制外部设备通过第二预设天线实现与通信设备之间的通信。本申请实施例中,不仅保证了通信设备的正常Wi-Fi通信,还利用了闲置的Wi-Fi天线实现通信设备与外部设备之间的通信,提高了通信设备中Wi-Fi天线的利用率,加快了外部设备与通信设备之间的通信速率,解决了传统蓝牙技术由于时延大而无法满足低时延需求的问题,保障了用户的操作流畅度,提高了用户的体验感和使用感。In order to meet the requirement of low latency, an embodiment of the present application provides a communication device and an antenna switching method. According to the position of the Wi-Fi antenna in the communication device and combined with actual experience, it is possible to select from multiple Wi-Fi antennas of the communication device in advance. A first preset antenna and a second preset antenna are set, the first preset antenna is used for Wi-Fi communication of the communication device, and the second preset antenna is used for communication between the external device and the communication device. In the communication device, the two output ends of the switch circuit are electrically connected to the first preset antenna and the second preset antenna, respectively, the first input end of the switch circuit is electrically connected to the signal end of the Wi-Fi chip, and the first input end of the switch circuit is electrically connected to the signal end of the Wi-Fi chip. The two input terminals are electrically connected to the signal terminal of the peripheral chip, and the control terminal of the switch circuit is electrically connected to the output terminal of the control circuit. Therefore, when the peripheral chip is successfully matched with the external device, the peripheral chip can send a matching success message to the control circuit. When receiving the matching success message, the control circuit can control the Wi-Fi chip to be electrically connected to the first preset antenna through the switch circuit, and to control the peripheral chip to be electrically connected to the second preset antenna, so that the Wi-Fi chip can control The communication device can implement Wi-Fi communication through the first preset antenna, and the peripheral chip can control the external device to communicate with the communication device through the second preset antenna. In the embodiment of the present application, not only the normal Wi-Fi communication of the communication device is ensured, but also the idle Wi-Fi antenna is used to realize the communication between the communication device and the external device, which improves the utilization rate of the Wi-Fi antenna in the communication device , accelerates the communication rate between external devices and communication devices, solves the problem that traditional Bluetooth technology cannot meet the low-latency requirement due to the large delay, ensures the user's smoothness of operation, and improves the user's sense of experience and use. .
本申请实施例提及的通信设备可以包括但不限于终端,其中,终端:可以是无线终端也可以是有线终端,无线终端可以是指一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。终端可以是个人计算机、游戏机、MP3播放器、手机(mobilephone)、平板电脑(Pad)、带无线收发功能的电脑、打印机、虚拟现实(Virtual Reality,VR)终端、增强现实(Augmented Reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等,在此不作限定。The communication devices mentioned in the embodiments of the present application may include, but are not limited to, terminals, where the terminals may be wireless terminals or wired terminals, and a wireless terminal may refer to a device with a wireless transceiver function, which may be deployed on land, Including indoor or outdoor, handheld or vehicle; can also be deployed on the water (such as ships, etc.); can also be deployed in the air (such as aircraft, balloons and satellites, etc.). The terminal may be a personal computer, a game console, an MP3 player, a mobile phone (mobilephone), a tablet computer (Pad), a computer with a wireless transceiver function, a printer, a virtual reality (Virtual Reality, VR) terminal, an augmented reality (Augmented Reality, AR) terminal ) terminal, wireless terminal in industrial control, wireless terminal in self driving, wireless terminal in remote medical, wireless terminal in smart grid, transportation safety The wireless terminal in (transportation safety), the wireless terminal in a smart city (smart city), the wireless terminal in a smart home (smart home), etc., are not limited here.
另外,本申请实施例提供的外部设备可以包括但不限于键盘、鼠标、耳机、打印设备、存储设备以及其他设备。In addition, the external devices provided by the embodiments of the present application may include, but are not limited to, a keyboard, a mouse, a headset, a printing device, a storage device, and other devices.
下面,结合本申请实施例中的附图,对本申请实施例通信设备的技术方案进行描述。Below, with reference to the drawings in the embodiments of the present application, the technical solutions of the communication devices in the embodiments of the present application will be described.
图1为本申请实施例提供的一种示例性的通信设备的结构示意图,如图1所示,通信设备1包括:多个Wi-Fi天线11、控制电路12、Wi-Fi芯片13、外设芯片14和开关电路15。FIG. 1 is a schematic structural diagram of an exemplary communication device provided by an embodiment of the application. As shown in FIG. 1 , the
其中,本申请实施例对Wi-Fi天线11在通信设备1中的位置、具体大小和制作工艺均不做限定,只需保证Wi-Fi天线11的数量大于等于两个即可。The embodiments of the present application do not limit the position, specific size and manufacturing process of the Wi-Fi antennas 11 in the
本领域技术人员可以理解,通信设备1在不同应用场景中,通常采用部分Wi-Fi天线11实现通信设备1的Wi-Fi通信,这样,剩余部分Wi-Fi天线11将会被闲置。且每个Wi-Fi天线11位于通信设备1的位置通常在通信设备1出厂后已被设置好。Those skilled in the art can understand that, in different application scenarios, the
基于前述描述,本申请实施例可以根据每个Wi-Fi天线11的位置,并结合实际经验,从多个Wi-Fi天线11中,确定各个应用场景中适用于通信设备1进行Wi-Fi通信的第一预设天线以及适用于外部设备与通信设备1之间进行通信的第二预设天线。Based on the foregoing description, according to the position of each Wi-Fi antenna 11 and in combination with actual experience, in the embodiment of the present application, it can be determined from the multiple Wi-Fi antennas 11 that are suitable for the
本申请实施例中,同一应用场景下,第一预设天线和第二预设天线不同。不同应用场景下,第一预设天线和第二预设天线可以相同,也可以不同。其中,第一预设天线的数量可以多个,以组成多输入多输出系统(Multiple-Input Multiple-Output,MIMO)天线工作,也可以为一个,本申请实施例对此不做限定。第二预设天线的数量可以为一个,也可以为多个,以组成MIMO天线工作,本申请实施例对此也不做限定。In the embodiment of the present application, in the same application scenario, the first preset antenna and the second preset antenna are different. In different application scenarios, the first preset antenna and the second preset antenna may be the same or different. The number of the first preset antennas may be multiple to form a multiple-input multiple-output (Multiple-Input Multiple-Output, MIMO) antenna for operation, or there may be one antenna, which is not limited in this embodiment of the present application. The number of the second preset antennas may be one or multiple, so as to form a MIMO antenna to work, which is also not limited in this embodiment of the present application.
本申请实施例中,开关电路15的每个输出端均电连接一个Wi-Fi天线11,即在开关电路15的输出一侧电连接有第一预设天线和第二预设天线。且开关电路15的第一输入端与Wi-Fi芯片13的信号端电连接,开关电路15的第二输入端与外设芯片14的信号端电连接。In the embodiment of the present application, each output end of the
这样,控制电路12的输出端通过与开关电路15的控制端电连接,可以控制开关电路15的任意一个输入端和任意一个输出端之间的通路的导通或者断开,以调节Wi-Fi芯片13和外设芯片14分别与任意一个Wi-Fi天线11是否电连接,即调节Wi-Fi芯片13和外设芯片14分别与第一预设天线和第二预设天线是否电连接。In this way, the output terminal of the
其中,控制电路12可以为通信设备1中原有的控制电路12,也可以新增的控制电路12,本申请实施例对此不做限定。例如,控制电路12可以为通信设备1中的中央处理器(central processing unit/processor,CPU)。The
其中,本申请实施例对Wi-Fi芯片13和外设芯片14的类型和数量不做限定。并且,Wi-Fi芯片13可以包括但不限于采集各个Wi-Fi天线11的信号、分析各个Wi-Fi天线11的性能以及警示各个Wi-Fi天线11是否出现故障等功能。外设芯片14可以包括但不限于搜索并匹配外部设备、采集外部设备的参数以及获取外部设备与通信设备1之间的通信信号等功能。The embodiments of the present application do not limit the types and quantities of the Wi-
另外,控制电路12、Wi-Fi芯片13和外设芯片14可以为分立元件,也可以为构成任意组合元件。例如,控制电路12、Wi-Fi芯片13和外设芯片14集成设置,或者,Wi-Fi芯片13和外设芯片14集成设置,或者,控制电路12和Wi-Fi芯片13集成设置,或者,控制电路12和外设芯片14集成设置,本申请实施例对此不做限定。In addition, the
其中,本申请实施例对开关电路15的类型和数量不做限定。可选地,开关电路15可以为如多刀多掷等开关集成器件,也可以为多个开关组合而成的电路。例如,当开关电路15的两个输出端分别电连接第一预设天线和第二预设天线时,开关电路15可以为双刀双掷开关。为了便于说明,图1中开关电路15为双刀双掷开关为例进行示意。The type and quantity of the
基于上述描述,外设芯片14在匹配成功外部设备时,可以向控制电路12发送匹配成功消息。其中,匹配成功消息可以包括但不限于数字、字母、二进制数值等各种形式。这样,控制电路12在接收到匹配成功消息时,可以获知存在外部设备需要与通信设备1进行通信。Based on the above description, when the
控制电路12在获知外部设备需要与通信设备1进行通信时,不仅需要向通信设备1提供用于Wi-Fi通信的Wi-Fi天线11,还需要向外部设备提供适用于与通信设备1进行通信的Wi-Fi天线11。进而,控制电路12基于前述描述内容,可以并行执行下述操作过程。When the
一方面,控制电路12通过导通开关电路15中与Wi-Fi芯片13电连接的输入端,和开关电路15中与第一预设天线电连接的输出端之间的通路,可以控制Wi-Fi芯片13与第一预设天线电连接,实现通信设备1的Wi-Fi通信。On the one hand, the
由于Wi-Fi芯片13与第一预设天线电连接,因此,Wi-Fi芯片13可以控制通信设备1通过第一预设天线进行Wi-Fi通信,如发送和接收通信设备1所需的Wi-Fi信号,以确保通信设备1可以正常Wi-Fi通信。Since the Wi-
另一方面,控制电路12通过导通开关电路15中与外设芯片14电连接的输入端,和开关电路15中与第二预设天线电连接的输出端之间的通路,可以控制外设芯片14与第二预设天线电连接,实现外部设备与通信设备1之间的通信。On the other hand, the
由于外设芯片14与第二预设天线电连接,因此,外设芯片14可以控制外部设备通过第二预设天线与通信设备1进行通信,如向通信设备1发送和接收Wi-Fi信号,使得第二预设天线可以作为外部设备与通信设备1进行通信的专用天线,以保证外部设备与通信设备1进行通信,不仅合理利用闲置Wi-Fi天线,无需单独配置Wi-Fi天线而降低成本(例如,为键盘鼠标单独配置2.4GHz或5GHz频段的Wi-Fi天线),解决了天线需要保证良好净空而导致性能较差的问题,有效降低了天线整体布局和设计的难度,还适用于时延较小的各种通信需求。Since the
需要说明的是,通信设备1还可以包括显示屏、保护壳、后盖、前框、电路板、电池等任意一个元器件,本申请实施例对此不做限定。It should be noted that the
本申请实施例提供的通信设备,通过事先从多个Wi-Fi天线中设置第一预设天线和第二预设天线,其中,第一预设天线用于通信设备进行Wi-Fi通信,第二预设天线用于外部设备与通信设备之间的通信。且开关电路的两个输出端分别与第一预设天线和第二预设天线电连接,开关电路的第一输入端与Wi-Fi芯片的信号端电连接,开关电路的第二输入端与外设芯片的信号端电连接,开关电路的控制端的输出端电连接,外设芯片的输出端与控制电路的输入端电连接。基于上述电连接关系,在外设芯片与外部设备匹配成功时,外设芯片可以向控制电路发送匹配成功消息。控制电路在接收到匹配成功消息时,可以通过开关电路控制Wi-Fi芯片与第一预设天线电连接且控制外设芯片与第二预设天线电连接。从而,Wi-Fi芯片可以控制通信设备通过第一预设天线进行Wi-Fi通信,外设芯片可以控制外部设备通过第二预设天线与通信设备进行通信。本申请实施例中,不仅可以保证通信设备的正常Wi-Fi通信,还可以合理利用闲置Wi-Fi天线实现通信设备与外部设备之间的通信,无需新增Wi-Fi天线而降低天线整体布局的难度,提高了Wi-Fi天线的利用率,提高了外部设备与通信设备之间的通信速率,满足了各种低时延场景,使得用户可以灵活操作,方便用户使用外部设备。In the communication device provided by the embodiment of the present application, a first preset antenna and a second preset antenna are set from multiple Wi-Fi antennas in advance, wherein the first preset antenna is used for the communication device to perform Wi-Fi communication, and the first preset antenna is used for Wi-Fi communication. Two preset antennas are used for communication between external devices and communication devices. And the two output ends of the switch circuit are electrically connected to the first preset antenna and the second preset antenna respectively, the first input end of the switch circuit is electrically connected to the signal end of the Wi-Fi chip, and the second input end of the switch circuit is electrically connected to the Wi-Fi chip. The signal terminal of the peripheral chip is electrically connected, the output terminal of the control terminal of the switch circuit is electrically connected, and the output terminal of the peripheral chip is electrically connected to the input terminal of the control circuit. Based on the above electrical connection relationship, when the peripheral chip and the external device are successfully matched, the peripheral chip can send a matching success message to the control circuit. When receiving the matching success message, the control circuit can control the Wi-Fi chip to be electrically connected to the first preset antenna and the peripheral chip to be electrically connected to the second preset antenna through the switch circuit. Thus, the Wi-Fi chip can control the communication device to perform Wi-Fi communication through the first preset antenna, and the peripheral chip can control the external device to communicate with the communication device through the second preset antenna. In the embodiment of the present application, not only the normal Wi-Fi communication of the communication device can be ensured, but also the idle Wi-Fi antenna can be reasonably used to realize the communication between the communication device and the external device, and the overall layout of the antenna is reduced without adding a Wi-Fi antenna. It improves the utilization rate of Wi-Fi antennas, improves the communication rate between external devices and communication devices, meets various low-latency scenarios, enables users to operate flexibly, and facilitates users to use external devices.
示例性地,在上述图1所示实施例的基础上,本申请实施例的通信设备1在保证正常Wi-Fi通信的前提下,还存在闲置的Wi-Fi天线11,故外设芯片14除了可以采用传统蓝牙技术之外,还可以借助闲置的Wi-Fi天线11,实现外部设备的搜索。下面,结合图2,对本申请实施例的外设芯片14利用Wi-Fi天线11搜索外部设备的实现过程进行详细说明。Exemplarily, on the basis of the above-mentioned embodiment shown in FIG. 1 , on the premise of ensuring normal Wi-Fi communication, the
本领域技术人员可以理解,通信设备1无论在不同应用场景中,通常会选用通信质量较优的Wi-Fi天线11进行Wi-Fi通信,以保证Wi-Fi通信的质量。本申请实施例中,Wi-Fi芯片13可以判断各个Wi-Fi天线11的通信质量,得到判断结果。其中,判断结果为第一目标天线的通信质量优于第二目标天线的通信质量。从而,第一目标天线可以用于通信设备1的Wi-Fi通信,第二目标天线可以用于外设芯片14搜索外部设备,使得第二目标天线可以作为外设芯片14搜索外部设备的专用天线。Those skilled in the art can understand that, no matter in different application scenarios, the
本申请实施例中,同一应用场景下,第一目标天线和第二目标天线不同。不同应用场景下,第一目标天线和第二目标天线可以相同,也可以不同。其中,第一目标天线的数量可以多个,以组成MIMO天线工作,也可以为一个,本申请实施例对此不做限定。第二目标天线的数量可以为一个,也可以为多个,以组成MIMO天线工作,本申请实施例对此也不做限定。In the embodiment of the present application, in the same application scenario, the first target antenna and the second target antenna are different. In different application scenarios, the first target antenna and the second target antenna may be the same or different. The number of the first target antennas may be multiple to form a MIMO antenna to work, or there may be one, which is not limited in this embodiment of the present application. The number of the second target antenna may be one or multiple, so as to form a MIMO antenna to work, which is also not limited in this embodiment of the present application.
其中,本申请实施例对各个Wi-Fi天线11的通信质量好坏的判定依据不做限定。例如,Wi-Fi芯片13可以根据采集到的各个Wi-Fi天线11的信号,确定各个Wi-Fi天线11的接收的信号强度指示(received signal strength indication,RSSI),并根据各个Wi-Fi天线11的RSSI,判断各个Wi-Fi天线11的通信质量。Wherein, the embodiments of the present application do not limit the basis for determining whether the communication quality of each Wi-Fi antenna 11 is good or bad. For example, the Wi-
本申请实施例中,开关电路15的每个输出端均电连接一个Wi-Fi天线11,即在开关电路15的输出一侧电连接有第一目标天线和第二目标天线。且开关电路15的第一输入端与Wi-Fi芯片13的信号端电连接,开关电路15的第二输入端与外设芯片14的信号端电连接。In the embodiment of the present application, each output end of the
这样,控制电路12的输出端通过与开关电路15的控制端电连接,可以控制开关电路15的任意一个输入端和任意一个输出端之间的通路的导通或者断开,以调节Wi-Fi芯片13和外设芯片14分别与任意一个Wi-Fi天线11是否电连接,即调节Wi-Fi芯片13和外设芯片14分别与第一目标天线和第二目标天线是否电连接。In this way, the output terminal of the
基于上述描述,如图2所示,Wi-Fi芯片13的输出端通过与控制电路12的第二输入端的电连接,可以向控制电路12发送该判断结果。其中,该判断结果可以包括但不限于数字、二级制数值、字母、文字等各种形式进行表示。从而,控制电路12可以在接收到该判断结果时,可以获知第一目标天线的通信质量优于第二目标天线的通信质量,并可以通过第一目标天线实现通信设备1的Wi-Fi通信,以及通过第二目标天线实现外设芯片14搜索外部设备的过程。Based on the above description, as shown in FIG. 2 , the output terminal of the Wi-
进而,控制电路12可以并行执行下述操作过程。Furthermore, the
一方面,控制电路12通过导通开关电路15中与Wi-Fi芯片13电连接的输入端,和开关电路15中与第一目标天线电连接的输出端之间的通路,可以控制Wi-Fi芯片13与第一目标天线电连接,实现通信设备1的Wi-Fi通信。On the one hand, the
由于Wi-Fi芯片13与第一目标天线电连接,因此,Wi-Fi芯片13可以控制通信设备1通过第一目标天线进行Wi-Fi通信,如发送和接收通信设备1所需的Wi-Fi信号,以确保通信设备1可以正常Wi-Fi通信。Since the Wi-
另一方面,控制电路12通过导通开关电路15中与外设芯片14电连接的输入端,和开关电路15中与第二目标天线电连接的输出端之间的通路,可以控制外设芯片14与第二目标天线电连接,实现外设芯片14搜索外部设备的功能。On the other hand, the
由于外设芯片14与第二目标天线电连接,因此,外设芯片14可以控制外设芯片14通过第二目标天线搜索外部设备。例如,在外部设备启动且置于距外设芯片14一定范围内,外设芯片14便可通过第二目标天线搜索到外部设备。进而,外设芯片14可以与搜索到的外部设备进行匹配,如检查外部设备是否为授权设备、判断外部设备运行环境是否安全等。一般情况下,若外部设备与外设芯片14未匹配过,则外设芯片14可以与搜索到的外部设备进行匹配。若外部设备与外设芯片14匹配成功过,则外设芯片14可以直接与搜索到的外部设备匹配成功。Since the
本申请实施例提供的通信设备,通过开关电路的两个输出端分别与第一目标天线和第二目标天线电连接,开关电路的第一输入端与Wi-Fi芯片的信号端电连接,开关电路的第二输入端与外设芯片的信号端电连接,Wi-Fi芯片的输出端与控制电路的输入端电连接,控制电路的输出端与开关电路的控制端电连接。基于上述电连接关系,Wi-Fi芯片可以判断多个Wi-Fi天线的通信质量,并向控制电路发送判断结果,其中,该判断结果为第一目标天线的通信质量优于第二目标天线的通信质量。控制电路在接收到判断结果时,可以确定第一目标天线用于通信设进行Wi-Fi通信,第二目标天线用于外设芯片搜索外部设备,便可通过开关电路控制Wi-Fi芯片与第一目标天线电连接且控制外设备芯片与第二目标天线电连接。从而,Wi-Fi芯片可以控制通信设备通过第一目标天线进行Wi-Fi通信,外设芯片可以控制外设芯片通过第二目标天线搜索外部设备。本申请实施例中,不仅可以保证通信设备的正常Wi-Fi通信,还可以合理利用闲置Wi-Fi天线,实现外设芯片搜索外部设备的过程,提高了Wi-Fi天线的利用率,使得Wi-Fi天线得以优化复用,在减少Wi-Fi天线数量的同时,有效保证了Wi-Fi天线的使用性能。In the communication device provided by the embodiment of the present application, the two output ends of the switch circuit are respectively electrically connected to the first target antenna and the second target antenna, the first input end of the switch circuit is electrically connected to the signal end of the Wi-Fi chip, and the switch circuit is electrically connected to the signal end of the Wi-Fi chip. The second input end of the circuit is electrically connected to the signal end of the peripheral chip, the output end of the Wi-Fi chip is electrically connected to the input end of the control circuit, and the output end of the control circuit is electrically connected to the control end of the switch circuit. Based on the above electrical connection relationship, the Wi-Fi chip can judge the communication quality of multiple Wi-Fi antennas, and send a judgment result to the control circuit, wherein the judgment result is that the communication quality of the first target antenna is better than that of the second target antenna. communication quality. When the control circuit receives the judgment result, it can determine that the first target antenna is used for the communication device to perform Wi-Fi communication, and the second target antenna is used for the peripheral chip to search for external devices, and the switch circuit can control the Wi-Fi chip and the first target antenna. A target antenna is electrically connected and the control peripheral chip is electrically connected with the second target antenna. Thus, the Wi-Fi chip can control the communication device to perform Wi-Fi communication through the first target antenna, and the peripheral chip can control the peripheral chip to search for external devices through the second target antenna. In the embodiment of the present application, not only the normal Wi-Fi communication of the communication device can be ensured, but also the idle Wi-Fi antenna can be reasonably used to realize the process of searching for external devices by the peripheral chip, which improves the utilization rate of the Wi-Fi antenna and makes the Wi-Fi antenna more efficient. -Fi antennas are optimized for reuse, which effectively ensures the performance of Wi-Fi antennas while reducing the number of Wi-Fi antennas.
另外,在通信设备1通过第一目标天线进行Wi-Fi通信,以及外设芯片14通过第二目标天线搜索并匹配成功外部设备时,外设芯片14可以向控制电路12发送匹配成功消息,使得控制电路12获知存在外部设备需要与通信设备1进行通信。从而,控制电路12可以确定需要控制Wi-Fi芯片13与第一预设天线电连接,且需要控制外设芯片14与第二预设天线电连接。In addition, when the
由于Wi-Fi芯片13与第一预设天线是否电连接以及外设芯片14与第二预设天线是否电连接,取决于开关电路15的输入端和输出端之间的通路的导通或者断开,因此,控制电路12可以事先设置Wi-Fi芯片13通过开关电路15与第一预设天线电连接,且外设芯片14通过开关电路15与第二预设天线电连接的状态为预设状态。Whether the Wi-
为了实现上述过程,控制电路12可以将开关电路15的当前状态调整为预设状态。由于此时,Wi-Fi芯片13通过开关电路15已与第一目标天线电连接,外设芯片14通过开关电路15已与第二目标天线电连接,因此,控制电路12可以获取开关电路15的当前状态,即当前状态为Wi-Fi芯片13通过开关电路15与第一目标天线电连接,且外设芯片14通过开关电路15与第二目标天线电连接的状态。从而,控制电路12可以判断开关电路15的当前状态是否预设状态,调节Wi-Fi芯片13和外设芯片14各自与Wi-Fi天线11的电连接关系,使得Wi-Fi芯片13可以与第一预设天线电连接且外设芯片14与第二预设天线电连接。In order to realize the above process, the
在控制电路12判断开关电路15的当前状态为预设状态时,控制电路12可以锁定开关电路15的当前状态,使得Wi-Fi芯片13可以控制通信设备1通过第一目标天线(即第一预设天线)进行Wi-Fi通信,以及外设芯片14控制外部设备通过第二目标天线(即第二预设天线)与通信设备1之间进行通信。When the
在控制电路12判断开关电路15的当前状态不为预设状态时,控制电路12可以将开关电路15的当前状态更新为预设状态,使得Wi-Fi芯片13可以通过开关电路15切换至与第一预设天线电连接,实现通信设备1通过第一预设天线进行Wi-Fi通信的过程,且外设芯片14可以通过开关电路15切换至与第二预设天线电连接,实现外部设备通过第二预设天线与通信设备1之间的通信过程。When the
可选地,控制电路12在将开关电路15的当前状态更新为预设状态之后,还可以锁定开关电路15的当前状态,即Wi-Fi芯片13与第一预设天线电连接且外设芯片14与第二预设天线电连接的状态。Optionally, after updating the current state of the
本申请实施例中,在通信设备通过第一目标天线进行Wi-Fi通信,且外设芯片通过第二目标Wi-Fi天线搜索外部设备之后,当外设芯片与外部设备匹配成功时,控制电路可以判断开关电路的当前状态是否为预设状态。若是,则控制电路可以确定第一目标天线即第一预设天线,第二目标天线即第二预设天线,便可锁定开关电路的当前状态。若否,则控制电路可以将开关电路的当前状态调整为预设状态,使得Wi-Fi芯片与第一预设天线电连接且外设芯片与第二预设天线电连接。从而,通信设备可以通过第一预设天线进行Wi-Fi通信,且外部设备可以通过第二预设天线与通信设备进行通信。In the embodiment of the present application, after the communication device performs Wi-Fi communication through the first target antenna, and the peripheral chip searches for the external device through the second target Wi-Fi antenna, when the peripheral chip and the external device are successfully matched, the control circuit It can be determined whether the current state of the switch circuit is a preset state. If so, the control circuit can determine that the first target antenna is the first preset antenna, and the second target antenna is the second preset antenna, and the current state of the switch circuit can be locked. If not, the control circuit can adjust the current state of the switch circuit to a preset state, so that the Wi-Fi chip is electrically connected to the first preset antenna and the peripheral chip is electrically connected to the second preset antenna. Thus, the communication device can perform Wi-Fi communication through the first preset antenna, and the external device can communicate with the communication device through the second preset antenna.
示例性地,本申请实施例中,第一预设天线和第二预设天线可以处于通信设备1的任意位置,通常结合实际经验进行设置。下面,结合图3-图4,对第一预设天线和第二预设天线的位置进行描述。为了便于说明,以多个Wi-Fi天线11包括第一Wi-Fi天线和第二Wi-Fi天线为例进行示意。Exemplarily, in this embodiment of the present application, the first preset antenna and the second preset antenna may be located at any position of the
本领域技术人员可以理解,当用户两手握着通信设备1的短边时,通信设备1通常处于横屏状态下,如图3所示。当用户两手握着通信设备1的长边时,通信设备1通常处于竖屏状态下,如图4所示。需要说明的是,上述方式仅是定义通信设备1处于竖屏状态和横屏状态下的一种可选方式,本申请实施例不限于此种方式。Those skilled in the art can understand that when the user holds the short sides of the
如图3所示,当通信设备1处于横屏状态时,用户更容易手握通信设备1的短边且靠近通信设备1的底边的位置区域,不易手握通信设备1的其他位置区域。如图4所示,当通信设备1处于竖屏状态时,用户更容易手握通信设备1的长边且靠近通信设备1的底边的位置区域,不易手握通信设备1的其他位置区域。As shown in FIG. 3 , when the
基于上述描述,结合图3和图4,为了适用于通信设备1处于竖屏状态和横屏状态下的不同场景,本申请实施例可以将第二Wi-Fi天线(图3和图4中以一个第二Wi-Fi天线为例进行示意)设置在位于通信设备1处于横屏状态下的上半部区域中,避免通信设备1处于横屏状态下第二Wi-Fi天线被遮挡。本申请实施例可以将第一Wi-Fi天线(图3和图4中以一个第一Wi-Fi天线为例进行示意)设置在位于通信设备1处于竖屏状态下的上半部区域中,避免通信设备1处于竖屏状态下第一Wi-Fi天线被遮挡。Based on the above description and in conjunction with FIG. 3 and FIG. 4 , in order to apply to different scenarios in which the
其中,本申请实施例对第一Wi-Fi天线和第二Wi-Fi天线的具体位置和数量均不做限定。例如,在通信设备1处于横屏状态下,第二Wi-Fi天线可以位于通信设备1的顶部的中心位置。在通信设备1处于竖屏状态下,第一Wi-Fi天线可以位于通信设备1的顶部的中心位置。Wherein, the embodiments of the present application do not limit the specific positions and numbers of the first Wi-Fi antenna and the second Wi-Fi antenna. For example, when the
又由于通信设备1处于横屏状态时紧贴桌面等支撑结构,而降低第一Wi-Fi天线的性能,因此,本申请实施例在将第一Wi-Fi天线设置在位于通信设备1处于竖屏状态下的上半部区域中的基础上,还需要设置第一Wi-Fi天线距通信设备1处于横屏状态下的底边存在预设距离。其中,预设距离可以结合实际经验进行设备,本申请实施例对此不做限定。In addition, since the
如图3所示,在通信设备1处于横屏状态时,相比第二Wi-Fi天线而言,第一Wi-Fi天线更容易被手握而性能下降,因此,本申请实施例可以事先将第二Wi-Fi天线设置为第一预设天线,将一第Wi-Fi天线设置为第二预设天线。As shown in FIG. 3 , when the
如图4所示,在通信设备1处于竖屏状态时,相比第一Wi-Fi天线而言,第二Wi-Fi天线更容易被手握而性能下降,因此,本申请实施例可以事先将第一Wi-Fi天线设置为第一预设天线,将第二Wi-Fi天线设置为第二预设天线。As shown in FIG. 4 , when the
在上述图3-图4所示实施例的基础上,如图5所示(为了便于说明,图5仅示出以图3所示实施例作为基础),通信设备1还可以包括:第三Wi-Fi天线(图5中以一个第三Wi-Fi天线为例进行示意)。其中,Wi-Fi芯片13的另一信号端与第三Wi-Fi天线电连接。On the basis of the above-mentioned embodiments shown in FIGS. 3-4 , as shown in FIG. 5 (for the convenience of description, FIG. 5 only shows the embodiment shown in FIG. 3 as the basis), the
由于第三Wi-Fi天线位于通信设备1处于竖屏状态下的上半部区域,且位于通信设备1处于横屏状态下的上半部区域,因此,无论通信设备1处于横屏状态还是竖屏状态,第三Wi-Fi天线均不容易被手握。Since the third Wi-Fi antenna is located in the upper half area of the
基于上述描述,第三Wi-Fi天线可以用于通信设备1的Wi-Fi通信,以确保通信设备1的Wi-Fi通信。在通信设备1处于横屏状态时,第二Wi-Fi天线和第三Wi-Fi天线可以共同组成MIMO天线,实现通信设备1的Wi-Fi通信。在通信设备1处于竖屏状态时,第一Wi-Fi天线和第三Wi-Fi天线可以共同组成MIMO天线,实现通信设备1的Wi-Fi通信。Based on the above description, the third Wi-Fi antenna can be used for the Wi-Fi communication of the
其中,本申请实施例对第三Wi-Fi天线的具体位置和数量均不做限定。例如,在通信设备1处于横屏状态下,第三Wi-Fi天线可以位于通信设备1的顶部的中心位置。在通信设备1处于竖屏状态下,第三Wi-Fi天线可以位于通信设备1的顶部的中心位置。Wherein, the embodiment of the present application does not limit the specific position and quantity of the third Wi-Fi antenna. For example, when the
继续结合图5,通信设备1还可以包括:外设充电接口16(图5中以多个圆圈对外设充电接口16进行示意)。其中,外设充电接口16位于通信设备1处于第一状态下的下半部区域,外设充电接口16靠近下方部区域的底边,便于通信设备1向外部设备充电。Continuing with reference to FIG. 5 , the
其中,本申请实施例对外设充电接口16的具体位置、数量和类型皆不做限定。另外,第一状态可以为横屏状态,也可以为竖屏状态,本申请实施例对此不做限定。例如,在通信设备1处于横屏状态下,外设充电接口16可以位于通信设备1的底边的中心位置。在通信设备1处于竖屏状态下,外设充电接口16可以位于通信设备1的底边的中心位置。Wherein, the embodiment of the present application does not limit the specific location, quantity and type of the peripheral charging
例如,若通信设备1为平板,则平板套上平板套,将外部设备放置在平板套上,此时,平板可以通过外设充电接口16借助平板套向外部设备充电。需要说明的是,上述充电方式仅是一种通信设备1通过外设充电接口16向外部设备充电的实例性方式,本申请实施例不限于上述充电方式。For example, if the
示例性地,本申请实施例还提供一种天线切换方法,该天线切换方法可以由上述图1-图5所示实施例的通信设备通过软件和/或硬件的方式实现,可通过事先从多个Wi-Fi天线中设置第一预设天线和第二预设天线,其中,第一预设天线用于通信设备进行Wi-Fi通信,第二预设天线用于外部设备与通信设备之间的通信,从而基于通信设备中各个元器件的电连接关系,不仅可以通过第一预设天线实现通信设备的正常Wi-Fi通信,还可以利用闲置Wi-Fi天线(即第二预设天线)实现通信设备与外部设备之间的通信,提高了Wi-Fi天线的利用率,提高了外部设备与通信设备之间的通信速率,满足了操作低时延的各种场景,保障了用户的灵活操作和方便使用。Exemplarily, an embodiment of the present application further provides an antenna switching method. The antenna switching method can be implemented by means of software and/or hardware by the communication device of the embodiment shown in FIG. 1 to FIG. A first preset antenna and a second preset antenna are set in each of the Wi-Fi antennas, wherein the first preset antenna is used for the communication device to perform Wi-Fi communication, and the second preset antenna is used between the external device and the communication device Therefore, based on the electrical connection relationship of various components in the communication device, not only can the normal Wi-Fi communication of the communication device be realized through the first preset antenna, but also the idle Wi-Fi antenna (ie the second preset antenna) can be used. Realize the communication between the communication device and the external device, improve the utilization rate of the Wi-Fi antenna, improve the communication rate between the external device and the communication device, meet various scenarios with low operation delay, and ensure the flexibility of users. Operation and ease of use.
图6为本申请实施例提供的一种示例性的天线切换方法的流程图。如图6所示,本申请实施例的天线切换方法可以包括:FIG. 6 is a flowchart of an exemplary antenna switching method provided by an embodiment of the present application. As shown in FIG. 6 , the antenna switching method in this embodiment of the present application may include:
S101、外设芯片向控制电路发送匹配成功消息,其中,匹配成功消息用于表示外设芯片与外部设备匹配成功。S101. The peripheral chip sends a matching success message to the control circuit, wherein the matching success message is used to indicate that the peripheral chip and the external device are successfully matched.
S102、控制电路在接收到匹配成功消息时,控制Wi-Fi芯片通过开关电路切换至与第一预设天线电连接,控制外设芯片通过开关电路切换至与第二预设天线电连接,其中,第一预设天线和第二预设天线为事先从多个Wi-Fi天线中设置的,第一预设天线用于通信设备的Wi-Fi通信,第二预设天线用于外部设备与通信设备之间的通信。S102. When receiving the matching success message, the control circuit controls the Wi-Fi chip to be switched to be electrically connected to the first preset antenna through the switch circuit, and the peripheral chip to be switched to be electrically connected to the second preset antenna through the switch circuit, wherein , the first preset antenna and the second preset antenna are set in advance from multiple Wi-Fi antennas, the first preset antenna is used for Wi-Fi communication of the communication device, and the second preset antenna is used for external devices to communicate with Communication between communication devices.
S103、Wi-Fi芯片控制通信设备通过第一预设天线进行Wi-Fi通信。S103 , the Wi-Fi chip controls the communication device to perform Wi-Fi communication through the first preset antenna.
S104、外设芯片控制外部设备通过第二预设天线与通信设备进行通信。S104, the peripheral chip controls the external device to communicate with the communication device through the second preset antenna.
本申请实施例提供的天线切换方法可采用上述图1实施例通信设备来执行过程,其实现方式和技术效果类似,本申请实施例此处不再赘述。The antenna switching method provided in the embodiment of the present application may use the communication device in the embodiment of FIG. 1 to perform the process, and the implementation manner and technical effect thereof are similar, and details are not described herein again in the embodiment of the present application.
示例性地,本申请实施例的天线切换方法还可以在确定第一目标天线的通信质量优于第二目标天线的通信质量时,基于通信设备中各个元器件的电连接关系,不仅可以通过第一目标天线实现通信设备的正常Wi-Fi通信,还可以利用闲置Wi-Fi(即第二目标天线)实现外设芯片搜索外部设备的过程,提高了Wi-Fi天线的利用率。Exemplarily, when it is determined that the communication quality of the first target antenna is better than the communication quality of the second target antenna, based on the electrical connection relationship of each component in the communication device, not only can A target antenna realizes the normal Wi-Fi communication of the communication device, and the idle Wi-Fi (ie, the second target antenna) can also be used to realize the process of searching for external devices by the peripheral chip, which improves the utilization rate of the Wi-Fi antenna.
图7为本申请实施例提供的一种示例性的天线切换方法的流程图。如图7所示,本申请实施例的天线切换方法可以包括:FIG. 7 is a flowchart of an exemplary antenna switching method provided by an embodiment of the present application. As shown in FIG. 7 , the antenna switching method in this embodiment of the present application may include:
S201、Wi-Fi芯片判断多个Wi-Fi天线的通信质量。S201, the Wi-Fi chip judges the communication quality of the multiple Wi-Fi antennas.
S202、Wi-Fi芯片向控制电路发送判断结果,其中,判断结果为第一目标天线的通信质量优于第二目标天线的通信质量,第一目标天线用于通信设备的Wi-Fi通信,第二目标天线用于外设芯片搜索外部设备。S202. The Wi-Fi chip sends a judgment result to the control circuit, wherein the judgment result is that the communication quality of the first target antenna is better than the communication quality of the second target antenna, the first target antenna is used for Wi-Fi communication of the communication device, and the first target antenna is used for Wi-Fi communication of the communication device. Two target antennas are used for peripheral chips to search for external devices.
S203、控制电路在接收到判断结果时,控制Wi-Fi芯片通过开关电路切换至与第一目标天线电连接,控制外设芯片通过开关电路切换至与第二目标天线电连接。S203. When receiving the judgment result, the control circuit controls the Wi-Fi chip to be switched to be electrically connected to the first target antenna through the switch circuit, and the peripheral chip to be switched to be electrically connected to the second target antenna through the switch circuit.
S204、Wi-Fi芯片控制通信设备通过第一目标天线进行Wi-Fi通信。S204, the Wi-Fi chip controls the communication device to perform Wi-Fi communication through the first target antenna.
S205、外设芯片控制外设备芯片通过第二目标天线搜索外部设备。S205, the peripheral chip controls the peripheral chip to search for the external device through the second target antenna.
本申请实施例提供的天线切换方法可采用上述图2实施例通信设备来执行过程,其实现方式和技术效果类似,本申请实施例此处不再赘述。The antenna switching method provided in the embodiment of the present application may use the communication device in the embodiment of FIG. 2 to perform the process, and the implementation manner and technical effect thereof are similar, and details are not described herein again in the embodiment of the present application.
另外,通信设备可以执行图7所示的各个步骤,使得通信设备通过第一目标天线进行Wi-Fi通信,且外设备芯片通过第二目标天线搜索外部设备。当外设芯片利用第二目标天线搜索外部设备且成功匹配外部设备时,通信设备可以执行图6所示的各个步骤,使得通信设备通过第一预设天线进行Wi-Fi通信,且外部设备通过第二预设天线与通信设备进行通信。In addition, the communication device may perform each step shown in FIG. 7 , so that the communication device performs Wi-Fi communication through the first target antenna, and the external device chip searches for the external device through the second target antenna. When the peripheral chip uses the second target antenna to search for the external device and successfully matches the external device, the communication device may perform the steps shown in FIG. 6 , so that the communication device performs Wi-Fi communication through the first preset antenna, and the external device The second preset antenna communicates with the communication device.
然而,由于图7所示步骤结束时,Wi-Fi芯片与第一目标天线电连接,且外设芯片与第二目标天线电连接,可见,开关电路的当前状态为Wi-Fi芯片通过开关电路与第一目标天线电连接,且外设芯片通过开关电路与第二目标天线电连接的状态。然而,图6所示步骤中,Wi-Fi芯片需要与第一预设天线电连接,且外设芯片需要与第二预设天线电连接。为了方便说明,可将开关电路的预设状态事先设置为Wi-Fi芯片通过开关电路与第一预设天线电连接,且外设芯片通过开关电路电与第二预设天线电连接的状态。However, since the Wi-Fi chip is electrically connected to the first target antenna and the peripheral chip is electrically connected to the second target antenna at the end of the step shown in FIG. 7 , it can be seen that the current state of the switch circuit is that the Wi-Fi chip passes through the switch circuit A state in which it is electrically connected to the first target antenna, and the peripheral chip is electrically connected to the second target antenna through a switch circuit. However, in the step shown in FIG. 6 , the Wi-Fi chip needs to be electrically connected to the first predetermined antenna, and the peripheral chip needs to be electrically connected to the second predetermined antenna. For convenience of description, the preset state of the switch circuit can be set as a state in which the Wi-Fi chip is electrically connected to the first preset antenna through the switch circuit, and the peripheral chip is electrically connected to the second preset antenna through the switch circuit.
基于上述描述,在通信设备执行图6所示步骤之前,可选地,控制电路可以判断开关电路的当前状态是否预设状态。Based on the above description, before the communication device performs the steps shown in FIG. 6 , optionally, the control circuit may determine whether the current state of the switch circuit is a preset state.
在控制电路判断开关电路的当前状态为预设状态时,控制电路可以锁定开关电路的当前状态,使得Wi-Fi芯片控制通信设备通过第一目标天线(即第一预设天线)进行Wi-Fi通信且外设芯片控制外部设备通过第二目标天线(即第二预设天线)与通信设备进行通信。When the control circuit determines that the current state of the switch circuit is the preset state, the control circuit can lock the current state of the switch circuit, so that the Wi-Fi chip controls the communication device to perform Wi-Fi through the first target antenna (ie, the first preset antenna). Communication and the peripheral chip controls the external device to communicate with the communication device through the second target antenna (ie, the second preset antenna).
在控制电路判断开关电路的当前状态不为预设状态时,控制电路可以将开关电路的当前状态更新为预设状态,以控制Wi-Fi芯片通过开关电路切换至与第一预设天线电连接且控制外设芯片通过开关电路切换至与第二预设天线电连接。When the control circuit determines that the current state of the switch circuit is not the preset state, the control circuit can update the current state of the switch circuit to the preset state, so as to control the Wi-Fi chip to switch to be electrically connected to the first preset antenna through the switch circuit And the control peripheral chip is switched to be electrically connected with the second preset antenna through the switch circuit.
可选地,控制电路在将开关电路的当前状态更新为预设状态之后,还可以锁定开关电路的当前状态,即Wi-Fi芯片与第一预设天线电连接且外设芯片与第二预设天线电连接的状态。Optionally, after updating the current state of the switch circuit to a preset state, the control circuit can also lock the current state of the switch circuit, that is, the Wi-Fi chip is electrically connected to the first preset antenna and the peripheral chip is electrically connected to the second preset state. Set the state of the electrical connection of the antenna.
本申请实施例中,在通信设备通过第一目标天线进行Wi-Fi通信,且外设芯片通过第二目标Wi-Fi天线搜索外部设备之后,当外设芯片与外部设备匹配成功时,控制电路可以判断开关电路的当前状态是否为预设状态。若是,则控制电路可以确定第一目标天线即第一预设天线,第二目标天线即第二预设天线,便可锁定开关电路的当前状态。若否,则控制电路可以将开关电路的当前状态调整为预设状态,使得Wi-Fi芯片与第一预设天线电连接且外设芯片与第二预设天线电连接。从而,通信设备可以通过第一预设天线进行Wi-Fi通信,且外部设备可以通过第二预设天线与通信设备进行通信。In the embodiment of the present application, after the communication device performs Wi-Fi communication through the first target antenna, and the peripheral chip searches for the external device through the second target Wi-Fi antenna, when the peripheral chip and the external device are successfully matched, the control circuit It can be determined whether the current state of the switch circuit is a preset state. If so, the control circuit can determine that the first target antenna is the first preset antenna, and the second target antenna is the second preset antenna, and the current state of the switch circuit can be locked. If not, the control circuit can adjust the current state of the switch circuit to a preset state, so that the Wi-Fi chip is electrically connected to the first preset antenna and the peripheral chip is electrically connected to the second preset antenna. Thus, the communication device can perform Wi-Fi communication through the first preset antenna, and the external device can communicate with the communication device through the second preset antenna.
示例性的,本申请实施例还提供一种通信设备,图8为本申请实施例提供的一种示例性的通信设备的硬件结构示意图,如图8所示,该通信设备可以包括但不限于终端,其中,终端:可以是无线终端也可以是有线终端,无线终端可以是指一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。终端可以是个人计算机、游戏机、MP3播放器、手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、打印机、虚拟现实(Virtual Reality,VR)终端、增强现实(Augmented Reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等,在此不作限定,用于实现上述图6-图7所示方法实施例中对应于通信设备通过软件和/或硬件的操作。本申请实施例的通信设备100可以包括:存储器101和处理器102。存储器101与处理器102可以通过总线103连接。Exemplarily, an embodiment of the present application further provides a communication device, and FIG. 8 is a schematic diagram of a hardware structure of an exemplary communication device provided by an embodiment of the present application. As shown in FIG. 8 , the communication device may include but is not limited to Terminal, where the terminal: can be a wireless terminal or a wired terminal, and a wireless terminal can refer to a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on water On board (such as ships, etc.); can also be deployed in the air (such as planes, balloons and satellites, etc.). The terminal may be a personal computer, a game console, an MP3 player, a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a printer, a virtual reality (Virtual Reality, VR) terminal, an augmented reality (Augmented Reality, AR) terminal, wireless terminal in industrial control, wireless terminal in self driving, wireless terminal in remote medical, wireless terminal in smart grid, transportation Wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc., are not limited here, and are used to implement the above-mentioned Figures 6-7. The method embodiments correspond to the operation of the communication device through software and/or hardware. The
存储器101,用于存储程序代码;a
处理器102,调用程序代码,当程序代码被执行时,用于执行上述任一实施例中的天线切换方法。具体可以参见前述方法实施例中的相关描述。The
可选地,本申请实施例还包括通信接口104,该通信接口104可以通过总线103与处理器102连接。处理器102可以控制通信接口103来实现通信设备100的上述的接收和发送的功能。Optionally, this embodiment of the present application further includes a communication interface 104 , and the communication interface 104 may be connected to the
本申请实施例的通信设备,可以用于执行上述各方法实施例中的技术方案,其实现原理和技术效果类似,此处不再赘述。The communication device in the embodiment of the present application can be used to execute the technical solutions in the above method embodiments, and the implementation principle and technical effect thereof are similar, and are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本申请实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solutions of the embodiments of the present application.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。上述模块成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional module in each embodiment of the present application may be integrated in one processing unit, or each module may exist physically alone, or two or more modules may be integrated in one unit. The units formed by the above modules can be implemented in the form of hardware, or can be implemented in the form of hardware plus software functional units.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例所述方法的部分步骤。The above-mentioned integrated modules implemented in the form of software functional modules may be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present application. part of the method.
应理解,上述处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合发明所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that the above-mentioned processor may be a central processing unit (English: Central Processing Unit, referred to as: CPU), and may also be other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as: DSP), application-specific integrated circuits (English: Application Specific Integrated Circuit, referred to as: ASIC) and so on. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the invention can be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如至少一个磁盘存储器,还可以为U盘、移动硬盘、只读存储器、磁盘或光盘等。The memory may include high-speed RAM memory, and may also include non-volatile storage NVM, such as at least one magnetic disk memory, and may also be a U disk, a removable hard disk, a read-only memory, a magnetic disk or an optical disk, and the like.
总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(ExtendedIndustry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus may be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component (Peripheral Component, PCI) bus, or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus and so on. For convenience of representation, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
本申请还提供一种可读存储介质,可读存储介质中存储有执行指令,当通信设备的至少一个处理器执行该执行指令时,通信设备执行上述方法实施例中的天线切换方法。The present application further provides a readable storage medium, where an execution instruction is stored in the readable storage medium, and when at least one processor of a communication device executes the execution instruction, the communication device executes the antenna switching method in the above method embodiments.
本申请还提供一种芯片,所述芯片与存储器相连,或者所述芯片上集成有存储器,当所述存储器中存储的软件程序被执行时,实现上述方法实施例中的天线切换方法。The present application further provides a chip, where the chip is connected to a memory, or a memory is integrated on the chip, and when a software program stored in the memory is executed, the antenna switching method in the above method embodiments is implemented.
本申请还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。通信设备的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得通信设备实施上述方法实施例中的天线切换方法。The present application also provides a program product including execution instructions stored in a readable storage medium. At least one processor of the communication device can read the execution instruction from the readable storage medium, and the execution of the execution instruction by the at least one processor causes the communication device to implement the antenna switching method in the above method embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.
Claims (16)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910645765.3A CN112242863B (en) | 2019-07-17 | 2019-07-17 | Communication equipment and antenna switching method |
PCT/CN2020/102573 WO2021008597A1 (en) | 2019-07-17 | 2020-07-17 | Communication device and antenna switching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910645765.3A CN112242863B (en) | 2019-07-17 | 2019-07-17 | Communication equipment and antenna switching method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112242863A CN112242863A (en) | 2021-01-19 |
CN112242863B true CN112242863B (en) | 2022-07-12 |
Family
ID=74166975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910645765.3A Active CN112242863B (en) | 2019-07-17 | 2019-07-17 | Communication equipment and antenna switching method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112242863B (en) |
WO (1) | WO2021008597A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103108414A (en) * | 2013-01-07 | 2013-05-15 | 华为终端有限公司 | Mobile terminal and signal processing method of mobile terminal |
CN106571855A (en) * | 2015-10-06 | 2017-04-19 | 宏达国际电子股份有限公司 | Electronic device and control method thereof |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8995934B2 (en) * | 2011-12-14 | 2015-03-31 | Apple Inc. | Wireless communications circuitry with a triplexer for separating radio-frequency signals in adjacent frequency bands |
US9532272B2 (en) * | 2012-07-02 | 2016-12-27 | Mediatek Inc. | Methods for managing radio resources between multiple radio modules and communications apparatus utilizing the same |
WO2014179403A1 (en) * | 2013-04-30 | 2014-11-06 | Waterloo Industries, Inc. | Electronic storage device access systems and methods |
CN203433477U (en) * | 2013-08-22 | 2014-02-12 | 中国科学院半导体研究所 | Wireless mouse with Wi-Fi function |
US9451630B2 (en) * | 2013-11-14 | 2016-09-20 | Apple Inc. | Dynamic configuration of wireless circuitry to mitigate interference among components in a computing device |
US9853681B2 (en) * | 2014-11-03 | 2017-12-26 | Apple Inc. | Arbitrator for multi-radio antenna switching |
KR102332117B1 (en) * | 2016-07-21 | 2021-11-30 | 삼성전자주식회사 | the Antenna for Wireless Communication and the Electronic Device including the same |
CN206099965U (en) * | 2016-10-27 | 2017-04-12 | 北京智芯微电子科技有限公司 | A single-chip Wi‑Fi module |
US9942849B1 (en) * | 2017-05-19 | 2018-04-10 | Apple Inc. | Bluetooth# low-energy scanning and ranging |
US10587329B2 (en) * | 2017-09-22 | 2020-03-10 | Qualcomm Incorporated | Transmit antenna diversity in radio front end architectures |
WO2019071411A1 (en) * | 2017-10-10 | 2019-04-18 | 深圳传音制造有限公司 | Mobile terminal and control method therefor |
CN107968252A (en) * | 2017-11-30 | 2018-04-27 | 维沃移动通信有限公司 | A kind of antenna assembly and mobile terminal |
CN208127406U (en) * | 2017-12-28 | 2018-11-20 | 广东欧珀移动通信有限公司 | Antenna assembly and terminal device |
CN109450496B (en) * | 2018-10-11 | 2021-10-22 | 展讯通信(上海)有限公司 | Antenna sharing system and terminal |
-
2019
- 2019-07-17 CN CN201910645765.3A patent/CN112242863B/en active Active
-
2020
- 2020-07-17 WO PCT/CN2020/102573 patent/WO2021008597A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103108414A (en) * | 2013-01-07 | 2013-05-15 | 华为终端有限公司 | Mobile terminal and signal processing method of mobile terminal |
CN106571855A (en) * | 2015-10-06 | 2017-04-19 | 宏达国际电子股份有限公司 | Electronic device and control method thereof |
Non-Patent Citations (1)
Title |
---|
Compact Active Multiband Cellular Antenna for Mobile Handsets;Anders Thornell-Pers;《2007 International workshop on Antenna Technology: Small and Smart Antennas Metamaterials and Applications》;20070611;第81-84页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112242863A (en) | 2021-01-19 |
WO2021008597A1 (en) | 2021-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110149132A (en) | A kind of switching method and terminal device of transmitting antenna | |
JP3155578U (en) | Input device for switching transmission | |
CN111565078B (en) | Channel detection method, radio frequency circuit and electronic equipment in frequency division duplex mode | |
CN107124212A (en) | Mobile terminal, its antenna switching method, and antenna switching device | |
CN110190916B (en) | Power detection circuit and terminal | |
WO2019105449A1 (en) | Antenna device and mobile terminal | |
CN109362121B (en) | Sharing method and device of wireless local area network, storage medium and terminal | |
CN106849987A (en) | A kind of antenna switching control method and terminal | |
CN108494444A (en) | Method of controlling antenna, antenna module, electronic equipment and storage medium | |
CN105491190A (en) | Multi-antenna selection method and mobile terminal | |
KR20210058077A (en) | Electronic device for managing coexistence of a plurality of communication method and operating method thereof | |
CN111313915B (en) | an electronic device | |
WO2023072153A1 (en) | Antenna control method and related device | |
CN108540152A (en) | Processing method and device for radio frequency interference, storage medium and electronic equipment | |
US20110217932A1 (en) | Input device with multi-object switch linkages | |
CN108494464A (en) | Method of controlling antenna, antenna module, electronic equipment and storage medium | |
CN110166146A (en) | A kind of power-sensing circuit and terminal | |
US20240193119A1 (en) | Electronic device for setting operating mode of interface on basis of performance information about external electronic device, and electronic device operating method | |
CN111211421A (en) | Antenna tuning circuit and mobile terminal | |
CN113989962B (en) | Access control identification control method and related equipment | |
KR20210118615A (en) | An electronic device with a plurality of antenna moudulea and a method for controlling the same | |
US11817891B2 (en) | Electronic device for performing carrier aggregation using plurality of carrier frequencies via switch and operating method thereof | |
CN112242863B (en) | Communication equipment and antenna switching method | |
CN106911354A (en) | The system of selection of the transmitting chain of radio circuit, radio circuit and mobile terminal | |
WO2017117943A1 (en) | Mobile terminal and external antenna |
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 |