CN110891121A - Antenna module switching method and device, electronic equipment and computer readable storage medium - Google Patents
Antenna module switching method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110891121A CN110891121A CN201911142490.8A CN201911142490A CN110891121A CN 110891121 A CN110891121 A CN 110891121A CN 201911142490 A CN201911142490 A CN 201911142490A CN 110891121 A CN110891121 A CN 110891121A
- Authority
- CN
- China
- Prior art keywords
- millimeter wave
- wave sensor
- antenna module
- electronic equipment
- wall
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01Q—ANTENNAS, i.e. RADIO AERIALS
- H01Q21/00—Antenna arrays or systems
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Shielding Devices Or Components To Electric Or Magnetic Fields (AREA)
Abstract
The application relates to an antenna module switching method and device, electronic equipment and a computer readable storage medium, which are applied to the electronic equipment, wherein the electronic equipment comprises a millimeter wave sensor, a first antenna module and a second antenna module; the millimeter wave sensor comprises a microstrip filter, the microstrip filter comprises an artificial surface plasmon and a defect unit, the millimeter wave sensor is arranged in the electronic equipment shell, the millimeter wave sensor is attached to the inner wall of the electronic equipment shell, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, and the distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance. The antenna module switching method comprises the following steps: whether the outer wall corresponding to the inner wall of the electronic equipment shell attached by the millimeter wave sensor is in the shielding state or not is detected by the millimeter wave sensor, and when the outer wall corresponding to the inner wall of the electronic equipment shell attached by the millimeter wave sensor is detected to be in the shielding state, the outer wall is switched to the second antenna module to carry out communication.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to an antenna module switching method and apparatus, an electronic device, and a computer-readable storage medium.
Background
The antennas of the existing electronic devices such as the intelligent terminal are generally distributed inside the housing of the intelligent terminal, and when the housing area corresponding to the antenna position is shielded, the communication performance of the antennas is affected. The communication performance of the antenna will directly affect the strength of the internet access or communication signal of the electronic device. Therefore, it is a problem to be solved urgently how to improve the internet access or communication signal of the electronic device when the housing corresponding to the antenna position on the electronic device is shielded and may affect the communication performance of the antenna built in the housing.
Disclosure of Invention
The embodiment of the application provides an antenna module switching method and device, electronic equipment and a computer readable storage medium, which can improve the communication quality of the electronic equipment.
An antenna module switching method is applied to electronic equipment, and the electronic equipment comprises a millimeter wave sensor, a first antenna module and a second antenna module; the millimeter wave sensor comprises a microstrip filter, the microstrip filter comprises an artificial surface plasmon and a defect unit, the millimeter wave sensor is arranged in the electronic equipment shell and is attached to the inner wall of the electronic equipment shell, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, and the distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance; the method comprises the following steps:
detecting whether the outer wall corresponding to the inner wall of the electronic equipment shell attached with the millimeter wave sensor is in a shielding state or not by the millimeter wave sensor;
and when the outer wall corresponding to the inner wall of the electronic equipment shell attached with the millimeter wave sensor is detected to be in a shielding state, switching to a second antenna module for communication.
An antenna module switching device is applied to electronic equipment, and the electronic equipment comprises a millimeter wave sensor, a first antenna module and a second antenna module; the millimeter wave sensor includes microstrip filter, microstrip filter includes artifical surface plasmon and defect unit, the millimeter wave sensor sets up in the electronic equipment shell, just millimeter wave sensor and the laminating of electronic equipment shell inner wall, the millimeter wave sensor with distance between the first antenna module is less than predetermineeing the distance, the millimeter wave sensor with distance between the second antenna module is greater than or equal to predetermineeing the distance, the device includes:
the shielding state detection module is used for detecting whether the outer wall corresponding to the inner wall of the electronic equipment shell region attached by the millimeter wave sensor is in a shielding state or not through the millimeter wave sensor;
and the antenna module switching module is used for switching to a second antenna module for communication when detecting that the outer wall corresponding to the inner wall of the electronic equipment shell area attached by the millimeter wave sensor is in a shielding state.
A millimeter wave sensor is applied to electronic equipment and comprises a micro-strip filter, wherein the micro-strip filter comprises an artificial surface plasmon and a defect unit; the millimeter wave sensor is arranged in the electronic equipment shell and attached to the inner wall of the electronic equipment shell, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, and the distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance.
An electronic device comprises the millimeter wave sensor, a first antenna module, a second antenna module, a memory and a processor, wherein the millimeter wave sensor comprises a microstrip filter which comprises an artificial surface plasmon and a defect unit; the millimeter wave sensor is arranged in the electronic equipment shell and is attached to the inner wall of the electronic equipment shell, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, and the distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the above method.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as above.
The antenna module switching method and device, the electronic equipment and the computer readable storage medium are applied to the electronic equipment, and the electronic equipment comprises a millimeter wave sensor, a first antenna module and a second antenna module; the millimeter wave sensor comprises a microstrip filter, the microstrip filter comprises an artificial surface plasmon and a defect unit, the millimeter wave sensor is arranged in the electronic equipment shell, the millimeter wave sensor is attached to the inner wall of the electronic equipment shell, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, and the distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance. The antenna module switching method comprises the following steps: whether the outer wall corresponding to the inner wall of the electronic equipment shell attached by the millimeter wave sensor is in the shielding state or not is detected by the millimeter wave sensor, and when the outer wall corresponding to the inner wall of the electronic equipment shell attached by the millimeter wave sensor is detected to be in the shielding state, the outer wall is switched to the second antenna module to carry out communication.
Because the millimeter wave sensor comprises the microstrip filter, the microstrip filter comprises the artificial surface plasmon and the defect unit, and the defect unit mainly plays a role of introducing a band elimination effect into a transmission characteristic curve. Therefore, when the outer wall corresponding to the inner wall of the electronic equipment shell attached to the millimeter wave sensor is in a shielding state, millimeter wave signals with different frequencies are input into the microstrip filter, and the transmission coefficient of the millimeter wave signals close to the specific frequency after filtering is far smaller than that of the millimeter wave signals with other frequencies. Thereby, detect out that the outer wall that the electronic equipment shell inner wall that the millimeter wave sensor was laminated corresponds is in and shelters from the state, because the distance between first antenna module and the millimeter wave sensor is less than preset distance, so first antenna module also can be sheltered from to switch over to the second antenna module and communicate. The distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance, so that the millimeter wave sensor is not shielded and the communication quality is not influenced. Therefore, the antenna module can be switched in time for communication, and the communication quality of the electronic equipment is improved.
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 diagram showing an internal structure of an electronic apparatus according to an embodiment;
FIG. 2 is a schematic structural diagram of a microstrip filter according to an embodiment;
FIG. 3 is a flow chart of a method for switching antenna modules in one embodiment;
FIG. 4 is a flow chart of a method of detecting occlusion in FIG. 3;
fig. 5 is a schematic view of an operating state of an electronic device in an embodiment in which an outer wall corresponding to an inner wall of a housing region of the electronic device attached to the millimeter wave sensor is in a shielding state/non-shielding state;
FIG. 6 is a graph illustrating transmission curves for a hand-held state and a non-hand-held state obtained through a plurality of experiments according to an embodiment;
FIG. 7 is a block diagram of an embodiment of an antenna module switching device;
fig. 8 is a schematic structural diagram of an electronic device including a millimeter wave sensor in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 1, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement an antenna module switching method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic equipment can be various mobile phones, computers, portable equipment and the like.
The electronic equipment comprises a millimeter wave sensor, a first antenna module and a second antenna module. As shown in fig. 2, the millimeter wave sensor includes a microstrip filter 200 including an artificial surface plasmon 210 and a defect cell 220, and further includes an input terminal 230, an output terminal 240, and a medium 250 (load bearing function). In fig. 2, a periodic rectangular metal sheet with a long length forms surface artificial surface plasmons, and a rectangular metal sheet with a short length is called a defect unit, and mainly plays a role in introducing a band-stop effect into a transmission characteristic curve. The millimeter wave sensor is arranged in the electronic equipment shell, the millimeter wave sensor is attached to the inner wall of the electronic equipment shell, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, and the distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance.
Fig. 3 is a flowchart of an antenna module switching method in an embodiment, which is applied to an electronic device, and as shown in fig. 3, the antenna module switching method includes steps 320 to 340.
And 320, detecting whether the outer wall corresponding to the inner wall of the electronic equipment shell attached with the millimeter wave sensor is in a shielding state or not through the millimeter wave sensor.
Because the metal layer in the millimeter wave sensor comprises the microstrip filter, the microstrip filter comprises the artificial surface plasmon and the defect unit, and the defect unit mainly plays a role in introducing a band elimination effect into a transmission characteristic curve. When the outer wall that the electronic equipment shell inner wall that millimeter wave sensor laminated corresponds was in the state of sheltering from like this, then after millimeter wave sensor launches the millimeter wave signal input of different frequencies in proper order to the metal level, the transmission coefficient of the millimeter wave signal that is close specific frequency can be less than the transmission coefficient of the millimeter wave signal of other frequencies far away. When different media are attached to the outer wall corresponding to the inner wall of the electronic device shell to which the millimeter wave sensor is attached, the transmission coefficients of millimeter wave signals with different frequencies, which are sequentially transmitted by the millimeter wave sensor, input into the metal layer are affected due to the different dielectric constants of the different media. The transmission coefficient is the attenuation coefficient of the signal during transmission. Therefore, after the signal processing chip receives the output millimeter wave signal, the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient is analyzed to determine whether the frequency is consistent with the preset frequency. The preset frequency is the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient when different media are attached to the outer wall corresponding to the inner wall of the electronic equipment shell to which the millimeter wave sensor is attached.
And 340, when the outer wall corresponding to the inner wall of the electronic equipment shell attached with the millimeter wave sensor is detected to be in a shielding state, switching to a second antenna module for communication.
If the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient is analyzed to be consistent with the preset frequency, the outer wall corresponding to the inner wall of the electronic equipment shell attached to the millimeter wave sensor is in a shielding state. When only the first millimeter wave sensor is arranged in the electronic equipment, because the distance between the first antenna module and the first millimeter wave sensor is smaller than the preset distance, the first antenna module can be shielded, the antenna module is shielded to influence the communication quality, and therefore the communication is carried out by switching to the second antenna module. The distance between the second antenna module and the first millimeter wave sensor is larger than or equal to the preset distance, so that the second antenna module is not shielded and the communication quality is not influenced.
In the embodiment of the application, because the millimeter wave sensor comprises the microstrip filter, the microstrip filter comprises the artificial surface plasmon and the defect unit, and the defect unit mainly plays a role in introducing a band elimination effect into a transmission characteristic curve. When the outer wall that the electronic equipment shell inner wall that millimeter wave sensor was laminated corresponds was in the state of sheltering from like this, then the millimeter wave sensor launches the millimeter wave signal of different frequencies in proper order and inputs to the microstrip filter after, and the transmission coefficient of the millimeter wave signal that is close specific frequency after the filtering can be less than the transmission coefficient of the millimeter wave signal of other frequencies far away. Thereby, detect out that the outer wall that the electronic equipment shell inner wall that first millimeter wave sensor laminated corresponds is in and shelters from the state, because the distance between first antenna module and the first millimeter wave sensor is less than and predetermines the distance, so first antenna module also can be sheltered from to switch over to the second antenna module and communicate. The distance between the second antenna module and the first millimeter wave sensor is larger than or equal to the preset distance, so that the second antenna module is not shielded and the communication quality is not influenced. Therefore, the antenna module can be switched in time for communication, and the communication quality of the electronic equipment is improved.
In one embodiment, as shown in fig. 4, step 320 of detecting, by the millimeter wave sensor, whether an outer wall corresponding to an inner wall of the electronic device housing area attached to the millimeter wave sensor is in a shielding state includes:
In step 324, millimeter wave signals with different frequencies are output after being filtered by artificial surface plasmons and defect units on the microstrip filter, and the transmission coefficient of the output millimeter wave signals with each frequency is calculated.
In step 326, the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient is obtained as the target frequency.
Specifically, the millimeter wave sensor may be connected to the radio frequency generator, so that millimeter wave signals with different frequencies transmitted by the radio frequency transmitter may be input to the input end of the microstrip filter. Millimeter wave signals with different frequencies are output from an output end after being filtered by artificial surface plasmons and defect units on the microstrip filter, a signal processing chip calculates transmission coefficients of the output millimeter wave signals with different frequencies, the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient at the moment is analyzed, and the frequency of the millimeter wave signal is taken as a target frequency.
And then, comparing the target frequency with a preset frequency, and when the difference value between the target frequency and the preset frequency is smaller than a preset threshold value, detecting that the outer wall corresponding to the inner wall of the electronic equipment shell region attached with the millimeter wave sensor is in a shielding state. For example, the preset threshold is any value between (-1, 1), although the application is not limited thereto. And under the condition that the preset frequency is that various shelters are sheltered on the outer wall corresponding to the inner wall of the electronic equipment shell region attached to the millimeter wave sensor in advance, millimeter wave signals with different frequencies are input into the microstrip filter, are output after being filtered by the artificial surface plasmon and the defect unit on the microstrip filter, and the transmission coefficient of the output millimeter wave signals with each frequency is calculated. And acquiring the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient, namely the preset frequency of the preset obstruction.
For example, as shown in fig. 5, fig. 5(a) is a schematic diagram of an operating state when an outer wall corresponding to an inner wall of a housing area of an electronic device to which the millimeter wave sensor is attached is in a shielding state, that is, when a shielding object (for example, a human hand) exists on the outer wall, the housing area of the electronic device may refer to a middle frame of the electronic device, and of course, the electronic device may also be provided with an antenna module and other components of the millimeter wave sensor. Fig. 5(b) is a schematic view of an operating state when an outer wall corresponding to an inner wall of a housing region of the electronic device attached with the millimeter wave sensor is in a non-shielding state, that is, when no shielding object exists on the outer wall. Because the shielding object (such as a human hand) is a medium with a large dielectric constant compared with air, when the shielding object exists on the outer wall, a band-stop effect can occur in the obtained transmission characteristic curve, that is, the transmission coefficient of the millimeter wave signal close to a specific frequency is far smaller than that of the millimeter wave signals of other frequencies. And the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient is reduced along with the increase of the dielectric constant of the medium. Therefore, as shown in fig. 6, the horizontal axis of the transmission characteristic curve represents the frequency of the millimeter wave signal and the vertical axis represents the transmission coefficient S21 of the millimeter wave signal, which are obtained through a plurality of experiments, in the hand-held state and the non-hand-held state. Fig. 6(a) is a transmission characteristic curve in the hand-held state, and the frequency average value of the millimeter wave signal corresponding to the lowest transmission coefficient in the hand-held state is close to 28 GHz. Fig. 6(b) is a transmission characteristic curve in the non-grip state, and the frequency average of the millimeter wave signal corresponding to the lowest transmission coefficient in the non-grip state is approximately 29 GHz. And assuming that the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient measured by the millimeter wave sensor at this time is 27.5GHz, and the difference between the 27.5GHz and the 28GHz in the hand-held state is smaller than a preset threshold, the hand-held state can be determined. Therefore, it can be determined whether the millimeter wave signal is in the shielding state (the hand-held state) according to the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient analyzed by the signal processing chip. Here, the human hand is only a kind of shelter, and of course, other shelters exist, for example, when the mobile phone is put into a pocket of clothes, the pocket is a shelter; when the mobile phone is close to the ear, the ear is also a shelter. The above is not exhaustive. For each type of sheltering object, whether the outer wall corresponding to the inner wall of the electronic equipment shell area attached by the millimeter wave sensor is in the sheltering state or not is detected in the same way.
In the embodiment of the application, because the millimeter wave sensor comprises the microstrip filter, the microstrip filter comprises the artificial surface plasmon and the defect unit, and the defect unit mainly plays a role in introducing a band elimination effect into a transmission characteristic curve. Based on the band elimination effect, millimeter wave signals with different frequencies are input into the microstrip filter and output after being filtered by the artificial surface plasmon and the defect unit on the microstrip filter. The signal processing chip calculates the transmission coefficient of the output millimeter wave signal of each frequency, and obtains the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient as the target frequency. And comparing the target frequency with a preset frequency, and when the difference value between the target frequency and the preset frequency is smaller than a preset threshold value, detecting that the outer wall corresponding to the inner wall of the electronic equipment shell region attached with the millimeter wave sensor is in a shielding state.
In one embodiment, the preset frequency is calculated by:
when a preset shielding object exists on the outer wall corresponding to the inner wall of the electronic equipment shell region attached to the millimeter wave sensor, millimeter wave signals with different frequencies are input to the microstrip filter;
millimeter wave signals with different frequencies are output after being filtered by artificial surface plasmons and defect units on the microstrip filter, and the transmission coefficient of the output millimeter wave signals with each frequency is calculated;
and acquiring the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient as the preset frequency of the preset shelter.
Specifically, different shelters are selected in advance to shelter the outer wall corresponding to the inner wall of the electronic equipment shell area, which is attached to the meter wave sensor, and then the frequency average value of the millimeter wave signal corresponding to the lowest transmission coefficient corresponding to the shelters is calculated. The millimeter wave sensor may be connected to the radio frequency generator so that millimeter wave signals of different frequencies transmitted by the radio frequency transmitter may be input to the input of the microstrip filter. Millimeter wave signals with different frequencies are output after being filtered by artificial surface plasmons and defect units on the microstrip filter, the signal processing chip calculates transmission coefficients of the output millimeter wave signals with different frequencies, and the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient at the moment is analyzed and used as the preset frequency of the preset shelter.
The frequencies f of the millimeter wave signals corresponding to the lowest transmission coefficients corresponding to media (shields) having different dielectric constants are different. And the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient is reduced along with the increase of the dielectric constant of the medium.
In the embodiment of the application, different shelters are selected in advance to shelter from the outer wall corresponding to the inner wall of the electronic equipment shell area, which is attached to the meter wave sensor, and then the frequency mean value of the millimeter wave signal corresponding to the lowest transmission coefficient corresponding to the shelters is calculated. Therefore, in the actual detection, whether shielding exists or not can be judged according to the difference value between the target frequency and the preset frequency, and the type of the shielding object is judged. So as to switch the antenna in time or take other measures to improve the communication quality of the electronic equipment.
In one embodiment, comparing the target frequency with a preset frequency, and when a difference between the target frequency and the preset frequency is smaller than a preset threshold, detecting that an outer wall corresponding to an inner wall of an electronic device housing area attached to the millimeter wave sensor is in a shielding state, includes:
comparing the target frequency with the preset frequency of a preset shelter, and detecting that the preset shelter exists on the outer wall corresponding to the inner wall of the electronic equipment shell area attached to the millimeter wave sensor when the difference value between the target frequency and the preset frequency of the preset shelter is smaller than a preset threshold value;
after detecting out that the outer wall that the regional inner wall of electronic equipment shell that millimeter wave sensor laminated corresponds is in the state of sheltering from, include:
sending prompt information according to the type of the preset shielding object to prompt a user to remove the preset shielding object, and communicating through the first antenna module after the preset shielding object is removed.
In the embodiment of the application, the target frequency is compared with the preset frequency of each preset obstruction until the preset frequency with the difference value smaller than the preset threshold value is found, and the preset obstruction corresponding to the preset frequency is correspondingly obtained. Then send out the prompt message according to the type of predetermineeing the shelter to the suggestion user removes predetermineeing the shelter, after removing predetermined shelter, communicates through first antenna module.
In one embodiment, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, including:
the millimeter wave sensor is arranged on the inner surface of the middle frame of the electronic equipment, the first antenna module is arranged on the inner surface of the middle frame of the electronic equipment, and the millimeter wave sensor is connected with the tail end of the first antenna module.
Specifically, what millimeter wave sensor adopted in this application is microstrip filter, and microstrip filter has characteristics small, with low costs, can be directly with the inner wall of millimeter wave sensor laminating at the electronic equipment center, be convenient for integrate in electronic equipment. And antenna module generally also sets up at the center internal surface, and the distance between millimeter wave sensor and the first antenna module is less than predetermineeing the distance like this, then detects the outer wall that the inner wall of the electronic equipment center that millimeter wave sensor laminated corresponds through millimeter wave sensor and is in sheltering from the state, then first antenna module will also be in sheltering from the state. In order to ensure the communication quality of the electronic device, the second antenna module can be switched to perform communication.
In the embodiment of the application, the millimeter wave sensor and the first antenna module are both arranged on the inner wall of the middle frame of the electronic equipment, and the millimeter wave sensor is connected with the tail end of the first antenna module. Like this when detecting the outer wall that the inner wall of the electronic equipment center that the millimeter wave sensor was laminated corresponds through the millimeter wave sensor and be in the state of sheltering from, then will accurately detect that first antenna module will also be in the state of sheltering from. In order to ensure the communication quality of the electronic device, the second antenna module can be switched to perform communication.
In one embodiment, the artificial surface plasmon is a first metal sheet, the defect unit is a second metal sheet, and the target frequency has a one-to-one correspondence with the length of the first metal sheet, the length of the second metal sheet, and the preset shielding object.
In the embodiment of the application, when the preset shielding object exists on the outer wall corresponding to the inner wall of the electronic equipment shell area attached to the millimeter wave sensor, millimeter wave signals with different frequencies are input into the microstrip filter. Millimeter wave signals with different frequencies are output after being filtered by artificial surface plasmons (namely, a first metal sheet) and defect units (namely, a second metal sheet) on the microstrip filter, and the transmission coefficient of the output millimeter wave signals with each frequency is calculated. And acquiring the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient as the preset frequency of the preset shelter. The dielectric constant of each preset shielding object is different, and the length of the first metal sheet and the length of the second metal sheet influence the transmission coefficient of the output millimeter wave signal of each frequency. Therefore, when the length of the first metal sheet, the length of the second metal sheet and the preset shielding object are fixed, the calculated target frequency is in one-to-one correspondence with the length of the first metal sheet, the length of the second metal sheet and the preset shielding object. Therefore, the outer wall corresponding to the inner wall of the electronic equipment shell area attached by the millimeter wave sensor can be detected to be in a shielding state, and the specific type of the preset shielding object can be detected. So that corresponding measures are taken according to the specific type of the preset obstruction to improve the communication quality of the electronic equipment.
In an embodiment, as shown in fig. 7, there is also provided an antenna module switching apparatus 700, which is applied to an electronic device, where the electronic device includes a millimeter wave sensor, a first antenna module, and a second antenna module; the millimeter wave sensor includes microstrip filter, and microstrip filter includes artifical surface plasmon and defect unit, and the millimeter wave sensor sets up in the electronic equipment shell, and millimeter wave sensor and the laminating of electronic equipment shell inner wall, and the distance between millimeter wave sensor and the first antenna module is less than and predetermines the distance, and the distance between millimeter wave sensor and the second antenna module is more than or equal to and predetermines the distance, and the device includes:
the shielding state detection module 720 is configured to detect whether an outer wall corresponding to an inner wall of a region of the electronic device housing, to which the millimeter wave sensor is attached, is in a shielding state through the millimeter wave sensor;
and the antenna module switching module 740 is configured to switch to the second antenna module to perform communication when detecting that the outer wall corresponding to the inner wall of the electronic device housing area attached to the millimeter wave sensor is in a shielding state.
In one embodiment, the occlusion status detection module 720 includes:
a millimeter wave signal input unit for inputting millimeter wave signals of different frequencies to the microstrip filter,
the transmission coefficient calculation unit is used for outputting millimeter wave signals with different frequencies after being filtered by artificial surface plasmons and defect units on the microstrip filter, and calculating the transmission coefficient of the output millimeter wave signals with each frequency;
a target frequency obtaining unit, configured to obtain a frequency of a millimeter wave signal corresponding to a lowest transmission coefficient as a target frequency;
and the frequency comparison unit is used for comparing the target frequency with a preset frequency, and when the difference value between the target frequency and the preset frequency is smaller than a preset threshold value, detecting that the outer wall corresponding to the inner wall of the electronic equipment shell region attached with the millimeter wave sensor is in a shielding state.
In one embodiment, an antenna module switching apparatus is provided, which further includes a preset frequency calculation module: the device comprises a micro-strip filter, a millimeter wave sensor and a control circuit, wherein the micro-strip filter is used for inputting millimeter wave signals with different frequencies to the micro-strip filter when a preset shielding object exists on the outer wall corresponding to the inner wall of the electronic equipment shell area attached to the millimeter wave sensor; millimeter wave signals with different frequencies are output after being filtered by artificial surface plasmons and defect units on the microstrip filter, and the transmission coefficient of the output millimeter wave signals with each frequency is calculated; and acquiring the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient as the preset frequency of the preset shelter.
In an embodiment, there is provided an antenna module switching device, wherein the frequency comparing unit is configured to compare a target frequency with a preset frequency of a preset shielding object, and detect that the preset shielding object exists on an outer wall corresponding to an inner wall of a housing area of an electronic device attached to a millimeter wave sensor when a difference between the target frequency and the preset frequency of the preset shielding object is smaller than a preset threshold;
also included is a shade removal module: the antenna module is used for sending prompt information according to the type of the preset shielding object so as to prompt a user to remove the preset shielding object, and after the preset shielding object is removed, communication is carried out through the first antenna module.
In one embodiment, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, including: the millimeter wave sensor is arranged on the inner surface of the middle frame of the electronic equipment, the first antenna module is arranged on the inner surface of the middle frame of the electronic equipment, and the millimeter wave sensor is connected with the tail end of the first antenna module.
In one embodiment, the artificial surface plasmon is a first metal sheet, the defect unit is a second metal sheet, and the target frequency has a one-to-one correspondence with the length of the first metal sheet, the length of the second metal sheet, and the preset shielding object.
In one embodiment, a millimeter wave sensor is provided for use in an electronic device, the millimeter wave sensor comprising a microstrip filter comprising an artificial surface plasmon and a defect cell; the millimeter wave sensor is arranged in the electronic equipment shell, the millimeter wave sensor is attached to the inner wall of the electronic equipment shell, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, and the distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance.
In the embodiment of the application, the antenna module is arranged in the electronic equipment shell, and the antenna module is attached to the inner wall of the electronic equipment shell. Correspondingly, the millimeter wave sensor is also arranged in the electronic equipment shell, and the millimeter wave sensor is attached to the inner wall of the electronic equipment shell. For example, for an electronic device of a plastic middle frame type, when the antenna module is disposed on an inner wall of the plastic middle frame, the millimeter wave sensor is also disposed on the inner wall of the plastic middle frame accordingly. Illustratively, the first millimeter wave sensor is connected with the end of the first antenna module, and the second millimeter wave sensor is connected with the end of the second antenna module. The first millimeter wave sensor is used for detecting whether the first antenna module is shielded or not, and the second millimeter wave sensor is used for detecting whether the second antenna module is shielded or not. The number of the first millimeter wave sensor and the number of the second millimeter wave sensor are two, and certainly, the number of the first millimeter wave sensor and the number of the second millimeter wave sensor can be other reasonable values, which is not limited in the present application.
Certainly, to the electronic equipment of different models, although the antenna module set up the position not exactly the same, as long as the millimeter wave sensor sets up corresponding to the position that sets up of antenna module, just can realize detecting through the millimeter wave sensor whether the antenna module that corresponds is sheltered from to realize in time switching antenna, guarantee electronic equipment's communication quality's effect.
In one embodiment, an electronic device is provided, as shown in fig. 8, including the first millimeter wave sensor 820, the second millimeter wave sensor 840, the first antenna module 860, the second antenna module 880, a memory (not shown), and a processor (not shown) as described above. The millimeter wave sensor comprises a microstrip filter, wherein the microstrip filter comprises an artificial surface plasmon and a defect unit; the first millimeter wave sensor and the second millimeter wave sensor are both arranged in the electronic equipment shell, the first millimeter wave sensor and the second millimeter wave sensor are attached to the inner wall of the electronic equipment shell, and the distance between the first millimeter wave sensor and the first antenna module is smaller than a preset distance; the distance between the second millimeter wave sensor and the second antenna module is smaller than the preset distance. Here, the first millimeter wave sensor is configured by two millimeter wave sensors distributed around the first antenna module 860, and the second millimeter wave sensor is configured by two millimeter wave sensors distributed around the second antenna module 880. Of course, the number of the first millimeter wave sensor and the second millimeter wave sensor may also be other reasonable values, which is not limited in this application.
The memory stores a computer program, and the computer program, when executed by the processor, causes the processor to perform the steps of the antenna module switching method as described above.
The modules in the antenna module switching device provided in the embodiments of the present application may be implemented in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The process of the electronic device implementing the antenna module switching method is as described in the above embodiments, and is not described herein again.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the antenna module switching method.
A computer program product comprising instructions which, when run on a computer, cause the computer to perform an antenna module switching method.
Any reference to memory, storage, database, or other medium used by embodiments of the present application may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. The antenna module switching method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a millimeter wave sensor, a first antenna module and a second antenna module; the millimeter wave sensor comprises a microstrip filter, the microstrip filter comprises an artificial surface plasmon and a defect unit, the millimeter wave sensor is arranged in the electronic equipment shell and is attached to the inner wall of the electronic equipment shell, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, and the distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance; the method comprises the following steps:
detecting whether the outer wall corresponding to the inner wall of the electronic equipment shell attached with the millimeter wave sensor is in a shielding state or not by the millimeter wave sensor;
and when the outer wall corresponding to the inner wall of the electronic equipment shell attached with the millimeter wave sensor is detected to be in a shielding state, switching to a second antenna module for communication.
2. The method according to claim 1, wherein the detecting, by the millimeter wave sensor, whether an outer wall corresponding to an inner wall of a region of the electronic device housing to which the millimeter wave sensor is attached is in a shielding state includes:
millimeter wave signals of different frequencies are input to the microstrip filter,
the millimeter wave signals with different frequencies are output after being filtered by artificial surface plasmons and defect units on the microstrip filter, and the transmission coefficient of the output millimeter wave signals with each frequency is calculated;
acquiring the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient as a target frequency;
and comparing the target frequency with a preset frequency, and when the difference value between the target frequency and the preset frequency is smaller than a preset threshold value, detecting that the outer wall corresponding to the inner wall of the electronic equipment shell region attached with the millimeter wave sensor is in a shielding state.
3. The method of claim 2, wherein the predetermined frequency is calculated by:
when a preset shielding object exists on the outer wall corresponding to the inner wall of the electronic equipment shell area attached to the millimeter wave sensor, millimeter wave signals with different frequencies are input to the microstrip filter;
the millimeter wave signals with different frequencies are output after being filtered by artificial surface plasmons and defect units on the microstrip filter, and the transmission coefficient of the output millimeter wave signals with each frequency is calculated;
and acquiring the frequency of the millimeter wave signal corresponding to the lowest transmission coefficient as the preset frequency of the preset shelter.
4. The method according to claim 3, wherein the comparing the target frequency with a preset frequency, and when a difference between the target frequency and the preset frequency is smaller than a preset threshold, detecting that an outer wall corresponding to an inner wall of a housing area of the electronic device attached to the millimeter wave sensor is in a shielding state comprises:
comparing the target frequency with a preset frequency of a preset shelter, and detecting that the preset shelter exists on an outer wall corresponding to an inner wall of a shell area of the electronic equipment attached to the millimeter wave sensor when a difference value between the target frequency and the preset frequency of the preset shelter is smaller than a preset threshold;
after detecting that the outer wall that the regional inner wall of electronic equipment shell that millimeter wave sensor laminated corresponds is in the state of sheltering from, include:
sending prompt information according to the type of the preset shelter to prompt a user to remove the preset shelter, and communicating through the first antenna module after the preset shelter is removed.
5. The method of claim 1, wherein the distance between the millimeter wave sensor and the first antenna module is less than a preset distance, comprising:
the millimeter wave sensor is arranged on the inner surface of the middle frame of the electronic equipment, the first antenna module is arranged on the inner surface of the middle frame of the electronic equipment, and the millimeter wave sensor is connected with the tail end of the first antenna module.
6. The method according to claim 1, wherein the artificial surface plasmon is a first metal sheet, the defect unit is a second metal sheet, and the target frequency has a one-to-one correspondence relationship with a length of the first metal sheet, a length of the second metal sheet, and the preset obstruction.
7. An antenna module switching device is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a millimeter wave sensor, a first antenna module and a second antenna module; the millimeter wave sensor includes microstrip filter, microstrip filter includes artifical surface plasmon and defect unit, the millimeter wave sensor sets up in the electronic equipment shell, just millimeter wave sensor and the laminating of electronic equipment shell inner wall, the millimeter wave sensor with distance between the first antenna module is less than predetermineeing the distance, the millimeter wave sensor with distance between the second antenna module is greater than or equal to predetermineeing the distance, the device includes:
the shielding state detection module is used for detecting whether the outer wall corresponding to the inner wall of the electronic equipment shell region attached by the millimeter wave sensor is in a shielding state or not through the millimeter wave sensor;
and the antenna module switching module is used for switching to a second antenna module for communication when detecting that the outer wall corresponding to the inner wall of the electronic equipment shell area attached by the millimeter wave sensor is in a shielding state.
8. A millimeter wave sensor is applied to electronic equipment and is characterized by comprising a microstrip filter, wherein the microstrip filter comprises an artificial surface plasmon and a defect unit; the millimeter wave sensor is arranged in the electronic equipment shell and attached to the inner wall of the electronic equipment shell, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, and the distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance.
9. An electronic device comprising the millimeter wave sensor according to claim 8, the first antenna module, the second antenna module, the memory, and the processor, the millimeter wave sensor comprising a microstrip filter comprising an artificial surface plasmon and a defect cell; the millimeter wave sensor is arranged in the electronic equipment shell and is attached to the inner wall of the electronic equipment shell, the distance between the millimeter wave sensor and the first antenna module is smaller than a preset distance, and the distance between the millimeter wave sensor and the second antenna module is larger than or equal to the preset distance;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the antenna module switching method according to any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911142490.8A CN110891121B (en) | 2019-11-20 | 2019-11-20 | Antenna module switching method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911142490.8A CN110891121B (en) | 2019-11-20 | 2019-11-20 | Antenna module switching method and device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110891121A true CN110891121A (en) | 2020-03-17 |
CN110891121B CN110891121B (en) | 2021-03-23 |
Family
ID=69748041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911142490.8A Active CN110891121B (en) | 2019-11-20 | 2019-11-20 | Antenna module switching method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110891121B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113099036A (en) * | 2021-03-30 | 2021-07-09 | 维沃移动通信有限公司 | Control method and device of millimeter wave antenna module and electronic equipment |
CN115150506A (en) * | 2021-03-31 | 2022-10-04 | 深圳市万普拉斯科技有限公司 | Mobile terminal control method and device and mobile terminal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140376073A1 (en) * | 2013-06-19 | 2014-12-25 | Samsung Electronics Co., Ltd. | Optical device and method of controlling propagation directions of light and surface plasmon by using the optical device |
CN105547337A (en) * | 2015-12-23 | 2016-05-04 | 上海大学 | MIM annular notch groove structure sensor |
CN106791073A (en) * | 2016-12-15 | 2017-05-31 | 奇酷互联网络科技(深圳)有限公司 | Antenna assembly, antenna switching method and mobile terminal |
CN107743175A (en) * | 2017-10-31 | 2018-02-27 | 广东欧珀移动通信有限公司 | Terminal, antenna module, have store function device and antenna switching method |
CN108519352A (en) * | 2018-04-09 | 2018-09-11 | 南京邮电大学 | A kind of index sensor based on metal-dielectric-metal waveguide bragg grating |
CN108848269A (en) * | 2018-06-29 | 2018-11-20 | 深圳天珑无线科技有限公司 | The control method of locating module in mobile terminal and mobile terminal |
CN108900231A (en) * | 2018-05-29 | 2018-11-27 | Oppo广东移动通信有限公司 | Dynamic antenna method of adjustment and Related product |
CN110174450A (en) * | 2019-06-21 | 2019-08-27 | 贵州麦可威科技有限公司 | A kind of highly sensitive manually phasmon sensor and application method |
-
2019
- 2019-11-20 CN CN201911142490.8A patent/CN110891121B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140376073A1 (en) * | 2013-06-19 | 2014-12-25 | Samsung Electronics Co., Ltd. | Optical device and method of controlling propagation directions of light and surface plasmon by using the optical device |
CN105547337A (en) * | 2015-12-23 | 2016-05-04 | 上海大学 | MIM annular notch groove structure sensor |
CN106791073A (en) * | 2016-12-15 | 2017-05-31 | 奇酷互联网络科技(深圳)有限公司 | Antenna assembly, antenna switching method and mobile terminal |
CN107743175A (en) * | 2017-10-31 | 2018-02-27 | 广东欧珀移动通信有限公司 | Terminal, antenna module, have store function device and antenna switching method |
CN108519352A (en) * | 2018-04-09 | 2018-09-11 | 南京邮电大学 | A kind of index sensor based on metal-dielectric-metal waveguide bragg grating |
CN108900231A (en) * | 2018-05-29 | 2018-11-27 | Oppo广东移动通信有限公司 | Dynamic antenna method of adjustment and Related product |
CN108848269A (en) * | 2018-06-29 | 2018-11-20 | 深圳天珑无线科技有限公司 | The control method of locating module in mobile terminal and mobile terminal |
CN110174450A (en) * | 2019-06-21 | 2019-08-27 | 贵州麦可威科技有限公司 | A kind of highly sensitive manually phasmon sensor and application method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113099036A (en) * | 2021-03-30 | 2021-07-09 | 维沃移动通信有限公司 | Control method and device of millimeter wave antenna module and electronic equipment |
CN115150506A (en) * | 2021-03-31 | 2022-10-04 | 深圳市万普拉斯科技有限公司 | Mobile terminal control method and device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110891121B (en) | 2021-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110891121B (en) | Antenna module switching method and device, electronic equipment and computer readable storage medium | |
CN107449973B (en) | terminal electromagnetic radiation detection method and device and terminal | |
CN110115071B (en) | Method and terminal for controlling transmitting power | |
CN109768810B (en) | Signal processing circuit, terminal equipment and signal processing method | |
CN109451478B (en) | Link loss calculation method, device, gateway and readable storage medium | |
CN106572527B (en) | Mobile terminal and method for reducing SAR of mobile terminal | |
KR20210033893A (en) | Proximity sensor with nonlinear filter and method | |
CN110971262B (en) | Radio frequency circuit, antenna device and mobile terminal | |
CN106207375A (en) | A kind of electronic equipment | |
CN107087282A (en) | Interference elimination method, device, storage medium and terminal | |
DE102022105678A1 (en) | ELECTRONIC DEVICES WITH ULTRA CLOSE RANGE OBJECT DETECTION WITH BACKGROUND SUPPRESSION | |
US9865927B2 (en) | Sensor pad to capacitively couple to an antenna module | |
US20200014108A1 (en) | Antenna device | |
CN104184882A (en) | Method and device for setting PA blanking working mode | |
CN109117020B (en) | Positioning method and device of touch position, storage medium and electronic device | |
CN109474731A (en) | Radio frequency adjustment method and Related product | |
CN215418564U (en) | Antenna assembly and electronic equipment | |
CN112740739B (en) | Interference processing method and device, storage medium and electronic equipment | |
CN110493860B (en) | Multimode communication method, mobile terminal and storage medium | |
CN106252889A (en) | The switching method of frequency range, antenna and the back cover of terminal | |
CN112703678B (en) | System and method for antenna tuning | |
CN109547923B (en) | Positioning signal processing method, communication terminal and storage medium | |
CN107707318B (en) | Method and device for detecting use state of mobile terminal, antenna system and mobile terminal | |
CN107607131B (en) | Electronic equipment and information processing method | |
CN221223679U (en) | Electronic equipment |
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 |