CN116669153B - Transmission power backoff method, terminal device, and computer-readable storage medium - Google Patents

Transmission power backoff method, terminal device, and computer-readable storage medium Download PDF

Info

Publication number
CN116669153B
CN116669153B CN202211590249.3A CN202211590249A CN116669153B CN 116669153 B CN116669153 B CN 116669153B CN 202211590249 A CN202211590249 A CN 202211590249A CN 116669153 B CN116669153 B CN 116669153B
Authority
CN
China
Prior art keywords
service
mipi
power
camera
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
CN202211590249.3A
Other languages
Chinese (zh)
Other versions
CN116669153A (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 CN202211590249.3A priority Critical patent/CN116669153B/en
Publication of CN116669153A publication Critical patent/CN116669153A/en
Application granted granted Critical
Publication of CN116669153B publication Critical patent/CN116669153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application relates to the technical field of electronics, and provides a transmission power rollback method, terminal equipment and a computer readable storage medium. The method is applied to terminal equipment, the terminal equipment comprises an image signal processor ISP driving module, a monitoring service and an antenna power adjustment service, and the method comprises the following steps: the ISP driving module acquires abnormal information, wherein the abnormal information comprises a first identifier of a target camera shooting assembly in an abnormal state; the ISP driving module sends the abnormal information to the monitoring service; the monitoring service sends abnormal information to the antenna power adjustment service; the antenna power adjustment service determines a first power back-off value according to a first identifier in the abnormal information based on a first corresponding relation, wherein the first corresponding relation comprises the identifiers of a plurality of camera assemblies and the corresponding relation of a plurality of power back-off values; and triggering the transmitting power back-off by the antenna power adjustment service through the service according to the first power back-off value. The method can avoid network blocking caused by overlarge amplitude of the reduced power.

Description

Transmission power backoff method, terminal device, and computer-readable storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a transmission power backoff method, a terminal device, and a computer readable storage medium.
Background
With the development of terminal equipment, the scenes of people using the terminal equipment are more and more abundant, so that the situation that multiple components work simultaneously is more and more.
In some cases, a user often needs to perform network communication to transmit data when shooting with a camera of a terminal device. For example, in the process of video telephony, a user needs to transmit video data through a cellular mobile communication network or a WIF network while turning on a camera to capture video. In some scenes with larger transmitting power, the camera is disturbed, so that a fringe or a screen is displayed on the preview interface. The traditional mode is to directly reduce the transmitting power according to a larger fixed value capable of ensuring the normal operation of the camera.
However, the transmission power is reduced by a larger extent in such a way, which causes situations such as affecting communication service, blocking on the internet, and the like, and affects user experience.
Disclosure of Invention
The application provides a transmission power rollback method, a device, a chip, a terminal device, a computer readable storage medium and a computer program product, which can avoid the condition of blocking on the internet.
In a first aspect, a transmission power backoff method is provided, applied to a terminal device, where the terminal device includes an image signal processor ISP driving module, a monitoring service and an antenna power adjustment service, and the method includes: the ISP driving module acquires abnormal information, wherein the abnormal information comprises a first identifier of a target camera shooting assembly in an abnormal state; the ISP driving module sends the abnormal information to the monitoring service; the monitoring service sends abnormal information to the antenna power adjustment service; the antenna power adjustment service determines a first power back-off value according to a first identifier in the abnormal information based on a first corresponding relation, wherein the first corresponding relation comprises the identifiers of a plurality of camera assemblies and the corresponding relation of a plurality of power back-off values; and triggering the transmitting power back-off by the antenna power adjustment service through the service according to the first power back-off value.
The ISP driving module of the terminal equipment can identify abnormal information from the image data, then report the abnormal information to the antenna power adjustment service through the monitoring service, and the antenna power adjustment service triggers a process of reducing the transmitting power, thereby realizing a process of carrying out corresponding power rollback based on the identification of the camera shooting component. According to the method, the power back-off values corresponding to different camera assemblies are determined according to the identifications of the interfered camera assemblies, so that the matched power back-off values can be flexibly adopted for the different camera assemblies to determine target transmitting power. Because the different camera shooting assemblies are different from the position of the transmitting antenna or the isolation degree between the camera shooting assemblies and the antenna, when the antenna transmits high-power transmitting signals, the interference degrees of the different camera shooting assemblies are different, different power back-off values can be adopted for determining the transmitting power aiming at the different camera shooting assemblies, compared with the mode that the transmitting power is reduced according to a larger fixed value by all the camera shooting assemblies, the method can ensure normal display of a preview interface of a camera, reduce the amplitude of the transmitting power under some interference scenes as much as possible, ensure the communication quality as much as possible, avoid network card blocking and ensure the user experience.
Optionally, the anomaly information further includes a first mobile industry processor interface MIPI anomaly level of the target camera component, the first MIPI anomaly level is used for characterizing a degree of interference of MIPI signals of the target camera component, and the first correspondence further includes a correspondence between a plurality of MIPI anomaly levels and a plurality of power backoff values; the antenna power adjustment service determines a first power back-off value according to a first identifier in the anomaly information based on a first correspondence relation, including: the antenna power adjustment service determines a first power back-off value according to a first identifier in the anomaly information and a first MIPI anomaly class based on a first correspondence.
Optionally, the power back-off value corresponding to the MIPI abnormal level with the higher level among the MIPI abnormal levels is larger than the power back-off value corresponding to the MIPI abnormal level with the lower level.
Optionally, the number of the plurality of MIPI exception classes is three, the number of MIPI errors for the highest one of the plurality of MIPI exception classes is greater than or equal to three, the number of MIPI errors for the next highest one of the plurality of MIPI exception classes is two, and the number of MIPI errors for the lowest one of the plurality of MIPI exception classes is one.
Optionally, the MIPI error comprises: lane data skew or reduction, package check mismatch, stream byte reduction, unrecoverable device error, long term package payload mismatch.
Optionally, the anomaly information includes integrated circuit I2C anomaly information, the I2C anomaly information is used for characterizing an interference state of an I2C signal of the target camera component, the first correspondence further includes a correspondence between the I2C anomaly information and a power back-off value, the antenna power adjustment service determines the first power back-off value according to a first identifier in the anomaly information based on the first correspondence, and the method includes: the antenna power adjustment service determines a first power back-off value according to a first identifier in the anomaly information and I2C anomaly information based on a first corresponding relation, wherein the I2C anomaly information is used for representing the interfered state of an I2C signal of the target camera component.
Optionally, the I2C anomaly information includes:
one of an output-input error, a slave device no response, and a lost arbitration.
Optionally, the ISP driving module obtains the anomaly information, including: starting a target camera shooting assembly and collecting image data; the ISP driving module acquires image data transmitted by the target camera shooting assembly; the ISP driving module obtains abnormal information according to the image data. The ISP driver module sends the abnormal information to the monitoring service, comprising: the ISP driver module sends the anomaly information to the monitoring service via the subscribing node. The monitoring service sending anomaly information to the antenna power adjustment service, comprising: the monitoring service adopts a preset interface definition language and transmits abnormal information to the antenna power adjustment service. The antenna power adjustment service determines a first power back-off value according to a first identifier in the anomaly information based on a first correspondence relation, including: the antenna power adjustment service reads a first corresponding relation stored in a preset configuration file; and the antenna power adjustment service searches in the first corresponding relation according to the first identifier to obtain a first power back-off value. The antenna power adjustment service triggers the transmission power back-off through the service according to the first power back-off value, and the method comprises the following steps: the antenna power adjustment service sends a power back-off instruction to the modem through the service, wherein the power back-off instruction carries a first power back-off value, and the power back-off instruction is used for indicating the modem to reduce the transmitting power according to the first power back-off value.
Optionally, before the antenna power adjustment service determines the first power back-off value according to the first identifier based on the first correspondence, the method further includes: the antenna power adjustment service obtains the current signal strength, wherein the current signal strength is used for representing the signal strength of a received signal currently received by the terminal equipment; the antenna power adjustment service determines a first corresponding relation from a plurality of corresponding relations to be selected according to the current signal strength; the plurality of the corresponding relations to be selected at least comprise a first corresponding relation and a second corresponding relation, and the second corresponding relation comprises corresponding relations of a plurality of camera assemblies and a plurality of power back-off values; when the value of the signal intensity range corresponding to the first corresponding relation is higher than that of the signal intensity range corresponding to the second corresponding relation, the first power back-off value corresponding to the first identifier in the first corresponding relation is larger than the second power back-off value corresponding to the first identifier in the second corresponding relation; when the value of the signal strength range corresponding to the first corresponding relation is lower than the value of the signal strength range corresponding to the second corresponding relation, the first power back-off value corresponding to the first identifier in the first corresponding relation is smaller than the second power back-off value corresponding to the first identifier in the second corresponding relation.
The antenna power adjustment service can screen out the corresponding relation corresponding to the signal strength range where the current signal strength is located from a plurality of groups of preset corresponding relations according to the current signal strength of the antenna power adjustment service, and then inquire in the selected corresponding relation according to the abnormal information to determine a first power back-off value corresponding to the abnormal information and carry out power back-off. In the implementation manner, since the power back-off value corresponding to the signal strength range with the small signal strength value is large, and the power back-off value corresponding to the signal strength range with the large signal strength value is small, the terminal equipment can back off the larger value under the condition of strong current signal strength, can not influence the communication quality, can reduce the interference to the camera shooting assembly as much as possible, and can back off the smaller value under the condition of weak current signal strength, so that the communication quality is ensured, and the implementation manner is more reasonable.
Optionally, the method further comprises: the antenna power adjustment service records a current geofence and a current application scene of the terminal equipment, wherein the current application scene is used for representing the category of an application program of a starting target camera shooting assembly currently operated by the terminal equipment; and establishing a new corresponding relation between the current geofence, the current application scene and the first power back-off value.
Optionally, the method further comprises: when the terminal equipment is in the current geofence and the current application scene; the antenna power adjustment service determines a target transmitting power according to the first power back-off value based on the newly added correspondence.
According to the method, the terminal equipment does not need to report the abnormal information of the camera shooting assembly from the bottom layer, but can directly query the newly added corresponding relation to determine the first power back-off value matched with the current state, so that the processing flow is reduced, the overhead of a system is saved, the processing time is shortened, and the efficiency of power control is improved.
In a second aspect, a transmit power backoff apparatus is provided, which comprises a unit comprising software and/or hardware for performing any one of the methods of the first aspect.
In a third aspect, there is provided a terminal device comprising: a processor, a memory, and an interface; the processor, the memory and the interface cooperate with each other to enable the terminal device to execute any one of the methods in the technical solution of the first aspect.
In a fourth aspect, an embodiment of the present application provides a chip, including a processor; the processor is configured to read and execute a computer program stored in the memory to perform any one of the methods according to the first aspect.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
In a fifth aspect, there is provided a computer readable storage medium having stored therein a computer program which, when executed by a processor, causes the processor to perform any one of the methods according to the first aspect.
In a sixth aspect, there is provided a computer program product comprising: computer program code which, when run on a terminal device, causes the terminal device to carry out any one of the methods according to the first aspect.
Drawings
Fig. 1 is an application scenario diagram of an example of a transmit power backoff method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a terminal device 100 according to an embodiment of the present application; the method comprises the steps of carrying out a first treatment on the surface of the
Fig. 3 is a block diagram illustrating a software architecture of an exemplary terminal device 100 according to an embodiment of the present application;
fig. 4 is a timing chart of an example of reporting MIPI anomaly information provided by an embodiment of the present application;
FIG. 5 is a timing diagram of an example I2C exception reporting provided by an embodiment of the present application;
Fig. 6 is a flowchart of an example of a transmit power backoff method according to an embodiment of the present application;
fig. 7 is a flowchart of another embodiment of a transmit power backoff method according to the present application;
fig. 8 is a timing diagram of another embodiment of a transmit power backoff method according to the present application;
fig. 9 is a schematic structural diagram of an example of a transmit power backoff 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 the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first," "second," "third," and the like, are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or a third "may explicitly or implicitly include one or more such feature.
With the development of terminal equipment, the scenes of people using the terminal equipment are more and more abundant, so that the situation that multiple components work simultaneously is more and more. In some cases, a user often needs to perform network communication to transmit data when shooting with a camera of a terminal device. For example, in the process of video telephony, a user needs to transmit video data through a cellular mobile communication network, a WIF network, or bluetooth while turning on a camera to capture video. During data transmission, signals need to be transmitted through antennas on the terminal equipment. In some scenes with larger transmitting power, radio frequency signals transmitted by the antenna can cause interference to a camera on the terminal equipment. When the camera is interfered by the rf signal, the coupled rf signal may directly couple to the camera through a path shown in a diagram a in fig. 1, that is, a sensor of the camera is disposed on a motherboard-a flexible circuit board (flexible printed circuit, FPC) -a System On Chip (SOC) that connects the motherboard and the camera, and this path interferes with an MIPI signal that transmits image data, and directly interferes with an integrated circuit (inter-integrated circuit, I2C) signal, and these disturbances cause a preview interface of the camera to have a stripe, a screen, a black screen, or the like, which affects user experience. The traditional mode is to directly reduce the transmitting power according to a larger fixed value capable of ensuring the normal display of a camera preview interface. For example, when the MIPI signal of the image data is found to be interfered, the transmission power is directly reduced by 10dB. The mode can enable the reduction amplitude of the transmitting power to be larger, so that the communication service is influenced, the conditions of blocking and the like occur, and the user experience is influenced.
In general, the image capturing component is disturbed, which is simply referred to as being disturbed, and can be divided into an analog portion disturbed and a digital portion disturbed.
The analog portion is disturbed by an analog signal of the camera assembly. The frequency of the interference signal when the analog part is disturbed is within the frequency range of 0 to 30MHz, and the interference signal can comprise interference caused by a wireless charging module, interference caused by a linear memory alloy (shape memory alloy, SMA) motor and interference caused by a distance wireless communication technology (near field communication, NFC) antenna. The interference source is a wireless charging module, and the frequency of an interference signal of the wireless charging module is 50-500KHz, so that a screen is formed; the interference source is an SMA motor, and the interference signal frequency is 50-500KHz, so that black edges or clamping and stopping can occur; the interference signal frequency of the interference source being the NFC antenna is 13.56MHz, which can cause the occurrence of a splash screen. The analog part is disturbed in the frequency range of 0.7MHz to 6GHz and may include interference from GMS bands and interference from bands of WCDMA, LTE and CDMA (W/L/C for short). The frequency of the interference source in the GMS frequency band is usually 0.7GHz-1.9GHz, which can lead to a splash screen; the frequency of the interference source in the W/L/C frequency band is usually 0.7GHz-3GHz, which can cause color or brightness to change.
Digital partial scrambling refers to the scrambling of the digital signal of the camera assembly. The digital portion scrambling may include MIPI signal scrambling, I2C signal scrambling, and clock signal (MCLK) scrambling. Wherein the frequency of the interference source when the MIPI signal is disturbed is generally 0.7GHz-6GHz, such as a GSM signal with the frequency of 0.7GHz-1.9GHz or a W/L/C signal with the frequency of 0.7GHz-3 GHz. The MIPI signal is disturbed to cause the phenomena of blocking, freezing or screen-missing. The frequency of the interferer when the I2C signal is disturbed is typically 0.7GHz-6GHz, e.g. a GSM signal of 0.7GHz-1.9GHz or a W/L/C signal of 0.7GHz-3 GHz. The frequency of the interference source when the MCLK signal is disturbed is 0.7GHz-6GHz, such as a GSM signal of 0.7GHz-1.9GHz or a W/L/C signal of 0.7GHz-3 GHz. The phenomena of frozen screen, stuck or color change can occur in the interference of the I2C signal and the interference of the MCLK signal.
Fig. 1 b is a preview interface diagram of a screen and a click in an abnormal state of a camera preview.
Typically, a plurality of cameras are disposed on the terminal device, for example, the rear camera may include a wide-angle camera, an ultra-wide-angle camera, and a tele camera, and a front camera may also be disposed. In the transmitting power back-off method provided by the embodiment of the application, the terminal equipment can determine the power back-off value corresponding to the camera according to the identification of the interfered camera, so that different power back-off values can be flexibly adopted for different cameras to determine the transmitting power. Because the different cameras are different from the position of the transmitting antenna or the isolation degree between the different cameras and the antenna, when the antenna transmits high-power transmitting signals, the interference degrees of the different cameras are different, different power back-off values can be adopted for different cameras to determine the transmitting power, compared with the mode that all cameras reduce the transmitting power according to a larger fixed value, the method can ensure normal display of a preview interface of the camera, reduce the amplitude of the transmitting power under some interference scenes as much as possible, transmit signals with larger power as much as possible, ensure the communication quality, avoid blocking and ensure the user experience.
In the embodiment of the application, the power back-off value represents the reduction of the transmitting power of the terminal equipment, and the process of executing the power back-off is the process of reducing the transmitting power according to the power back-off value.
The method for determining the back-off of the transmitting power provided by the embodiment of the application can be applied to terminal equipment such as mobile phones, tablet computers, wearable equipment, vehicle-mounted equipment, augmented reality (augmented reality, AR)/Virtual Reality (VR) equipment, notebook computers, ultra-mobile personal computer (UMPC), netbooks, personal digital assistants (personal digital assistant, PDA) and the like, and the embodiment of the application does not limit the specific types of the terminal equipment.
Fig. 2 is a schematic structural diagram of an exemplary terminal device 100 according to an embodiment of the present application. The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (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, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, 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 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.
It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the application, terminal device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural center and a command center of the terminal device 100. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an I2C interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (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 (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the terminal device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing function of terminal device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display function of the terminal device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal.
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.
It should be understood that the interfacing relationship between the modules illustrated in the embodiment of the present application is only illustrative, and does not constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110.
The wireless communication function of the terminal device 100 can 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. The structures of the antennas 1 and 2 in fig. 1 are only one example. Each antenna in the terminal device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into 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 2G/3G/4G/5G wireless communication applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. 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 provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied to the terminal device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the 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, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of terminal device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal device 100 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The terminal device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the terminal device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The terminal device 100 may implement a photographing function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize 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 the 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 onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the terminal device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the terminal device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (such as audio data, phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals.
The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D may be a USB interface 130 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal.
The gyro sensor 180B may be used to determine a motion gesture of the terminal device 100.
The air pressure sensor 180C is used to measure air pressure.
The magnetic sensor 180D includes a hall sensor.
The acceleration sensor 180E can detect the magnitude of acceleration of the terminal device 100 in various directions (typically three axes).
A distance sensor 180F for measuring a distance. The terminal device 100 may measure the distance by infrared or laser.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode.
The ambient light sensor 180L is used to sense ambient light level.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal device 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is for detecting temperature. In some embodiments, the terminal device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J.
The touch sensor 180K, 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 for detecting a touch operation acting thereon or thereabout.
The bone conduction sensor 180M may acquire a vibration signal.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card.
The software system of the terminal device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the terminal device 100 is illustrated.
Fig. 2 is a software structural block diagram of an electronic device according to an embodiment of the present application. The electronic device may be a terminal device in the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages, for example, the application packages may include applications for cameras, gallery, calendar, conversation, map, navigation, WLAN, bluetooth, music, video, short messages, etc. In an embodiment of the present application, the application package may further include a Sar Service (i.e., sar Service) and a configuration file.
In some embodiments, the camera transmits image data to an upper layer through a mobile industry processor interface (Mobile Industry Processor Interface, MIPI) interface, and the Sar service is configured to monitor the status of the MIPI interface and, upon detecting an MIPI status anomaly, initiate a process to reduce the transmit power of the antenna. Herein, sar is an abbreviation of specific absorption rate, and chinese paraphrased as electromagnetic wave absorption ratio or specific absorption rate. The Sar service may also be configured to monitor the status of the I2C interface, and after detecting that the status of the I2C is abnormal, initiate a procedure for reducing the transmit power of the antenna.
The configuration file is used for storing power back-off values corresponding to different cameras, for example, the front camera corresponds to a power back-off of 4dB, or the rear camera corresponds to a power back-off of 2dB, etc. The corresponding power back-off amounts of different cameras can be obtained through experiments.
In the terminal device, when the antenna transmits a larger signal power, a camera closer in distance or a camera having a smaller isolation from the antenna is easily interfered. Based on the power back-off amount, the power back-off amount when the current camera is interfered can be configured in the configuration file, so that the terminal equipment reduces the power of the transmitting signal according to the power back-off amount, and the interference of the transmitting signal on the camera is reduced or eliminated.
An application Framework layer (Framework) may employThe interface definition language (android interface definition language, AIDL) provides an application programming interface (application programming interface, API) and programming framework for application programs at the application layer. The application framework layer includes a number of predefined functions. For example, embodiments of the present application relate to telephony services, wireless interface layers, wiFi services, and WiFi managers for an application framework layer.
Among other things, telephony services (i.e., telephony services) provide support for Telephony Application Programming Interfaces (TAPIs).
The radio interface layer (radio Iinterface layer, RIL) is a management layer to which the AP is connected to a Modem processor (Modem).
The WiFi service (WiFi service) is a core service responsible for WiFi functions in an Android application framework layer, and mainly manages and controls the WiFi functions in an Android platform by means of wpa_suppuration (WPAS for short).
The WiFi Manager (WiFi Manager) is a system tool class software running in the Android platform, mainly used to manage WiFi.
The hardware abstraction layer (hardware abstraction layer, HAL) is an important bridge connecting the Framework and Linux kernel device drivers. The HAL layer can shield the difference of different hardware devices and provide a uniform device access interface for Android. Different hardware manufacturers follow the HAL standard to realize hardware control logic, and developers do not need to care about the difference of hardware devices, and only need to access the hardware according to the standard interface provided by the HAL.
In some embodiments, to(Qcom) chip platform for example, the HAL layer of embodiments of the present application may include a camera AIDL interface (hncamera aidlinterface), a camera AIDL service (hncamera aidlservice), a HAL monitoring service (CamCfgServer), and a CHI and related components. Wherein, AIDL is Android interface definition language.
The CHI is a part of a high-pass platform Camx-CHI architecture, wherein the Camx-CHI architecture extracts some highly uniform functional interfaces and places the highly uniform functional interfaces into CamX, and customizable parts are placed in the CHI for different manufacturers to modify, so that unique characteristic functions of the Camx-CHI architecture are realized. The CHI mainly completes platform adaptation, can be integrated in a manufacturer driver, and is an initiator of the HAL monitoring service and the AIDL service.
If it isThe HAL layer of the embodiment of the application can also comprise a camera AIDL interface (HnCameraAidlInterface), a camera AIDL service (HnCameraAidlService), a HAL monitoring service (CamCfgServers) and a Feature and related components. Wherein, AIDL is Android interface definition language.
The Feature is a part of a Pipeline-Feature architecture of the MTK platform, wherein the Pipeline-Feature architecture extracts some highly uniform functional interfaces and puts the highly uniform functional interfaces into the Pipeline, and customizable parts are put in the Feature for different manufacturers to modify, so that unique characteristic functions of each manufacturer are realized. Features, similar to CHI, also perform platform adaptation, can be integrated in the vendor driver, and are the initiator of the HAL monitoring service and the AIDL service.
The HAL monitoring service (CamCfgServer) is used for receiving the MIPI state exception reported by the bottom layer in the embodiment of the application, and feeding back to the camera AIDL service in a callback mode. Further, the camera AIDL service feeds back information of MIPI status anomalies to the Sar service of the application layer via the camera AIDL interface.
The HAL monitoring service (CamCfgServer) can also be used for receiving the I2C state exception reported by the bottom layer in the embodiment of the application, and feeding back to the camera AIDL service in a callback mode. Further, the camera AIDL service feeds back information of the I2C state anomaly to the Sar service of the application layer via the camera AIDL interface.
The CamCfgServer is a newly added HAL monitoring service, and is mainly used for completing interaction with the hwcam_cfgdev and monitoring and acquiring events. The embodiment of the application can be used for receiving MIPI state abnormality and/or I2C state abnormality information reported by the bottom layer and feeding back the MIPI state abnormality and/or I2C state abnormality information to the camera AIDL service through the camera AIDL interface in a callback mode. Further, the camera AIDL service feeds information of the MIPI state anomaly and/or the I2C state anomaly back to the Sar service of the application layer via the camera AIDL interface.
HnCameraAidlService is a newly added camera AIDL service, and mainly receives a callback of CamCfgServer, and notifies a message to an application (or called client) through the callback by HnCameraAidlInterface.
The hwcam_cfgdev is Video for linux two (V4L 2 for short) node, mainly sends V4L2 event and message to HAL, and in the embodiment of the present application, the information of MIPI status exception and/or I2C status exception may be reported to HAL.
In some embodiments of the application, the MIPI status may be determined by a cyclic redundancy check (cyclic redundancy check, CRC) check code of image data transmitted over the MIPI interface. The MIPI protocol has a data checking mechanism and CRC anomalies indicate anomalies in the image data transfer process. The I2C abnormal state may be determined from image data transmitted through the I2C interface.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system. The system library may include a plurality of functional modules.
The kernel layer is a layer between hardware and software. In the embodiment of the application, the kernel layer may include an ISP driving module (Q ISP Driver) and a camera device driving module (camcfgdev Driver) of the high-pass platform, and/or include an ISP driving module (M ISP Driver) and a camera device driving module of the MKT platform, and further include a camera device file.
In a normal image display process, after a camera is opened, image data is acquired, and the shot image data is sent to an image signal processor (image singal processor, an ISP driving module (ISP driving module, ISP driving or ISP Driver for short) through an interface, and the ISP Driver transmits the image data to a camera application of an application program layer for normal preview display by adopting an MIPI and/or I2C interface. The method specifically comprises the following steps: the ISP Driver sends the received image data to the hardware abstraction layer through the MIPI interface and/or the I2C interface. To be used for For example, the Q ISP Driver sends the received image data to the CamX of the hardware abstraction layer through the MIPI interface and/or the I2C interface for processing, and after the CamX is processed, the image data is transferred to the Q image processing module of the hardware abstraction layer, and after the image data is processed by the Q image processing module, the image data is transferred to the camera application of the application layer through the AIDL interface of the application program framework layer for image preview. If it is->And the platform sends the received image data to a Feature of the hardware abstraction layer through an MIPI interface and/or an I2C interface for processing, and then the Feature is transmitted to an M image processing module of the hardware abstraction layer after being processed by the M image processing module, and after being processed by the M image processing module, the image Driver transmits a camera application of the application layer through an AIDL interface of the application program framework layer for image preview.
When there is an MIPI status abnormality or an I2C status abnormality, the display effect of the preview interface may be affected, for example, abnormal effects such as a screen display, a black border, and a frozen screen may occur.
The ISP driver module may identify that the image data has an MIPI abnormal state and/or an I2C abnormal state and notify the hwcam_cfgdev node of the MIPI abnormal state and/or the I2C abnormal state. For example, information of MIPI status anomalies and/or I2C status anomalies may be reported.
Under Linux, all peripherals can be regarded as a specific file, called a "device file", which can be read and written as if it were accessing a normal file. In the embodiment of the application, the camera equipment file is a file driven by a V4L2 video communication protocol. V4L2 provides a set of socket specifications for video equipment programs under Linux. For example, in the embodiment of the present application, the camera device file driven by V4L2 is dev/vedio251.
In addition to the above software framework, the electronic device further includes hardware, where the hardware related to the embodiment of the present application includes a plurality of cameras (or referred to as camera modules), for example, front-end cameras and rear-end cameras, or includes rear-end wide-angle cameras, ultra-wide-angle cameras, telephoto cameras, and front-end cameras, where image signals collected by these cameras may be transferred to an ISP Driver (Q ISP Driver or M ISP Driver) of the kernel layer via an MIPI interface and/or an I2C interface.
And the ISP Driver performs CRC check on the received image data, determines that the MIPI state is abnormal if the check fails, and transmits the information of the MIPI state abnormality to the Sar service of the application program layer by layer. The flow of reducing the transmitting power is further triggered by the Sar service. ISP Driver can also determine I2C state anomalies from received image data and pass to the Sar service of the application layer by layer.
In one scenario, antenna 1 connected to mobile communication module 150 is currently being used, the sar service issues a power down command to the telephony service of the application framework layer and the command is issued over the radio interface layer to a modem in the baseband processor that carries information on the power back-off, which is executed by the modem to reduce the transmit power of the antenna.
In another scenario, the antenna 2 connected to the wireless communication module 160 is currently being used, the sar service issues a WiFi power reduction instruction to the WiFi service of the application framework layer, the WiFi service issues the instruction to the WiFi manager, the WiFi manager transfers the instruction to the WiFi module in the baseband processor, the instruction carries information of the power back-off amount, and the WiFi module executes the instruction to reduce the power of the antenna 2.
The above-described power back-off amount may also be represented by a power shift, for example, the lower the power shift, the larger the amount of power reduction, the higher the power shift, the smaller the amount of power reduction.
It should be noted that, in general, the bluetooth communication may use the same hardware and software framework as the Wifi communication, and the power backoff of the bluetooth communication may refer to the power backoff procedure of the Wifi communication, which is not described herein.
For easy understanding, the following embodiments of the present application will take a terminal device having a structure shown in fig. 1 and fig. 2 as an example, and specifically describe a transmit power backoff method provided in the embodiments of the present application with reference to the accompanying drawings and application scenarios.
Based on the software framework diagram shown in fig. 3, a timing diagram of monitoring for decreasing Sar when the MIPI signal of the camera is abnormal is shown as follows in the flow chart of fig. 4. The process can comprise three stages of (1) starting up the mobile phone, (2) starting up the camera and (3) closing the camera. In the embodiment of the application, the terminal equipment is taken as a mobile phone for carrying out exemplary explanation. The mobile phone starting process is an optional process, and the mobile phone starting process is only required to be executed once when the mobile phone is started, and the mobile phone is started again after the mobile phone is powered off. The present embodiment is described by taking a high-pass platform as an example. The camera and the camera component in the embodiment of the application indicate hardware sensors with shooting capability and are not used for distinguishing the types of hardware.
As shown in fig. 4, the method may include the steps of:
s401, starting the mobile phone, starting a camera HAL (camera HAL) process, and acquiring camera capability.
In the starting process of the mobile phone, an intelligent operating system in the mobile phone is started, and the process starts a camera HAL process, so that camera capability, such as static capability supported by a camera, such as the number of cameras, resolution, frame rate, aperture, focal length and the like, is obtained from CHI of the HAL layer.
S102, the CHI initializes the camera AIDL service (i.e., hnCameraAidlService).
Specifically, the CHI calls an AIDL service initialization interface to pull up an AIDL service and register the service.
S103, the SAR Service (SAR Service) acquires the camera AIDL Service.
The Sar Service acquires information of the camera AIDL Service, such as a communication interface, so that the Sar Service is ensured to communicate with the camera AIDL Service, and thus the Sar Service receives the MIPI status anomaly information transmitted by the camera AIDL Service.
S104, the camera AIDL service registers callback with the HAL monitoring service.
After a caller invokes a function, the execution result or state needs to be transferred to the caller again during or after the execution of the function, and a series of subsequent operations, namely a callback mechanism, are performed.
In this embodiment, after the camera AIDL service registers callback to the HAL monitoring service, when the HAL monitoring service monitors that the underlying MIPI status is abnormal, the monitoring result of the MIPI status abnormality is fed back to the camera AIDL service in a callback manner.
S105, the Sar Service registers callback of the camera AIDL Service.
After the Sar Service registers the callback of the camera AIDL Service, after the camera AIDL Service obtains the MIPI state abnormality result fed back by the HAL monitoring Service, the callback mode can be used for feeding back the MIPI state abnormality result to the Sar Service.
The process shown in S101 to S105 is a mobile phone startup process.
S106, starting the camera.
For example, a user launching a camera application in a cell phone will launch a video camera. For another example, the user may invoke the camera by starting other applications in the mobile phone, such as invoking the camera after starting a video call function of the video call application.
S107, the CHI initializes the HAL monitoring service.
In the process of starting the camera, the CHI calls an initialization function of the HAL monitoring service to complete the initialization process of the HAL monitoring service.
The process of initializing the HAL monitoring service is mainly to create the HAL monitoring service, and the processes shown in the following S108 to S112 are the initialization process of the HAL monitoring service.
S108, the HAL monitoring service starts a file node of the camera equipment.
In the Linux system, all peripherals are regarded as a special file, called a "device file", which can be read and written as if it were accessing a normal file. In the embodiment of the application, the camera equipment file is a file driven by a V4L2 (Video for Linux Two) video communication protocol. V4L2 provides a set of socket specifications for video equipment programs under Linux.
In the embodiment of the application, the file node of the camera equipment can be called as a V4L2 node.
S109, the camera equipment file node subscribes to a camera equipment driver (CamCfgDevDriver).
Message subscription and publishing are methods for inter-component communication, and in this embodiment, a file node of camera equipment subscribes to an MIPI status exception message in CamCfgdevDriver. The message subscriber is the camera device file node, i.e., the component that receives the data. The message publisher is the CamCfgdevDriver, the component that provides the data.
S110, the camera equipment driver completes message subscription of the camera equipment file node and returns a successful subscription result to the camera equipment file node.
S111, the file node of the camera equipment returns a starting result to the HAL monitoring service through driving of the camera equipment.
And S112, after the HAL monitoring service receives the starting result returned by the HAL monitoring service, starting a message monitoring thread, and returning the starting result of the HAL monitoring service to the CHI.
The process shown in S107 to S112 described above is a process of starting the HAL monitoring service, which is performed only once during the operation of the camera.
S113, the ISP driver receives the image data transmitted by the camera equipment through the MIPI interface, checks the image data, and determines that the MIPI state is abnormal if the check fails.
For example, in an embodiment of the present application, the ISP driver receives image data transmitted by the camera device through the MIPI interface.
Based on MIPI protocol, CRC check code is generated in the image data transmission process and is sent to the receiving end along with the image data. The receiving end receives the image data, analyzes the image data to obtain a CRC check code (called a first CRC check code), and generates a new CRC check code (called a second CRC check code) according to the image data. If the second CRC check code is the same as the first CRC check code, the image data received by the receiving end is accurate. If the second CRC check code is different from the first CRC check code, it indicates that the image data received by the receiving end is erroneous, for example, the data of some bit or bits in the image data changes, for example, from 0 to 1 or from 1 to 0, caused by interference of the antenna signal during transmission via the MIPI interface. Therefore, after the CRC check code fails to check, the MIPI state is abnormal, and further the condition that the camera is interfered by an antenna in the working process is indicated.
The act of determining whether the CRC check code is consistent is performed by the ISP Driver, and therefore, it is necessary to transfer the information of the CRC check code abnormality layer by layer to the Sar service of the application layer. The abnormal information may include an identification of the camera in which the abnormal state occurs, for example, an identification number ((Identity document, ID) of the camera.
S114, the ISP drives the state that the MIPI signal of the camera is detected to be abnormal.
After the ISP driver detects the abnormal state of the MIPI signal of the camera, the interrupt processing function configures abnormal state information.
S115, the ISP driver transmits MIPI state abnormality information to the camera equipment file node.
The ISP driver triggers an interrupt after the received image data fails to verify, and the ISP driver responds to the interrupt to send an MIPI state exception event to the file node of the camera equipment.
S116, the camera equipment file node transmits MIPI state abnormality information to the HAL monitoring service.
S117, the HAL monitoring service delivers MIPI status exception information to the camera AIDL service.
The HAL monitoring service calling function analyzes the abnormal information, executes the MIPI abnormal event and executes callback of the camera AIDL service. In the initialization process of the camera AIDL service, the camera AIDL service registers callback to the HAL monitoring service, so that after the HAL monitoring service receives MIPI state abnormality information, the MIPI state abnormality information is fed back to the camera AIDL service in a callback mode.
S118, the camera AIDL Service transmits MIPI state anomaly information to Sar Service.
In the process of starting up and initializing the mobile phone, the Sar Service registers a callback of the camera AIDL Service, so that the camera AIDL Service feeds back the MIPI state abnormality information to the Sar Service in a callback mode after receiving the MIPI state abnormality information.
After receiving the MIPI status anomaly information, sar Service obtains a matching factor that matches the currently used camera (i.e., obtains a power back-off value, e.g., a first power back-off value, corresponding to the currently used camera).
And after receiving the MIPI state abnormality information, the Sar Service acquires a matching factor from the configuration file of the application program layer, and matches the currently used camera with the matching factor.
The matching factor may be obtained through experimentation without affecting the communication performance of the handset and without interfering with the power back-off values of the signals of the cameras, e.g., at least one power back-off value may be obtained for each camera.
The Sar Service generates a power backoff value instruction based on a matching factor that matches the currently used camera, and sends the power backoff value instruction to a telephony Service or WiFi manager of the application framework layer, etc.
In one possible implementation, a power back-off value may be written in the configuration file, e.g., the power back-off value may be 4dB, 5dB, 6dB, etc. For example, the corresponding power back-off value for each camera may be determined by testing.
The processes shown in S113 to S119 described above may be repeatedly performed during the operation of the camera.
S119, the user closes the camera.
S120, in response to the operation of closing the camera, the CHI logs out the HAL monitoring service.
After the user closes the camera, the user needs to log out the HAL monitoring service, so as to release system resources (such as memory space, thread resources and the like) occupied by the HAL monitoring service, and improve the running performance of the electronic equipment.
S121, the HAL monitoring service stops the message monitoring thread.
S122, the HAL monitoring service closes the file node of the camera equipment.
S123, the HAL monitoring service returns a cancellation result to the CHI.
The above flow can realize real-time reporting of MIPI abnormal information.
The following flow chart of fig. 5 can be referred to for the monitoring of the Sar reduction timing chart if the I2C signal of the camera is abnormal. The process can comprise three stages of (1) starting up the mobile phone, (2) starting up the camera and (3) closing the camera. In the embodiment of the application, the terminal equipment is taken as a mobile phone for carrying out exemplary explanation. The mobile phone starting process is an optional process, and the mobile phone starting process is only required to be executed once when the mobile phone is started, and the mobile phone is started again after the mobile phone is powered off. The present embodiment is described by taking a high-pass platform as an example.
The detailed description of the steps in fig. 5 may refer to the description of the steps in fig. 4. In S109A, S114A, S115A, S a and S118A in fig. 5, processing of the I2C state abnormality information when an abnormality occurs in the I2C signal may correspond to the processing manners of S109, S114, S115, S116 and S118 in the embodiment shown in fig. 4, respectively, except that the types of the processed information are different, and are not described herein again.
How the terminal device reduces the transmission power according to the abnormality information will be described in detail below based on the timings shown in fig. 4 and 5.
Fig. 6 is a flowchart of an example of a transmit power backoff method according to an embodiment of the present application.
S601, acquiring abnormal information, wherein the abnormal information comprises a first identification of a target camera component in an abnormal state.
The terminal device may acquire the abnormality information through the above-described timing flow shown in fig. 4 or fig. 5. The abnormality information includes a first identification of a target camera component in which an abnormal state occurs. The first identifier may be an ID, name, number, etc. of the target camera component that can characterize the identity of the component.
Optionally, the target camera assembly may be any one of a front camera, a wide-angle camera, a super-wide-angle camera, or a tele camera. The wide-angle camera, the ultra-wide-angle camera or the long-focus camera is a rear camera. The abnormal information may indicate that the MIPI signal of the target camera assembly is interfered, or may indicate that the I2C signal of the target camera assembly is interfered. Alternatively, the anomaly information may be indicative of an anomaly state in which a clock signal (MCLK) of the target camera assembly is disturbed, or indicative of a motor of the target camera assembly is disturbed, or the like.
S602, determining a first power back-off value according to a first identifier based on a first corresponding relation, wherein the first corresponding relation comprises the identifiers of a plurality of camera assemblies and the corresponding relation of the plurality of power back-off values.
The application layer of the terminal equipment stores a configuration file, and the configuration file can be preset in a first corresponding relation, wherein the first corresponding relation at least comprises a corresponding relation between a first identifier and a first power back-off value. Optionally, the first correspondence may include correspondence between identifiers of a plurality of camera assemblies and a plurality of power back-off values, where the identifiers of the plurality of camera assemblies include the first identifier, and the plurality of power back-off values include the first power back-off value. I.e. the identity of each camera assembly corresponds to a power back-off value. The identifiers of the image capturing components can be corresponding to different power back-off values, or the identifiers of the partial image capturing components can be corresponding to the same power back-off value. Optionally, the first correspondence may also be stored in a server, downloaded by the terminal device and stored in a configuration file when networking, or the terminal device obtains the abnormal information and then queries the server online to obtain the first power back-off value.
The first corresponding relation can be obtained according to an experimental mode, and the characteristic that when the shooting effect is affected due to the fact that the shooting assembly corresponding to one identifier is interfered by the radio frequency signal, the terminal equipment performs power return according to the power return value corresponding to the identifier, and the shooting effect cannot be affected due to the interference degree of the radio frequency signal after the shooting assembly corresponding to the identifier is subjected to power reduction.
Specifically, the terminal device may query in the first correspondence, find the first identifier, and obtain a first power back-off value corresponding to the first identifier. For example, the first correspondence relationship may be represented by a correspondence relationship shown in table 1.
TABLE 1
Photographic element name Configuration parameters for power back-off values Corresponding power back-off value
Wide-angle camera SaRuleConfig0 7dB
Super wide angle camera SaRuleConfig2 2dB
Long-focus camera SaRuleConfig4 5dB
Front camera SaRuleConfig1 10dB
The names of the image pickup components are exemplified in table 1 by the identification of the image pickup components, and the specific power back-off values shown in table 1 are one example. When the first correspondence may be a correspondence between the configuration parameters of the plurality of cameras and the plurality of power back-off values, and each configuration parameter is assigned with a corresponding power back-off value. When the terminal device reads the configuration parameter (e.g. sarrule config 4) of the power back-off value, a specific power back-off value (e.g. 5 dB) configured by the configuration parameter may be read.
For example, the terminal device may find that the power back-off value corresponding to the wide-angle camera is 7 decibels (dB) in table 1, or find that the power back-off value corresponding to the telephoto camera is 5dB.
S603, determining target transmitting power of the terminal equipment according to the first power back-off value.
When the terminal equipment obtains the first power back-off value, the current transmitting power can be reduced by the first power back-off value to obtain the target transmitting power, and then the transmitting is carried out according to the target transmitting power.
Specifically, the Sar Service may generate an instruction for reducing the transmission power of the radio frequency signal according to the first power back-off value, and issue an instruction for reducing the transmission power of the radio frequency signal to the modem. Optionally, the radio frequency signal may be a transmission signal of cellular mobile communications, or may be a transmission signal of Wi-Fi communications, which is not limited by the embodiment of the present application.
In the embodiment shown in fig. 6, the terminal device may determine the power back-off values corresponding to different camera modules according to the identification of the interfered camera module, so that the matched power back-off values may be flexibly adopted for different camera modules to determine the target transmitting power. Because the different camera shooting assemblies are different from the position of the transmitting antenna or the isolation degree between the camera shooting assemblies and the antenna, when the antenna transmits high-power transmitting signals, the interference degrees of the different camera shooting assemblies are different, different power back-off values can be adopted for determining the transmitting power aiming at the different camera shooting assemblies, compared with the mode that the transmitting power is reduced according to a larger fixed value by all the camera shooting assemblies, the method can ensure normal display of a preview interface of a camera, reduce the amplitude of the transmitting power under some interference scenes as much as possible, ensure the communication quality as much as possible, avoid network card blocking and ensure the user experience.
The transmitting power rollback method provided by the embodiment of the application is applied to terminal equipment, the terminal equipment can be realized according to the software architecture shown in fig. 3, and the software architecture of the terminal equipment comprises an ISP driving module, a monitoring service and an antenna power adjustment service. The monitoring service is HAL monitoring service shown in fig. 3, the ISP drive can be differentiated according to different platforms, and the antenna power adjustment service is Sar service. The method can be seen in fig. 7, comprising:
s701, the ISP driving module acquires abnormal information, wherein the abnormal information comprises a first identification of a target camera shooting assembly in an abnormal state.
For the description of the anomaly information, reference may be made to the related description in S601, which is not repeated here.
In some embodiments, when a user performs an operation of starting the target camera component, the target camera component may start to collect image data, and transmit the image data layer by layer to a camera application of an application program through channels such as an MIPI interface, an I2C interface, and the like through the ISP driving module for display. The ISP can also identify the image data, and identify which camera component is abnormal, that is, the abnormal information can write a first identifier representing the identity of the target camera component.
S702, the ISP driving module sends the abnormal information to the monitoring service.
S703, the monitoring service sends the abnormal information to the antenna power adjustment service.
The monitoring service is the HAL service in fig. 3. The ISP driving module can report the abnormal information through a special channel. For example, the ISP driver module may send the anomaly information to the monitoring service first, and then report the anomaly information to the antenna power adjustment service of the application layer through a preset interface definition language (AIDL) interface under the call of the monitoring service. The antenna power adjustment service may be the SAR service described above in fig. 3.
S704, the antenna power adjustment service determines a first power back-off value according to the first identification in the abnormal information based on a first corresponding relation, wherein the first corresponding relation comprises the corresponding relation between the identifications of the plurality of camera assemblies and the plurality of power back-off values.
The application program layer is stored in a configuration file, and the configuration file comprises a first corresponding relation. After the antenna power adjustment service receives the abnormal information, the first correspondence relationship can be queried. In some embodiments, the antenna power adjustment service may first read the configuration file to obtain a first correspondence, and then find the first identifier in the first correspondence to obtain a first power back-off value corresponding to the first identifier.
And S705, triggering the transmitting power back-off by the service according to the first power back-off value by the antenna power adjustment service.
The antenna power adjustment service may issue a back-off instruction to reduce the transmit power according to the first power back-off value. The service services include services of different services, for example, a call service is a telephone service, a Wifi service includes a Wifi manager, and a bluetooth service includes a bluetooth manager, etc. If the communication service is currently the communication service, the antenna power adjustment service can send the back-off instruction to the modem through the telephone service, and the modem redetermines the new reduced transmitting power according to the first power back-off value under the instruction of the back-off instruction and transmits signals of mobile communication according to the new transmitting power; if the service is the WIfi service, the antenna power adjustment service can send a back-off instruction to the Wifi module through the Wifi manager, and the Wifi module redetermines the new reduced transmitting power according to the first power back-off value under the instruction of the back-off instruction and transmits Wifi signals according to the new transmitting power. The transmit power backoff manner of bluetooth may be referred to the transmit power backoff manner of Wifi, and will not be described herein.
In the embodiment shown in fig. 7, the ISP driving module of the terminal device may identify abnormal information from the image data, then report the abnormal information to the antenna power adjustment service through the monitoring service, and trigger the process of reducing the transmitting power by the antenna power adjustment service, so as to implement the process of performing the power backoff of a corresponding amount based on the identification of the camera component. According to the method, the power back-off values corresponding to different camera assemblies are determined according to the identifications of the interfered camera assemblies, so that the matched power back-off values can be flexibly adopted for the different camera assemblies to determine target transmitting power. Because the different camera shooting assemblies are different from the position of the transmitting antenna or the isolation degree between the camera shooting assemblies and the antenna, when the antenna transmits high-power transmitting signals, the interference degrees of the different camera shooting assemblies are different, different power back-off values can be adopted for determining the transmitting power aiming at the different camera shooting assemblies, compared with the mode that the transmitting power is reduced according to a larger fixed value by all the camera shooting assemblies, the method can ensure normal display of a preview interface of a camera, reduce the amplitude of the transmitting power under some interference scenes as much as possible, ensure the communication quality as much as possible, avoid network card blocking and ensure the user experience.
In some embodiments, the anomaly information may be indicative of an anomaly in the MIPI signal of the target camera assembly. When the MIPI signal is disturbed, various MIPI errors may be included in the anomaly information. Optionally, the anomaly information may further include the number of MIPI errors, or include MIPI anomaly levels corresponding to different numbers of MIPI errors. In general, MIPI errors may include: error 1 lane data Skew or reduction (lane fifo overflow: shew/Less Data on lanes), error 2, pack check mismatch (PH_CRC: pkt Hdr CRC mismatch, packet header), error 3, stream unrerflow (Power bytes rcvd), error 4, device error unrecoverable (ECC: pkt hdr errors unrecoverable), error 5, cyclic redundancy check: long term encapsulation has payload mismatch (CRC: long pkt payload CRC mismatch). The different MIPI errors described above can result in different abnormal displays of the camera preview. Wherein, when error 1 occurs, it indicates that the image data is absent, and a black edge or a black bar appears on the camera preview interface. Error 2 and error 5 can cause the camera preview interface to appear as a splash screen, and error 3 and error 4 can cause the camera preview interface to appear as a clip.
The terminal device may divide the status of the MIPI exception into different MIPI exception classes according to the MIPI error condition. Different MIPI anomaly levels characterize the degree to which MIPI signals are interfered by radio frequency signals. In some embodiments, the MIPI exception level may be divided by how many MIPI errors are, where cases with a large number of MIPI errors are divided into high MIPI exception levels, and cases with a small number of MIPI errors are divided into low MIPI exception levels. The large number of MIPI errors represents a serious degree of interference to MIPI signals, and the small number of MIPI errors represents a light degree of interference to MIPI signals. Taking three levels of MIPI exception levels, including high, medium and low, as an example, it is possible to divide the case where three or more MIPI errors occur into high levels, the case where two MIPI errors occur into medium levels, and the case where one MIPI error occurs into low levels. The MIPI error herein may be any of the five MIPI errors described above.
Based on this, the first correspondence may include a correspondence of a plurality of identifiers of a plurality of camera modules, a plurality of MIPI abnormal levels, and a plurality of power backoff values. The first corresponding relation can be obtained according to an experimental mode, and the first corresponding relation characterizes that when the shooting effect is affected due to the fact that the shooting assembly corresponding to one identifier is interfered by the radio frequency signal, after the terminal equipment returns power according to the power back-off values corresponding to the identifier and the MIPI abnormal grade under different MIPI abnormal grades, the shooting effect cannot be affected due to the fact that the interference degree of the shooting assembly corresponding to the identifier, which is subjected to the radio frequency signal after power reduction, is improved.
Specifically, the terminal device may query in the first correspondence, find the first identifier and the first MIPI abnormal level, and obtain a first power backoff value corresponding to the first identifier and the first MIPI abnormal level. For example, the first correspondence relationship here may be represented by the correspondence relationship shown in table 2.
TABLE 2
The name of the image pickup component identified as the image pickup component is exemplified in table 2, and the specific power back-off value shown in table 2 is one example. When the first correspondence may be a correspondence between the configuration parameters of the plurality of cameras and the plurality of power back-off values, and each configuration parameter is assigned with a corresponding power back-off value. When the terminal equipment reads the configuration parameter of the power back-off value, the specific power back-off value configured by the configuration parameter can be read.
For example, the terminal device may find that the power back-off value corresponding to the wide-angle camera is 3dB when the MIPI abnormal level is low in table 2, or find that the power back-off value corresponding to the tele camera is 3dB when the MIPI abnormal level is medium.
The types and the numbers of the MIPI exception classes corresponding to each camera module shown in table 2 are an example, and each camera module may correspond to three different MIPI exception classes, or any two different MIPI exception classes, which are not limited in the embodiment of the present application, may be set according to the experimental result and the accuracy requirement of power backoff, and will not be described herein.
Optionally, the manner of dividing the MIPI abnormal levels according to the number of MIPI errors may further divide the case of five MIPI errors into high levels, the case of three MIPI errors into medium levels, and the case of one MIPI error into low levels.
If the number of the MIPI abnormal grades is too large, the first corresponding relation becomes complex and various, the data amount to be screened in the table look-up process becomes large, and the experimental process is complicated and the experimental time is too long when experimental data is acquired in the early stage; if the number of MIPI abnormal level settings is too small, the granularity of the power backoff will be coarse, resulting in inaccurate power control. In some scenes, the terminal equipment comprises three levels of high-level, medium-level and low-level according to the MIPI abnormal level, the situation that three or more MIPI errors occur is divided into high-level, the situation that two MIPI errors occur is divided into medium-level, and the situation that one MIPI error occurs is divided into low-level setting mode, so that accuracy and portability of operation can be considered, and the method is more reasonable.
Optionally, when the abnormal information includes an MIPI error, the first correspondence may further include a MIPI error or a combination of multiple MIPI errors, identifiers of multiple camera components, and a correspondence of multiple power back-off values. The terminal device may also perform a table lookup according to the first identifier and the specific condition of the MIPI error included in the anomaly information, to obtain a corresponding first power back-off value. For example, if the anomaly information includes error 1 and error 5 of MIPI, the terminal device may query in the first correspondence relationship to obtain a power back-off value corresponding to the combination of the first identifier and error 1 and error 5 of MIPI, and perform power back-off according to the power back-off value.
In the above embodiment, the terminal device may obtain the first identifier of the target camera component in the abnormal state and the first MIPI abnormal level of the target camera component, and then query the first correspondence to obtain the first power backoff value corresponding to the first identifier and the first MIPI abnormal level. The terminal equipment can carry out power back-off according to the first power back-off value, and transmit according to the returned target transmitting power. Because the severity of the interference of the MIPI signal can be represented by the MIPI abnormal level, in the implementation manner, the terminal equipment can determine the first power back-off value of the target camera shooting assembly by combining the severity of the interference of the MIPI signal according to the first identifier and combining the first MIPI abnormal level table, the situation of excessive back-off power when the interference is weaker is avoided, the granularity of the power back-off is finer, the power control is more accurate, and therefore the communication quality is ensured to the greatest extent, and the rationality is strong.
For more clarity in describing the technical solution of the present application, fig. 8 describes the transmit power backoff process of the embodiment of the present application in conjunction with each software module, and fig. 8 illustrates the case of abnormal MIPI status based on a high-pass platform.
The process of starting up the mobile phone in fig. 8 can be referred to the process shown in fig. 4 or fig. 5, and will not be described here again.
After the mobile phone is started, a user opens a camera application or shooting functions of other applications to start the camera.
S801, starting the camera.
For example, a user launching a camera application in a cell phone will launch a video camera. For another example, the user may invoke the camera by starting other applications in the mobile phone, such as invoking the camera after starting a video call function of the video call application.
S802, CHI initializes HAL monitoring service.
In the process of starting the camera, the CHI calls an initialization function of the HAL monitoring service to complete the initialization process of the HAL monitoring service.
The process of initializing the HAL monitoring service is mainly to create the HAL monitoring service, and the processes shown in the following S803 to S807 are the process of initializing the HAL monitoring service.
S803, the HAL monitoring service starts a camera equipment file node.
S804, the camera equipment file node subscribes to a camera equipment driver (CamCfgDevDriver).
Message subscription and publishing are methods for inter-component communication, and in this embodiment, a file node of camera equipment subscribes to an MIPI status exception message in CamCfgdevDriver. The message subscriber is the camera device file node, i.e., the component that receives the data. The message publisher is the CamCfgdevDriver, the component that provides the data.
S805, the camera device driver completes message subscription of the camera device file node and returns a successful subscription result to the camera device file node.
S806, the camera equipment file node returns a starting result to the HAL monitoring service.
S807, after receiving the starting result returned by the HAL monitoring service, the HAL monitoring service starts a message monitoring thread and returns the starting result of the HAL monitoring service to the CHI.
The process shown in S802 to S807 described above is a process of starting the HAL monitoring service, which is performed only once during the operation of the camera.
S808, the ISP driver receives the image data transmitted by the camera equipment through the MIPI interface, checks the image data, and determines that the MIPI state is abnormal if the check fails.
The detailed explanation of this step can be found in the foregoing detailed description of S113, and will not be repeated here.
S809, the ISP driver detects the abnormal state of the MIPI signal of the camera and transmits the abnormal state to the camera equipment driver.
After the ISP driver detects the abnormal state of the MIPI signal of the camera, the interrupt processing function configures abnormal state information.
S810, the camera device driver transmits MIPI status exception information to the camera device file node.
The ISP driver triggers an interrupt after the received image data fails to verify, and the ISP driver responds to the interrupt to send an MIPI state exception event to the file node of the camera equipment.
S811, the camera equipment file node transmits MIPI state anomaly information to the HAL monitoring service.
S812, the HAL monitoring service delivers MIPI status exception information to the camera AIDL service.
The detailed explanation of this step can be found in the foregoing detailed description of S117, and will not be repeated here.
S813, the camera AIDL Service delivers MIPI status anomaly information to Sar Service.
In the process of starting up and initializing the mobile phone, the Sar Service registers a callback of the camera AIDL Service, so that the camera AIDL Service feeds back the MIPI state abnormality information to the Sar Service in a callback mode after receiving the MIPI state abnormality information.
S814, after receiving the MIPI state anomaly information, the Sar Service obtains a matching factor matched with the currently used camera (i.e. obtains a power back-off value corresponding to the currently used camera).
S815, if the Service is a call Service, the Sar Service can query the configuration file to obtain a first power backoff value, and send a backoff instruction to the call Service.
S816, the call service sends a back-off instruction to the modem.
S817, the modem controls to reduce the transmission power of the mobile communication network.
S818, if the Service is the Wifi Service, the Sar Service can query the configuration file to obtain a first power back-off value, and send back-off instructions to the Wifi manager.
And S819, the Wifi manager sends a rollback instruction to the Wifi module.
S820, controlling and reducing the transmitting power of the Wifi signal by the Wifi module.
The processes shown in S808 to S814 described above may be repeatedly performed during the operation of the camera.
The above flow can realize reporting MIPI abnormal information in real time and carrying out a transmission power rollback flow. If the I2C is abnormal, reference may also be made to the flow shown in FIG. 8, and details are not repeated here.
After that, when the user turns off the camera, the terminal device may log off the HAL monitoring service to exit the above procedure. The process of exiting from the fluency may refer to the aforementioned closing process of the camera shown in fig. 4 or fig. 5, which is not repeated herein.
In some scenarios, the radio frequency signal may interfere with the I2C signal in addition to interfering with the MIPI signal. The anomaly information may include I2C anomaly information, which indicates that an I2C signal of the target camera assembly is disturbed, affecting the display of the camera preview interface. For example, the error information in the I2C exception information may include, but is not limited to: one of an output-input error (I/O error), a Slave no response (Slave no ACK), and a loss arbitration (lost arbitration). Typically, these three types of error information do not exist simultaneously, and it is determined that the I2C signal is disturbed as long as any one of the error information is found. In this case, the first correspondence may include correspondence between the identifiers of the plurality of imaging modules, the I2C anomaly information, and the plurality of power backoff values. When the terminal equipment obtains the first identifier of the target camera shooting assembly in the abnormal state and the I2C abnormal information of the target camera shooting assembly, a first power back-off value corresponding to the first identifier and the I2C abnormal information can be obtained by inquiring the first corresponding relation, and then power back-off is carried out according to the first power back-off value. In this implementation manner, the terminal device may determine, according to the first identifier of the interfered target camera component and the I2C anomaly information, a power back-off value corresponding to the different camera components when the I2C signal is interfered, and determine the target transmitting power according to such a matched power back-off value. Because the different camera shooting assemblies are different from the position of the transmitting antenna or the isolation degree between the different camera shooting assemblies and the antenna, when the antenna transmits high-power transmitting signals, the interference degrees of the different camera shooting assemblies are different, the interference degrees of the different types of signals are also different, different power back-off values can be respectively adopted for different camera shooting assemblies and different types of signal wires to determine the transmitting power, compared with the mode that the transmitting power is reduced according to a larger fixed value when all the camera shooting assemblies and all types of signals are interfered, the preview interface of a camera can be ensured to normally display, the amplitude of the transmitting power can be reduced under some interference scenes as much as possible, the communication quality is ensured as much as possible, network card is avoided, and the user experience is ensured.
Optionally, the terminal device may further determine a power back-off value according to the brightness change and the color change of the preview interface. For example, the first correspondence may include correspondence among identifications of a plurality of image capturing components, a plurality of brightness value difference intervals, and a plurality of power back-off values. The terminal device may record luminance values of continuous multi-frame images of the preview interface of the camera, calculate differences between luminance values of different frames, and when a first difference between the luminance value of one frame and the luminance value of another frame is too large, for example, exceeds a preset luminance threshold, the terminal device may determine that the image capturing component is interfered by the radio frequency signal at this time. The terminal device may query the first correspondence according to the brightness value difference interval where the first difference value is located and the first identifier, then obtain a first power back-off value corresponding to the first difference value and the first identifier, and perform power back-off according to the first power back-off value. For another example, the first correspondence may include correspondence among identifications of a plurality of image capturing components, a plurality of color parameter difference intervals, and a plurality of power back-off values. The terminal device may record color parameters of continuous multi-frame images of the preview interface of the camera, where the color parameters may include any one or more of hue, brightness and saturation, calculate differences between color parameters of different frames, and when a second difference between a value of a color parameter of one frame and a value of a color parameter of another frame is too large, for example, exceeds a preset color parameter threshold, the terminal device may determine that the image capturing component is interfered by the radio frequency signal at this time. The terminal device may query the first correspondence according to the color parameter difference interval where the second difference value is located and the first identifier, then obtain a first power back-off value corresponding to the second difference value and the first identifier, and perform power back-off according to the first power back-off value.
In some embodiments, if the terminal device is closer to the base station or fewer obstacles in the middle, the signal of the base station that the terminal device can receive is stronger, that is, the current signal strength is strong, for example, in the case that the reference signal received power (Reference Signal Receiving Power, RSRP) of the terminal device is larger, even if the terminal device rolls back to a larger power, the communication quality is not affected when the terminal device communicates with the base station with a smaller transmitting power. If the terminal device is far away from the base station or more obstacles in the middle, the signal of the base station that the terminal device can receive is weak, that is, the current signal strength is weak, for example, if the RSRP of the terminal device is small, the communication quality may be affected if the terminal device rolls back to a larger power.
Based on the power backoff value, the terminal device can determine the power backoff value of the target camera module in which the abnormal state occurs currently according to different signal strengths through the antenna power adjustment service. Under the condition that the current signal strength is high, the searched power back-off value is high, and under the condition that the current signal strength is low, the searched power back-off value is low. Optionally, on the basis of the first correspondence, correspondence between different signal strength ranges and power back-off values may be increased.
When other conditions are the same, the power back-off value corresponding to the large value of the signal strength range is large, and the power back-off value corresponding to the small value of the signal strength range is small. Alternatively, the first correspondence may be shown in table 3 based on the correspondence shown in table 2 above. Table 3 includes the correspondence of different signal strength ranges, different camera assembly identifications, different MIPI anomaly levels, and different power back-off values. It should be noted that, the identity of the same camera component and the same MIPI anomaly level, and the corresponding power back-off values are different in different signal strength ranges.
Alternatively, a plurality of corresponding relations may be obtained under different signal intensities in advance through an experimental manner, where each corresponding relation corresponds to a signal intensity range where the signal intensity is located. For example, the first corresponding relation is obtained based on experiments in a scene with the signal strength of-100 dBm, and the signal strength range corresponding to the first corresponding relation is below-85 dBm; the second corresponding relation is obtained based on experiments in a scene with the signal strength of-85 dBm, and the signal strength range corresponding to the second corresponding relation is-70 dBm to-85 dBm; and (3) obtaining a third corresponding relation based on experiments in a scene with the signal strength of-70 dBm, wherein the signal strength range corresponding to the third corresponding relation is more than-70 dBm.
In some embodiments, the terminal device may further determine, by using the antenna power adjustment service, a power back-off value of the target camera component in which the abnormal state occurs currently according to different signal strengths based on the above embodiment of the I2C abnormality. Under the condition that the current signal strength is high, the power back-off value searched according to the I2C abnormal information and the first identifier is high; and under the condition that the current signal strength is small, the power back-off value searched according to the I2C abnormal information and the first identifier is small. Optionally, on the basis of the first correspondence, correspondence between different signal strength ranges and power back-off values may be increased.
Optionally, the first correspondence including different signal strength ranges, different identifications of camera components, I2C anomaly information, and different power back-off values may also be experimentally performed in advance. And acquiring a plurality of corresponding relations under different signal intensities, wherein each corresponding relation corresponds to a signal intensity range in which the signal intensity is located. For example, the first corresponding relation is obtained based on experiments in a scene with the signal strength of-100 dBm, and the signal strength range corresponding to the first corresponding relation is below-85 dBm; the second corresponding relation is obtained based on experiments in a scene with the signal strength of-85 dBm, and the signal strength range corresponding to the second corresponding relation is-70 dBm to-85 dBm; and (3) obtaining a third corresponding relation based on experiments in a scene with the signal strength of-70 dBm, wherein the signal strength range corresponding to the third corresponding relation is more than-70 dBm.
The signal strength range corresponding to the first correspondence is an example, and is not limited to the condition for obtaining the first correspondence.
The antenna power adjustment service can screen out the corresponding relation corresponding to the signal strength range where the current signal strength is located from a plurality of groups of preset corresponding relations according to the current signal strength of the antenna power adjustment service, and then inquire in the selected corresponding relation according to the abnormal information to determine a first power back-off value corresponding to the abnormal information and carry out power back-off. In the implementation manner, since the power back-off value corresponding to the signal strength range with the small signal strength value is large, and the power back-off value corresponding to the signal strength range with the large signal strength value is small, the terminal equipment can back off the larger value under the condition of strong current signal strength, can not influence the communication quality, can reduce the interference to the camera shooting assembly as much as possible, and can back off the smaller value under the condition of weak current signal strength, so that the communication quality is ensured, and the implementation manner is more reasonable.
TABLE 3 Table 3
In some embodiments, the terminal device may also record its current geofence and current application scenario when performing power backoff through the antenna power adjustment service. The current geofence is used for representing the position of the terminal equipment, and can represent the distance between the terminal equipment and the base station, namely the current transmitting power. The current application scene is used for representing the category of the application program of the starting target camera assembly currently operated by the terminal equipment, for example, a video chat APP used when a front camera is started for video chat, or a camera APP in a video scene recorded by a wide-angle camera and a tele camera is opened. Then, the terminal device may acquire the first power back-off value by adopting the transmission power back-off method in the foregoing embodiment, and establish a corresponding relationship between the current geofence, the current application scenario and the first power back-off value as the newly added corresponding relationship. Optionally, the new correspondence may be updated to the first correspondence and stored. Alternatively, the new correspondence may be stored in a configuration file. The terminal device may establish different newly added correspondence in a plurality of different geofences and/or a plurality of different application scenarios. When the terminal equipment is in one of the newly added corresponding relations and one of the application scenes, for example, the current geographic fence and the current application scene, the terminal equipment can directly inquire the newly added corresponding relation through the antenna power adjustment service, so that a first power back-off value corresponding to the current geographic fence and the current application scene is obtained, and then the target transmitting power is determined according to the first power back-off value. According to the method, the terminal equipment does not need to report the abnormal information of the camera shooting assembly from the bottom layer, but can directly query the newly added corresponding relation to determine the first power back-off value matched with the current state, so that the processing flow is reduced, the overhead of a system is saved, the processing time is shortened, and the efficiency of power control is improved.
Examples of the methods provided by the present application are described in detail above. It is to be understood that the corresponding means, in order to carry out the functions described above, comprise corresponding hardware structures and/or software modules for carrying out the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven 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.
The present application may divide the transmission power backoff device into functional modules according to the above method example, for example, each function may be divided into each functional module, or two or more functions may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, the division of the modules in the present application is illustrative, and is merely a logic function division, and other division manners may be implemented in practice.
Fig. 9 shows a schematic structural diagram of a transmit power backoff apparatus according to the present application. The apparatus 900 includes: an ISP drive module 901, a monitoring service 902 and an antenna power adjustment service 903.
The ISP driving module 901 is configured to obtain anomaly information, where the anomaly information includes a first identifier of a target camera component in which an anomaly state occurs.
The ISP driving module 901 is further configured to send the anomaly information to the monitoring service 902.
A monitoring service 902 for transmitting abnormality information to an antenna power adjustment service 903;
an antenna power adjustment service 903, configured to determine a first power back-off value according to a first identifier in the anomaly information based on a first correspondence, where the first correspondence includes a correspondence between identifiers of a plurality of camera components and a plurality of power back-off values;
the antenna power adjustment service 903 is further configured to trigger a transmit power backoff according to the first power backoff value through the service.
In some embodiments, the anomaly information further includes a first mobile industry processor interface MIPI anomaly level of the target camera component, the first MIPI anomaly level being used to characterize a degree to which MIPI signals of the target camera component are interfered, the first correspondence further including a correspondence between a plurality of MIPI anomaly levels and a plurality of power backoff values; the antenna power adjustment service 903 is specifically configured to determine, based on the first correspondence, a first power back-off value according to the first identifier and the first MIPI abnormal level.
In some embodiments, the power backoff value corresponding to a MIPI anomaly level with a higher level of the plurality of MIPI anomaly levels is greater than the power backoff value corresponding to a MIPI anomaly level with a lower level.
In some embodiments, the number of the plurality of MIPI exception levels is three, the number of MIPI errors for the highest one of the plurality of MIPI exception levels is greater than or equal to three, the number of MIPI errors for the next highest one of the plurality of MIPI exception levels is two, and the number of MIPI errors for the lowest one of the plurality of MIPI exception levels is one.
In some embodiments, the MIPI error comprises: lane data skew or reduction, package check mismatch, stream byte reduction, unrecoverable device error, long term package payload mismatch.
In some embodiments, the anomaly information includes integrated circuit I2C anomaly information, the I2C anomaly information is used for characterizing a state that an I2C signal of the target camera component is interfered, the first correspondence further includes a correspondence between the I2C anomaly information and a power back-off value, the antenna power adjustment service 903 is specifically configured to determine, based on the first correspondence, a first power back-off value according to the first identifier and the I2C anomaly information, and the I2C anomaly information is used for characterizing a state that an I2C signal of the target camera component is interfered.
In some embodiments, the I2C exception information includes: one of an output-input error, a slave device no response, and a lost arbitration.
In some embodiments, the ISP driving module 901 is specifically configured to obtain image data transmitted by the target camera component, obtain abnormal information according to the image data, and send the abnormal information to the monitoring service through the reserved node;
the monitoring service 902 is specifically configured to send abnormal information to the antenna power adjustment service by using a preset interface definition language;
the antenna power adjustment service 903 is specifically configured to read a first correspondence stored in a preset configuration file, search in the first correspondence according to a first identifier, obtain a first power back-off value, and send a power back-off instruction to the modem through the service, where the power back-off instruction carries the first power back-off value, and the power back-off instruction is configured to instruct the modem to reduce the transmitting power according to the first power back-off value.
In some embodiments, the antenna power adjustment service 903 is further configured to obtain a current signal strength, where the current signal strength is used to characterize a signal strength of a received signal currently received by the terminal device; determining a first corresponding relation from a plurality of corresponding relations to be selected according to the current signal strength; the plurality of the corresponding relations to be selected at least comprise a first corresponding relation and a second corresponding relation, and the second corresponding relation comprises corresponding relations of a plurality of camera assemblies and a plurality of power back-off values; when the value of the signal intensity range corresponding to the first corresponding relation is higher than that of the signal intensity range corresponding to the second corresponding relation, the first power back-off value corresponding to the first identifier in the first corresponding relation is larger than the second power back-off value corresponding to the first identifier in the second corresponding relation; when the value of the signal strength range corresponding to the first corresponding relation is lower than the value of the signal strength range corresponding to the second corresponding relation, the first power back-off value corresponding to the first identifier in the first corresponding relation is smaller than the second power back-off value corresponding to the first identifier in the second corresponding relation.
In some embodiments, the antenna power adjustment service 903 is further configured to record a current geofence and a current application scenario of the terminal device, where the current application scenario is used to characterize a class of an application currently running by the terminal device that starts the target camera component; and establishing a new corresponding relation among the current geofence, the current application scene and the first power back-off value.
In some embodiments, the antenna power adjustment service 903 is further configured to determine, when the terminal device is in the current geofence and the current application scenario, a target transmit power according to the first power backoff value based on the newly added correspondence.
The specific manner in which the apparatus 900 performs the transmit power backoff method and the resulting beneficial effects may be referred to in the related description of the method embodiments, and are not described herein.
The embodiment of the application also provides electronic equipment, which comprises the processor. The electronic device provided in this embodiment may be the terminal device 100 shown in fig. 1, and is configured to perform the above-described transmit power backoff method. In case of an integrated unit, the terminal device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage actions of the terminal device, for example, may be configured to support the terminal device to execute steps executed by the display unit, the detection unit, and the processing unit. The memory module may be used to support the terminal device to execute stored program codes, data, etc. And the communication module can be used for supporting the communication between the terminal equipment and other equipment.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other terminal equipment.
In an embodiment, when the processing module is a processor and the storage module is a memory, the terminal device according to this embodiment may be a device having the structure shown in fig. 1.
The embodiment of the application also provides a computer readable storage medium, in which a computer program is stored, which when executed by a processor, causes the processor to execute the transmission power backoff method according to any of the above embodiments.
The embodiment of the application also provides a computer program product, which when run on a computer, causes the computer to execute the above related steps to implement the transmission power backoff method in the above embodiment.
The electronic device, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with respect to each other may be an indirect coupling or communication connection via interfaces, devices, or units, and the replacement units may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (13)

1. A transmission power backoff method, applied to a terminal device, the terminal device including an image signal processor ISP driving module, a monitoring service and an antenna power adjustment service, the method comprising:
the ISP driving module acquires abnormal information, wherein the abnormal information comprises a first identifier of a target camera shooting assembly in an abnormal state;
the ISP driving module sends the abnormal information to the monitoring service;
the monitoring service sends the abnormal information to the antenna power adjustment service;
the antenna power adjustment service determines a first power back-off value according to the first identification in the abnormal information based on a first corresponding relation, wherein the first corresponding relation comprises the corresponding relation of the identifications of a plurality of camera assemblies and a plurality of power back-off values;
And triggering the transmitting power back-off by the service according to the first power back-off value by the antenna power adjustment service.
2. The method of claim 1, wherein the anomaly information further comprises a first mobile industry processor interface, MIPI, anomaly level for the target camera assembly, the first MIPI anomaly level being used to characterize a degree to which MIPI signals of the target camera assembly are disturbed, the first correspondence further comprising a correspondence of a plurality of MIPI anomaly levels and a plurality of power backoff values; the antenna power adjustment service determines a first power back-off value according to the first identifier in the anomaly information based on a first correspondence relation, including:
the antenna power adjustment service determines the first power backoff value according to the first identifier and the first MIPI exception level based on the first correspondence.
3. The method of claim 2, wherein a power backoff value corresponding to a higher MIPI anomaly level of the plurality of MIPI anomaly levels is greater than a power backoff value corresponding to a lower MIPI anomaly level.
4. The method of claim 3, wherein the number of the plurality of MIPI exception levels is three, the number of MIPI errors for the highest one of the plurality of MIPI exception levels is greater than or equal to three, the number of MIPI errors for the next highest one of the plurality of MIPI exception levels is two, and the number of MIPI errors for the lowest one of the plurality of MIPI exception levels is one.
5. The method of claim 4, wherein the MIPI error comprises:
lane data skew or reduction, package check mismatch, stream byte reduction, unrecoverable device error, long term package payload mismatch.
6. The method of claim 1, wherein the anomaly information includes integrated circuit I2C anomaly information, the I2C anomaly information is used to characterize a status of the target camera component in which an I2C signal is interfered, the first correspondence further includes a correspondence between the I2C anomaly information and a power back-off value, the antenna power adjustment service determines a first power back-off value according to the first identifier in the anomaly information based on the first correspondence, and the determining includes:
the antenna power adjustment service determines the first power back-off value according to the first identifier and the I2C anomaly information based on the first corresponding relation, wherein the I2C anomaly information is used for representing the interfered state of the I2C signal of the target camera component.
7. The method of claim 6, wherein the I2C exception information comprises:
one of an output-input error, a slave device no response, and a lost arbitration.
8. The method of any one of claims 1 to 7, wherein the ISP driver module obtains anomaly information comprising:
the target camera shooting assembly is started and acquires image data;
the ISP driving module acquires the image data transmitted by the target camera shooting assembly;
the ISP driving module acquires the abnormal information according to the image data;
the ISP driving module transmitting the anomaly information to the monitoring service, comprising:
the ISP driving module sends the abnormal information to the monitoring service through a reservation node;
the monitoring service sending the anomaly information to the antenna power adjustment service, including:
the monitoring service adopts a preset interface definition language and sends the abnormal information to the antenna power adjustment service;
the antenna power adjustment service determines a first power back-off value according to the first identifier in the anomaly information based on a first correspondence relation, including:
the antenna power adjustment service reads a preset configuration file and stores the first corresponding relation;
the antenna power adjustment service searches in the first corresponding relation according to the first identifier to obtain the first power back-off value;
The antenna power adjustment service triggers the transmitting power back-off through the service according to the first power back-off value, and the method comprises the following steps:
the antenna power adjustment service issues a power back-off instruction to the modem through the service, the power back-off instruction carries the first power back-off value, and the power back-off instruction is used for indicating the modem to reduce the transmitting power according to the first power back-off value.
9. The method according to any one of claims 1 to 8, wherein before the antenna power adjustment service determines a first power back-off value according to the first identification in the anomaly information based on a first correspondence relationship, further comprising:
the antenna power adjustment service obtains current signal strength, wherein the current signal strength is used for representing the signal strength of a received signal currently received by the terminal equipment;
the antenna power adjustment service determines the first corresponding relation from a plurality of corresponding relations to be selected according to the current signal strength;
the plurality of to-be-selected corresponding relations and the plurality of signal intensity ranges are in one-to-one correspondence, the plurality of to-be-selected corresponding relations at least comprise the first corresponding relation and the second corresponding relation, and the second corresponding relation comprises the corresponding relations of the plurality of camera assemblies and the plurality of power back-off values;
When the value of the signal intensity range corresponding to the first corresponding relation is higher than the value of the signal intensity range corresponding to the second corresponding relation, a first power back-off value corresponding to the first identifier in the first corresponding relation is larger than a second power back-off value corresponding to the first identifier in the second corresponding relation;
when the value of the signal strength range corresponding to the first correspondence is lower than the value of the signal strength range corresponding to the second correspondence, the first power back-off value corresponding to the first identifier in the first correspondence is smaller than the second power back-off value corresponding to the first identifier in the second correspondence.
10. The method according to any one of claims 1 to 9, further comprising:
the antenna power adjustment service records a current geofence and a current application scene of the terminal equipment, wherein the current application scene is used for representing the category of an application program which is currently operated by the terminal equipment and starts the target camera shooting assembly;
the antenna power adjustment service establishes a new corresponding relation among the current geofence, the current application scene and the first power back-off value.
11. The method according to claim 10, wherein the method further comprises:
when the terminal equipment is in the current geofence and the current application scene, the antenna power adjustment service triggers the transmission power back-off through the service according to the first power back-off value corresponding to the current geofence and the current application scene based on the newly added corresponding relation.
12. A terminal device, comprising: a processor, a memory, and an interface;
the processor, the memory and the interface cooperate with each other such that the terminal device performs the method of any of claims 1 to 11.
13. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, causes the processor to perform the method of any of claims 1 to 11.
CN202211590249.3A 2022-12-09 2022-12-09 Transmission power backoff method, terminal device, and computer-readable storage medium Active CN116669153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211590249.3A CN116669153B (en) 2022-12-09 2022-12-09 Transmission power backoff method, terminal device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211590249.3A CN116669153B (en) 2022-12-09 2022-12-09 Transmission power backoff method, terminal device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN116669153A CN116669153A (en) 2023-08-29
CN116669153B true CN116669153B (en) 2023-10-20

Family

ID=87714159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211590249.3A Active CN116669153B (en) 2022-12-09 2022-12-09 Transmission power backoff method, terminal device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN116669153B (en)

Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004080108A1 (en) * 2003-03-04 2004-09-16 Sk Telecom Co. Ltd. System and method for remote-controlling camera function through the radio wave in asynchrous mobile communication terminal
WO2015017541A1 (en) * 2013-07-30 2015-02-05 Robert Bosch Gmbh Adaptive methods for wireless camera communication
CN105264401A (en) * 2013-05-13 2016-01-20 微软技术许可有限责任公司 Interference reduction for tof systems
CN107135037A (en) * 2017-05-23 2017-09-05 广东欧珀移动通信有限公司 Radio frequency interference processing method, device, computer-readable recording medium and terminal
CN108093134A (en) * 2017-12-15 2018-05-29 广东欧珀移动通信有限公司 The anti-interference method and Related product of electronic equipment
CN109348013A (en) * 2018-11-21 2019-02-15 Oppo广东移动通信有限公司 Antenna transmission power adjustment method, device, mobile terminal and storage medium
WO2019065296A1 (en) * 2017-09-29 2019-04-04 ソニー株式会社 Communication control apparatus, communication control method, program, motion picture imaging communication terminal, and motion picture reproducing communication terminal
CN109639367A (en) * 2018-11-15 2019-04-16 Oppo广东移动通信有限公司 The method of adjustment and Related product of electromagnetic interference
WO2020114009A1 (en) * 2018-12-04 2020-06-11 Oppo广东移动通信有限公司 Electromagnetic interference control method and related apparatus
US10871818B1 (en) * 2017-09-11 2020-12-22 Apple Inc. Component power consumption management determining whether the power availability of the power source exceeds the expected power consumption
CN112887706A (en) * 2021-01-15 2021-06-01 Oppo广东移动通信有限公司 Power consumption determination method and device, storage medium and electronic equipment
WO2021147075A1 (en) * 2020-01-23 2021-07-29 Oppo广东移动通信有限公司 Interference cancellation method and apparatus
WO2021147427A1 (en) * 2020-01-22 2021-07-29 华为技术有限公司 Method for determining fall back power and method for adjusting transmission power
WO2021209058A1 (en) * 2020-04-17 2021-10-21 华为技术有限公司 Antenna selection method and related device
CN113573390A (en) * 2020-04-29 2021-10-29 荣耀终端有限公司 Antenna power adjusting method, terminal device and storage medium
CN113626059A (en) * 2021-10-13 2021-11-09 北京创米智汇物联科技有限公司 System upgrade method, camera and computer readable storage medium
CN114374752A (en) * 2021-12-21 2022-04-19 青岛海信移动通信技术股份有限公司 Communication terminal
CN114422705A (en) * 2022-02-10 2022-04-29 维沃移动通信有限公司 Electronic equipment and control method and device thereof
CN114626450A (en) * 2022-03-07 2022-06-14 蔚来汽车科技(安徽)有限公司 Camera abnormal condition detection method, system and computer readable storage medium
CN114727101A (en) * 2022-06-08 2022-07-08 荣耀终端有限公司 Antenna power adjusting method and electronic equipment
CN114745767A (en) * 2022-04-28 2022-07-12 维沃移动通信有限公司 Power consumption control method and device for electronic equipment, electronic equipment and storage medium
WO2022154411A1 (en) * 2021-01-13 2022-07-21 삼성전자 주식회사 Electronic device and method for controlling power of transmission signal in electronic device comprising plurality of antennas
CN115037848A (en) * 2022-08-11 2022-09-09 荣耀终端有限公司 Antenna power adjusting method and electronic equipment
CN115065767A (en) * 2022-08-19 2022-09-16 荣耀终端有限公司 Antenna power adjusting method and electronic equipment thereof
CN115150929A (en) * 2022-05-30 2022-10-04 荣耀终端有限公司 Antenna power adjusting method and device and readable storage medium
CN115225166A (en) * 2021-04-20 2022-10-21 海能达通信股份有限公司 Anti-interference method, terminal and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8223744B2 (en) * 2008-04-24 2012-07-17 Avaak, Inc. Communication protocol for low-power network applications and a network of sensors using the same
US20170019240A1 (en) * 2015-07-16 2017-01-19 LGS Innovations LLC Tone based in-phase and quadrature-phase (iq) compensation
US10051172B2 (en) * 2015-10-29 2018-08-14 Netgear, Inc. RF front end power control for low power RF devices
CN109803347B (en) * 2017-11-17 2020-06-12 维沃移动通信有限公司 Service processing method and mobile communication terminal
CN112187376B (en) * 2018-12-04 2022-05-31 Oppo广东移动通信有限公司 Electromagnetic interference control method and related device
CN109450510B (en) * 2018-12-04 2020-11-24 Oppo广东移动通信有限公司 Electromagnetic interference control method and related device
US20200195290A1 (en) * 2018-12-13 2020-06-18 Microsoft Technology Licensing, Llc Specific Absorption Rate (SAR) Back-Off

Patent Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004080108A1 (en) * 2003-03-04 2004-09-16 Sk Telecom Co. Ltd. System and method for remote-controlling camera function through the radio wave in asynchrous mobile communication terminal
CN105264401A (en) * 2013-05-13 2016-01-20 微软技术许可有限责任公司 Interference reduction for tof systems
WO2015017541A1 (en) * 2013-07-30 2015-02-05 Robert Bosch Gmbh Adaptive methods for wireless camera communication
CN107135037A (en) * 2017-05-23 2017-09-05 广东欧珀移动通信有限公司 Radio frequency interference processing method, device, computer-readable recording medium and terminal
US10871818B1 (en) * 2017-09-11 2020-12-22 Apple Inc. Component power consumption management determining whether the power availability of the power source exceeds the expected power consumption
WO2019065296A1 (en) * 2017-09-29 2019-04-04 ソニー株式会社 Communication control apparatus, communication control method, program, motion picture imaging communication terminal, and motion picture reproducing communication terminal
CN108093134A (en) * 2017-12-15 2018-05-29 广东欧珀移动通信有限公司 The anti-interference method and Related product of electronic equipment
CN109639367A (en) * 2018-11-15 2019-04-16 Oppo广东移动通信有限公司 The method of adjustment and Related product of electromagnetic interference
CN109348013A (en) * 2018-11-21 2019-02-15 Oppo广东移动通信有限公司 Antenna transmission power adjustment method, device, mobile terminal and storage medium
WO2020114009A1 (en) * 2018-12-04 2020-06-11 Oppo广东移动通信有限公司 Electromagnetic interference control method and related apparatus
WO2021147427A1 (en) * 2020-01-22 2021-07-29 华为技术有限公司 Method for determining fall back power and method for adjusting transmission power
WO2021147075A1 (en) * 2020-01-23 2021-07-29 Oppo广东移动通信有限公司 Interference cancellation method and apparatus
WO2021209058A1 (en) * 2020-04-17 2021-10-21 华为技术有限公司 Antenna selection method and related device
CN113541755A (en) * 2020-04-17 2021-10-22 华为技术有限公司 Antenna selection method and related equipment
CN113573390A (en) * 2020-04-29 2021-10-29 荣耀终端有限公司 Antenna power adjusting method, terminal device and storage medium
WO2022154411A1 (en) * 2021-01-13 2022-07-21 삼성전자 주식회사 Electronic device and method for controlling power of transmission signal in electronic device comprising plurality of antennas
CN112887706A (en) * 2021-01-15 2021-06-01 Oppo广东移动通信有限公司 Power consumption determination method and device, storage medium and electronic equipment
CN115225166A (en) * 2021-04-20 2022-10-21 海能达通信股份有限公司 Anti-interference method, terminal and storage medium
CN113626059A (en) * 2021-10-13 2021-11-09 北京创米智汇物联科技有限公司 System upgrade method, camera and computer readable storage medium
CN114374752A (en) * 2021-12-21 2022-04-19 青岛海信移动通信技术股份有限公司 Communication terminal
CN114422705A (en) * 2022-02-10 2022-04-29 维沃移动通信有限公司 Electronic equipment and control method and device thereof
CN114626450A (en) * 2022-03-07 2022-06-14 蔚来汽车科技(安徽)有限公司 Camera abnormal condition detection method, system and computer readable storage medium
CN114745767A (en) * 2022-04-28 2022-07-12 维沃移动通信有限公司 Power consumption control method and device for electronic equipment, electronic equipment and storage medium
CN115150929A (en) * 2022-05-30 2022-10-04 荣耀终端有限公司 Antenna power adjusting method and device and readable storage medium
CN114727101A (en) * 2022-06-08 2022-07-08 荣耀终端有限公司 Antenna power adjusting method and electronic equipment
CN115037848A (en) * 2022-08-11 2022-09-09 荣耀终端有限公司 Antenna power adjusting method and electronic equipment
CN115065767A (en) * 2022-08-19 2022-09-16 荣耀终端有限公司 Antenna power adjusting method and electronic equipment thereof

Also Published As

Publication number Publication date
CN116669153A (en) 2023-08-29

Similar Documents

Publication Publication Date Title
CN111757477B (en) Method for reporting capability and user equipment
CN111132234B (en) Data transmission method and corresponding terminal
WO2020244623A1 (en) Air-mouse mode implementation method and related device
WO2021185105A1 (en) Method for switching between sim card and esim card, and electronic device
CN111010693B (en) Method for providing wireless fidelity network access service and electronic equipment
CN113993226B (en) Service processing method and device in terminal equipment supporting double cards
CN112087649B (en) Equipment searching method and electronic equipment
US20240224357A1 (en) Data Download Method, Apparatus, and Terminal Device
CN114727101B (en) Antenna power adjusting method and electronic equipment
CN114490174B (en) File system detection method, electronic device and computer readable storage medium
CN112099741B (en) Display screen position identification method, electronic device and computer readable storage medium
CN114422340A (en) Log reporting method, electronic device and storage medium
US20230027525A1 (en) Http request transmission method and device
CN116345147B (en) Antenna tuning method and terminal equipment
CN112956240B (en) Antenna switching method and device
CN116669153B (en) Transmission power backoff method, terminal device, and computer-readable storage medium
CN114710812B (en) Communication method and communication device
CN115550892B (en) Method and device for synchronizing system information
CN114915359B (en) Method, apparatus, electronic device and readable storage medium for selecting channel
WO2021197115A1 (en) Antenna tuning method and apparatus, and electronic device and network device
CN115794476B (en) Processing method of kernel graphic system layer memory and terminal equipment
CN117130952B (en) Pre-reading method and pre-reading device
CN116662024B (en) Inter-process communication monitoring method and device, electronic equipment and storage medium
CN117081949B (en) Information detection method and electronic equipment
CN116723384B (en) Process control method, electronic device and readable storage medium

Legal Events

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