CN110247692B - Channel switching method, channel switching device, electronic device and readable storage medium - Google Patents

Channel switching method, channel switching device, electronic device and readable storage medium Download PDF

Info

Publication number
CN110247692B
CN110247692B CN201910556981.0A CN201910556981A CN110247692B CN 110247692 B CN110247692 B CN 110247692B CN 201910556981 A CN201910556981 A CN 201910556981A CN 110247692 B CN110247692 B CN 110247692B
Authority
CN
China
Prior art keywords
module
antenna
radio frequency
diversity
communication module
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
Application number
CN201910556981.0A
Other languages
Chinese (zh)
Other versions
CN110247692A (en
Inventor
仝林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910556981.0A priority Critical patent/CN110247692B/en
Publication of CN110247692A publication Critical patent/CN110247692A/en
Application granted granted Critical
Publication of CN110247692B publication Critical patent/CN110247692B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • H04B1/0053Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with common antenna for more than one band
    • H04B1/006Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with common antenna for more than one band using switches for selecting the desired band
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • H04B1/0064Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with separate antennas for the more than one band
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0404Diversity 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity 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
    • H04B7/0805Diversity 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 with single receiver and antenna switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The embodiment of the application discloses a path switching method and a related product, which are applied to electronic equipment, wherein the electronic equipment comprises a processor, a cellular communication module, an LPWAN communication module, a first radio frequency front-end module, a second radio frequency front-end module, a main antenna assembly module and a diversity antenna assembly module; wherein the method comprises the following steps: if the cellular communication module has a diversity requirement, acquiring the current working frequency band of the cellular communication module, determining a to-be-connected channel corresponding to the diversity antenna module according to the working frequency band, and connecting the antenna in the diversity antenna module with the to-be-connected channel, so that antenna switching is performed according to the current working frequency band of the cellular communication module, and the cellular communication module and the LPWAN communication module share the antenna in the diversity antenna module.

Description

Channel switching method, channel switching device, electronic device and readable storage medium
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method for switching a channel and a related product.
Background
With the widespread use of electronic devices (such as mobile phones, tablet computers, etc.), the electronic devices have more and more applications and more powerful functions, and the electronic devices are developed towards diversification and personalization, and become indispensable electronic products in the life of users.
Currently, radio frequency front end circuits of most electronic devices adopt technologies such as a cellular Network and a short-range radio frequency, wherein the short-range radio frequency technology includes a wireless fidelity (WIFI) technology, a Bluetooth (BT) technology, a Global Positioning System (GPS) technology, and a Frequency Modulation (FM) technology, but a Low-Power Wide-Area Network (LPWAN) technology is rarely adopted. The LPWAN technology is an Internet of things network layer technology for meeting communication requirements of long distance and low power consumption in the Internet of things.
Disclosure of Invention
The embodiment of the application provides a path switching method and a related product, which can realize the diversity reception and transmission functions of a cellular communication module and enable an LPWAN communication module and the cellular communication module to share an antenna.
In a first aspect, an embodiment of the present application provides an electronic device, which includes a processor, a cellular communication module, a low power wide area network LPWAN communication module, a first radio frequency front end module, a second radio frequency front end module, a main set antenna module, and a diversity antenna module; wherein the content of the first and second substances,
one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency diversity path and a cellular diversity radio frequency diversity path;
the LPWAN communication module is connected with the processor to form an LPWAN radio frequency path;
the other end of the first radio frequency front end module is connected with the main antenna assembly module, the other end of the second radio frequency front end module is connected with the diversity antenna module, the main antenna assembly module comprises an antenna, and the diversity antenna module comprises at least one antenna.
In a second aspect, an embodiment of the present application provides a path switching method, which is applied to an electronic device, where the electronic device includes a processor, a cellular communication module, a low power wide area network LPWAN communication module, a first radio frequency front end module, a second radio frequency front end module, a main set antenna module, and a diversity antenna module; one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency diversity path and a cellular diversity radio frequency diversity path; the LPWAN communication module is connected with the processor to form an LPWAN radio frequency path; the other end of the first radio frequency front end module is connected with the main antenna assembly module, the other end of the second radio frequency front end module is connected with the diversity antenna module, the main antenna assembly module comprises an antenna, and the diversity antenna module comprises at least one antenna; the method comprises the following steps:
if the cellular communication module has a diversity demand, acquiring a current working frequency band of the cellular communication module, wherein the diversity demand is a demand for using the cellular diversity access;
determining a path to be connected corresponding to the diversity antenna module according to the working frequency band, wherein the path to be connected is the cellular diversity radio frequency path or the LPWAN radio frequency path;
and connecting the antenna in the diversity antenna module with the path to be connected.
In a third aspect, an embodiment of the present application provides a path switching apparatus, which is applied to an electronic device, where the electronic device includes a processor, a cellular communication module, a low power wide area network LPWAN communication module, a first radio frequency front end module, a second radio frequency front end module, a main set antenna module, and a diversity antenna module; one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency diversity path and a cellular diversity radio frequency diversity path; the LPWAN communication module is connected with the processor to form an LPWAN radio frequency path; the other end of the first radio frequency front end module is connected with the main antenna assembly module, the other end of the second radio frequency front end module is connected with the diversity antenna module, the main antenna assembly module comprises an antenna, and the diversity antenna module comprises at least one antenna; the device comprises:
an obtaining unit, configured to obtain a current working frequency band of the cellular communication module when the cellular communication module has a diversity requirement, where the diversity requirement is a requirement for using the cellular diversity path;
a determining unit, configured to determine, according to the working frequency band, a path to be connected corresponding to the diversity antenna module, where the path to be connected is the cellular diversity radio frequency path or the LPWAN radio frequency path;
and the switching unit is used for connecting the antenna in the diversity antenna module with the path to be connected.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the second aspect of the embodiment of the present application.
In a fifth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in the second aspect of the present application.
In a sixth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the second aspect of embodiments of the present application. The computer program product may be a software installation package.
It can be seen that the path switching method and related product described in the embodiments of the present application are applied to an electronic device, where the electronic device includes a processor, a cellular communication module, an LPWAN communication module, a first radio frequency front end module, a second radio frequency front end module, a main set antenna module, and a diversity antenna module; one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency collecting channel and a cellular diversity radio frequency collecting channel; the LPWAN communication module is connected with the processor to form an LPWAN radio frequency channel; the other end of the first radio frequency front-end module is connected with a main antenna assembly module, the other end of the second radio frequency front-end module is connected with a diversity antenna module, the main antenna assembly module comprises an antenna, the diversity antenna module comprises at least one antenna, if the cellular communication module has diversity requirements, the current working frequency band of the cellular communication module is obtained, a path to be connected corresponding to the diversity antenna module is determined according to the working frequency band, the path to be connected is a cellular diversity radio frequency path or an LPWAN radio frequency path, the antenna in the diversity antenna module is connected with the path to be connected, and therefore antenna switching is carried out according to the current working frequency band of the cellular communication module, and the cellular communication module and the LPWAN communication module share the antenna in the diversity antenna module.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a second rf front-end module according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart of another path switching method according to an embodiment of the present application;
fig. 7 is a schematic flowchart of another path switching method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of a path switching device according to an embodiment of the present application;
fig. 10 is another schematic structural diagram of an electronic device provided in an embodiment of the present application. .
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device related to the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices (smart watches, smart bracelets, wireless headsets, augmented reality/virtual reality devices, smart glasses), computing devices or other processing devices connected to wireless modems, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like, which have wireless communication functions.
In the embodiment of the present application, a wide area network may be formed by using a technology in an Industrial Scientific Medical (ISM) frequency band in the LPWAN, for example, communication technologies such as LORA and Sigfox do not need to depend on a base station. Therefore, the radio frequency front-end circuit of the electronic equipment can adopt communication technologies such as LORA, Sigfox, Weight loss and the like, and a good communication effect is achieved.
The LORA technology is a low power consumption networking technology developed by the company semtech, and is a long-distance wireless transmission technology based on a spread spectrum technology, and mainly works at ism (industrial Scientific medical) public frequency.
The Sigfox technology is a Low Power Wide Area network (LPWA) technology with prominent characteristics of long distance, Low Power consumption and Low transmission rate, utilizes an Ultra narrow Band (umb) technology, and mainly works at ISM public frequency.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure, where the electronic device 100 includes: a processor 110, a memory 120, a low power wide area network LPWAN communication module 130, a cellular communication module 140, a first radio frequency front end module 150, a second radio frequency front end module 160, a main set antenna module 170, and a diversity antenna module 180; wherein the content of the first and second substances,
one end of the cellular communication module 140 is connected to the processor 110; the other end of the cellular communication module 140 is connected to one end of the first rf front-end module 150 and one end of the second rf front-end module 160, respectively, to form a cellular main rf diversity path and a cellular diversity rf diversity path;
the LPWAN communication module 130 is connected to the processor 110 to form an LPWAN radio frequency path;
the other end of the first rf front-end module 150 is connected to the main antenna assembly module 170, the other end of the second rf front-end module 160 is connected to the diversity antenna module 180, the main antenna assembly module includes one antenna, and the diversity antenna module includes at least one antenna.
Wherein the memory 120 is connected to the processor 110.
Optionally, the cellular communication module 140 includes a cellular communication transceiver and a cellular modem, the cellular modem being coupled to the processor 110, the cellular communication transceiver being coupled to the second radio frequency front end module 160.
Optionally, the main set antenna module comprises a first antenna, the diversity antenna module comprises a second antenna, wherein,
the first radio frequency front end module in the cellular main set radio frequency path is connected with the first antenna;
when the working frequency band of the cellular communication module is in a preset frequency band, the cellular diversity radio frequency access is connected with the second antenna through the second radio frequency front-end module;
and when the working frequency band of the cellular communication module is not in the preset frequency band, the LPWAN radio frequency channel is connected with the second antenna through the second radio frequency front-end module.
As shown in fig. 1, the main antenna assembly module includes a first antenna, and the diversity antenna module includes a second antenna, so that the second rf front-end module can be connected to the second antenna when the operating frequency band of the cellular communication module meets different conditions.
Optionally, the electronic device further includes a single-pole double-throw SPDT switch, one port of the SPDT switch is connected to the LPWAN communication module and the second radio frequency front end module, and the other port of the SPDT switch is connected to the second antenna.
Referring to fig. 2, fig. 2 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure, as shown in fig. 2, in the embodiment of the present disclosure, the electronic device 200 may further include an SPDT switch, and when an operating frequency band of the cellular communication module is in a preset frequency band, one port of the SPDT switch is switched to the second rf front-end module, and another port of the SPDT switch is connected to the second antenna 280; when the working frequency band of the cellular communication module is not in the preset frequency band, one port of the SPDT switch is switched to the LPWAN communication module, and the other port of the SPDT switch is connected to the second antenna 280. In this manner, the cellular communication module and LPWAN communication module may be made to share the second antenna in the diversity antenna module.
Optionally, the second radio frequency front end module comprises a first diversity module and a second diversity module, the main set antenna module comprises a first antenna, the diversity antenna module comprises a second antenna and a third antenna, wherein,
the first radio frequency front end module in the cellular main set radio frequency path is connected with the first antenna;
when the working frequency band of the cellular communication module is within a first preset range, the cellular diversity radio frequency access is connected with the third antenna through the first diversity module;
and when the working frequency band of the cellular communication module is within a second preset range, the cellular diversity radio frequency access is connected with the second antenna through the second diversity module, wherein the upper limit value of the first preset range is smaller than the lower limit value of the second preset range.
Referring to fig. 3, fig. 3 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure, as shown in fig. 3, in the embodiment of the present disclosure, the main set antenna module includes a first antenna 370, the diversity antenna module includes a second antenna 381 and a third antenna 382, and a first rf front end module 350 in a main set rf path of a cell is connected to the first antenna; when the working frequency band of the cellular communication module is within a first preset range, the cellular diversity radio frequency path is connected with the third antenna 382 through the first diversity module; when the working frequency band of the cellular communication module is within the second preset range, the cellular diversity rf path is connected to the second antenna 381 through the second diversity module.
Optionally, the electronic device further includes an SPDT switch, one end of the SPDT switch is connected to the LPWAN communication module in the LPWAN radio frequency path and the first diversity module in the cellular diversity radio frequency path, respectively, and the other end of the SPDT switch is connected to the third antenna.
Referring to fig. 4, fig. 4 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure, as shown in fig. 4, in the embodiment of the present disclosure, the electronic device 400 may further include an SPDT switch, and when the operating frequency band of the cellular communication module is within a first preset range, one port of the SPDT switch is switched to the first diversity module, and another port of the SPDT switch is connected to the third antenna 482; when the working frequency band of the cellular communication module is in the second preset range, one port of the SPDT switch is switched to the LPWAN communication module, and the other port of the SPDT switch is connected to the third antenna 482. In this manner, the cellular communication module and LPWAN communication module may be made to share the third antenna in the diversity antenna module.
Optionally, the second rf front-end module includes a multi-pole single-throw switch, the LPWAN communication module and the cellular communication module are respectively connected to a gating terminal of the multi-pole single-throw switch, and a common terminal of the multi-pole single-throw switch is connected to the diversity antenna module.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a second rf front-end module according to an embodiment of the present disclosure, where the second rf front-end module includes a multi-pole single-throw switch, a gating end of the multi-pole single-throw switch includes a plurality of ports, the plurality of ports are connectable to a plurality of frequency band branches of a cellular communication module and to an LPWAN communication module, and a common end of the multi-pole single-throw switch is connected to an antenna in a diversity antenna module.
Optionally, the LPWAN communication module consists of a microcontroller MCU and a LPWAN transceiver, or the LPWAN communication module consists of only the LPWAN transceiver.
Referring to fig. 6, fig. 6 is a schematic flowchart of a path switching method according to an embodiment of the present disclosure, and as shown in the drawings, the method is applied to the electronic device shown in fig. 1 to 4, where the electronic device includes a processor, a cellular communication module, a low power wide area network LPWAN communication module, a first radio frequency front end module, a second radio frequency front end module, a main set antenna module, and a diversity antenna module; one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency diversity path and a cellular diversity radio frequency diversity path; the LPWAN communication module is connected with the processor to form an LPWAN radio frequency path; the other end of the first radio frequency front end module is connected with the main antenna assembly module, the other end of the second radio frequency front end module is connected with the diversity antenna module, the main antenna assembly module comprises an antenna, and the diversity antenna module comprises at least one antenna; the channel switching method comprises the following steps:
601. and if the cellular communication module has a diversity requirement, acquiring the current working frequency band of the cellular communication module, wherein the diversity requirement is the requirement for using the cellular diversity access.
Wherein the diversity requirement may comprise at least one of: surfing the internet, receiving an incoming call, making a call, searching for a network, etc.
In the embodiment of the application, when the electronic device needs to perform operations such as surfing the internet, receiving an incoming call, making a call, and the like, it is indicated that the cellular communication module has a diversity requirement, that is, the cellular communication module needs to pass through a communication function of the diversity module of the cellular communication module, and then, the current working frequency band of the cellular communication module can be acquired.
602. And determining a path to be connected corresponding to the diversity antenna module according to the working frequency band, wherein the path to be connected is the cellular diversity radio frequency path or the LPWAN radio frequency path.
In the embodiment of the present application, as can be seen from fig. 1, the LPWAN radio frequency path and the cellular radio frequency diversity path share one antenna, so that it is determined whether the antenna in the diversity antenna module is connected to the cellular radio frequency diversity path or the LPWAN radio frequency path through the operating frequency band, and thus, it is not necessary to add a separate antenna to the LPWAN radio frequency path.
Optionally, in step 602, determining a path to be connected corresponding to the diversity antenna module according to the working frequency band may include the following steps:
21. when the working frequency band of the cellular communication module is in a preset frequency band, determining the cellular diversity radio frequency channel as a channel to be connected corresponding to the diversity antenna module;
22. and when the working frequency band of the cellular communication module is not in the preset frequency band, determining the LPWAN radio frequency path as a path to be connected corresponding to the diversity antenna module.
In specific implementation, if the main antenna assembly module includes a first antenna, the diversity antenna module includes a second antenna, when the working frequency band of the cellular communication module is in the preset frequency band, the second rf front-end module may be connected to the second antenna, and when the working frequency band of the cellular communication module is not in the preset frequency band, the LPWAN rf access may pass through the second rf front-end module and the second antenna are connected.
603. And connecting the antenna in the diversity antenna module with the path to be connected.
In the embodiment of the application, the antenna in the diversity antenna module is connected with the path to be connected, and specifically, when the path to be connected is a cellular radio frequency diversity path, the antenna in the diversity antenna module can be connected with the cellular radio frequency diversity path; when the path to be connected is the LPWAN radio frequency path, the antenna in the diversity antenna module may be connected with the LPWAN radio frequency path. Therefore, the LPWAN radio frequency path and the cellular radio frequency diversity path can share one antenna, and the connection between the LPWAN radio frequency path and the antennas in the cellular radio frequency diversity and diversity antenna module is flexibly controlled according to the working frequency band, so that the electronic equipment can realize better communication quality.
Optionally, if the second rf front end module includes a first diversity module and a second diversity module, the main set antenna module includes a first antenna, and the diversity antenna module includes a second antenna and a third antenna, in the step 602, connecting the antenna in the diversity antenna module with the path to be connected may include the following steps:
31. if the working frequency band of the cellular communication module is in a preset frequency band and the working frequency band of the cellular communication module is in a first preset range, connecting the first diversity module with the third antenna;
32. if the working frequency band of the cellular communication module is in a preset frequency band and the working frequency band of the cellular communication module is in a second preset range, connecting the second diversity module with the second antenna, wherein the upper limit value of the first preset range is smaller than the lower limit value of the second preset range;
33. and when the working frequency band of the cellular communication module is not in the preset frequency band, the LPWAN radio frequency path is connected with the third antenna through the first diversity module.
The first predetermined range may be, for example, less than 1GHz, and the second predetermined range may be, for example, greater than 1.7GHz and less than 2.7 GHz.
As shown in fig. 3, the main set antenna module comprises a first antenna, the diversity antenna module comprises a second antenna and a third antenna, and the first rf front-end module in the cellular main set rf path is connected to the first antenna; if the working frequency band of the cellular communication module is in a preset frequency band and the working frequency band of the cellular communication module is in a first preset range, the cellular diversity radio frequency channel is connected with the third antenna through the first diversity module; and when the working frequency band of the cellular communication module is not in the preset frequency band, the cellular diversity radio frequency access is connected with a second antenna through a second diversity module.
It can be seen that the path switching method described in the embodiment of the present application is applied to an electronic device, where the electronic device includes a processor, a cellular communication module, an LPWAN communication module, a first radio frequency front end module, a second radio frequency front end module, a main antenna set module, and a diversity antenna module; one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency collecting channel and a cellular diversity radio frequency collecting channel; the LPWAN communication module is connected with the processor to form an LPWAN radio frequency channel; the other end of the first radio frequency front-end module is connected with the main antenna assembly module, the other end of the second radio frequency front-end module is connected with the diversity antenna module, if the cellular communication module has diversity requirements, the current working frequency band of the cellular communication module is obtained, a to-be-connected channel corresponding to the diversity antenna module is determined according to the working frequency band, and an antenna in the diversity antenna module is connected with the to-be-connected channel.
Referring to fig. 7 in accordance with the embodiment shown in fig. 7, fig. 7 is a flowchart illustrating a method for switching a path according to an embodiment of the present application, and as shown in the drawings, the method is applied to the electronic device shown in fig. 3 to 4, where the electronic device includes a processor, a cellular communication module, a low power wide area network LPWAN communication module, a first radio frequency front end module, a second radio frequency front end module, a main set antenna module, and a diversity antenna module; one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency diversity path and a cellular diversity radio frequency diversity path; the LPWAN communication module is connected with the processor to form an LPWAN radio frequency path; the other end of the first radio frequency front end module is connected with the main antenna assembly module, the other end of the second radio frequency front end module is connected with the diversity antenna module, the main antenna assembly module comprises an antenna, the diversity antenna module comprises at least one antenna, and the channel switching method comprises the following steps:
701. and if the cellular communication module has a diversity requirement, acquiring the current working frequency band of the cellular communication module, wherein the diversity requirement is the requirement for using the cellular diversity access.
702. And determining a path to be connected corresponding to the diversity antenna module according to the working frequency band, wherein the path to be connected is the cellular diversity radio frequency path or the LPWAN radio frequency path.
703. And if the working frequency band of the cellular communication module is in a preset frequency band and the working frequency band of the cellular communication module is in a first preset range, connecting the first diversity module with the third antenna.
704. And if the working frequency band of the cellular communication module is in a preset frequency band and the working frequency band of the cellular communication module is in a second preset range, connecting the second diversity module with the second antenna, wherein the upper limit value of the first preset range is smaller than the lower limit value of the second preset range.
705. And when the working frequency band of the cellular communication module is not in the preset frequency band, the LPWAN radio frequency path is connected with the third antenna through the first diversity module.
The detailed description of steps 701 to 705 may refer to the corresponding steps of the path switching method described in fig. 6, and will not be described herein again.
It can be seen that, in the path switching method described in the embodiment of the present application, if there is a diversity requirement in the cellular communication module, the current operating frequency band of the cellular communication module is obtained, determining a path to be connected corresponding to the diversity antenna module according to the working frequency band, if the working frequency band of the cellular communication module is in a preset frequency band, and the working frequency band of the cellular communication module is in a first preset range, the first diversity module is connected with the third antenna, if the working frequency band of the cellular communication module is in the preset frequency band, and the working frequency band of the cellular communication module is in a second preset range, the second diversity module is connected with the second antenna, when the working frequency band of the cellular communication module is not in the preset frequency band, the LPWAN radio frequency path is connected with the third antenna through the first diversity module, so that, and performing antenna switching according to the current working frequency band of the cellular communication module, so that the cellular communication module and the LPWAN communication module share the antenna in the diversity antenna module.
In keeping with the above embodiments, please refer to fig. 8, fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, as shown, the electronic device includes a processor 810, a cellular communication module 830, a low power wide area network LPWAN communication module 840, a first rf front end module 850, a second rf front end module 860, a main set antenna module 870, a diversity antenna module 880, a memory 820, a communication interface 890, and one or more programs 821, the electronic device includes a vein identification module and an ultrasound sensor, wherein the one or more programs are stored 821 in the memory 820 and configured to be executed by the processor, and in an embodiment of the present application, the program 821 includes instructions for performing the following steps:
if the cellular communication module has a diversity demand, acquiring a current working frequency band of the cellular communication module, wherein the diversity demand is a demand for using the cellular diversity access;
determining a path to be connected corresponding to the diversity antenna module according to the working frequency band, wherein the path to be connected is the cellular diversity radio frequency path or the LPWAN radio frequency path;
and connecting the antenna in the diversity antenna module with the path to be connected.
In one possible example, in terms of determining the path to be connected corresponding to the diversity antenna module according to the operating frequency band, the program 821 includes instructions for performing the following steps:
when the working frequency band of the cellular communication module is in a preset frequency band, determining the cellular diversity radio frequency channel as a channel to be connected corresponding to the diversity antenna module;
and when the working frequency band of the cellular communication module is not in the preset frequency band, determining the LPWAN radio frequency path as a path to be connected corresponding to the diversity antenna module.
In one possible example, in connecting the antennas in the diversity antenna module with the to-be-connected path, the program 821 includes instructions for performing the following steps:
if the working frequency band of the cellular communication module is in a preset frequency band and the working frequency band of the cellular communication module is in a first preset range, connecting the first diversity module with the third antenna;
if the working frequency band of the cellular communication module is in a preset frequency band and the working frequency band of the cellular communication module is in a second preset range, connecting the second diversity module with the second antenna, wherein the upper limit value of the first preset range is smaller than the lower limit value of the second preset range;
and when the working frequency band of the cellular communication module is not in the preset frequency band, the LPWAN radio frequency path is connected with the third antenna through the first diversity module.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 9 is a block diagram showing functional units of the path switching apparatus 900 according to the embodiment of the present application. The path switching device 900 is applied to an electronic device, and the electronic device includes a processor, a cellular communication module, a low power wide area network LPWAN communication module, a first radio frequency front end module, a second radio frequency front end module, a main set antenna module, and a diversity antenna module; one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency diversity path and a cellular diversity radio frequency diversity path; the LPWAN communication module is connected with the processor to form an LPWAN radio frequency path; the other end of the first radio frequency front end module is connected with the main antenna assembly module, the other end of the second radio frequency front end module is connected with the diversity antenna module, the main antenna assembly module comprises an antenna, and the diversity antenna module comprises at least one antenna; the apparatus 900 comprises: an acquisition unit 901, a determination unit 902 and a switching unit 903, wherein,
the obtaining unit 901 is configured to obtain a current working frequency band of the cellular communication module when the cellular communication module has a diversity requirement, where the diversity requirement is a requirement for using the cellular diversity path;
the determining unit 902 is configured to determine, according to the working frequency band, a to-be-connected path corresponding to the diversity antenna module, where the to-be-connected path is the cellular diversity radio frequency path or the LPWAN radio frequency path;
the switching unit 903 is configured to connect an antenna in the diversity antenna module with the path to be connected.
It can be seen that the path switching apparatus described in the embodiment of the present application is applied to an electronic device, where the electronic device includes a processor, a cellular communication module, an LPWAN communication module, a first radio frequency front end module, a second radio frequency front end module, a main antenna set module, and a diversity antenna module; one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency collecting channel and a cellular diversity radio frequency collecting channel; the LPWAN communication module is connected with the processor to form an LPWAN radio frequency channel; the other end of the first radio frequency front-end module is connected with the main antenna assembly module, the other end of the second radio frequency front-end module is connected with the diversity antenna module, if the cellular communication module has diversity requirements, the current working frequency band of the cellular communication module is obtained, a to-be-connected channel corresponding to the diversity antenna module is determined according to the working frequency band, and an antenna in the diversity antenna module is connected with the to-be-connected channel.
In a possible example, in terms of determining a path to be connected corresponding to the diversity antenna module according to the operating frequency band, the determining unit 902 is specifically configured to:
when the working frequency band of the cellular communication module is in a preset frequency band, determining the cellular diversity radio frequency channel as a channel to be connected corresponding to the diversity antenna module;
and when the working frequency band of the cellular communication module is not in the preset frequency band, determining the LPWAN radio frequency path as a path to be connected corresponding to the diversity antenna module.
In one possible example, in terms of connecting the antenna in the diversity antenna module and the path to be connected, the switching unit 903 is specifically configured to:
if the working frequency band of the cellular communication module is in a preset frequency band and the working frequency band of the cellular communication module is in a first preset range, connecting the first diversity module with the third antenna;
if the working frequency band of the cellular communication module is in a preset frequency band and the working frequency band of the cellular communication module is in a second preset range, connecting the second diversity module with the second antenna, wherein the upper limit value of the first preset range is smaller than the lower limit value of the second preset range;
and when the working frequency band of the cellular communication module is not in the preset frequency band, the LPWAN radio frequency path is connected with the third antenna through the first diversity module.
As shown in fig. 10, for convenience of description, only the portions related to the embodiments of the present application are shown, and details of the specific technology are not disclosed, please refer to the method portion of the embodiments of the present application. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (personal digital assistant), a POS (point of sales), a vehicle-mounted computer, etc., taking the electronic device as the mobile phone as an example:
fig. 10 is a block diagram illustrating a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 10, the cellular phone includes: a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wireless Fidelity (Wi-Fi) module 970, a processor 980, a power supply 990, a camera 9100, an LPWAN communication module 9200, a cellular communication module 9300, a first RF front-end module 9400, a second RF front-end module 9500, a main set antenna module 9600, a diversity antenna module 9700, and the like. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 6:
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 930 may include a fingerprint recognition module 931 and other input devices 932. Fingerprint identification module 931, can gather the fingerprint data of user above it. The input unit 930 may include other input devices 932 in addition to the fingerprint recognition module 931. In particular, other input devices 932 may include, but are not limited to, one or more of a touch screen, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 940 may include a Display screen 941, and optionally, the Display screen 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The handset may also include at least one sensor 950, such as a light sensor, motion sensor, pressure sensor, temperature sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor (also referred to as a light sensor) that can adjust the backlight brightness of the mobile phone according to the brightness of ambient light, and thus adjust the brightness of the display screen 941, and a proximity sensor that can turn off the display screen 941 and/or the backlight when the mobile phone is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of a mobile phone; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and the audio signal is converted by the speaker 961 to be played; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and then processes the audio data by the audio data playing processor 980, and then sends the audio data to, for example, another mobile phone through the RF circuit 910, or plays the audio data to the memory 920 for further processing.
Wi-Fi belongs to short-distance wireless transmission technology, and a mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 970, and provides wireless broadband internet access for the user. Although fig. 6 shows the Wi-Fi module 970, it is understood that it does not belong to the essential constitution of the cellular phone and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Alternatively, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor AP, which mainly handles operating systems, user interfaces, applications, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The handset also includes a battery 990 to provide power to the various components, preferably, a power supply that may be logically connected to the processor 980 via a power management system to manage charging, discharging, and power consumption.
The mobile phone can further include a camera 9100, where the camera 9100 includes a front camera and a rear camera, and the front camera and the rear camera are used for shooting images and videos and transmitting the shot images and videos to the processor 980 for processing.
The mobile phone may further include a bluetooth module, etc., which will not be described herein.
In the embodiments shown in fig. 6 and fig. 7, the method flows of the steps may be implemented based on the structure of the mobile phone.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. An electronic device comprising a processor, a cellular communication module and a Low Power Wide Area Network (LPWAN) communication module, a first radio frequency front end module, a second radio frequency front end module, a main set antenna module, and a diversity antenna module; wherein the content of the first and second substances,
one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency diversity path and a cellular diversity radio frequency diversity path;
the LPWAN communication module is connected with the processor to form an LPWAN radio frequency path;
the other end of the first radio frequency front end module is connected with the main antenna assembly module, the other end of the second radio frequency front end module is connected with the diversity antenna module, the main antenna assembly module comprises an antenna, and the diversity antenna module comprises at least one antenna;
wherein the content of the first and second substances,
the main set antenna module comprises a first antenna, the diversity antenna module comprises a second antenna,
wherein the content of the first and second substances,
the first radio frequency front end module in the cellular main set radio frequency path is connected with the first antenna;
when the working frequency band of the cellular communication module is in a preset frequency band, the cellular diversity radio frequency access is connected with the second antenna through the second radio frequency front-end module;
and when the working frequency band of the cellular communication module is not in the preset frequency band, the LPWAN radio frequency channel is connected with the second antenna through the second radio frequency front-end module.
2. The electronic device of claim 1, further comprising a Single Pole Double Throw (SPDT) switch, one port of the SPDT switch being connected to the LPWAN communication module and the second radio frequency front end module, respectively, and the other end of the SPDT switch being connected to the second antenna.
3. The electronic device of claim 1,
the second radio frequency front end module comprises a multi-pole single-throw switch, the LPWAN communication module and the cellular communication module are respectively connected with the gating end of the multi-pole single-throw switch, and the common end of the multi-pole single-throw switch is connected with the diversity antenna module.
4. The electronic device of claim 3, wherein the LPWAN communication module consists of a microcontroller MCU and an LPWAN transceiver, or the LPWAN communication module consists of only the LPWAN transceiver.
5. An electronic device comprising a processor, a cellular communication module and a Low Power Wide Area Network (LPWAN) communication module, a first radio frequency front end module, a second radio frequency front end module, a main set antenna module, and a diversity antenna module; wherein the content of the first and second substances,
one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency diversity path and a cellular diversity radio frequency diversity path;
the LPWAN communication module is connected with the processor to form an LPWAN radio frequency path;
the other end of the first radio frequency front end module is connected with the main antenna assembly module, the other end of the second radio frequency front end module is connected with the diversity antenna module, the main antenna assembly module comprises an antenna, and the diversity antenna module comprises at least one antenna;
wherein the content of the first and second substances,
the second radio frequency front end module comprises a first diversity module and a second diversity module, the main set antenna module comprises a first antenna, the diversity antenna module comprises a second antenna and a third antenna, wherein,
the first radio frequency front end module in the cellular main set radio frequency path is connected with the first antenna;
when the working frequency band of the cellular communication module is within a first preset range, the cellular diversity radio frequency access is connected with the third antenna through the first diversity module;
and when the working frequency band of the cellular communication module is within a second preset range, the cellular diversity radio frequency access is connected with the second antenna through the second diversity module, wherein the upper limit value of the first preset range is smaller than the lower limit value of the second preset range.
6. The electronic device of claim 5, further comprising an SPDT switch, one end of the SPDT switch being connected to the LPWAN communication module in the LPWAN radio path and the first diversity module in the cellular diversity radio path, respectively, and the other end of the SPDT switch being connected to the third antenna.
7. The electronic device of claim 5,
the second radio frequency front end module comprises a multi-pole single-throw switch, the LPWAN communication module and the cellular communication module are respectively connected with the gating end of the multi-pole single-throw switch, and the common end of the multi-pole single-throw switch is connected with the diversity antenna module.
8. The electronic device of claim 7, wherein the LPWAN communication module consists of a microcontroller MCU and a LPWAN transceiver, or wherein the LPWAN communication module consists of only the LPWAN transceiver.
9. A channel switching method is applied to an electronic device, wherein the electronic device comprises a processor, a cellular communication module, a low-power wide area network (LPWAN) communication module, a first radio frequency front end module, a second radio frequency front end module, a main antenna set module and a diversity antenna set module; one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency diversity path and a cellular diversity radio frequency diversity path; the LPWAN communication module is connected with the processor to form an LPWAN radio frequency path; the other end of the first radio frequency front end module is connected with the main antenna assembly module, the other end of the second radio frequency front end module is connected with the diversity antenna module, the main antenna assembly module comprises an antenna, and the diversity antenna module comprises at least one antenna; the method comprises the following steps:
if the cellular communication module has a diversity demand, acquiring a current working frequency band of the cellular communication module, wherein the diversity demand is a demand for using the cellular diversity access;
determining a path to be connected corresponding to the diversity antenna module according to the working frequency band, wherein the path to be connected is the cellular diversity radio frequency path or the LPWAN radio frequency path;
and connecting the antenna in the diversity antenna module with the path to be connected.
10. A path switching device is applied to electronic equipment, and the electronic equipment comprises a processor, a cellular communication module, a low-power wide area network (LPWAN) communication module, a first radio frequency front-end module, a second radio frequency front-end module, a main antenna set module and a diversity antenna module; one end of the cellular communication module is connected with the processor; the other end of the cellular communication module is respectively connected with one end of the first radio frequency front-end module and one end of the second radio frequency front-end module to form a cellular main radio frequency diversity path and a cellular diversity radio frequency diversity path; the LPWAN communication module is connected with the processor to form an LPWAN radio frequency path; the other end of the first radio frequency front end module is connected with the main antenna assembly module, the other end of the second radio frequency front end module is connected with the diversity antenna module, the main antenna assembly module comprises an antenna, and the diversity antenna module comprises at least one antenna; the device comprises:
an obtaining unit, configured to obtain a current working frequency band of the cellular communication module when the cellular communication module has a diversity requirement, where the diversity requirement is a requirement for using the cellular diversity path;
a determining unit, configured to determine, according to the working frequency band, a path to be connected corresponding to the diversity antenna module, where the path to be connected is the cellular diversity radio frequency path or the LPWAN radio frequency path;
and the switching unit is used for connecting the antenna in the diversity antenna module with the path to be connected.
11. An electronic device comprising a processor, a memory for storing one or more programs and configured for execution by the processor, the programs comprising instructions for performing the steps of the method of claim 9.
12. A computer-readable storage medium, characterized in that,
a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method as claimed in claim 9.
CN201910556981.0A 2019-06-25 2019-06-25 Channel switching method, channel switching device, electronic device and readable storage medium Active CN110247692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910556981.0A CN110247692B (en) 2019-06-25 2019-06-25 Channel switching method, channel switching device, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910556981.0A CN110247692B (en) 2019-06-25 2019-06-25 Channel switching method, channel switching device, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN110247692A CN110247692A (en) 2019-09-17
CN110247692B true CN110247692B (en) 2021-08-17

Family

ID=67889377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910556981.0A Active CN110247692B (en) 2019-06-25 2019-06-25 Channel switching method, channel switching device, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN110247692B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933744B (en) * 2019-12-13 2023-05-26 Oppo广东移动通信有限公司 Communication configuration selection method and related product
CN111245469B (en) * 2020-01-17 2022-01-11 Oppo广东移动通信有限公司 Radio frequency circuit and electronic device
CN112468177B (en) * 2020-11-26 2022-07-12 Oppo广东移动通信有限公司 Radio frequency front-end circuit, electronic equipment and distance measuring method
CN112886976B (en) * 2020-12-31 2022-07-19 海能达通信股份有限公司 Antenna sharing circuit and terminal
WO2024016282A1 (en) * 2022-07-21 2024-01-25 海能达通信股份有限公司 Antenna linkage circuit and terminal
CN116599542A (en) * 2022-10-27 2023-08-15 荣耀终端有限公司 Control method for realizing antenna multiplexing and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871430A (en) * 2015-12-29 2016-08-17 乐视移动智能信息技术(北京)有限公司 Antenna multiplexing device and mobile terminal
CN108494414A (en) * 2018-05-10 2018-09-04 武汉中电物联科技有限公司 Super low-power consumption multimode Internet of Things wireless module
KR20190062330A (en) * 2019-04-04 2019-06-05 (주)솔로몬기술단기술사사무소 Attachable CCTV system including flexible solar cell array portion and mobile communication portion

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106355226A (en) * 2016-11-21 2017-01-25 丹阳伦图电子技术有限公司 LORA-based electronic tag system
CN106879038B (en) * 2017-03-30 2019-12-06 新华三技术有限公司 working state switching method and device
EP3432628B1 (en) * 2017-07-18 2020-04-01 Deutsche Telekom AG Secure devices and methods for lpwa communication networks
CN208015773U (en) * 2018-04-17 2018-10-26 珠海巨晟科技股份有限公司 A kind of Internet of Things communication module based on the LoRa communication technologys

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871430A (en) * 2015-12-29 2016-08-17 乐视移动智能信息技术(北京)有限公司 Antenna multiplexing device and mobile terminal
CN108494414A (en) * 2018-05-10 2018-09-04 武汉中电物联科技有限公司 Super low-power consumption multimode Internet of Things wireless module
KR20190062330A (en) * 2019-04-04 2019-06-05 (주)솔로몬기술단기술사사무소 Attachable CCTV system including flexible solar cell array portion and mobile communication portion

Also Published As

Publication number Publication date
CN110247692A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN110247692B (en) Channel switching method, channel switching device, electronic device and readable storage medium
CN110311704B (en) Antenna switching method and related product
CN107708168B (en) SIM card switching method, mobile terminal and computer readable storage medium
CN109803318B (en) Data packet distribution method and device, mobile terminal and storage medium
CN107896119B (en) Antenna sharing circuit and mobile terminal
CN110224719B (en) Communication control method and related product
CN107947825B (en) Antenna selection circuit and mobile terminal
CN110036661B (en) Uplink data transmission method, terminal, network side equipment and system
CN110430592B (en) Network control method and related product
CN109151796B (en) NAN device finding method, related device and computer readable storage medium
CN108966296B (en) Signal prompting method, mobile terminal and computer readable storage medium
CN109922539B (en) Network connection method and related product
CN107480489B (en) unlocking control method and related product
CN109922504B (en) Data distribution method and related product
CN110209245B (en) Face recognition method and related product
EP3454240A1 (en) Unlocking methods and related products
CN107678989B (en) UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal
CN106888495B (en) Network access method and terminal
CN108429863B (en) Method for switching antenna, mobile terminal and computer readable storage medium
CN107613126B (en) UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal
CN110212965B (en) Antenna switching method and related product
CN106793010B (en) Network access method and equipment
CN110428782B (en) Brightness adjusting method and related product
EP3962150A1 (en) Method for solving wifi channel interference and related product
CN110266359B (en) Antenna switching method and device, electronic equipment and computer readable storage medium

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