CN114172537A - Antenna switching method and device, electronic equipment and storage medium - Google Patents

Antenna switching method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114172537A
CN114172537A CN202111564993.1A CN202111564993A CN114172537A CN 114172537 A CN114172537 A CN 114172537A CN 202111564993 A CN202111564993 A CN 202111564993A CN 114172537 A CN114172537 A CN 114172537A
Authority
CN
China
Prior art keywords
antenna
electronic device
paths
path
controlling
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.)
Granted
Application number
CN202111564993.1A
Other languages
Chinese (zh)
Other versions
CN114172537B (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 CN202111564993.1A priority Critical patent/CN114172537B/en
Publication of CN114172537A publication Critical patent/CN114172537A/en
Application granted granted Critical
Publication of CN114172537B publication Critical patent/CN114172537B/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/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
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses an antenna switching method, an antenna switching device, electronic equipment and a storage medium. The method is applied to first electronic equipment, and at least two antenna paths are distributed on an antenna substrate of the first electronic equipment; each of the at least two antenna paths comprises a first antenna and a second antenna which are diagonally arranged on the antenna substrate, and a switch unit which is respectively connected with the first antenna and the second antenna; the method comprises the following steps: determining a first distribution mode according to the communication state of the first electronic equipment; the first distribution pattern characterizes a distribution pattern of antennas on the antenna substrate gated by the switching element of each of the at least two antenna paths; and controlling a switch unit in each antenna path of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution mode.

Description

Antenna switching method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an antenna switching method and apparatus, an electronic device, and a storage medium.
Background
A Customer Premises Equipment (CPE) is a terminal that directly converts a broadband signal or mobile network data into a Wi-Fi signal. In the related art, the antenna arranged on the CPE is an omnidirectional antenna, which results in the CPE receiving a large limitation on receiving signals due to a low gain of the omnidirectional antenna, and is not favorable for end-to-end traffic enhancement, so that the authentication of the CPE on the electronic device is limited.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide an antenna switching method, an antenna switching apparatus, an electronic device, and a storage medium, so as to at least solve the problems that the CPE receives a large limitation on receiving signals and the CPE has a limitation on authentication of the electronic device in the related art.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides an antenna switching method, which is applied to first electronic equipment, wherein at least two antenna channels are distributed on an antenna substrate of the first electronic equipment; each of the at least two antenna paths comprises a first antenna and a second antenna which are diagonally arranged on the antenna substrate, and a switch unit which is respectively connected with the first antenna and the second antenna; the method comprises the following steps:
determining a first distribution mode according to the communication state of the first electronic equipment; the first distribution pattern characterizes a distribution pattern of antennas on the antenna substrate gated by the switching element of each of the at least two antenna paths;
and controlling a switch unit in each antenna path of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution mode.
In the above scheme, when the communication state of the first electronic device is in the receiving state, the first distribution mode is a uniform distribution mode;
the controlling the switching unit in each of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution pattern includes:
controlling a switching element in each of the at least two antenna paths to gate either the first antenna or the second antenna; wherein,
all the gated antennas are evenly distributed on the antenna substrate.
In the above solution, when the communication state of the first electronic device is in a sending state, the first distribution mode is an orientation mode;
the controlling the switching unit in each of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution pattern includes:
controlling a switch unit in each antenna path of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device in the first antenna and the second antenna; the second electronic device characterizes an electronic device that is accessed to the first electronic device.
In the foregoing solution, the controlling the switch unit in each of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device in the first antenna and the second antenna includes:
determining a first parameter corresponding to each antenna path in the at least two antenna paths; the first parameter is characteristic of the strength of the first signal; the first signal is characterized by a signal sent by the second electronic device;
determining the position information of the second electronic device according to the first parameter corresponding to each antenna access of the at least two antenna accesses;
and according to the position information of the second electronic equipment, determining the antenna with the shortest distance to the second electronic equipment in the first antenna and the second antenna of each antenna access of the at least two antenna accesses.
In the foregoing solution, after the controlling the switch unit in each of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device in the first antenna and the second antenna, the method further includes:
and controlling the antenna gated by the switching unit of each antenna path in the at least two antenna paths to face the position of the second electronic device.
In the foregoing solution, after the switching unit controlling the antenna path gates the antenna with the shortest distance to the second electronic device in the first antenna and the second antenna, the method further includes:
adjusting a second parameter from a first frequency to a second frequency if the second electronic device is of the first type; the first type representation position is fixed on the electronic equipment within a set range; the first frequency representation determines a frequency of location information of the second electronic device; wherein,
the first frequency is greater than the second frequency.
In the above scheme, the number of antennas arranged on the first electronic device is greater than or equal to the number of antenna paths arranged on the first electronic device.
The embodiment of the application also provides an antenna switching device, which is applied to first electronic equipment, wherein at least two antenna channels are distributed on an antenna substrate of the first electronic equipment; each of the at least two antenna paths comprises a first antenna and a second antenna which are diagonally arranged on the antenna substrate, and a switch unit which is respectively connected with the first antenna and the second antenna; the device comprises:
the determining unit is used for determining a first distribution mode according to the communication state of the first electronic equipment; the first distribution pattern characterizes a distribution pattern of antennas on the antenna substrate gated by the switching element of each of the at least two antenna paths;
and the control unit is used for controlling the switch unit in each antenna path in the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution mode.
An embodiment of the present application further provides an electronic device, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of any of the above methods when running the computer program.
Embodiments of the present application also provide a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of any one of the above methods.
In the embodiment of the application, the distribution mode of the antenna gated by the switching unit of each antenna path on the electronic device on the antenna substrate is determined according to the communication state of the first electronic device, and the switching unit of each antenna path in at least two antenna paths is controlled to gate the antenna in the first antenna and the second antenna according to the distribution mode, so that the coverage performance of the first electronic device is improved according to the distribution mode of the antenna, and signal transmission between the first electronic device and other electronic devices connected to the first electronic device is facilitated.
Drawings
Fig. 1 is a schematic hardware structure diagram of four antenna paths according to an embodiment of the present application;
fig. 2 is a top view of a first electronic device according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating an implementation flow of an antenna switching method according to an embodiment of the present application;
fig. 4 is a schematic diagram of an antenna layout of an antenna substrate of a first electronic device according to an embodiment of the present disclosure;
fig. 5 is a schematic distribution diagram of antennas gated by a first electronic device according to an embodiment of the present application;
fig. 6 is a schematic distribution diagram of antennas gated by a first electronic device according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating an implementation flow of an antenna switching method according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating a position where a gated antenna is oriented toward a second electronic device according to an embodiment of the present application;
fig. 9 is a schematic view illustrating an interaction flow between a first electronic device and a second electronic device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an antenna switching apparatus according to an embodiment of the present application;
fig. 11 is a schematic diagram of a hardware component structure of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and specific embodiments.
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict.
In addition, in the embodiments of the present application, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order.
In addition, the term "at least one" herein means any combination of at least two of any one or more of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
The antenna switching method is applied to first electronic equipment, wherein the first electronic equipment is CPE equipment, the CPE equipment is equipment directly butted with an operator network by a user front end, and the CPE equipment can directly convert broadband signals or mobile network data into Wi-Fi signals. The antenna module is disposed on the first electronic device, and at least two antenna paths are disposed on an antenna substrate of the first electronic device, as shown in fig. 1, fig. 1 shows a hardware structure schematic diagram of four antenna paths, where each antenna path includes a first antenna, a second antenna, and a switch unit, the switch unit in the antenna path is connected with the first antenna and the second antenna, the switch unit can gate the first antenna or the second antenna, and the antenna gated by the switch unit is responsible for receiving and transmitting signals. In practical application, the first antenna and the second antenna are diagonally arranged on the antenna substrate, and the first antenna and the second antenna are directional antennas. As shown in fig. 2, fig. 2 shows a top view of the CPE device, in fig. 2, the first antenna and the second antenna in one antenna path are located on the same diagonal.
The application provides an antenna switching method, which is applied to a first electronic device, and as shown in fig. 3, the method includes:
s301: determining a first distribution mode according to the communication state of the first electronic equipment; the first distribution pattern characterizes a distribution pattern of antennas on the antenna substrate gated by the switching element of each of the at least two antenna paths.
Here, the first antenna and the second antenna may both implement transmission and reception of signals, and when at least two antenna paths are arranged on the antenna substrate of the first electronic device, when antennas gated by the switching unit of each antenna path are different, the distribution patterns of the antennas on the antenna substrate will be different, in this embodiment, two different antenna distribution patterns are set, one distribution pattern is a uniform distribution pattern in which antennas gated by the switching unit of each antenna path are uniformly distributed on the antenna substrate, and the other distribution pattern is a directional distribution pattern in which antennas gated by the switching unit of each antenna path are directionally distributed on the antenna substrate, and a communication state of the first electronic device is passed through, and a first distribution pattern is determined in the two set antenna distribution patterns, so that a corresponding antenna can be gated in a distribution pattern required to satisfy the communication state of the first electronic device And (5) working.
In an embodiment, the number of antennas disposed on the first electronic device is greater than or equal to the number of antenna paths disposed on the first electronic device.
Here, the antenna arranged on the first electronic device can operate in a multiple-in multiple-out (MIMO) mode, assuming that the number of MIMO of the first electronic device is M and the number of antennas arranged on the antenna substrate of the first electronic device is N, then N should be greater than or equal to M, in a typical case, there is a relationship N ═ a × M between N and M, for example, when M is 4 and a is 2, then N ═ 8 can be obtained, the antenna layout diagram of the antenna substrate of the corresponding first electronic device is shown in fig. 4, wherein, the antenna comprises an antenna path A, an antenna path B, an antenna path C and an antenna path D, each antenna path includes a first antenna and a second antenna, where the first antenna of the antenna path a may be denoted as a-1, and the second antenna of the antenna path a may be denoted as a-2.
S302: and controlling a switch unit in each antenna path of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution mode.
The switching unit of the antenna path can gate the first antenna or the second antenna, the antenna gated by the switching unit is responsible for signal reception/signal transmission, and illustratively, the antenna gated by the switching unit is responsible for signal reception in a case where the communication state of the first electronic device is in the reception state, and the antenna gated by the switching unit is responsible for signal transmission in a case where the communication state of the first electronic device is in the transmission state, and the antenna operated in different communication states of the first electronic device can be changed by controlling the antenna gated by the switching unit. In the embodiment, the switching unit in the antenna path is controlled to gate the first antenna or the second antenna according to a first distribution pattern corresponding to the communication state of the first electronic device, wherein the distribution pattern of the antennas on the antenna substrate, which are gated by the switching unit of the antenna path, corresponds to the first distribution pattern.
In an embodiment, in a case that the communication state of the first electronic device is in a receiving state, the first distribution mode is a uniform distribution mode;
the controlling the switching unit in each of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution pattern includes:
controlling a switching element in each of the at least two antenna paths to gate either the first antenna or the second antenna; wherein,
all the gated antennas are evenly distributed on the antenna substrate.
Here, when the communication state of the first electronic device is in the receiving state, the first distribution mode is the uniform distribution mode, in this case, the switch unit in each of the at least two antenna paths gates the first antenna or the second antenna, and all the gated antennas are uniformly distributed on the antenna substrate, and the antenna of the first electronic device receives signals sent by other electronic devices in the uniform distribution mode, for example, receives signals sent by other electronic devices to be accessed and requesting to access the first electronic device, so that the antenna on the first electronic device can completely cover signals in the range where the first electronic device is located, and thus, the access of other electronic devices can be achieved.
Referring to fig. 4, the first electronic device in fig. 4 has 4 antenna paths, which are antenna path a, antenna path B, antenna path C, and antenna path D, respectively, where each antenna path includes a first antenna and a second antenna, and then may be denoted as a-1 for the first antenna in antenna path a and a-2 for the second antenna in antenna path a. When the communication state of the first electronic device is in the receiving state, the switching units in the antenna path a, the antenna path B, the antenna path C and the antenna path D can be controlled to gate the first antenna, accordingly, as shown in fig. 5, fig. 5 shows a distribution diagram of antennas gated by the first electronic device, in fig. 5, the gated antennas a-1, B-1, C-1 and D-1 are uniformly distributed on the antenna substrate on the first electronic device.
In an embodiment, when the first electronic device communication state is in a sending state, the first distribution mode is an orientation mode;
the controlling the switching unit in each of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution pattern includes:
controlling a switch unit in each antenna path of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device in the first antenna and the second antenna; the second electronic device characterizes an electronic device that is accessed to the first electronic device.
Here, in the case where the first electronic device communication state is in the transmission state, the first distribution pattern is an orientation distribution pattern, in this case, the switching element in each of the at least two antenna paths may gate the first antenna or the second antenna, and, all the gated antennas may exhibit an orientation distribution on the antenna substrate, the directional distribution mode refers to that the distance between the gated antenna and the second electronic device is shortest, the switch unit in each antenna channel is controlled to gate the antenna with the shortest distance between the first antenna and the second electronic device, and the antenna on the first electronic device transmits signals to the second electronic device in the directional distribution mode, so that the signals transmitted by the first electronic device can be better covered in the area where the second electronic device is located, and the second electronic device can receive stronger signals.
As shown in fig. 6, fig. 6 shows another schematic distribution of antennas gated by the first electronic device, four antenna paths, namely an antenna path A, an antenna path B, an antenna path C and an antenna path D, are arranged on an antenna substrate of the first electronic device, each antenna path comprises a first antenna and a second antenna, where a first antenna in the antenna path a may be denoted as a-1, in fig. 6, the second electronic device is located on the left side of the first electronic device, that is, the antenna disposed on the left side of the antenna substrate of the first electronic device is closest to the second electronic device, and the second antenna in the antenna path a, the first antenna in the antenna path B, the first antenna in the antenna path C, and the second antenna in the antenna path D disposed on the antenna substrate of the first electronic device are gated.
In an embodiment, as shown in fig. 7, the controlling the switching unit in each of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device, includes:
s701: determining a first parameter corresponding to each antenna path in the at least two antenna paths; the first parameter is characteristic of the strength of the first signal; the first signal is representative of a signal transmitted by the second electronic device.
Here, the first electronic device may determine the location of the second electronic device according to the strength of the received first signal, and in practical applications, determine the strength of the first signal received by each antenna path of all antenna paths arranged on the first electronic device, where the first signal is a signal transmitted by the second electronic device. In practical application, when the communication state of the first electronic device is in the receiving state, the antennas gated by the switching units in all antenna paths laid by the first electronic device are responsible for receiving the first signal, thus, the first parameter is essentially the strength of the first signal received by the gated antenna, and for example, with reference to fig. 5, assume that the switching element in each antenna path of the first electronic device gates the first antenna of antenna path a, the first antenna of antenna path B, the first antenna of antenna path C, and the first antenna of antenna path D, and accordingly, the first parameter is determined based on the first signal received by the first antenna of antenna path a, the first parameter is determined based on the first signal received by the first antenna of antenna path B, the first parameter is determined based on the first signal received by the first antenna of antenna path C, and the first parameter is determined based on the first signal received by the first antenna of antenna path D.
S702: and determining the position information of the second electronic equipment according to the first parameter corresponding to each antenna access of the at least two antenna accesses.
Here, when the signal transmission path is shorter, correspondingly, the strength of the received signal is greater, and therefore, the position information of the second electronic device may be determined according to the first parameter corresponding to each of the at least two antenna paths, where the position information of the second electronic device may be the position relationship between the first electronic device and the second electronic device, referring to fig. 5, the antenna paths are uniformly arranged on four sides of the antenna substrate of the first electronic device, and when the first parameter of the antenna path close to one side of the second electronic device is greater than the other antenna paths, for example, when the first parameter corresponding to the antenna path a and the first parameter corresponding to the antenna path D are both greater than the first parameter of the antenna path B and the first parameter of the antenna path C, it may be determined that the second electronic device is located on the right side of the first electronic device, so that according to the magnitude relationship of the first parameters of the antenna paths arranged on the antenna substrate, thereby determining location information of the second electronic device.
S703: and according to the position information of the second electronic equipment, determining the antenna with the shortest distance to the second electronic equipment in the first antenna and the second antenna of each antenna access of the at least two antenna accesses.
Here, the location information of the second electronic device can determine the location of the second electronic device, for example, when the location information of the second electronic device indicates that the second electronic device is located on the left side of the first electronic device, the antenna path arranged on the left side of the antenna substrate of the first electronic device is shortest from the second electronic device, and the antenna arranged on the left side of each antenna path is correspondingly gated.
In an embodiment, after the controlling the switching unit in each of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device, the method further includes:
and controlling the antenna gated by the switching unit of each antenna path in the at least two antenna paths to face the position of the second electronic device.
Here, after determining the location information of the second electronic device, the antenna gated by the switching unit in each antenna path may be further directed to the location where the second electronic device is located, so that the antenna operating on the first electronic device transmits a signal toward the second electronic device, which enables the second electronic device to better receive the transmission signal of the first electronic device, as shown in fig. 8, the second electronic device is located to the left of the first electronic device in fig. 8, after gating the second antenna of antenna path a, the first antenna of antenna path B, the first antenna of antenna path C, and the first antenna of antenna path D, the orientations of the second antenna of antenna path a, the first antenna of antenna path B, the first antenna of antenna path C, and the first antenna of antenna path D may be adjusted such that the antenna gated by the switching element is oriented to the left.
In an embodiment, after the switching unit controlling the antenna path gates the antenna with the shortest distance to the second electronic device among the first antenna and the second antenna, the method further includes:
adjusting a second parameter from a first frequency to a second frequency if the second electronic device is of the first type; the first type representation position is fixed on the electronic equipment within a set range; the first frequency representation determines a frequency of location information of the second electronic device; wherein,
the first frequency is greater than the second frequency.
Here, the first electronic device may determine the type of the second electronic device according to the first signal or the type of data transmitted by the second electronic device, and when the second electronic device is of the first type, it indicates that the second electronic device is a fixed electronic device, the location of the second electronic device is fixed within the set range, that is, the location of the second electronic device does not change randomly, and even if the location of the second electronic device changes, the location of the second electronic device is still within the set range. The antenna gated by the first electronic device in the sending state is gated according to the position information of the second electronic device, after the antenna corresponding to each antenna channel is gated according to the position information of the second electronic device, the position of the second electronic device of the first type can be fixed within a set range, so that the frequency of the first electronic device for determining the position information of the second electronic device can be reduced, the frequency of the second electronic device for determining the position information of the second electronic device is reduced to a second frequency from an original first frequency, and the power consumption of the first electronic device can be reduced. When the second electronic device is of the second type, it indicates that the second electronic device is a mobile electronic device, and the location information of the second electronic device may change at any time, so that the location information of the second electronic device needs to be determined in time, and the directions of the gated antennas in each antenna path and the gated antennas are adjusted according to the location information of the second electronic device, so that the signal range of the first electronic device can better cover the area where the second electronic device is located.
In the embodiment of the application, the switching unit in each antenna path is controlled to gate the antenna corresponding to the communication state of the first electronic device in the first antenna and the second antenna according to the communication state of the first electronic device, so that the coverage performance of the first electronic device can be improved, and signal transmission between the first electronic device and other electronic devices connected to the first electronic device is facilitated.
An application embodiment is further provided, and as shown in fig. 9, fig. 9 shows a schematic interaction flow diagram between a first electronic device and a second electronic device.
And under the condition that the first electronic equipment is in the receiving state, determining that the first distribution mode is a uniform distribution mode.
The switching unit is controlled to gate the antennas according to a uniform distribution pattern, wherein all the gated antennas are uniformly distributed on the antenna substrate.
The first signal transmitted by the second electronic device.
After the first electronic equipment receives the first signal, determining the position information of the second electronic equipment according to the first parameter corresponding to each antenna channel; wherein the first parameter is indicative of a strength of each antenna path to receive the first signal.
According to the position information of the second electronic device, each antenna path gates the antenna which is the shortest distance between the first antenna and the second electronic device.
The gated antenna is directed towards the location of the second electronic device.
The first electronic device transmits a second signal to the second electronic device.
In order to implement the method according to the embodiment of the present application, an antenna switching apparatus is further provided in the embodiment of the present application, and fig. 10 is a schematic structural diagram of the antenna switching apparatus provided in the embodiment of the present application, and is applied to a first electronic device, where at least two antenna paths are arranged on an antenna substrate of the first electronic device; each of the at least two antenna paths includes a first antenna and a second antenna diagonally disposed on the antenna substrate, and a switch unit respectively connected to the first antenna and the second antenna, as shown in fig. 10, and the apparatus includes:
a determining unit 1001, configured to determine a first distribution mode according to a communication state of the first electronic device; the first distribution pattern characterizes a distribution pattern of antennas on the antenna substrate gated by the switching element of each of the at least two antenna paths;
a control unit 1002, configured to control the switch unit in each of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution pattern.
In an embodiment, in a case that the communication state of the first electronic device is in a receiving state, the first distribution mode is a uniform distribution mode;
the control unit 1002, when controlling the switch unit in each of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution pattern, is further configured to:
controlling a switching element in each of the at least two antenna paths to gate either the first antenna or the second antenna; wherein,
all the gated antennas are evenly distributed on the antenna substrate.
In an embodiment, in a case that the first electronic device communication state is in a transmission state, the first distribution mode is an orientation mode;
the control unit 1002, when controlling the switch unit in each of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution pattern, is further configured to:
controlling a switch unit in each antenna path of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device in the first antenna and the second antenna; the second electronic device characterizes an electronic device that is accessed to the first electronic device.
In an embodiment, the control unit 1002, in controlling the switch unit in each of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device, of the first antenna and the second antenna, is further configured to:
determining a first parameter corresponding to each antenna path in the at least two antenna paths; the first parameter is characteristic of the strength of the first signal; the first signal is characterized by a signal sent by the second electronic device;
determining the position information of the second electronic device according to the first parameter corresponding to each antenna access of the at least two antenna accesses;
and according to the position information of the second electronic equipment, determining the antenna with the shortest distance to the second electronic equipment in the first antenna and the second antenna of each antenna access of the at least two antenna accesses.
In an embodiment, after controlling the switch unit in each of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device, the control unit 1002 is further configured to:
and controlling the antenna gated by the switching unit of each antenna path in the at least two antenna paths to face the position of the second electronic device.
In an embodiment, after the switching unit controlling the antenna path gates the antenna with the shortest distance to the second electronic device, the control unit 1002 is further configured to:
adjusting a second parameter from a first frequency to a second frequency if the second electronic device is of the first type; the first type representation position is fixed on the electronic equipment within a set range; the first frequency representation determines a frequency of location information of the second electronic device; wherein,
the first frequency is greater than the second frequency.
In an embodiment, the number of antennas disposed on the first electronic device is greater than or equal to the number of antenna paths disposed on the first electronic device.
In practical applications, the determining unit 1001 and the controlling unit 1002 may be implemented by a processor in the antenna switching device. Of course, the processor needs to run the program stored in the memory to realize the functions of the above-described program modules.
It should be noted that, when the antenna switching device provided in the embodiment of fig. 10 performs antenna switching, the division of the program modules is merely exemplified, and in practical applications, the above processing may be distributed to different program modules according to needs, that is, the internal structure of the device may be divided into different program modules to complete all or part of the above-described processing. In addition, the antenna switching apparatus and the antenna switching method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Based on the hardware implementation of the program module, and in order to implement the method according to the embodiment of the present application, an embodiment of the present application further provides an electronic device, and fig. 11 is a schematic diagram of a hardware composition structure of the electronic device according to the embodiment of the present application, and as shown in fig. 11, the electronic device includes:
a communication interface 1 capable of information interaction with other devices such as network devices and the like;
and the processor 2 is connected with the communication interface 1 to realize information interaction with other equipment, and is used for executing the antenna switching method provided by one or more technical schemes when running a computer program. And the computer program is stored on the memory 3.
In practice, of course, the various components in the electronic device are coupled together by the bus system 4. It will be appreciated that the bus system 4 is used to enable connection communication between these components. The bus system 4 comprises, in addition to a data bus, a power bus, a control bus and a status signal bus. For clarity of illustration, however, the various buses are labeled as bus system 4 in fig. 11.
The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program for operating on an electronic device.
It will be appreciated that the memory 3 may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 3 described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the above embodiment of the present application may be applied to the processor 2, or implemented by the processor 2. The processor 2 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 2. The processor 2 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 2 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 3, and the processor 2 reads the program in the memory 3 and in combination with its hardware performs the steps of the aforementioned method.
When the processor 2 executes the program, the corresponding processes in the methods according to the embodiments of the present application are realized, and for brevity, are not described herein again.
In an exemplary embodiment, the present application further provides a storage medium, i.e. a computer storage medium, specifically a computer readable storage medium, for example, including a memory 3 storing a computer program, which can be executed by a processor 2 to implement the steps of the foregoing method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal and method may be implemented in other manners. The above-described device embodiments are only illustrative, for example, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
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, that is, 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, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The antenna switching method is characterized by being applied to first electronic equipment, wherein at least two antenna paths are distributed on an antenna substrate of the first electronic equipment; each of the at least two antenna paths comprises a first antenna and a second antenna which are diagonally arranged on the antenna substrate, and a switch unit which is respectively connected with the first antenna and the second antenna; the method comprises the following steps:
determining a first distribution mode according to the communication state of the first electronic equipment; the first distribution pattern characterizes a distribution pattern of antennas on the antenna substrate gated by the switching element of each of the at least two antenna paths;
and controlling a switch unit in each antenna path of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution mode.
2. The method according to claim 1, wherein in a case where the communication state of the first electronic device is a reception state, the first distribution pattern is a uniform distribution pattern;
the controlling the switching unit in each of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution pattern includes:
controlling a switching element in each of the at least two antenna paths to gate either the first antenna or the second antenna; wherein,
all the gated antennas are evenly distributed on the antenna substrate.
3. The method according to claim 2, wherein in the case that the first electronic device communication state is a transmission state, the first distribution mode is an orientation mode;
the controlling the switching unit in each of the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution pattern includes:
controlling a switch unit in each antenna path of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device in the first antenna and the second antenna; the second electronic device characterizes an electronic device that is accessed to the first electronic device.
4. The method of claim 3, wherein the controlling the switching element in each of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device among the first antenna and the second antenna comprises:
determining a first parameter corresponding to each antenna path in the at least two antenna paths; the first parameter is characteristic of the strength of the first signal; the first signal is characterized by a signal sent by the second electronic device;
determining the position information of the second electronic device according to the first parameter corresponding to each antenna access of the at least two antenna accesses;
and according to the position information of the second electronic equipment, determining the antenna with the shortest distance to the second electronic equipment in the first antenna and the second antenna of each antenna access of the at least two antenna accesses.
5. The method of claim 3, wherein after the controlling the switching element in each of the at least two antenna paths to gate the antenna with the shortest distance to the second electronic device of the first antenna and the second antenna, the method further comprises:
and controlling the antenna gated by the switching unit of each antenna path in the at least two antenna paths to face the position of the second electronic device.
6. The method of claim 3, wherein after the switching unit controlling the antenna path gates the antenna with the shortest distance to the second electronic device among the first antenna and the second antenna, the method further comprises:
adjusting a second parameter from a first frequency to a second frequency if the second electronic device is of the first type; the first type representation position is fixed on the electronic equipment within a set range; the first frequency representation determines a frequency of location information of the second electronic device; wherein,
the first frequency is greater than the second frequency.
7. The method of claim 1, wherein the number of antennas deployed on the first electronic device is greater than or equal to the number of antenna pathways deployed on the first electronic device.
8. An antenna switching device is characterized in that the antenna switching device is applied to first electronic equipment, and at least two antenna paths are distributed on an antenna substrate of the first electronic equipment; each of the at least two antenna paths comprises a first antenna and a second antenna which are diagonally arranged on the antenna substrate, and a switch unit which is respectively connected with the first antenna and the second antenna; the device comprises:
the determining unit is used for determining a first distribution mode according to the communication state of the first electronic equipment; the first distribution pattern characterizes a distribution pattern of antennas on the antenna substrate gated by the switching element of each of the at least two antenna paths;
and the control unit is used for controlling the switch unit in each antenna path in the at least two antenna paths to gate the first antenna or the second antenna according to the first distribution mode.
9. An electronic device, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 7 when running the computer program.
10. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, performing the steps of the method of any one of claims 1 to 7.
CN202111564993.1A 2021-12-20 2021-12-20 Antenna switching method and device, electronic equipment and storage medium Active CN114172537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111564993.1A CN114172537B (en) 2021-12-20 2021-12-20 Antenna switching method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111564993.1A CN114172537B (en) 2021-12-20 2021-12-20 Antenna switching method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114172537A true CN114172537A (en) 2022-03-11
CN114172537B CN114172537B (en) 2023-06-06

Family

ID=80487583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111564993.1A Active CN114172537B (en) 2021-12-20 2021-12-20 Antenna switching method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114172537B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6392594B1 (en) * 1998-09-22 2002-05-21 National Space Development Agency Of Japan Radio wave receiving apparatus having an improved antenna resolution
JP2011155626A (en) * 2009-12-28 2011-08-11 Fujitsu Ltd Antenna device and communication device
US20110279319A1 (en) * 2009-02-13 2011-11-17 Hiroaki Takano Communication Device, Communication Control Method and Communication System
US20120315851A1 (en) * 2011-06-07 2012-12-13 Samsung Electronics Co. Ltd. Method and apparatus for switching antenna in portable terminal
TW201349784A (en) * 2012-05-30 2013-12-01 Univ Nat Sun Yat Sen A MIMO antenna, antenna unit thereof and a system in package having said antenna
CN107017926A (en) * 2016-01-26 2017-08-04 索尼公司 Non-uniform antenna array and its signal transacting
CN108769367A (en) * 2018-04-20 2018-11-06 Oppo广东移动通信有限公司 Method of controlling antenna and Related product
CN109417407A (en) * 2016-07-15 2019-03-01 梁平 MIMO coupler array with high-freedom degree
US20190334635A1 (en) * 2018-04-27 2019-10-31 Anritsu Corporation Calibration system and calibration method
CN111294075A (en) * 2020-02-17 2020-06-16 Oppo广东移动通信有限公司 Antenna switching circuit, antenna switching method and device
CN111433972A (en) * 2017-12-11 2020-07-17 索尼半导体解决方案公司 Butler matrix circuit, phased array antenna, front-end module, and wireless communication terminal
CN112383321A (en) * 2020-11-12 2021-02-19 Oppo广东移动通信有限公司 Radio frequency system, antenna switching control method and customer premises equipment
US20210126344A1 (en) * 2019-10-23 2021-04-29 Samsung Electronics Co., Ltd. Electronic device including antenna module
WO2021083055A1 (en) * 2019-10-31 2021-05-06 华为技术有限公司 Antenna assembly and communication device
WO2021129525A1 (en) * 2019-12-24 2021-07-01 维沃移动通信有限公司 Antenna circuit, electronic device, and antenna performance adjustment method
WO2021143649A2 (en) * 2020-01-19 2021-07-22 荣耀终端有限公司 Signal processing system and related electronic device
CN113242056A (en) * 2021-06-15 2021-08-10 Oppo广东移动通信有限公司 Client front-end device, antenna control method, and computer-readable storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6392594B1 (en) * 1998-09-22 2002-05-21 National Space Development Agency Of Japan Radio wave receiving apparatus having an improved antenna resolution
US20110279319A1 (en) * 2009-02-13 2011-11-17 Hiroaki Takano Communication Device, Communication Control Method and Communication System
JP2011155626A (en) * 2009-12-28 2011-08-11 Fujitsu Ltd Antenna device and communication device
US20120315851A1 (en) * 2011-06-07 2012-12-13 Samsung Electronics Co. Ltd. Method and apparatus for switching antenna in portable terminal
TW201349784A (en) * 2012-05-30 2013-12-01 Univ Nat Sun Yat Sen A MIMO antenna, antenna unit thereof and a system in package having said antenna
CN107017926A (en) * 2016-01-26 2017-08-04 索尼公司 Non-uniform antenna array and its signal transacting
CN109417407A (en) * 2016-07-15 2019-03-01 梁平 MIMO coupler array with high-freedom degree
CN111433972A (en) * 2017-12-11 2020-07-17 索尼半导体解决方案公司 Butler matrix circuit, phased array antenna, front-end module, and wireless communication terminal
CN108769367A (en) * 2018-04-20 2018-11-06 Oppo广东移动通信有限公司 Method of controlling antenna and Related product
US20190334635A1 (en) * 2018-04-27 2019-10-31 Anritsu Corporation Calibration system and calibration method
US20210126344A1 (en) * 2019-10-23 2021-04-29 Samsung Electronics Co., Ltd. Electronic device including antenna module
WO2021083055A1 (en) * 2019-10-31 2021-05-06 华为技术有限公司 Antenna assembly and communication device
WO2021129525A1 (en) * 2019-12-24 2021-07-01 维沃移动通信有限公司 Antenna circuit, electronic device, and antenna performance adjustment method
WO2021143649A2 (en) * 2020-01-19 2021-07-22 荣耀终端有限公司 Signal processing system and related electronic device
CN111294075A (en) * 2020-02-17 2020-06-16 Oppo广东移动通信有限公司 Antenna switching circuit, antenna switching method and device
CN112383321A (en) * 2020-11-12 2021-02-19 Oppo广东移动通信有限公司 Radio frequency system, antenna switching control method and customer premises equipment
CN113242056A (en) * 2021-06-15 2021-08-10 Oppo广东移动通信有限公司 Client front-end device, antenna control method, and computer-readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵轶卓;陈春红;马伟男;邾志民;: "频率与方向图可重构微带天线设计", 南京理工大学学报 *

Also Published As

Publication number Publication date
CN114172537B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
EP2929635B1 (en) Smart antenna platform for indoor wireless local area networks
US7724718B2 (en) Wireless communication device capable of switching antennas according to data transmission information on network
US20050266903A1 (en) Information device and diversity antenna control method
KR20100022374A (en) An antenna apparatus
EP3553885B1 (en) Array antenna and network apparatus
US20050093753A1 (en) Information device
US7627301B2 (en) Spatial diversity receiving device and input channel switching method
WO2014086318A1 (en) Beam forming antenna array
US20110102293A1 (en) Antenna Assembly
CN114124124B (en) Radio frequency front-end module, wearable device, data transmission method and storage medium
CN114172537A (en) Antenna switching method and device, electronic equipment and storage medium
EP3375039A1 (en) A cloud computer realized in a datacenter using mmwave radio links for a 3d torus
CN107453825B (en) Communication control method, mobile terminal and computer readable storage medium
CN107534458A (en) Communication network, power converter cabinet and the method for it
US7519396B2 (en) Integrated circuit package
CN111063985B (en) Electronic device
CN106455132A (en) Method and apparatus for controlling multiple WIFI modules, and terminal device
WO2014114252A1 (en) Power control method and device, beam forming apparatus
CN110198181B (en) Method, apparatus and storage medium for transmitting WLAN frame
CN112398491B (en) Electronic device
CN113745853B (en) Antenna array and wireless communication equipment
JP5950086B2 (en) Wireless communication system and communication apparatus
JP2009211673A (en) Rfid device and rfid device system
CN115579617A (en) Electronic equipment and control method thereof
WO2016027661A1 (en) Base station device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant