CN111865369A - Antenna control method, antenna control device and storage medium - Google Patents

Antenna control method, antenna control device and storage medium Download PDF

Info

Publication number
CN111865369A
CN111865369A CN202010819566.2A CN202010819566A CN111865369A CN 111865369 A CN111865369 A CN 111865369A CN 202010819566 A CN202010819566 A CN 202010819566A CN 111865369 A CN111865369 A CN 111865369A
Authority
CN
China
Prior art keywords
target
antenna
electronic device
determining
antenna configuration
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
CN202010819566.2A
Other languages
Chinese (zh)
Other versions
CN111865369B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010819566.2A priority Critical patent/CN111865369B/en
Publication of CN111865369A publication Critical patent/CN111865369A/en
Application granted granted Critical
Publication of CN111865369B publication Critical patent/CN111865369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0404Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas the mobile station comprising multiple antennas, e.g. to provide uplink diversity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • H04B7/0608Antenna selection according to transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • H04B7/0834Diversity 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 based on external parameters, e.g. subscriber speed or location

Abstract

The application discloses an antenna control method, an antenna control device and a storage medium, which are applied to electronic equipment, wherein the electronic equipment comprises a target antenna and a display screen, the target antenna is arranged in the display screen, and the method comprises the following steps: acquiring target environment parameters; determining target antenna configuration parameters corresponding to the target environment parameters; and controlling the target antenna to work according to the target antenna configuration parameters. By adopting the embodiment of the application, the flexibility of antenna control can be improved.

Description

Antenna control method, antenna control device and storage medium
Technical Field
The present application relates to the field of antenna control technologies, and in particular, to an antenna control method, an antenna control device, and a storage medium.
Background
With the widespread use of electronic devices (such as mobile phones, tablet computers, and the like), the electronic devices have more and more applications and more powerful functions, and the electronic devices are developed towards diversification and personalization, and become indispensable electronic products in the life of users. At present, the antenna is more and more flexibly arranged in the electronic device, for example, CN106104915A, the antenna is built in the display screen, but thus, the problem of realizing flexible control of the antenna needs to be solved.
Disclosure of Invention
The embodiment of the application provides an antenna control method, an antenna control device and a storage medium, which can improve the flexibility of antenna control.
In a first aspect, an embodiment of the present application provides an antenna control method, which is applied to an electronic device, where the electronic device includes a target antenna and a display screen, the target antenna is embedded in the display screen, and the method includes:
acquiring target environment parameters;
determining target antenna configuration parameters corresponding to the target environment parameters;
and controlling the target antenna to work according to the target antenna configuration parameters.
In a second aspect, an embodiment of the present application provides an antenna control apparatus, which is applied to an electronic device, where the electronic device includes a target antenna and a display screen, the target antenna is embedded in the display screen, and the apparatus includes: an acquisition unit, a determination unit and a control unit, wherein,
the acquisition unit is used for acquiring target environment parameters;
the determining unit is used for determining a target antenna configuration parameter corresponding to the target environment parameter;
and the control unit is used for controlling the target antenna to work according to the target antenna configuration parameters.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, a communication interface, and one or more programs, stored in the memory and configured to be executed by the processor, the programs including instructions for performing some or all of the steps described in the method according to the first aspect of the embodiments of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is executed by a processor to implement part or all of the steps described in the method according to the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in the method according to the first aspect of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that the antenna control method, apparatus, and storage medium described in the embodiments of the present application are applied to an electronic device, where the electronic device includes a target antenna and a display screen, the target antenna is embedded in the display screen, obtains a target environment parameter, determines a target antenna configuration parameter corresponding to the target environment parameter, and controls the target antenna to operate according to the target antenna configuration parameter.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 3A is a schematic structural diagram of a display screen of an electronic device according to an embodiment of the present application;
FIG. 3B is a schematic illustration of a path of a radiation pattern provided by an embodiment of the present application;
FIG. 3C is a schematic illustration of another radiation pattern path provided by an embodiment of the present application;
fig. 4 is a flowchart illustrating an antenna control method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another antenna control method provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7A is a block diagram of functional units of an antenna control apparatus according to an embodiment of the present application;
fig. 7B is a block diagram of functional units of another antenna control apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
In order to better understand the scheme of the embodiments of the present application, the following first introduces the related terms and concepts that may be involved in the embodiments of the present application.
The electronic device may include a computer-enabled device, such as a smartphone, a vehicle-mounted device, a wearable device, a smartwatch, smart glasses, a wireless bluetooth headset, a computing device, or other processing device connected to a wireless modem, as well as various forms of User Equipment (UE), a Mobile Station (MS), a virtual reality/augmented reality device, a terminal device (terminal device), and so forth, which may also be a base Station or a server.
The electronic device may further include an intelligent home device, and the intelligent home device may be at least one of: intelligent audio amplifier, intelligent camera, intelligent electric rice cooker, intelligent wheelchair, intelligent massage armchair, intelligent furniture, intelligent dish washer, intelligent TV set, intelligent refrigerator, intelligent electric fan, intelligent room heater, intelligent clothes hanger that dries in the air, intelligent lamp, intelligent router, intelligent switch, intelligent flush mounting plate, intelligent humidifier, intelligent air conditioner, intelligent door, intelligent window, intelligent top of a kitchen range, intelligent sterilizer, intelligent closestool, the robot etc. of sweeping the floor do not restrict here.
The software and hardware operating environment of the technical scheme disclosed by the application is introduced as follows.
As shown, fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an application processor AP, a modem processor, a graphics processor GPU, an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural network processor NPU, among others. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 101 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a SIM card interface, a USB interface, and/or the like. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 101, and may also be used to transmit data between the electronic device 101 and peripheral devices. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G/6G, etc. applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode (AMOLED)), a flexible light-emitting diode (FLED), a mini light-emitting diode (mini-light-emitting diode (mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, so as to enable the electronic device 101 to execute the method for displaying page elements provided in some embodiments of the present application, and various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (such as photos, contacts, etc.) created during use of the electronic device 101, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, Universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 101 to execute the method for displaying page elements provided in the embodiments of the present application, and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., X, Y and the Z axis) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
Fig. 2 shows a block diagram of a software structure of the electronic device 100. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application layer may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
Fig. 3A is a schematic structural diagram of a display screen of the electronic device shown in fig. 1 or fig. 2, where the display screen may be at least one of the following: a Liquid Crystal Display (LCD) panel, a Light Emitting Diode (LED) panel, an Organic Light Emitting Diode (OLED) panel, an Active Matrix Organic Light Emitting Diode (AMOLED) panel, and the like, which are not limited herein. A display screen in which a plurality of modules such as a backlight unit (BLU), a glass panel, and a touch panel are stacked, and a bottom of the display screen may be placed with a lower panel having the BLU, an optical sheet, and a rear glass panel, for example, on which a Thin Film Transistor (TFT) array is stacked; a touch panel on which a polarizing plate such as a polyimide plate is disposed is stacked on the TFT array to sense a contact on the upper panel; and a glass panel is disposed on a front surface or a rear surface of the touch panel. The touch panel senses a contact of a charged object. A portion of the conductive film member in the touch panel may function as a radiator of the antenna device, for example, as a radiation pattern path, so that the antenna device may be at least partially built in the display screen.
In a specific implementation, the touch panel may include a mesh region and a conductive film member, the mesh region may be formed of transparent wires and transparent electrodes, and the mesh region is defined on the conductive film member. The grid area on the conductive film member is defined by partially removing the grid formed by the electric wires on the touch panel by the radiation pattern path. The conductive film member may include an Indium Tin Oxide (ITO) panel.
Further, one or more radiation pattern paths are formed between the grid areas by receiving a signal current from a power source, and the radiation pattern paths form a predetermined antenna radiation pattern. The radiation pattern path is provided on at least a part of the conductive film member. As described above, the radiation pattern path is formed by removing a part of the transparent electrode and the transparent wire on the conductive film member in the form of a radiation pattern. The radiation pattern paths may form a patch-like radiation pattern by removing a portion of the grid area in the form of a radiation pattern. Alternatively, the radiation pattern path may be formed as at least one of a slot, loop, monopole, and dipole radiation pattern, for example, the radiation pattern path may be as shown in fig. 3B or 3C. In the present embodiment, the radiation pattern path may be located in a portion of the conductive film member, for example, in the vicinity of an edge of the conductive film member. The radiation pattern path may be linearly arranged in a direction parallel to the edge.
As the radiation pattern paths provided on the conductive film member increase, the data rate or capacity can increase. For example, if 16 radiation pattern paths can be arranged in a 20mm by 20mm area, about 24 by 12 radiation pattern paths can be arranged in an electronic device of about 120mm by 60 mm.
As shown in fig. 4, fig. 4 is a schematic flowchart of an antenna control method provided in an embodiment of the present application, and is applied to the electronic device shown in fig. 1 or fig. 2, where the electronic device includes a target antenna and a display screen, the target antenna is embedded in the display screen, and the method includes:
401. and acquiring target environment parameters.
In this embodiment of the present application, the target environment parameter may include an external environment parameter and an internal environment parameter, where the external environment parameter may be at least one of the following: geographical location, weather, base station distribution, ambient temperature, ambient humidity, magnetic field interference intensity, etc. without limitation, the electronic device may be provided with an environmental sensor, and the external environmental parameter may be detected by the environmental sensor, and the environmental sensor may be at least one of the following: positioning sensors, weather sensors, temperature sensors, humidity sensors, magnetic field detection sensors, etc., without limitation, for example, weather may be detected by the weather sensors. The internal environmental parameter may be at least one of: the internal environment parameters may also be obtained by a sensor or an operating state of the device itself, for example, the gesture of holding the electronic device may be obtained by a pressure sensor, and for example, the foreground application or the background application may be identified by a task manager.
402. And determining target antenna configuration parameters corresponding to the target environment parameters.
In this embodiment, the target antenna configuration parameter may be at least one of the following: antenna radiation pattern, antenna length, antenna width, etc., without limitation.
In one possible example, the step 402 of determining the target antenna configuration parameter corresponding to the target environment parameter may be implemented as follows:
and determining the target antenna configuration parameters corresponding to the target environment parameters according to a mapping relation between preset environment parameters and antenna configuration parameters.
The mapping relationship between the preset environment parameters and the antenna configuration parameters can be preset in the electronic device, which is specifically as follows:
environmental parameter Antenna configuration parameters
Environmental parameter 1 Antenna configuration parameters 1
Environmental parameter 2 Antenna configuration parameters 2
Environmental parameter n Antenna configuration parameter n
In a specific implementation, different environmental parameters correspond to different antenna configuration parameters, and further, the electronic device may determine a target antenna configuration parameter corresponding to the target environmental parameter according to a mapping relationship between preset environmental parameters and antenna configuration parameters.
In one possible example, the target environment parameters include a target external environment parameter and a target internal environment parameter, and the determining 402 of the target antenna configuration parameters corresponding to the target environment parameters may include:
21. determining a first antenna configuration parameter corresponding to the target external environment parameter according to a mapping relation between preset external environment parameters and antenna configuration parameters;
22. determining a target optimization coefficient corresponding to the target internal environment parameter according to a mapping relation between a preset internal environment parameter and an optimization coefficient;
23. and optimizing the first antenna configuration parameter according to the target optimization coefficient to obtain the target antenna configuration parameter.
In a specific implementation, a mapping relationship between a preset external environment parameter and an antenna configuration parameter and a mapping relationship between a preset internal environment parameter and an optimization coefficient may be stored in the electronic device in advance, and the optimization coefficient may be used to optimize one or more parameters of the antenna configuration parameter, for example, to adjust the length of the antenna, or to adjust the width of the antenna.
Furthermore, the electronic device may determine a first antenna configuration parameter corresponding to the target external environment parameter according to a mapping relationship between the preset external environment parameter and the antenna configuration parameter, and further determine a target optimization coefficient corresponding to the target internal environment parameter according to a mapping relationship between the preset internal environment parameter and the optimization coefficient, where a value range of the optimization coefficient may be set by a user or default by a system, for example, the value range of the optimization coefficient is between-1 and 1, specifically as follows: -0.25, and further, the first antenna configuration parameter may be optimized according to the target optimization coefficient to obtain the target antenna configuration parameter, for example, the optimization may be performed according to the following formula:
target antenna configuration parameter (1+ target optimization coefficient) first antenna configuration parameter
Therefore, the external environment is equivalent to determining the antenna configuration parameters and optimizing through the external environment parameters, so that accurate antenna configuration parameters are obtained.
In one possible example, the method may further include the steps of:
a1, determining a target environment evaluation value according to the target external environment parameters;
and A2, when the target environment evaluation value is not in the preset range, executing the step of determining the first antenna configuration parameter corresponding to the target external environment parameter according to the mapping relation between the preset external environment parameter and the antenna configuration parameter.
Wherein, the preset range can be set by the user or the default of the system. In a specific implementation, the electronic device may determine the environmental stability according to the target external environment parameter, that is, obtain the target environment evaluation value, and when the target environment evaluation value is not within the preset range, step 21 may be executed, that is, when the environment is relatively unstable, step 21 may be executed, and the antenna may be adjusted to ensure the communication stability.
Further, in a possible example, when the target external environment parameter includes an environment parameter curve, the step a1 of determining the target environment evaluation value according to the target external environment parameter may include the following steps:
a11, acquiring an environmental parameter curve in a specified time period;
a12, sampling the environmental parameter curve to obtain a plurality of environmental parameters;
a13, carrying out mean value operation according to the plurality of environment parameters to obtain an average environment parameter value;
a14, determining a target evaluation grade corresponding to the average environment parameter value;
a15, determining a target first evaluation value corresponding to the target evaluation level according to a mapping relation between a preset evaluation level and the first evaluation value;
a16, performing mean square error operation according to the plurality of environment parameters to obtain a first mean square error;
a17, determining a target second evaluation value corresponding to the first mean square error according to a mapping relation between a preset mean square error and the second evaluation value;
a18, determining a target weight pair corresponding to the target evaluation level according to a mapping relation between preset evaluation levels and the weight pair, wherein the target weight pair comprises a target first weight and a target second weight, the target first weight is a first weight corresponding to the first evaluation value, and the second target weight is a second weight corresponding to the second evaluation value;
and A19, performing weighted operation according to the target first evaluation value, the target second evaluation value, the target first weight and the target second weight to obtain the target environment evaluation value.
In the embodiment of the present application, the specified time period may be set by a user or default by a system. The electronic device may store in advance a mapping relationship between a preset evaluation level and the first evaluation value, a mapping relationship between a preset mean square error and the second evaluation value, and a mapping relationship between a preset evaluation level and the weight pair. The weight pair may include a first weight of the first evaluation value and a second weight of the second evaluation value, and a sum of the first weight and the first second weight may be 1, and of course, the higher the evaluation level is, the larger the first weight is, and the lower the evaluation level is, the smaller the first weight is.
In specific implementation, the electronic device may obtain an environmental parameter curve within a specified time period, and sample the environmental parameter curve to obtain a plurality of environmental parameters, where a specific sampling manner may be to sample at preset time intervals or to sample randomly, and the preset time intervals are set by a user or are default to a system.
Further, the electronic device may perform a mean operation according to a plurality of environment parameters to obtain an average environment parameter value, may further pre-store a mapping relationship between the environment parameters and the evaluation levels in the electronic device, and further may determine a target evaluation level corresponding to the average environment parameter value according to the mapping relationship, and may determine a target first evaluation value corresponding to the target evaluation level according to the mapping relationship between the preset evaluation level and the first evaluation value, and further perform a mean square error operation according to a plurality of environment parameters to obtain a first mean square error, where the mean square error reflects fluctuation of an environment (communication) to a certain extent, and of course, the smaller the mean square error is, the better the environment stability is, and the larger the mean square error is, the worse the environment stability is. The electronic device may determine the target second evaluation value corresponding to the first mean square error according to the preset mapping relationship between the mean square error and the second evaluation value.
Further, the electronic device may determine, according to the preset mapping relationship between the evaluation level and the weight pair, a target weight pair corresponding to the target evaluation level, where the target weight pair includes a target first weight and a target second weight, where the target first weight is a first weight corresponding to the first evaluation value, and the second target weight is a second weight corresponding to the second evaluation value, and finally, may perform a weighted operation according to the target first evaluation value, the target second evaluation value, the target first weight, and the target second weight, to obtain the target environment evaluation value, where a specific formula is as follows:
target environment evaluation value is target first evaluation value and target first weight and target second evaluation value and target second weight
Therefore, in the embodiment of the application, not only is an environment parameter curve within a period of time selected, but also an average environment parameter value and a mean square error are determined based on the environment parameter curve to determine an environment evaluation value, so that the communication environment can be accurately evaluated.
Further, after the step a1, the method may further include the following steps:
a3, when the target environment evaluation value is in the preset range, acquiring a current signal intensity value of the electronic equipment;
a4, determining a target compensation coefficient corresponding to the target environmental evaluation value according to a preset mapping relation between the environmental evaluation value and the compensation coefficient;
and A5, compensating the current signal intensity value according to the target compensation coefficient.
In a specific implementation, when the target environment evaluation value is within a preset range, it may be stated that the environment is relatively stable, and then the current signal strength value of the electronic device may be obtained, and a mapping relationship between a preset environment evaluation value and a compensation coefficient may also be stored in the electronic device in advance, and then a target compensation coefficient corresponding to the target environment evaluation value may be determined according to the mapping relationship between the preset environment evaluation value and the compensation coefficient, and then the current signal strength value may be compensated by the target compensation coefficient, and the target compensation coefficient may be at least one of the following: the current regulation coefficient, the power regulation coefficient, the voltage regulation coefficient, the transmission power regulation coefficient and the like are not limited, the compensation is equivalent to fine adjustment of the current signal intensity value, and the value range of the compensation coefficient can be-0.1, so that the signal stability can be ensured.
403. And controlling the target antenna to work according to the target antenna configuration parameters.
Wherein the target antenna may be disposed within the display screen. The electronic equipment can control the target antenna to work according to the target antenna configuration parameters, so that communication with a base station or other equipment can be realized.
In a possible example, before the step 401, the following steps may be further included:
b1, acquiring a first signal strength value of the electronic equipment;
b2, when the first signal intensity value is lower than a preset signal intensity threshold value, executing the step of obtaining the target environment parameter.
The preset signal strength threshold value can be set by the user or defaulted by the system. In specific implementation, the electronic device may obtain a first signal strength value of the electronic device, execute the step of obtaining the target environment parameter when the first signal strength value is lower than a preset signal strength threshold, otherwise, may not execute step 401, so that it may be ensured that the working parameter of the antenna is adjusted when the signal strength is lower than a certain threshold, so as to ensure communication stability.
Further, in a possible example, the step B1 of obtaining the first signal strength value of the electronic device may include the following steps:
b11, acquiring a signal intensity change curve of the electronic equipment in a preset time period, wherein the horizontal axis of the signal intensity change curve is time, and the vertical axis of the signal intensity change curve is a signal intensity value;
b12, sampling the signal intensity change curve to obtain a plurality of signal intensity values;
b13, determining a target mean value according to the signal intensity values;
b14, performing mean square error operation according to the signal intensity values to obtain a target mean square error;
b15, determining a target adjusting coefficient corresponding to the target mean square error according to a mapping relation between a preset mean square error and an adjusting coefficient;
and B16, adjusting the target mean value according to the target adjusting coefficient to obtain a first signal intensity value of the electronic equipment.
The preset time period may be preset or default, and the preset time period may be a time period before the current time. The electronic device may further store a mapping relationship between a preset mean square error and an adjustment coefficient in advance.
In specific implementation, the electronic device may obtain a signal intensity variation curve of the electronic device in a preset time period, where a horizontal axis of the signal intensity variation curve is time and a vertical axis of the signal intensity variation curve is signal intensity value, perform uniform sampling on the signal intensity variation curve to obtain a plurality of signal intensity values, determine a target mean value according to the plurality of signal intensity values, perform mean square error operation according to the plurality of signal intensity values to obtain a target mean square error, determine a target adjustment coefficient corresponding to the target mean square error according to a mapping relationship between a preset mean square error and an adjustment coefficient, and adjust the target mean value according to the target adjustment coefficient to obtain a first signal intensity of the electronic device.
In this embodiment of the application, the value range may also be set by the user or updated by the system, for example, the value range of the adjustment coefficient may be-0.15 to 0.15, and of course, further, the electronic device may adjust the target mean value according to the target adjustment coefficient to obtain the first signal strength value, and the specific calculation mode of the first signal strength value may refer to the following formula:
first signal strength value (1+ target adjustment coefficient) target mean value
Therefore, the mean value reflects the change condition of the signal within a period of time, and the mean square error reflects the stability of the signal, so that the signal intensity of the electronic equipment can be accurately detected.
In one possible example, the step 401 of obtaining the target environment parameter may include the following steps:
c1, acquiring a target face image;
c2, carrying out image quality evaluation on the target face image to obtain a target image quality evaluation value;
c3, when the target image quality evaluation value is larger than a preset image quality evaluation threshold value, matching the target face image with a preset face template;
c4, when the target face image is successfully matched with the preset face template, executing the step of obtaining the target environment parameters.
The preset image quality evaluation threshold value and the preset face template can be set by the user or defaulted by the system. In specific implementation, the electronic device may obtain a target face image through the camera, and perform image quality evaluation on the target face image by using at least one image quality evaluation index to obtain a target image quality evaluation value, where the image quality evaluation index may be at least one of the following: entropy, average gradient, edge preservation, sharpness, etc., and is not limited herein. Furthermore, the electronic device may match the target face image with the preset face template when the target image quality evaluation value is greater than the preset image quality evaluation threshold value, and execute step 401 when the target face image is successfully matched with the preset face template, otherwise, may prompt to re-acquire the face image, so as to contribute to improving the face recognition efficiency.
Further, in the step C2, the image quality evaluation of the target face image to obtain the target image quality evaluation value may include the following steps:
c21, performing multi-scale feature decomposition on the target face image to obtain a low-frequency feature component image and a high-frequency feature component image;
c22, dividing the low-frequency characteristic component image into a plurality of areas;
c23, determining the information entropy corresponding to each of the plurality of areas to obtain a plurality of information entropies;
c24, determining average information entropy and target mean square error according to the plurality of information entropies;
c25, determining a target fine tuning adjustment coefficient corresponding to the target mean square error;
c26, adjusting the average information entropy according to the target fine adjustment coefficient to obtain a target information entropy;
c27, determining a third evaluation value corresponding to the target information entropy according to a preset mapping relation between the information entropy and the evaluation value;
c28, acquiring a first target shooting parameter corresponding to the target face image;
c29, determining a target low-frequency weight corresponding to the first shooting parameter of the target according to a mapping relation between preset shooting parameters and the low-frequency weight, and determining a target high-frequency weight according to the target low-frequency weight;
c30, determining the distribution density of the target characteristic points according to the high-frequency characteristic component images;
c31, determining a fourth evaluation value corresponding to the target feature point distribution density according to a preset mapping relation between the feature point distribution density and the evaluation value;
and C32, performing weighting operation according to the third evaluation value, the fourth evaluation value, the target low-frequency weight and the target high-frequency weight to obtain a target image quality evaluation value of the target face image.
In specific implementation, the electronic device may perform multi-scale feature decomposition on the target face image by using a multi-scale decomposition algorithm to obtain a low-frequency feature component image and a high-frequency feature component image, where the multi-scale decomposition algorithm may be at least one of the following: the pyramid transform algorithm, the wavelet transform, the contourlet transform, the shear wave transform, etc., are not limited herein, and in a specific implementation, the number of the low-frequency feature component images may be 1, and the number of the high-frequency feature component images may be 1 or more. Further, the low-frequency feature component image may be divided into a plurality of regions, each of which has the same or different area size. The low-frequency feature component image reflects the main features of the image and can occupy the main energy of the image, and the high-frequency feature component image reflects the detail information of the image.
Further, the electronic device may determine an information entropy corresponding to each of the plurality of regions to obtain a plurality of information entropies, and determine an average information entropy and a target mean square error according to the plurality of information entropies, where the information entropy may reflect the amount of image information to a certain extent, and the mean square error may reflect the stability of the image information. The mapping relation between the preset mean square error and the fine adjustment coefficient can be stored in the electronic device in advance, and then the target fine adjustment coefficient corresponding to the target mean square error can be determined according to the mapping relation.
Further, the electronic device may adjust the average information entropy according to the target fine-tuning adjustment coefficient to obtain a target information entropy, where the target information entropy is (1+ target fine-tuning adjustment coefficient) × the average information entropy. The electronic device may pre-store a mapping relationship between a preset information entropy and an evaluation value, and further, may determine a third evaluation value corresponding to the target information entropy according to the mapping relationship between the preset information entropy and the evaluation value.
In addition, the electronic device may obtain a first target shooting parameter corresponding to the target face image, and the first target shooting parameter refers to the above description, which is not described herein again. The electronic device may further pre-store a mapping relationship between a preset shooting parameter and a low-frequency weight, and further determine a target low-frequency weight corresponding to a first shooting parameter of a target according to the mapping relationship between the preset shooting parameter and the low-frequency weight, and determine a target high-frequency weight according to the target low-frequency weight, where the target low-frequency weight + the target high-frequency weight is 1.
Further, the electronic device may determine a target feature point distribution density from the high-frequency feature component image, where the target feature point distribution density is the total number of feature points/area of the high-frequency feature component image. The electronic device may further pre-store a mapping relationship between a preset feature point distribution density and an evaluation value, further determine a fourth evaluation value corresponding to the target feature point distribution density according to the mapping relationship between the preset feature point distribution density and the evaluation value, and finally perform a weighting operation according to the third evaluation value, the fourth evaluation value, the target low-frequency weight, and the target high-frequency weight to obtain a target image quality evaluation value of the target face image, which is specifically as follows:
target image quality evaluation value third evaluation value target low-frequency weight + fourth evaluation value target high-frequency weight
Therefore, image quality evaluation can be performed based on two dimensions of the low-frequency component and the high-frequency component of the target face image, and evaluation parameters suitable for a shooting environment, namely a target image quality evaluation value, can be accurately obtained.
It can be seen that the antenna control method described in the embodiment of the present application is applied to an electronic device, where the electronic device includes a target antenna and a display screen, the target antenna is embedded in the display screen, obtains a target environment parameter, determines a target antenna configuration parameter corresponding to the target environment parameter, and controls the target antenna to operate according to the target antenna configuration parameter.
Referring to fig. 5, fig. 5 is a schematic flowchart of an antenna control method provided in an embodiment of the present application, and as shown in the figure, the antenna control method is applied to the electronic device shown in fig. 1 or fig. 2, where the electronic device includes a target antenna and a display screen, the target antenna is embedded in the display screen, and the antenna control method includes:
501. and acquiring a first signal strength value of the electronic equipment.
502. And when the first signal intensity value is lower than a preset signal intensity threshold value, acquiring a target environment parameter.
503. And determining target antenna configuration parameters corresponding to the target environment parameters.
504. And controlling the target antenna to work according to the target antenna configuration parameters.
For the detailed description of steps 501 to 504, reference may be made to corresponding steps of the antenna control method described in fig. 4, which are not described herein again.
It can be seen that, the antenna control method described in the embodiment of the present application can configure corresponding antenna configuration parameters through an environment when a signal is lower than a certain threshold, and can freely configure an antenna, thereby implementing adaptive antenna configuration, and contributing to improving antenna control flexibility.
Referring to fig. 6 in keeping with the above embodiments, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where as shown in the figure, the electronic device includes a processor, a memory, a target antenna, a display screen, a communication interface, and one or more programs, the target antenna is embedded in the display screen, the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
acquiring target environment parameters;
determining target antenna configuration parameters corresponding to the target environment parameters;
and controlling the target antenna to work according to the target antenna configuration parameters.
It can be seen that, in the electronic device described in this embodiment of the present application, the target antenna is embedded in the display screen, the target environment parameter is obtained, the target antenna configuration parameter corresponding to the target environment parameter is determined, and the target antenna is controlled to operate according to the target antenna configuration parameter.
In one possible example, in the determining the target antenna configuration parameter corresponding to the target environmental parameter, the program includes instructions for:
and determining the target antenna configuration parameters corresponding to the target environment parameters according to a mapping relation between preset environment parameters and antenna configuration parameters.
In one possible example, the target environment parameters include a target external environment parameter and a target internal environment parameter, and in the determining the target antenna configuration parameters corresponding to the target environment parameters, the program includes instructions for:
determining a first antenna configuration parameter corresponding to the target external environment parameter according to a mapping relation between preset external environment parameters and antenna configuration parameters;
determining a target optimization coefficient corresponding to the target internal environment parameter according to a mapping relation between a preset internal environment parameter and an optimization coefficient;
and optimizing the first antenna configuration parameter according to the target optimization coefficient to obtain the target antenna configuration parameter.
In one possible example, the program further includes instructions for performing the steps of:
determining a target environment evaluation value according to the target external environment parameters;
and when the target environment evaluation value is not in a preset range, executing the step of determining a first antenna configuration parameter corresponding to the target external environment parameter according to a mapping relation between preset external environment parameters and antenna configuration parameters.
In one possible example, the program further includes instructions for performing the steps of:
when the target environment evaluation value is within the preset range, acquiring a current signal intensity value of the electronic equipment;
determining a target compensation coefficient corresponding to the target environment evaluation value according to a mapping relation between a preset environment evaluation value and a compensation coefficient;
and compensating the current signal intensity value according to the target compensation coefficient.
In one possible example, the program further includes instructions for performing the steps of:
acquiring a first signal intensity value of the electronic equipment;
and when the first signal intensity value is lower than a preset signal intensity threshold value, executing the step of obtaining the target environment parameter.
In one possible example, in the obtaining the first signal strength value of the electronic device, the program includes instructions for performing the following steps:
acquiring a signal intensity change curve of the electronic equipment in a preset time period, wherein the horizontal axis of the signal intensity change curve is time, and the vertical axis of the signal intensity change curve is a signal intensity value;
sampling the signal intensity change curve to obtain a plurality of signal intensity values;
determining a target mean value according to the signal intensity values;
performing mean square error operation according to the plurality of signal strength values to obtain a target mean square error;
determining a target adjusting coefficient corresponding to the target mean square error according to a mapping relation between a preset mean square error and an adjusting coefficient;
and adjusting the target mean value according to the target adjusting coefficient to obtain a first signal intensity value of the electronic equipment.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 7A is a block diagram of functional units of an antenna control apparatus 700 according to an embodiment of the present application. This antenna control device 700 is applied to electronic equipment, electronic equipment includes target antenna and display screen, place in the target antenna the display screen, the device includes: an acquisition unit 701, a determination unit 702, and a control unit 703, wherein,
the acquiring unit 701 is configured to acquire a target environment parameter;
the determining unit 702 is configured to determine a target antenna configuration parameter corresponding to the target environment parameter;
the control unit 703 is configured to control the target antenna to operate according to the target antenna configuration parameter.
It can be seen that the antenna control apparatus described in the embodiment of the present application is applied to an electronic device, where the electronic device includes a target antenna and a display screen, the target antenna is embedded in the display screen, obtains a target environment parameter, determines a target antenna configuration parameter corresponding to the target environment parameter, and controls the target antenna to operate according to the target antenna configuration parameter.
In one possible example, in terms of the determining the target antenna configuration parameter corresponding to the target environment parameter, the determining unit 702 is specifically configured to:
and determining the target antenna configuration parameters corresponding to the target environment parameters according to a mapping relation between preset environment parameters and antenna configuration parameters.
In one possible example, the target environment parameters include a target external environment parameter and a target internal environment parameter, and in the aspect of determining the target antenna configuration parameter corresponding to the target environment parameter, the determining unit 702 is specifically configured to:
determining a first antenna configuration parameter corresponding to the target external environment parameter according to a mapping relation between preset external environment parameters and antenna configuration parameters;
determining a target optimization coefficient corresponding to the target internal environment parameter according to a mapping relation between a preset internal environment parameter and an optimization coefficient;
and optimizing the first antenna configuration parameter according to the target optimization coefficient to obtain the target antenna configuration parameter.
In one possible example, the apparatus 700 is further configured to implement the following functions:
the determining unit 702 is further configured to determine a target environment evaluation value according to the target external environment parameter;
when the target environment evaluation value is not within the preset range, the determining unit 702 executes the step of determining the first antenna configuration parameter corresponding to the target external environment parameter according to the mapping relationship between the preset external environment parameter and the antenna configuration parameter.
In one possible example, as shown in fig. 7B, fig. 7B is a further modified structure of the antenna control apparatus 700 shown in fig. 7A, which may further include a compensation unit 704, compared with fig. 7A, specifically as follows:
the obtaining unit 701 is further configured to obtain a current signal strength value of the electronic device when the target environment evaluation value is within the preset range;
the determining unit 702 is further configured to determine a target compensation coefficient corresponding to the target environmental evaluation value according to a mapping relationship between preset environmental evaluation values and compensation coefficients;
the compensation unit 704 is configured to compensate the current signal strength value according to the target compensation coefficient.
In one possible example, the apparatus 700 is further configured to implement the following functions:
the obtaining unit 701 is further configured to obtain a first signal strength value of the electronic device;
the step of acquiring the target environment parameter is executed by the acquiring unit 701 when the first signal strength value is lower than a preset signal strength threshold.
In one possible example, in the aspect of obtaining the first signal strength value of the electronic device, the obtaining unit 701 is specifically configured to:
acquiring a signal intensity change curve of the electronic equipment in a preset time period, wherein the horizontal axis of the signal intensity change curve is time, and the vertical axis of the signal intensity change curve is a signal intensity value;
sampling the signal intensity change curve to obtain a plurality of signal intensity values;
determining a target mean value according to the signal intensity values;
performing mean square error operation according to the plurality of signal strength values to obtain a target mean square error;
determining a target adjusting coefficient corresponding to the target mean square error according to a mapping relation between a preset mean square error and an adjusting coefficient;
and adjusting the target mean value according to the target adjusting coefficient to obtain a first signal intensity value of the electronic equipment.
It should be noted that the obtaining unit 701, the determining unit 702, the controlling unit 703 and the compensating unit 704 may all be implemented by a processor.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An antenna control method is applied to an electronic device, the electronic device comprises a target antenna and a display screen, the target antenna is arranged in the display screen, and the method comprises the following steps:
acquiring target environment parameters;
determining target antenna configuration parameters corresponding to the target environment parameters;
and controlling the target antenna to work according to the target antenna configuration parameters.
2. The method of claim 1, wherein determining the target antenna configuration parameter corresponding to the target environment parameter comprises:
and determining the target antenna configuration parameters corresponding to the target environment parameters according to a mapping relation between preset environment parameters and antenna configuration parameters.
3. The method of claim 1, wherein the target environment parameters comprise a target external environment parameter and a target internal environment parameter, and wherein determining the target antenna configuration parameters corresponding to the target environment parameters comprises:
determining a first antenna configuration parameter corresponding to the target external environment parameter according to a mapping relation between preset external environment parameters and antenna configuration parameters;
determining a target optimization coefficient corresponding to the target internal environment parameter according to a mapping relation between a preset internal environment parameter and an optimization coefficient;
and optimizing the first antenna configuration parameter according to the target optimization coefficient to obtain the target antenna configuration parameter.
4. The method of claim 3, further comprising:
determining a target environment evaluation value according to the target external environment parameters;
and when the target environment evaluation value is not in a preset range, executing the step of determining a first antenna configuration parameter corresponding to the target external environment parameter according to a mapping relation between preset external environment parameters and antenna configuration parameters.
5. The method of claim 4, further comprising:
when the target environment evaluation value is within the preset range, acquiring a current signal intensity value of the electronic equipment;
determining a target compensation coefficient corresponding to the target environment evaluation value according to a mapping relation between a preset environment evaluation value and a compensation coefficient;
and compensating the current signal intensity value according to the target compensation coefficient.
6. The method according to any one of claims 1-5, further comprising:
acquiring a first signal intensity value of the electronic equipment;
and when the first signal intensity value is lower than a preset signal intensity threshold value, executing the step of obtaining the target environment parameter.
7. The method of claim 6, wherein obtaining the first signal strength value of the electronic device comprises:
acquiring a signal intensity change curve of the electronic equipment in a preset time period, wherein the horizontal axis of the signal intensity change curve is time, and the vertical axis of the signal intensity change curve is a signal intensity value;
sampling the signal intensity change curve to obtain a plurality of signal intensity values;
determining a target mean value according to the signal intensity values;
performing mean square error operation according to the plurality of signal strength values to obtain a target mean square error;
determining a target adjusting coefficient corresponding to the target mean square error according to a mapping relation between a preset mean square error and an adjusting coefficient;
and adjusting the target mean value according to the target adjusting coefficient to obtain a first signal intensity value of the electronic equipment.
8. An antenna control device, applied to an electronic device, wherein the electronic device includes a target antenna and a display screen, the target antenna is arranged in the display screen, and the device includes: an acquisition unit, a determination unit and a control unit, wherein,
the acquisition unit is used for acquiring target environment parameters;
the determining unit is used for determining a target antenna configuration parameter corresponding to the target environment parameter;
and the control unit is used for controlling the target antenna to work according to the target antenna configuration parameters.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method of any one of claims 1 to 7.
CN202010819566.2A 2020-08-14 2020-08-14 Antenna control method, antenna control device and storage medium Active CN111865369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010819566.2A CN111865369B (en) 2020-08-14 2020-08-14 Antenna control method, antenna control device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010819566.2A CN111865369B (en) 2020-08-14 2020-08-14 Antenna control method, antenna control device and storage medium

Publications (2)

Publication Number Publication Date
CN111865369A true CN111865369A (en) 2020-10-30
CN111865369B CN111865369B (en) 2021-09-21

Family

ID=72970183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010819566.2A Active CN111865369B (en) 2020-08-14 2020-08-14 Antenna control method, antenna control device and storage medium

Country Status (1)

Country Link
CN (1) CN111865369B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082325A (en) * 2009-11-26 2011-06-01 财团法人资讯工业策进会 Antenna regulating device and method
US20110130137A1 (en) * 2009-12-01 2011-06-02 Alcatel-Lucent Usa Inc. Outage Recovery In Wireless Networks
CN103336530A (en) * 2013-05-21 2013-10-02 苏州佳世达电通有限公司 Communication device
CN103414488A (en) * 2013-07-17 2013-11-27 北京小米科技有限责任公司 Mobile device antenna control method, mobile device antenna control device and equipment
CN106104915A (en) * 2014-03-05 2016-11-09 三星电子株式会社 Antenna equipment and the electronic equipment with antenna equipment
CN107590461A (en) * 2017-09-12 2018-01-16 广东欧珀移动通信有限公司 Face identification method and Related product
CN109241908A (en) * 2018-09-04 2019-01-18 深圳市宇墨科技有限公司 Face identification method and relevant apparatus
CN109640342A (en) * 2018-12-26 2019-04-16 深圳创维数字技术有限公司 Smart antenna method of adjustment, device, equipment and readable storage medium storing program for executing
US20190159129A1 (en) * 2017-11-17 2019-05-23 Samsung Electronics Co., Ltd. Electronic device and method of controlling power in electronic device
CN111240218A (en) * 2020-01-10 2020-06-05 Oppo广东移动通信有限公司 Equipment control method and related equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082325A (en) * 2009-11-26 2011-06-01 财团法人资讯工业策进会 Antenna regulating device and method
US20110130137A1 (en) * 2009-12-01 2011-06-02 Alcatel-Lucent Usa Inc. Outage Recovery In Wireless Networks
CN103336530A (en) * 2013-05-21 2013-10-02 苏州佳世达电通有限公司 Communication device
CN103414488A (en) * 2013-07-17 2013-11-27 北京小米科技有限责任公司 Mobile device antenna control method, mobile device antenna control device and equipment
CN106104915A (en) * 2014-03-05 2016-11-09 三星电子株式会社 Antenna equipment and the electronic equipment with antenna equipment
CN107590461A (en) * 2017-09-12 2018-01-16 广东欧珀移动通信有限公司 Face identification method and Related product
US20190159129A1 (en) * 2017-11-17 2019-05-23 Samsung Electronics Co., Ltd. Electronic device and method of controlling power in electronic device
CN109241908A (en) * 2018-09-04 2019-01-18 深圳市宇墨科技有限公司 Face identification method and relevant apparatus
CN109640342A (en) * 2018-12-26 2019-04-16 深圳创维数字技术有限公司 Smart antenna method of adjustment, device, equipment and readable storage medium storing program for executing
CN111240218A (en) * 2020-01-10 2020-06-05 Oppo广东移动通信有限公司 Equipment control method and related equipment

Also Published As

Publication number Publication date
CN111865369B (en) 2021-09-21

Similar Documents

Publication Publication Date Title
CN112040361B (en) Earphone control method, earphone control device and storage medium
CN111782879B (en) Model training method and device
CN111553846B (en) Super-resolution processing method and device
CN111555825B (en) Radio frequency resource allocation method and device
CN111783375A (en) Chip system and related device
CN111400605A (en) Recommendation method and device based on eyeball tracking
WO2021000943A1 (en) Method and apparatus for managing fingerprint switch
CN113177229A (en) Data processing method and related device
CN111768352A (en) Image processing method and device
CN111882642A (en) Texture filling method and device for three-dimensional model
CN111767016B (en) Display processing method and device
CN114422686A (en) Parameter adjusting method and related device
CN111880661A (en) Gesture recognition method and device
CN111836226B (en) Data transmission control method, device and storage medium
CN111865369B (en) Antenna control method, antenna control device and storage medium
CN114244655B (en) Signal processing method and related device
CN113781959B (en) Interface processing method and device
CN115390738A (en) Scroll screen opening and closing method and related product
CN111581119B (en) Page recovery method and device
CN114336998A (en) Charging control method, charging control device and storage medium
CN114630152A (en) Parameter transmission method and device for image processor and storage medium
CN114596819B (en) Brightness adjusting method and related device
CN111459271B (en) Gaze offset error determination method and device
CN113311380B (en) Calibration method, device and storage medium
CN115085757A (en) Radio frequency network optimization method and related 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