CN115065767B - Antenna power adjusting method and electronic equipment thereof - Google Patents

Antenna power adjusting method and electronic equipment thereof Download PDF

Info

Publication number
CN115065767B
CN115065767B CN202211000992.9A CN202211000992A CN115065767B CN 115065767 B CN115065767 B CN 115065767B CN 202211000992 A CN202211000992 A CN 202211000992A CN 115065767 B CN115065767 B CN 115065767B
Authority
CN
China
Prior art keywords
antenna
camera
electronic device
time period
preset value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211000992.9A
Other languages
Chinese (zh)
Other versions
CN115065767A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211000992.9A priority Critical patent/CN115065767B/en
Publication of CN115065767A publication Critical patent/CN115065767A/en
Application granted granted Critical
Publication of CN115065767B publication Critical patent/CN115065767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B15/00Suppression or limitation of noise or interference
    • H04B15/02Reducing interference from electric apparatus by means located at or near the interfering apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/243TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account interferences

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The application relates to the field of intelligent equipment, and relates to an antenna power adjusting method and electronic equipment thereof, wherein the antenna power adjusting method comprises the following steps: acquiring first image information through a camera of electronic equipment; in the process of sending the first image information to an image processor of the electronic equipment, adjusting the transmitting power of an antenna of the electronic equipment from a first preset value to a second preset value; and after the first image information is sent, restoring the transmitting power of the antenna of the electronic equipment to the first preset value from the second preset value, wherein the second preset value is smaller than the first preset value. The electronic equipment can reduce the transmitting power of the antenna in the time period when the camera sends the first image information to the processor, and timely recovers the transmitting power of the antenna after the image data is sent, so that the working process of the camera cannot be interfered by the transmitting power of the antenna.

Description

Antenna power adjusting method and electronic equipment thereof
Technical Field
The application relates to the field of intelligent equipment. And more particularly, to an antenna power adjusting method and an electronic device thereof.
Background
The application of the camera of the electronic equipment is more and more extensive, and a user can control the camera to shoot images, shoot videos and carry out live video broadcast through the camera application of the electronic equipment. As shown in fig. 1a, the camera 101 of the electronic device 100 is usually located close to the antenna 105 of the electronic device 100, and the camera 101 may be interfered by the transmission power of the antenna 105 of the electronic device 100 when operating, which may cause the user interface of the camera application to be jammed/flashed back/without image/screen splash.
In order to ensure the quality of the image/shot video collected by the camera, the electronic device can reduce the transmitting power of the antenna of the electronic device in the whole process from the start of the camera to the close of the camera. However, reducing the transmission power of the antenna deteriorates the communication capability of the electronic device. Therefore, how to reduce the influence of reducing the antenna power on the communication capability of the electronic device while ensuring the normal operation of the camera becomes a problem to be solved urgently.
Disclosure of Invention
The application aims to provide an antenna power adjusting method and electronic equipment thereof.
A first aspect of the present application provides an antenna power adjusting method applied to an electronic device, including:
acquiring first image information through a camera of electronic equipment;
in the process of sending the first image information to an image processor of the electronic equipment, adjusting the transmitting power of an antenna of the electronic equipment from a first preset value to a second preset value;
and after the first image information is sent, restoring the transmitting power of the antenna of the electronic equipment from a second preset value to the first preset value, wherein the second preset value is smaller than the first preset value.
That is, in the embodiment of the present application, the electronic device here may be a mobile terminal having a camera, for example: provided is a mobile phone. The user can open a camera application of the electronic equipment, and the camera is controlled by the camera application to shoot images or videos. The first image information may be image data collected by a camera of the electronic device. The process of sending the first image information to the image Processor of the electronic device may be time consumed by the camera of the electronic device to send the first image information to the application Processor of the electronic device, and may also be referred to as MIPI (Mobile Industry Processor Interface) output. The adjusting of the first preset value to the second preset value may be to reduce the transmitting power of the antenna of the electronic device from the first preset value to the second preset value, for example: the transmission power of the antenna of the electronic equipment is reduced from 28db to 23db. Here, the sending of the first image information may be after a duration of MIPI output elapses, that is, the camera of the electronic device has completed sending the first image information to the image processor of the electronic device, and the electronic device restores the transmission power of the antenna from the second preset value to the first preset value, for example: the transmitted power of the antenna of the electronic device is restored from 23db to 28db.
Because the electronic device is not interfered by the transmitting power of the antenna all the time, the transmitting power of the antenna only interferes with the MIPI output of the camera. By the antenna power adjusting method, the electronic equipment can reduce the transmitting power of the antenna in the time period when the camera sends the first image information to the processor, and timely recover the transmitting power of the antenna after the image data is sent, so that the working process of the camera cannot be interfered by the transmitting power of the antenna, the time for reducing the transmitting power of the antenna can be shortened, and the influence on the communication capacity of the electronic equipment is reduced.
In one possible implementation of the first aspect, adjusting the transmission power of the antenna of the electronic device from a first preset value to a second preset value in the process of sending the first image information to the image processor of the electronic device includes:
determining a first time period, the first time period being prior to a process of transmitting the first image information to an image processor of the electronic device;
at a first point in time in a first time period, the transmission power of an antenna of the electronic device is adjusted from a first preset value to a second preset value.
That is, in this embodiment of the application, the first time period may be a first time period, that is, a time period set before a starting time point of sending the first image information to the application processor by the camera of the electronic device, that is, a time period set before a starting time point of a time period of the MIPI output, where the first time period is used to reserve sufficient response time for the SAR Sensor and the baseband processor of the electronic device.
In one possible implementation of the first aspect, adjusting the transmission power of the antenna of the electronic device from a first preset value to a second preset value at a first time point in a first time period includes:
generating a first antenna power adjustment signal at a first point in time in a first time period;
the transmit power of the antenna is adjusted from a first predetermined value to a second predetermined value in response to the first antenna power adjustment signal.
That is, in the embodiment of the present application, the first time point may be any one time point in the first time period. The first antenna power adjustment signal may be a level signal, and the value range of the first antenna power adjustment signal may be 0 and 1. After the SAR Sensor of the electronic device detects that the value of the first antenna power adjustment signal is changed from 0 to 1, the SAR Sensor may send an antenna power adjustment instruction to the baseband processor, and the baseband processor reduces the transmission power of the antenna in response to the antenna power adjustment instruction.
In one possible implementation of the first aspect, the first time point is a starting time point of the first time period.
In a possible implementation of the first aspect, after the first image information is sent, the restoring the transmission power of the antenna of the electronic device from the second preset value to the first preset value includes:
determining a second time period for processing the first image information by an image processor of the electronic device;
generating a second antenna power adjustment signal after a second time period has elapsed;
and restoring the transmitting power of the antenna from the second preset value to the first preset value in response to the second antenna power adjusting signal.
That is, in the embodiment of the present application, the second time period here may be a process in which the electronic device sends the first image information to an image processor of the electronic device, that is, a time consumed by the camera of the electronic device to send the first image information to the application processor of the electronic device. After the camera of the electronic device finishes sending the first image information to the application processor, the camera of the electronic device can restore the transmitting power of the antenna after the camera of the mobile phone generates the second antenna power adjusting signal by generating the second antenna power adjusting signal.
In one possible implementation of the first aspect, generating a second antenna power adjustment signal after a second time period has elapsed includes:
determining a third time period, the third time period being after the second time period;
at a second point in time in a third time period, a second antenna power adjustment signal is generated.
That is, in the embodiment of the present application, the third time period here may be a second time period, and the second time period here may be a time period set after a time point when the camera of the electronic device finishes sending the image data to the application processor. And restoring the transmitting power of the antenna of the electronic equipment from the second preset value to the first preset value at a second time point in a second time period.
In one possible implementation of the first aspect, the second time point is a starting time point of the third time period.
In one possible implementation of the first aspect described above, the image processor comprises at least one of an ISP processor or an application processor.
A second aspect of the application provides an electronic device comprising one or more processors and one or more memories; one or more memories coupled with the one or more processors, the one or more memories storing computer instructions; the computer instructions, when executed by the one or more processors, cause the electronic device to perform the antenna power adjustment method provided by the foregoing first aspect.
A third aspect of the present application provides a computer-readable storage medium, which contains instructions, and when executed by a processor of an electronic device, causes the electronic device to implement the antenna power adjustment method of the electronic device provided in the foregoing first aspect.
A fourth aspect of the present application provides a computer program product comprising: a computer readable storage medium containing computer program code for performing the antenna power adjustment method provided by the foregoing first aspect.
Drawings
FIG. 1a shows a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 1b shows a hardware schematic of an electronic device including a camera, according to an embodiment of the present application;
FIG. 2 shows a schematic diagram of a user interface of a camera application of an electronic device, according to an embodiment of the present application;
FIG. 3 illustrates a block diagram of an electronic device, according to an embodiment of the present application;
FIG. 4 shows a hardware architecture diagram of an electronic device, according to an embodiment of the application;
FIG. 5 shows a software architecture diagram of an electronic device, according to an embodiment of the present application;
FIG. 6 shows an interaction diagram of a method for antenna power adjustment for an electronic device, in accordance with embodiments of the present application;
fig. 7 shows a schematic diagram of a duration of MIPI output of an electronic device, according to an embodiment of the present application;
fig. 8 shows a flow diagram of a method for antenna power adjustment of an electronic device, in accordance with an embodiment of the present application;
FIG. 9 shows a hardware schematic of an electronic device including a camera, according to embodiments of the application;
fig. 10 shows a hardware schematic of an electronic device including a camera according to an embodiment of the application.
Detailed Description
The terms "first", "second", and "third" in the embodiments of the present application are used to distinguish different objects, and are not used to define a specific order. Furthermore, the words "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion.
To facilitate understanding of the embodiments of the present application, the background of the application of the present application is described below.
Referring initially to FIG. 1b, FIG. 1b shows a hardware schematic of an electronic device 100 including a camera 101. As shown in fig. 1b, the electronic device 100 comprises: a camera 101, an application processor 102, a sar sensor103, and a baseband processor 104 and antenna 105.
The camera 101 is connected to an application processor 102 and a SAR Sensor103 (electromagnetic wave energy Absorption ratio Sensor), the SAR Sensor103 is connected to a baseband processor 104 (Modem), and the baseband processor 104 is connected to an antenna 105.
Wherein, the camera 101 is used for acquiring image data and sending the image data to the application processor 102,
the process of the camera 101 acquiring and transmitting image data may also be periodic. For example: a user takes a video for a period of 10 seconds using the camera 101 of the electronic apparatus 100, and the camera 101 takes 30 frames of images per second, that is, the camera 101 performs an operation of acquiring image data and transmitting the image data to the application processor 102 30 times per second. The process of the camera 101 sending image data to the application Processor 102 may be referred to as MIPI (Mobile Industry Processor Interface) output.
The application processor is used for coding and decoding the image data.
The SAR Sensor is used to send antenna power adjustment commands to the baseband processor.
The baseband processor may reduce or increase the transmit power of the antenna in accordance with the received antenna power adjustment instructions.
When the camera 101 of the electronic device 100 shown in fig. 1b acquires image data and sends the image data to the application processor 102 for processing, electromagnetic waves corresponding to the transmission power used when the antenna 105 transmits signals may interfere with the sending of the image data from the camera 101 to the application processor 102, that is, interfere with the MIPI output of the camera 101, so that the user interface of the camera application may have a screen splash phenomenon as shown in fig. 2. The screen splash phenomenon indicates that a preview image displayed on a user interface of a camera application has the phenomenon of image loss such as stripes and snowflakes.
At this time, in order to avoid the transmission power of the antenna from interfering with data transmission of the camera, the electronic device generally sends an antenna power adjustment instruction to the baseband processor through the SAR Sensor when detecting that the camera is started, and the baseband processor may reduce the transmission power of the antenna in a working process from start to stop of the camera in response to the antenna power adjustment instruction. However, reducing the transmission power of the antenna during the whole operation of the camera from the startup to the shutdown wastes the communication performance of the electronic device, and affects the communication experience of the user. The problem of how to reduce the influence of the transmission power of the antenna on the communication capability of the electronic equipment while ensuring the normal operation of the camera needs to be solved.
In order to solve the above problem, an embodiment of the present application provides an antenna power adjustment method for an electronic device with a shooting function, where the method includes: after the starting of the camera is detected, the starting time point and the required time length of MIPI output are determined according to the operation parameters of the camera, wherein the starting time point and the required time length of the MIPI output refer to the starting time point and the required time length of image data sent to an application processor (image processor) after the camera collects the image data.
And taking a time point which is a first preset time before the starting time point of the MIPI output as a trigger time point of the antenna power adjustment, wherein the trigger time point is earlier than the starting time point of the MIPI output.
When the trigger time point that the time is reached is detected, an antenna power adjustment signal (the antenna power adjustment signal may be referred to as an INT signal) may be controlled to be generated, and the SAR Sensor is controlled to send an antenna power adjustment instruction to the baseband processor, and the baseband processor is controlled to reduce the transmission power of the antenna until after the MIPI output is ended, that is, after the end time point of the MIPI output is reached. And controlling the SAR Sensor to send the antenna power adjusting instruction to the baseband processor again, so that the baseband processor recovers the transmitting power of the antenna.
In some embodiments, the sum of the time consumed by generating the antenna power adjustment signal and transmitting the antenna power adjustment instruction in response to the antenna power adjustment signal and the time consumed by the baseband processor to reduce the transmission power of the antenna may be taken as the first preset duration;
it is understood that the baseband processor may restore the transmission power of the antenna after a second preset time period of the end time point of the MIPI output. The second duration includes time consumed by changing the antenna power adjustment signal and transmitting the antenna power adjustment command in response to the antenna power adjustment signal and time consumed by the baseband processor to restore transmit power of the antenna.
That is, as shown in fig. 3, when detecting that the camera 101 is started, the embodiment of the present application does not directly reduce the transmission power of the antenna 105, but determines the duration of MIPI output of the camera according to the operating parameters of the camera 101, that is, determines the duration consumed by the camera 101 to transmit image data to the application processor 102.
In the embodiment of the application, before the transmission power of the antenna is reduced, a request response time period of an instruction is preset, sufficient response time is reserved for the SAR Sensor103 and the baseband processor 104 of the electronic device, the SAR Sensor103 can respond to an antenna power adjusting signal generated by the camera 101 in the request response time period and send an antenna power adjusting instruction to the baseband processor 104, and the baseband processor 104 reduces the transmission power of the antenna 105 according to the antenna power adjusting instruction, so that the electronic device can timely complete the operation of reducing the transmission power of the antenna in the MIPI output time period. After the camera 101 sends the image data to the application processor 102, that is, after the MIPI output duration is over, the camera 101 may change the antenna power adjustment signal, so that the SAR Sensor103 sends the antenna power adjustment instruction to the baseband processor 104 again, and the transmission power of the antenna 105 is recovered.
It can be understood that the electronic device is not always interfered by the transmitting power of the antenna, and the transmitting power of the antenna only interferes with the MIPI output of the camera. According to the antenna power adjusting method, the electronic equipment can reduce the transmitting power of the antenna in the time period when the camera sends the image data to the processor, and the transmitting power of the antenna is recovered in time after the image data is sent, so that the working process of the camera cannot be interfered by the transmitting power of the antenna, the time for reducing the transmitting power of the antenna can be shortened, and the influence on the communication capacity of the electronic equipment is reduced.
In embodiments of the present application, the electronic device may refer to a device having an antenna and a camera, such as a mobile phone, a tablet computer, a wearable device (e.g., a smart watch), an in-vehicle device, a Laptop computer (Laptop), a desktop computer, and the like. Exemplary embodiments of the electronic devices comprise, but are not limited to, portable terminals that are launch IOS, android, microsoft or other operating systems. As an example, please refer to fig. 4, which is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. The antenna power adjusting method provided by the embodiment of the present application can be applied to the electronic device 100 shown in fig. 4.
Fig. 4 is a schematic structural diagram of an example of the electronic device 100 according to the embodiment of the present application. As shown in fig. 4, an electronic device (e.g., a mobile phone) may include: the mobile terminal includes a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging 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 button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like.
The sensor module 180 may include a SAR sensor, a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, and the like. The SAR Sensor may be referred to as a SAR Sensor, among other things, for sending antenna power adjustment instructions to the baseband processor.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic device. In other embodiments, an electronic device 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 Processing Unit (GPU), which may also be referred to as an application processor, an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors. The application processor is configured to receive image data from the camera 193 and process the image data, for example: and carrying out coding and decoding processing on the image data.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is 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 the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose-input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the interface connection relationship between the modules illustrated in this embodiment is only an exemplary illustration, and does not constitute a limitation on the structure of the electronic device. In other embodiments, the electronic device may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The electronic device implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the 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, video, and the like. The display screen 194 includes a display panel.
The electronic device may implement a shooting 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. The camera 193 is used to capture still images or video. In some embodiments, the electronic device may include 1 or N cameras 193, N being a positive integer greater than 1. Wherein, camera 193 may determine a duration of MIPI output of camera 193 according to an operating parameter of camera 193.
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. 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 the external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121. For example, in the embodiment of the present application, the processor 110 may execute instructions stored in the internal memory 121, and the internal memory 121 may include a program storage area and a data storage area.
The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, phone book and the like) created in the using process of the electronic equipment. In addition, the internal memory 121 may include a high speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like.
It should be understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the electronic device. In other embodiments of the present application, an electronic device 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 may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The hardware structure of the electronic device in the embodiment of the present application is described above with reference to fig. 4. The following describes a software architecture of an electronic device in an embodiment of the present application.
The software architecture of the electronic device may be a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The following embodiments take an Android (Android) system with a layered architecture as an example to exemplarily illustrate a software system of an electronic device.
Please refer to fig. 5, which is a schematic diagram of a software architecture of an electronic device according to an embodiment of the present application. As shown in fig. 5. 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, a Hardware Abstraction Layer (HAL), and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 5, the application packages may include camera, gallery, calendar, phone call, map, shopping, WLAN, music, video, short message, etc. applications.
After the camera application runs, the camera can be called to acquire image data through the camera. In one embodiment of the present application, the camera application may provide, but is not limited to, a photographing mode, a recording mode, a portrait mode, and the like, in any one of which the camera head may capture image data.
In an embodiment of the present application, if a video application, a shopping application, and the like have a right to use a camera, the application may also implement functions such as object recognition, code scanning, and the like through the camera. In the process of realizing any one of the functions, the camera can also collect image data.
The Application framework layer provides an Application Programming Interface (API) and a Programming framework for the Application program of the Application layer. The application framework layer includes a number of predefined functions. As shown in FIG. 5, the application framework layer may include a view system, a window manager, a content provider, a phone manager, a resource manager, a notification manager, and the like. For example: the view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system can be used for constructing a display interface of an application program, and the display interface can be composed of one or more views, such as a view for displaying a short message notification icon, a view for displaying characters and a view for displaying pictures.
In an embodiment of the present application, the HAL layer at least includes a camera hardware management module, and the camera hardware management module is configured to control a camera driver of the kernel layer to start a camera when a camera opening instruction for requesting to open the camera is received by the application layer, so as to acquire image information through the camera. Therefore, the camera hardware management module can acquire the image information acquired by the camera. For example, after the camera is started, a camera opening instruction is sent to the camera hardware management module, after the camera hardware management module receives the camera opening instruction, the camera is controlled to drive and start the camera, after the camera is started, image information starts to be acquired, and the camera hardware management module acquires the image information.
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, a sensor driver and an antenna power adjusting module. In the embodiment of the application, the antenna power adjusting module is used for acquiring the operating parameters of the camera through the camera drive and determining the MIPI output time of the camera according to the operating parameters; before the starting time point of the MIPI output time length, the antenna power adjusting module also determines a first time length before the camera sends image data to the application processor, and after the starting time point of the first time length is reached, the antenna power adjusting module generates an antenna power adjusting signal (the antenna power adjusting signal can be called an INT signal); and after the MIPI output time length is finished, the antenna power adjusting module changes the antenna power adjusting signal again, so that the SAR Sensor can control the baseband processor to reduce the transmitting power of the antenna within the MIPI output time length.
The antenna power adjustment method provided by the embodiment of the present application is described below with reference to the above description of the hardware structure and the software architecture of the electronic device. Please refer to fig. 6, which is a flowchart illustrating an antenna power adjustment method according to an embodiment of the present application, and fig. 6 illustrates an example in which a user opens a camera through a camera application of the electronic device 100 to perform video shooting. Taking the method applied to an electronic device equipped with a camera as an example, as a mobile phone, the mobile phone 100 may implement the antenna power adjusting method through interaction between the antenna power adjusting module shown in fig. 6 and multiple pieces of hardware, where the method may include some or all of the following:
s601: in response to an operation of opening the camera application 106, the cellular phone 100 starts the camera 101.
In the embodiment of the present application, when a user wants to take a picture or a video using the mobile phone 100 while using the mobile phone 100, the user may click an application icon of the camera application 106 displayed in the screen of the mobile phone 100. The cell phone 100 may open the camera application 106 in response to a user's launch operation of an application icon of the camera application 106. The starting operation may be a click operation, a long-time press operation, and the like, and is not limited specifically herein.
In the process loading process of the camera application 106, a camera start instruction may be issued to a camera hardware management module of the HAL layer. After receiving the camera start instruction, the camera hardware management module controls the camera to drive and start the camera 101.
It is understood that the camera 101 activated by the mobile phone 100 may be a front camera of the mobile phone, or may be a rear camera.
S602: the antenna power adjusting module 107 determines the duration of MIPI output according to the operating parameters of the camera.
In the embodiment of the present application, the duration of the MIPI output is the duration consumed by the camera 101 of the mobile phone 100 to transmit image data to the application processor 102. As shown in fig. 7, the duration of the MIPI output (which may be denoted by T3) may correspond to an operating parameter of the camera 101. The operating parameters of the camera 101 here may include: code stream, sampling rate, resolution, etc. Taking the code stream as an example, the unit of the code stream may be Mbps (Megabits Per Second, number of bits transmitted Per Second), the larger the code stream is, the larger the sampling rate in unit time is, the higher the precision of the data stream is, and the better the image quality is. For example: the duration of MIPI output corresponding to a code stream of 2Mbps may be 10 milliseconds, and the duration of MIPI output corresponding to a code stream of 20Mbps may be 20 milliseconds.
It can be understood that the correspondence between the operation parameter of the camera 101 and the MIPI output duration may be one-to-one, or many-to-one, that is, multiple operation parameters of the camera 101 may correspond to the same MIPI output duration. The above numerical values are given by way of example and are not limiting, and are not particularly limited herein.
S603: the camera 101 collects image data.
In the embodiment of the present application, the image data is image information collected by the camera before the transmission power of the antenna 105 is adjusted.
It is understood that after the camera 101 is started up, an optical image may be generated by the lens of the camera 101 and projected onto the surface of the optical sensor of the camera 101. The optical sensor of the camera 101 photoelectrically converts an optical image into an analog electric signal. The analog-to-digital conversion module of the camera 101 converts the analog electrical signal into a digital signal, and obtains image data in a digital signal format. After the camera 101 is started, image data in a digital signal format can be transmitted to the data transmission module in real time.
S604: the antenna power adjustment module 107 determines a first time period before the camera 101 sends image data to the application processor.
In this embodiment, the first duration may be a time period set before a start time point of sending the image data to the application processor by the camera of the mobile phone, that is, a time period set before a start time point of the duration of the MIPI output, where the first duration is used to reserve sufficient response time for the SAR Sensor and the baseband processor of the mobile phone. Referring to fig. 7, the first time period may be composed of two parts, where one part (T1) of the first time period is a time period required for the camera to generate the antenna power adjustment signal (INT signal), and the SAR Sensor sends an antenna power adjustment command to the baseband processor in response to the antenna power adjustment signal; another part (T2) of the first duration is the duration required for the baseband processor to control the antenna of the handset to reduce the transmit power of the antenna.
The value corresponding to the first time period may be determined by an empirical value or after the SAR Sensor and the baseband processor of the mobile phone are actually measured and distributed when the mobile phone leaves a factory, for example: the camera generates an antenna power adjusting signal, the time length required for the SAR Sensor to respond to the antenna power adjusting signal and send an antenna power adjusting instruction to the baseband processor can be 10 milliseconds, the baseband processor controls the antenna of the mobile phone, the time length required for reducing the transmitting power of the antenna can be 5 milliseconds, and then the value of the first time length is determined to be 15 milliseconds. It can be understood that the value of the first duration may also be slightly greater than the empirical value or a value determined after actual measurement distribution, so that it can be ensured that the SAR Sensor and the baseband processor of the mobile phone can have sufficient response time, and it is avoided that the baseband processor does not adjust the transmission power of the antenna of the mobile phone when the camera of the mobile phone starts to send image data to the application processor.
S605: at the beginning time point of the first duration, the antenna power adjustment module 107 generates a first antenna power adjustment signal.
In this embodiment, when the first duration begins, a time point before the camera of the mobile phone sends the image data to the application processor after acquiring the image data falls within a time period corresponding to the first duration.
The first antenna power adjustment signal may be a level signal, a value range of the level signal may be 0 and 1, a memory of the level signal may be set in a hardware structure of the mobile phone, and a camera of the mobile phone may modify the level signal in the memory by generating the first antenna power adjustment signal, for example: the initial value of the level signal in the memory may be 0, and the value of the level signal in the memory may become 1 after the camera of the mobile phone generates the first antenna power adjustment signal.
S606: in response to the first antenna power adjustment signal, after a first time period has elapsed, SAR Sensor103 controls baseband processor 104 to reduce the transmit power of antenna 105.
In this embodiment of the application, the SAR Sensor of the mobile phone may detect the value of the level signal in the memory described in step S605 in real time, as shown in fig. 7, after the SAR Sensor detects that the value of the level signal in the memory changes from 0 to 1, the SAR Sensor may send an antenna power adjustment instruction to the baseband processor, and the baseband processor reduces the transmission power of the antenna in response to the antenna power adjustment instruction.
It is understood that the procedure of reducing the transmission power of the antenna may be that the baseband processor reduces the transmission power of the antenna according to a preset value, for example: the preset value can be 5db, 6db, 7db, etc., and the transmitting power of the antenna of the mobile phone is reduced, wherein the antenna of the mobile phone can be at least one antenna which is preset to have an influence on the camera in the mobile phone. For example: as shown in fig. 7, the transmit power of the antenna of the handset is reduced from 26db to 23db.
S607: the camera 101 transmits image data to the application processor 102.
In this embodiment of the application, after a first time period elapses, that is, a camera of the mobile phone generates a first antenna power adjustment signal, the SAR Sensor detects that the first antenna power adjustment signal sends an antenna power adjustment instruction to the baseband processor, the baseband processor responds to the antenna power adjustment instruction, and after the transmission power of the antenna is reduced, the camera of the mobile phone can send acquired image data to the application processor, and the application processor can encode and decode the image data to convert the image data into an image or a video.
S608: after the duration of the MIPI output, the antenna power adjustment module 107 generates a second antenna power adjustment signal.
In the embodiment of the present application, the duration of the MIPI output may be that the camera of the mobile phone completes sending the image data to the application processor. In this case, the camera of the mobile phone may modify the level signal in the memory by generating a second antenna power adjustment signal, for example: the value of the level signal in the memory may be 1, and after the camera of the mobile phone generates the second antenna power adjustment signal, the value of the level signal in the memory may become 0.
S609: in response to the second antenna power adjustment signal, after a second duration has elapsed, the SAR Sensor103 controls the baseband processor 104 to restore the transmit power of the antenna.
In this embodiment of the application, the second time duration may be a time period set after a time point when the camera of the mobile phone finishes sending the image data to the application processor, and with reference to fig. 7, the second time duration may also be composed of two parts, where one part (T4) of the second time duration is a time duration required for the camera to generate the antenna power adjustment signal, and the SAR Sensor sends the antenna power adjustment instruction to the baseband processor in response to the antenna power adjustment signal; another portion (T5) of the second duration is the duration required for the baseband processor to control the antenna of the handset to recover the transmit power of the antenna.
The SAR Sensor of the mobile phone can detect the value of the level signal in the memory in real time, after the SAR Sensor detects that the value of the level signal in the memory is changed from 1 to 0, the SAR Sensor can send an antenna power adjusting instruction to the baseband processor, and the baseband processor responds to the antenna power adjusting instruction to recover the transmitting power of the antenna.
The above S601-S609 introduce the antenna power adjusting method provided in this embodiment in terms of interaction between each module of the electronic device (mobile phone) and hardware of the electronic device. The above process is explained in the context of an electronic device in conjunction with fig. 8.
S801: in response to an operation of opening the camera application 106, the camera 101 is started.
In the embodiment of the present application, the user may click on an application icon of the camera application 106 displayed in the screen of the mobile phone 100. The cell phone 100 may open the camera application 106 in response to a user's launch operation of an application icon of the camera application 106.
S802: and determining the MIPI output time length according to the operating parameters of the camera 101.
In the embodiment of the present application, the duration of the MIPI output is the duration consumed by the camera 101 of the mobile phone 100 to transmit image data to the application processor 102.
S803: image data is collected.
In the embodiment of the present application, after the camera 101 is started, the image data in the digital signal format may be sent to the data transmission module in real time.
S804: a first time duration before the camera 101 sends image data to the application processor is determined.
In this embodiment, the first duration may be a time period set before a starting time point of sending the image data to the application processor by the camera of the mobile phone, that is, a time period set before a starting time point of the duration of the MIPI output, where the first duration is used to reserve a sufficient response time for the SAR Sensor and the baseband processor of the mobile phone.
S805: at a starting point in time of a first duration, a first antenna power adjustment signal is generated.
In this embodiment, when the first duration begins, a time point before the camera of the mobile phone sends the image data to the application processor after acquiring the image data falls within a time period corresponding to the first duration.
S806: the transmit power of the antenna 105 is reduced after a first time period has elapsed in response to the first antenna power adjustment signal.
In this embodiment of the application, the SAR Sensor of the mobile phone may detect the value of the level signal in the memory described in step S805 in real time, and after detecting that the value of the level signal changes, the SAR Sensor may send an antenna power adjustment instruction to the baseband processor, and the baseband processor reduces the transmission power of the antenna in response to the antenna power adjustment instruction.
S807: the image data is sent to the application processor 102.
In this embodiment of the present application, after the first time period, the camera of the mobile phone may send the acquired image data to the application processor, and the application processor may perform encoding and decoding on the image data, and convert the image data into an image or a video.
S808: after a duration of the MIPI output, a second antenna power adjustment signal is generated.
In the embodiment of the present application, the duration of the MIPI output may be that the camera of the mobile phone completes sending the image data to the application processor.
S809: the transmit power of the antenna 105 is restored after a second time period has elapsed in response to the second antenna power adjustment signal.
In the embodiment of the application, when the SAR Sensor of the mobile phone detects that the value of the level signal changes again, the SAR Sensor may send an antenna power adjustment instruction to the baseband processor, and the baseband processor restores the transmission power of the antenna in response to the antenna power adjustment instruction.
It should be noted that all relevant contents of the steps involved in the method embodiment described in fig. 8 above may be cited in the relevant description in fig. 6 above, and are not repeated herein.
As an example of the present application, fig. 9 shows a hardware schematic diagram of an electronic device 100 including a camera 101. As shown in fig. 9, the electronic apparatus 100 includes: a camera 101, an application processor 102, a sar sensor103, and a baseband processor 104 and an antenna 105.
In the hardware schematic diagram of the electronic device 100 shown in fig. 9, before reducing the transmission power of the antenna, the baseband processor 104 may respond to the antenna power adjustment signal generated by the camera 101 in the response request time period, and reduce the transmission power of the antenna 105 through the antenna power adjustment instruction determined by the SAR Sensor103, so that the electronic device can complete the operation of reducing the transmission power of the antenna in time within the duration of MIPI output. After the camera 101 sends the image data to the application processor 102, that is, after the MIPI output duration is over, the camera 101 may change the antenna power adjustment signal, and the baseband processor 104 responds to the antenna power adjustment signal again, generates an antenna power adjustment instruction through the SAR Sensor103, and recovers the transmission power of the antenna 105.
As an example of the present application, fig. 10 shows a hardware schematic diagram of an electronic apparatus 100 including a camera 101. As shown in fig. 10, the electronic apparatus 100 includes: camera 101-1 and camera 101-2, application processor 102, sar sensor103, and baseband processor 104 and antenna 105.
In the hardware schematic diagram of the electronic device 100 shown in fig. 10, the embodiment of the application may determine the time length of the MIPI output of the camera 101-1 and the camera 101-2 according to the operating parameters of the camera 101-1 and the camera 101-2, that is, determine the time length consumed by the camera 101-1 and the camera 101-2 to send image data to the application processor 102.
It will be understood that, although the terms "first", "second", etc. may be used herein to describe various features, these features should not be limited by these terms. These terms are used merely for distinguishing and are not intended to indicate or imply relative importance. For example, a first feature may be termed a second feature, and similarly, a second feature may be termed a first feature, without departing from the scope of example embodiments.
Further, various operations will be described as multiple operations separate from one another in a manner that is most helpful in understanding the illustrative embodiments; however, the order of description should not be construed as to imply that these operations are necessarily order dependent, and that many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when the described operations are completed, but may have additional operations not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
References in the specification to "one embodiment," "an illustrative embodiment," etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may or may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Furthermore, when a particular feature is described in connection with a particular embodiment, the knowledge of one skilled in the art can affect such feature in combination with other embodiments, whether or not such embodiments are explicitly described.
The terms "comprising," "having," and "including" are synonymous, unless the context dictates otherwise. The phrase "A/B" means "A or B". The phrase "A and/or B" means "(A), (B) or (A and B)".
As used herein, the term "module" may refer to, be a part of, or include: memory (shared, dedicated, or group) for executing one or more software or firmware programs, an Application Specific Integrated Circuit (ASIC), an electronic circuit and/or processor (shared, dedicated, or group), a combinational logic circuit, and/or other suitable components that provide the described functionality.
In the drawings, some features of structures or methods may be shown in a particular arrangement and/or order. However, it should be understood that such specific arrangement and/or ordering is not required. Rather, in some embodiments, the features may be described in a manner and/or order different from that shown in the illustrative figures. Additionally, the inclusion of a structural or methodological feature in a particular figure does not imply that all embodiments need to include such feature, and in some embodiments may not include such feature, or may be combined with other features.
While the embodiments of the present application have been described in detail with reference to the accompanying drawings, the application of the present application is not limited to the various applications mentioned in the embodiments of the present application, and various structures and modifications can be easily implemented with reference to the embodiments of the present application to achieve various advantageous effects mentioned herein. Variations that do not depart from the gist of the disclosure are intended to be within the scope of the disclosure.

Claims (9)

1. An antenna power adjusting method applied to an electronic device, the method comprising:
acquiring first image information through a camera of the electronic equipment;
in the process of sending the first image information to an image processor of the electronic device, adjusting the transmission power of an antenna of the electronic device from a first preset value to a second preset value, including:
determining a first time period, the first time period preceding a process of sending the first image information to an image processor of the electronic device;
adjusting the transmitting power of an antenna of the electronic equipment from a first preset value to a second preset value at a first time point in the first time period;
and after the first image information is sent, restoring the transmitting power of the antenna of the electronic equipment from the second preset value to the first preset value, wherein the second preset value is smaller than the first preset value.
2. The method of claim 1, wherein adjusting the transmission power of the antenna of the electronic device from a first predetermined value to a second predetermined value at a first time point in the first time period comprises:
generating a first antenna power adjustment signal at a first point in time in the first time period;
adjusting the transmit power of the antenna from a first predetermined value to a second predetermined value in response to the first antenna power adjustment signal.
3. The method of claim 2, wherein the first time point is a starting time point of the first time period.
4. The method of claim 1, wherein after sending the first image information, restoring the transmission power of the antenna of the electronic device from the second preset value to the first preset value comprises:
determining a second time period for processing the first image information by an image processor of the electronic device;
generating a second antenna power adjustment signal after the second time period has elapsed;
and responding to the second antenna power adjusting signal, and restoring the transmitting power of the antenna from the second preset value to the first preset value.
5. The method of claim 4, wherein generating a second antenna power adjustment signal after the second time period has elapsed comprises:
determining a third time period, the third time period being after the second time period;
generating the second antenna power adjustment signal at a second point in time in the third time period.
6. The method of claim 5, wherein the second time point is a starting time point of the third time period.
7. The method of claim 1, wherein the image processor comprises at least one of an ISP processor or an application processor.
8. An electronic device, characterized in that the electronic device comprises one or more processors and one or more memories; the one or more memories coupled with the one or more processors, the one or more memories storing computer instructions; the computer instructions, when executed by the one or more processors, cause the electronic device to perform the antenna power adjustment method of any of claims 1-7.
9. A computer-readable storage medium comprising computer instructions which, when executed, perform the antenna power adjustment method of any one of claims 1-7.
CN202211000992.9A 2022-08-19 2022-08-19 Antenna power adjusting method and electronic equipment thereof Active CN115065767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211000992.9A CN115065767B (en) 2022-08-19 2022-08-19 Antenna power adjusting method and electronic equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211000992.9A CN115065767B (en) 2022-08-19 2022-08-19 Antenna power adjusting method and electronic equipment thereof

Publications (2)

Publication Number Publication Date
CN115065767A CN115065767A (en) 2022-09-16
CN115065767B true CN115065767B (en) 2023-01-20

Family

ID=83207823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211000992.9A Active CN115065767B (en) 2022-08-19 2022-08-19 Antenna power adjusting method and electronic equipment thereof

Country Status (1)

Country Link
CN (1) CN115065767B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116744423A (en) * 2022-10-17 2023-09-12 荣耀终端有限公司 Method and device for adjusting antenna power
CN116669153B (en) * 2022-12-09 2023-10-20 荣耀终端有限公司 Transmission power backoff method, terminal device, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327857A (en) * 2020-03-23 2020-06-23 维沃软件技术有限公司 Video data recovery method, electronic device, and storage medium
CN113691761A (en) * 2021-08-30 2021-11-23 联想(北京)有限公司 Communication control method and device and electronic equipment
CN114727092A (en) * 2022-03-14 2022-07-08 联想(北京)有限公司 Processing method, device, equipment and computer storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163094B (en) * 2015-10-12 2018-10-16 华中科技大学 A kind of track traffic video monitoring system
CN105763852A (en) * 2016-04-06 2016-07-13 华东师范大学 Wireless high-definition video real-time transmission method and device
CN113573390B (en) * 2020-04-29 2022-10-18 荣耀终端有限公司 Antenna power adjusting method, terminal device and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327857A (en) * 2020-03-23 2020-06-23 维沃软件技术有限公司 Video data recovery method, electronic device, and storage medium
CN113691761A (en) * 2021-08-30 2021-11-23 联想(北京)有限公司 Communication control method and device and electronic equipment
CN114727092A (en) * 2022-03-14 2022-07-08 联想(北京)有限公司 Processing method, device, equipment and computer storage medium

Also Published As

Publication number Publication date
CN115065767A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN115065767B (en) Antenna power adjusting method and electronic equipment thereof
CN113475057B (en) Video frame rate control method and related device
CN110347269B (en) Empty mouse mode realization method and related equipment
CN110333834B (en) Frame frequency adjusting method and device, display device and computer readable storage medium
CN112351156B (en) Lens switching method and device
CN115292052B (en) Memory recycling method, electronic device and computer readable storage medium
CN113660408B (en) Anti-shake method and device for video shooting
CN116033275B (en) Automatic exposure method, electronic equipment and computer readable storage medium
CN114727101B (en) Antenna power adjusting method and electronic equipment
WO2021190314A1 (en) Sliding response control method and apparatus of touch screen, and electronic device
CN115589051B (en) Charging method and terminal equipment
CN112840634A (en) Electronic device and method for obtaining image
CN115967851A (en) Quick photographing method, electronic device and computer readable storage medium
CN111625175B (en) Touch event processing method, touch event processing device, medium and electronic equipment
CN114968543A (en) Method for processing document page and related device
CN111061410B (en) Screen freezing processing method and terminal
CN111782458A (en) Screen refresh rate adjusting method and device, storage medium and electronic equipment
CN110321059B (en) Data processing method, device and computer readable storage medium
CN111586433B (en) Code rate adjusting method, device, equipment and storage medium
CN115515001B (en) Screen mirroring method, device, equipment and storage medium
CN116709432B (en) Cache queue adjusting method and electronic equipment
WO2024041006A1 (en) Method for controlling frame rate of camera, and electronic device
CN116723382B (en) Shooting method and related equipment
CN116700578B (en) Layer synthesis method, electronic device and storage medium
CN117729420A (en) Continuous shooting method and electronic equipment

Legal Events

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