WO2021218540A1 - Antenna power adjustment method, terminal device and storage medium - Google Patents

Antenna power adjustment method, terminal device and storage medium Download PDF

Info

Publication number
WO2021218540A1
WO2021218540A1 PCT/CN2021/084203 CN2021084203W WO2021218540A1 WO 2021218540 A1 WO2021218540 A1 WO 2021218540A1 CN 2021084203 W CN2021084203 W CN 2021084203W WO 2021218540 A1 WO2021218540 A1 WO 2021218540A1
Authority
WO
WIPO (PCT)
Prior art keywords
antenna
terminal device
target
area
image
Prior art date
Application number
PCT/CN2021/084203
Other languages
French (fr)
Chinese (zh)
Inventor
苏子剑
王毅
王辉
余香涛
Original Assignee
荣耀终端有限公司
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 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2021218540A1 publication Critical patent/WO2021218540A1/en

Links

Images

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
    • 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
    • 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/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • 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/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • 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

Definitions

  • This application belongs to the field of communication technology, and in particular relates to an antenna power adjustment method, terminal equipment, and computer-readable storage medium.
  • the specific absorption rate or electromagnetic wave absorption rate refers to the electromagnetic radiation energy absorbed or consumed by a unit mass of the human body per unit time, and is used to measure the impact of electromagnetic radiation on the human body. The greater the SAR, the The greater the impact on the human body. In order to reduce the influence of electromagnetic radiation on the human body, when the user approaches the terminal device, the transmitting power of the antenna in the terminal device is generally reduced to reduce the SAR.
  • the proximity capacitive sensor or proximity optical sensor in the terminal device is generally used to determine whether the human body is close to the terminal device.
  • the transmission power of all antennas in the terminal device is reduced based on a unified standard.
  • the distance between the antennas in different positions of the terminal equipment and the human body is not the same, therefore, the SAR generated is also not the same.
  • the uniform power reduction of all antennas indiscriminately will cause the communication performance of the terminal equipment to decrease and affect The user’s communication experience.
  • the embodiments of the present application provide an antenna power adjustment method, a terminal device, and a computer-readable storage medium, which can improve the efficiency of adjusting the antenna power in the terminal device, ensure the communication performance of the terminal device, and improve the communication experience of the user.
  • an embodiment of the present application provides an antenna power adjustment method, which is applied to a terminal device, and the method may include:
  • the terminal device Acquire an image collected by a camera in the terminal device, and determine a predetermined target based on the image, where the predetermined target includes at least one of a head, a body, and a hand, and the predetermined target is different from the terminal device.
  • the first distance between is smaller than the first distance threshold;
  • the antenna to be adjusted corresponding to the predetermined target is determined, and the transmit power of the antenna to be adjusted is reduced according to the backoff parameter corresponding to the predetermined target.
  • the image includes a first image collected by a front camera and a second image collected by a rear camera
  • the determining a predetermined target according to the image includes:
  • the first distance between the target and the terminal device can be determined according to the image area occupied by the target in the first image/second image. It should be understood that when the image area occupied by the target in the image is larger, the first distance between the target and the terminal device is smaller, and the target is closer to the terminal device; when the image area occupied by the target in the image is smaller, the target and The greater the first distance between terminal devices, the farther the target is from the terminal device. Specifically, the correspondence between the image area occupied by the target in the image and the first distance can be obtained through a test in advance.
  • the image area of the target in the first image/second image can be detected, and the first image between the target and the terminal device can be determined according to the image area and the corresponding relationship.
  • the first target feature in the first image can be identified.
  • the first target feature is a local head feature
  • the head and the terminal device corresponding to the first target feature can be determined immediately. If the first distance is less than the first distance threshold, it can be determined that the terminal device is in a headphone talk state (for example, a headset talk state), that is, it is determined that the predetermined target close to the terminal device includes the head.
  • the first target feature is a facial feature, it can indicate that the user is currently reading the screen of the terminal device.
  • the second target feature in the second image can be further identified.
  • the terminal device is in a handheld screen reading state, that is, it is determined that the predetermined target close to the terminal device includes a hand; when the second target feature is a physical feature, the first distance between the body corresponding to the second target feature and the terminal device can be determined immediately, If the first distance is less than the first distance threshold, it can be determined that the terminal device is in a screen-reading state placed on the body, that is, it is determined that the predetermined target close to the terminal device includes the body; when the second target feature is an object shape feature or an object material feature , It can be determined that the terminal device is in a screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device.
  • the terminal device is placed on the body in a non-screen-reading state, that is, the predetermined target close to the terminal device is determined Including the body.
  • the predetermined target close to the terminal device includes a hand.
  • the terminal device is in a non-screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device.
  • the image includes a first image collected by a front camera and a second image collected by a rear camera
  • the determining a predetermined target based on the image may include:
  • the predetermined target is determined according to the first target feature, the second target feature, and the light information.
  • the image collected by the camera and the light information in the screen can be acquired, and the predetermined target can be determined according to the image and the light information, so as to improve the accuracy of the predetermined target determination.
  • the occlusion area in the screen can be determined according to the light information obtained by the light sensor to determine whether the terminal device is in a handheld screen reading state.
  • the first target feature in the first image and the second target feature in the second image can be identified.
  • the first target feature is a head feature
  • the first distance between the head corresponding to the first target feature and the terminal device is less than the first distance threshold
  • the occlusion area in the screen can be obtained according to the light information on the screen, and the area area and the location of the occlusion area can be determined. If the area of the area is less than the second area threshold and the area location distribution satisfies the first preset condition, it is determined that the preset target includes a hand.
  • the predetermined target includes a body.
  • the first target feature is an environmental feature
  • the second target feature is a physical feature
  • the first distance between the body corresponding to the second target feature and the terminal device is less than the first distance threshold, or when the first target feature is a physical feature
  • the predetermined target includes a body.
  • the predetermined target includes a hand.
  • the image includes a first image collected by a front camera and a second image collected by a rear camera
  • the determining a predetermined target based on the image may include:
  • the predetermined target is determined according to the first target characteristic, the second target characteristic, and each of the impedance change values.
  • the image collected by the camera and the impedance change value of each antenna in the terminal device can be obtained, and the predetermined target can be determined according to the image and the impedance change value, so as to improve the accuracy of the predetermined target determination.
  • the terminal device when the terminal device is in a handheld screen-reading state, the user's hand generally touches a part of the terminal device, so that the impedance of the antenna corresponding to this part of the area will change greatly. Therefore, the terminal device can determine the area where the hand holds the terminal device according to the impedance change value of each antenna, so as to determine whether the terminal device is in a handheld screen reading state.
  • the first target feature in the first image and the second target feature in the second image can be identified.
  • the first target feature is a head feature
  • the first distance between the head corresponding to the first target feature and the terminal device is less than the first distance threshold
  • the target antenna is determined according to the impedance change value of each antenna in the terminal device, and the target antenna is an antenna whose impedance change value is greater than a preset change threshold. If the position distribution of the target antenna satisfies the second preset condition, it is determined that the preset target includes a hand.
  • the predetermined target includes a body.
  • the first target feature is an environmental feature
  • the second target feature is a physical feature
  • the first distance between the body corresponding to the second target feature and the terminal device is less than the first distance threshold, or when the first target feature is a physical feature
  • the predetermined target includes a body.
  • the predetermined target includes a hand.
  • the embodiment of the present application may also determine the predetermined target based on the image and the capacitance change/resistance change.
  • the terminal device can acquire the change area of the capacitance change/resistance change on the screen, and can determine the location of the change area.
  • the regional location distribution satisfies the third preset condition, it may be determined that the preset target includes a hand.
  • the third preset condition may be the same as the first preset condition, that is, the third preset condition may be the position distribution of the fingers, palms and other parts of the touch screen when the terminal device is held by the hand.
  • the embodiment of the present application may also combine the light information on the screen, the impedance change value of each antenna, and the image to determine the predetermined target.
  • the terminal device can obtain the occlusion area in the screen according to the light information on the screen, and can determine the area and location of the occlusion area.
  • the impedance change value of the antenna determines the target antenna. When the area area is less than the second area threshold, and the area location distribution meets the first preset condition, and the target antenna location distribution meets the second preset condition, it is determined that the preset target includes the hand .
  • the determining the antenna to be adjusted corresponding to the predetermined target may include:
  • the antenna to be adjusted corresponding to the predetermined target is determined according to the area of the area and the location of the area.
  • the predetermined target includes the head
  • the head will block part of the light emitted by the light source in the screen, and the blocked light can be reflected into the screen.
  • the predetermined target includes the hand
  • the user's hand will also block a part of the screen, so that the light emitted by part of the light source in the screen is blocked by the hand and reflected to Inside the screen. Therefore, after determining that the predetermined target includes the head and/or the hand, the terminal device can determine the antenna to be adjusted corresponding to the predetermined target according to the light information on the screen.
  • the determining the antenna to be adjusted corresponding to the predetermined target according to the area area and the position of the area may include:
  • the shielded area is a shielded area whose area is greater than the first area threshold and the location of the area is a preset position.
  • the first area threshold may be determined by analyzing the area of the area where the head and the terminal device are close when the user uses the terminal device close to the head. Since the head is generally close to the upper side of the terminal device during a head-to-head call, the preset position can be set to a position close to the upper edge of the terminal device or close to the front camera on the screen.
  • the determining the antenna to be adjusted corresponding to the predetermined target according to the area area and the position of the area may include:
  • the second target shielding area is determined according to the area area and the position of the area, and the second target antenna corresponding to the second target shielding area is determined as the antenna to be adjusted corresponding to the hand, and the second target
  • the shielded area is a shielded area where the area of the area is smaller than the second area threshold, and the area location distribution meets the preset condition.
  • the second area threshold may be determined by analyzing the contact area or occlusion area formed by the user's hand and the screen when the user holds the terminal device, and the second area threshold is smaller than the first area threshold in the head.
  • the preset condition can be the position distribution of fingers, palms and other parts on the screen when the terminal device is held by the hand. For example, it can be the position distribution of a single point or multiple points on the left side, right side of the screen, and/or in the middle of the screen. Wait.
  • the determining the antenna to be adjusted corresponding to the predetermined target may include:
  • the antenna to be adjusted corresponding to the predetermined target is determined according to the position information of the third target antenna.
  • the impedance of the antenna will change greatly.
  • the predetermined target includes the head
  • the terminal device may also determine the antenna to be adjusted corresponding to the predetermined target according to the impedance change value of each antenna.
  • the terminal device may also combine the light information on the screen and the impedance change value of the antenna to determine the antenna to be adjusted corresponding to the predetermined target.
  • the first target antenna and the third target antenna can be determined according to the light information on the screen and the impedance change value of each antenna, and then the first target antenna and the third target antenna can be combined. Unifiedly determine the antenna to be adjusted corresponding to the head; or the overlapping antenna of the first target antenna and the third target antenna may be determined as the antenna to be adjusted corresponding to the head.
  • the first target occlusion area can also be determined according to the light information on the screen, and then the impedance change value of the first target antenna corresponding to the first target occlusion area can be obtained, and the impedance change value can be greater than
  • the first target antenna with the preset change threshold is determined as the antenna to be adjusted corresponding to the head.
  • the terminal device when it is determined that the predetermined target includes the head according to the first image, the area between the head and the terminal device can be determined according to the light information on the screen and/or the impedance change value of the antenna. /Or the impedance change value of the antenna determines whether there is a situation where the hand is holding the terminal device, and when there is a situation where the hand is holding the terminal device, the area where the hand is held in the terminal device is determined.
  • the first antenna to be adjusted corresponding to the head can be determined according to the area close to the head and the terminal device, and the first antenna to be adjusted can be determined according to the area held by the hand in the terminal device.
  • the corresponding second antenna to be adjusted can adjust the transmit power of the first antenna to be adjusted according to the SAR of the head, so that the first antenna to be adjusted close to the head meets the head SAR index, and at the same time, the first antenna to be adjusted can be adjusted according to the SAR of the extremities.
  • the second antenna to be adjusted adjusts the transmission power, so that the second antenna to be adjusted close to the hand meets the SAR index of the limbs.
  • the screen of the terminal device is a capacitive screen or a resistive screen
  • the area will have a capacitance change or a resistance change.
  • the predetermined target includes the head or the hand, that is, when the terminal device is used close to the head or close to the hand, the head or the hand will generally contact a part of the screen area, which causes the capacitance change or generation of this area. Resistance changes. Therefore, the terminal device can also determine the antenna to be adjusted corresponding to the head or the hand according to the capacitance change and the change area of the screen or the resistance change and the change area of the screen.
  • the method may include:
  • the transmit antenna of the terminal device can be obtained, and the transmit antenna of the terminal device can be switched according to the current transmit power of each antenna, so as to change the transmit power of the terminal device.
  • the antenna is switched to an antenna with a higher transmitting power, thereby improving the communication performance of the terminal device and enhancing the user's communication experience.
  • the method may include:
  • the second distance between each antenna in the terminal device and the predetermined target can be obtained, and the second distance can be obtained according to the second distance.
  • Switch the transmitting antenna of the terminal device to switch the transmitting antenna of the terminal device to an antenna farther from the predetermined target. For example, when the head is close to the terminal device, the transmitting antenna can be switched from the antenna on the upper side of the terminal device close to the head to the antenna on the lower side of the terminal device away from the head, or switch to the antenna on the back of the terminal device.
  • the transmitting antenna can be switched from the antenna held by the hand to the antenna not held by the hand.
  • an antenna power adjustment device which is applied to a terminal device, and the device may include:
  • the predetermined target determination module is used to acquire the image collected by the camera in the terminal device, and determine a predetermined target according to the image, wherein the predetermined target includes at least one of a head, a body, and a hand, and the predetermined The first distance between the target and the terminal device is less than a first distance threshold;
  • the antenna power adjustment module is configured to determine the antenna to be adjusted corresponding to the predetermined target, and reduce the transmit power of the antenna to be adjusted according to the backoff parameter corresponding to the predetermined target.
  • the image includes a first image collected by a front camera and a second image collected by a rear camera
  • the predetermined target determination module may include:
  • the first target determining unit is configured to identify the first target feature in the first image and the second target feature in the second image, and determine the predetermined according to the first target feature and the second target feature Target.
  • the image includes a first image collected by a front camera and a second image collected by a rear camera
  • the predetermined target determination module may include:
  • a first feature recognition unit configured to recognize a first target feature in the first image and a second target feature in the second image
  • the light information acquiring unit is used to acquire the light information on the screen
  • the second target determining unit is configured to determine the predetermined target according to the first target feature, the second target feature, and the light information.
  • the image includes a first image collected by a front camera and a second image collected by a rear camera
  • the predetermined target determination module may include:
  • a second feature recognition unit configured to recognize a first target feature in the first image and a second target feature in the second image
  • An impedance change acquiring unit configured to acquire the impedance change value of each antenna in the terminal device
  • the third target determination unit is configured to determine the predetermined target according to the first target feature, the second target feature, and each of the impedance change values.
  • the antenna power adjustment module may include:
  • a shielding area acquiring unit configured to acquire the shielding area in the screen according to the light information in the screen, and determine the area area and the area position of the shielding area;
  • the first antenna determining unit is configured to determine the antenna to be adjusted corresponding to the predetermined target according to the area of the area and the location of the area.
  • the first antenna determining unit is configured to obtain a first target occlusion area according to the area area and the location of the area, and correspond to the first target occlusion area
  • the first target antenna of is determined as the antenna to be adjusted corresponding to the head, and the first target occlusion area is a occlusion area whose area is greater than a first area threshold, and the location of the area is a preset position.
  • the first antenna determining unit is configured to determine a second target occlusion area according to the area area and the location of the area, and correspond to the second target occlusion area
  • the second target antenna of is determined to be the antenna to be adjusted corresponding to the hand
  • the second target shielding area is a shielding area whose area is smaller than a second area threshold, and the area location distribution meets a preset condition.
  • the antenna power adjustment module may include:
  • the position information acquiring unit is configured to determine a third target antenna according to the impedance change value of each antenna in the terminal device, and acquire position information of the third target antenna, where the impedance change value of the third target antenna is greater than a preset value Antennas with varying thresholds;
  • the second antenna determining unit is configured to determine the antenna to be adjusted corresponding to the predetermined target according to the position information of the third target antenna.
  • the apparatus may further include:
  • the first antenna switching module is used to obtain the transmit power of each antenna in the terminal device, and switch the transmit antenna of the terminal device according to the transmit power.
  • the apparatus may further include:
  • the second antenna switching module is configured to obtain a second distance between each antenna in the terminal device and the predetermined target, and switch the transmitting antenna of the terminal device according to the second distance.
  • an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor executes the computer program, The antenna power adjustment method according to any one of the foregoing first aspects is implemented.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the implementation is as described in any one of the foregoing first aspect.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a terminal device, causes the terminal device to execute the antenna power adjustment method described in any one of the above-mentioned first aspects.
  • the image collected by the camera can be acquired and image analysis can be performed to determine whether the predetermined target close to the terminal device is the head, body or hand, and to determine the power adjustment to be adjusted corresponding to the predetermined target
  • the antenna can thereby reduce the transmit power of the antenna to be adjusted according to the back-off parameter corresponding to the predetermined target, wherein the back-off parameter corresponding to different predetermined targets is different. That is to say, the embodiment of the application can accurately determine the type of the predetermined target close to the terminal device, and can accurately determine the antenna to be adjusted corresponding to the predetermined target, so that the emission of the antenna to be adjusted can be reduced based on different fallback parameters according to the predetermined target. On the basis of ensuring that the terminal equipment meets the SAR index, it can improve the communication performance of the terminal equipment and enhance the user’s communication experience.
  • Figure 1 is a diagram showing an example of the distribution of antennas in a terminal device
  • FIG. 2 is a schematic flowchart of an antenna power adjustment method provided by an embodiment of the present application
  • FIG. 3 is an example diagram 1 of a terminal device close to the human body according to an embodiment of the present application.
  • FIG. 4a is an example diagram 2 of a terminal device close to the human body according to an embodiment of the present application.
  • FIG. 4b is an example diagram 3 of the terminal device close to the human body according to an embodiment of the present application.
  • FIG. 4c is an example of FIG. 4 of the terminal device close to the human body according to an embodiment of the present application.
  • FIG. 5 is a hardware structure diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of an antenna power adjustment method provided by another embodiment of the present application.
  • FIG. 7 is a schematic flowchart of an antenna power adjustment method provided by another embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an antenna power adjustment device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a terminal device to which the antenna power adjustment method provided by an embodiment of the present application is applicable.
  • FIG. 10 is a schematic diagram of a software architecture of a terminal device to which the antenna power adjustment method provided by an embodiment of the present application is applicable.
  • the term “if” can be construed as “when” or “once” or “in response to determination” or “in response to detecting “.
  • the phrase “if determined” or “if detected [described condition or event]” can be interpreted as meaning “once determined” or “in response to determination” or “once detected [described condition or event]” depending on the context ]” or “in response to detection of [condition or event described]”.
  • the antenna power adjustment method provided by the embodiments of this application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, notebook computers, ultra-mobile personal computers (UMPC), netbooks, and personal digital assistants (personal digital assistants).
  • UMPC ultra-mobile personal computers
  • PDA personal digital assistants
  • the embodiment of this application does not impose any restrictions on the specific types of terminal devices.
  • the terminal device in order to meet the wireless communication standard requirements of different frequency bands/standards, the terminal device generally installs different antennas 101 at multiple positions of the fuselage.
  • these antennas will generate electromagnetic radiation, and when the human body is close to the terminal equipment, the generated electromagnetic radiation will affect human health. Therefore, during the use of terminal equipment, when the human body approaches the terminal equipment, the transmitting power of the antenna in the terminal equipment is generally reduced, thereby reducing the SAR to meet the SAR index and reducing the impact of electromagnetic radiation on human health.
  • the proximity capacitive sensor or proximity optical sensor in the terminal device is generally used to determine whether the human body is close to the terminal device. Transmit power of all antennas.
  • the distance between the antennas in different positions in the terminal equipment and the human body is not the same, that is, the SAR generated by the antennas in different positions is not the same.
  • the antenna is close to the head, and the SAR generated to the head is generally large, while the antenna at the bottom of the terminal device is far away from the head, and the SAR generated to the head is small.
  • the uniform reduction will cause the communication performance of the terminal equipment to decline, and affect the user's communication experience.
  • the SAR generated by the terminal device also has different SAR indicators for the different parts of the human body close to the terminal device.
  • Body SAR indicators and limb SAR indicators when the limbs are close to terminal devices (such as handheld terminal devices). Head SAR indicators, body SAR indicators, and limb SAR indicators are different. Among them, limb SAR indicators can be higher than head SAR indicators and body SAR indicators. SAR indicator.
  • reducing the transmit power of all antennas based on a unified index will make the terminal device unable to meet the corresponding SAR index.
  • the transmission power of all antennas is uniformly reduced based on the head SAR index, which will make the hand close to the terminal device.
  • the transmission power of the antenna is reduced too much, which leads to a decrease in the communication performance of the terminal device, which is prone to problems such as network drop and call drop.
  • the embodiments of the present application provide an antenna power adjustment method, a terminal device, and a computer-readable storage medium.
  • an image can be collected through a camera, and then image analysis is performed to determine the proximity to the terminal.
  • the predetermined target of the device is the head, body, or hand, and the antenna to be adjusted corresponding to the predetermined target that needs power adjustment is determined, so that the transmit power of the antenna to be adjusted can be reduced according to the fallback parameter corresponding to the predetermined target, where:
  • the fallback parameters corresponding to different predetermined targets are different.
  • the embodiment of the application can accurately determine the type of the predetermined target close to the terminal device, and can accurately determine the antenna to be adjusted corresponding to the predetermined target, so that the emission of the antenna to be adjusted can be reduced based on different fallback parameters according to the predetermined target.
  • the terminal equipment meets the SAR index, it can improve the communication performance of the terminal equipment and enhance the user’s communication experience.
  • FIG. 2 is a schematic flowchart of the antenna power adjustment method provided by this embodiment.
  • the method may be applied to a terminal device.
  • the terminal device may include a camera and a processor, and the processor may include a neural network processor (neutral network processor).
  • the method may include:
  • S201 Acquire an image collected by a camera in a terminal device, and determine a predetermined target according to the image, where the predetermined target includes at least one of a head, a body, and a hand, and the first distance between the predetermined target and the terminal device is less than the first distance between the predetermined target and the terminal device. Distance threshold.
  • the terminal device may include a front camera and a rear camera.
  • the front camera can collect the first image, and can send the collected first image to the processor of the terminal device, such as the NPU
  • the rear camera can collect the second image. And can send the collected second image to the processor of the terminal device, such as the NPU.
  • the NPU can perform image recognition and analysis on the first image and/or the second image, and determine whether there are targets such as head, body, and hands in the first image and/or the second image, and then based on the relationship between the target and the terminal device. Whether the first distance between the two is smaller than the first distance threshold is used to determine whether the target is close to the terminal device, and the target close to the terminal device may be determined as a predetermined target. Among them, the first distance threshold can be determined according to actual conditions.
  • the first distance between the target and the terminal device can be determined according to the image area occupied by the target in the first image/second image. It should be understood that when the image area occupied by the target in the image is larger, the first distance between the target and the terminal device is smaller, and the target is closer to the terminal device; when the image area occupied by the target in the image is smaller, the target and The greater the first distance between terminal devices, the farther the target is from the terminal device. Specifically, the correspondence between the image area occupied by the target in the image and the first distance can be obtained through a test in advance.
  • the image area of the target in the first image/second image can be detected, and the first image between the target and the terminal device can be determined according to the image area and the corresponding relationship.
  • the state of use of the terminal device may include a post-it talk state, a handheld state, and a placement state.
  • the handheld state may include a handheld screen-reading state and a handheld non-screen-reading state.
  • the placement state may include the screen-reading state and placement on the body.
  • the post-talk state for example, in a handset call
  • the predetermined target near the terminal device may include the user's head
  • the predetermined target near the terminal device may include the user's hand
  • the predetermined target close to the terminal device may include the user's body.
  • the first image when the terminal device is in a stick-on-head talk state (for example, an earpiece talk state), the first image may include the user's partial head characteristics (for example, ear characteristics); when the terminal device is in a handheld screen-reading state, the first image One image may include the user's facial features, and the second image may include surrounding environmental characteristics; when the terminal device is in a handheld and non-reading state, both the first image and the second image may include surrounding environmental characteristics; When the terminal device is placed on the body and is in a screen-reading state, the first image may include the user's facial features, and the second image may include physical features (such as limb contour features); when the terminal device is placed on the body When reading the screen, the first image can include surrounding environment features, the second image can include physical features (such as limb contour features), or the second image can include surrounding environment features, and the first image can include the body Features (such as body contour features); when the terminal device is placed on an object and is in a screen-reading state, the first image may include the user
  • the first image can include surrounding environmental features
  • the second image can include object shape features and/or object material features
  • the second image can Including surrounding environment features
  • the first image may include object shape features and/or object material features, etc.
  • the NPU can identify the first target feature in the first image.
  • the first target feature is a local head feature, it can immediately determine the relationship between the head corresponding to the first target feature and the terminal device. If the first distance is less than the first distance threshold, it can be determined that the terminal device is in a head-to-head talk state, that is, it is determined that the predetermined target close to the terminal device includes the head.
  • the first target feature is a facial feature, it can indicate that the user is currently reading the screen of the terminal device.
  • the NPU can further identify the second target feature in the second image.
  • the second target feature is an environmental feature
  • the second target feature is a physical feature
  • the first distance between the body corresponding to the second target feature and the terminal device can be determined immediately If the first distance is less than the first distance threshold, it can be determined that the terminal device is placed on the body to read the screen, that is, it is determined that the predetermined target close to the terminal device includes the body
  • the second target feature is an object shape feature or an object material feature
  • the terminal device is placed on the body in a non-screen-reading state, that is, the predetermined target close to the terminal device is determined Including the body.
  • the predetermined target close to the terminal device includes a hand.
  • the terminal device is in a non-screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device.
  • the NPU may determine the distance between the face corresponding to the first target feature and the terminal device.
  • the second target feature is an environmental feature, and the distance between the face and the terminal device is less than or equal to the second distance threshold, it can be determined that the terminal device is in a handheld screen reading state, that is, it is determined that the predetermined target close to the terminal device includes the hand ;
  • the second target feature is a physical feature, and the distance between the face and the terminal device is greater than the second distance threshold, the first distance between the body and the terminal device corresponding to the second target feature can be determined immediately, if the first If the distance is less than the first distance threshold, it can be determined that the terminal device is in a screen-reading state placed on the body, that is, it is determined that the predetermined target close to the terminal device includes the body.
  • S202 Determine the antenna to be adjusted corresponding to the predetermined target, and reduce the transmit power of the antenna to be adjusted according to the backoff parameter corresponding to the predetermined target.
  • the NPU determines the predetermined target close to the terminal device, it can send the information of the predetermined target to the AP, and the AP can further determine the antenna to be adjusted corresponding to the predetermined target, and can reduce the to-be-adjusted parameters according to the fallback parameter corresponding to the predetermined target.
  • the transmit power of the antenna Specifically, the AP can determine the power adjustment value of the antenna to be adjusted according to the fallback parameter corresponding to the predetermined target and the current transmit power of the antenna to be adjusted, and can send the power adjustment value to the modem chip, and the modem chip can determine the power adjustment value according to the power adjustment value.
  • the backoff parameter corresponding to the predetermined target may be a power value at which the transmit power of the antenna needs to be reduced, or may be an allowable upper limit of the transmit power of the antenna, or the like.
  • the fallback parameter corresponding to the predetermined target can be determined according to the SAR indicator corresponding to the predetermined target. For example, the fallback parameter when the head is close to the terminal device can be determined according to the head SAR indicator, and the fallback parameter when the body is close to the terminal device can be determined according to the body SAR indicator.
  • the fallback parameters can be determined according to the SAR of the limbs when holding the terminal device.
  • the determination of the antenna to be adjusted and the power adjustment value performed by the AP in this embodiment is only for schematic explanation, and should not be construed as a limitation of this embodiment. Of course, other processors can also be used in this embodiment. For the determination of the antenna to be adjusted and the power adjustment value, for example, a coprocessor (CoProcessor) may also be used to determine the antenna to be adjusted and the power adjustment value.
  • a coprocessor CoProcessor
  • the terminal device when the predetermined target includes the head, that is, when the terminal device is used close to the head, the head will block some of the light emitted by the light source in the screen, and the blocked light can be used. Reflected into the screen.
  • the predetermined target when the predetermined target includes the hand, that is, when the user holds the terminal device, the user’s hand will also block some areas of the screen, so that part of the light source in the screen The emitted light is blocked by the hand and reflected into the screen. Therefore, after determining that the predetermined target includes the head and/or the hand, the terminal device can determine the antenna to be adjusted corresponding to the predetermined target according to the light information on the screen.
  • a light sensor and a screen driving chip can be arranged in the screen of the terminal device.
  • the light emitted by the light source in the screen can be reflected to the light sensor after being blocked by the head or hand.
  • the light sensor can send the acquired light information to the screen driver chip, and the screen driver chip can determine according to the light information sent by the light sensor
  • the blocked area on the screen, and the blocked area can be sent to the AP.
  • the AP determines that the predetermined target includes the head or determines that the predetermined target includes the hand, it may determine the area close to the head and the terminal device, or the area close to the hand and the terminal device according to the occlusion area.
  • the screen of the terminal device can be divided into grid areas in advance, and corresponding light sensors can be set in each grid area to obtain light information in each grid area, so that the occlusion area in the screen can be quickly determined .
  • the area area and location of the occlusion area can be determined immediately, and the first The target occluded area, the first target occluded area may be an occluded area whose area is greater than the first area threshold and the location of the area is a preset position.
  • the first area threshold may be determined by analyzing the area of the area where the head and the terminal device are close when the user uses the terminal device close to the head.
  • the preset position can be set to a position close to the upper edge of the terminal device or close to the front camera on the screen.
  • the first target shielding area is the area where the head is close to the terminal device, that is, the first target antenna corresponding to the first target shielding area is the antenna close to the head. Therefore, the first target shielding area can be The corresponding first target antenna is determined as the antenna to be adjusted corresponding to the head, and the transmit power of the antenna to be adjusted can be adjusted according to the back-off parameters corresponding to the head, so that the SAR of the antenna to be adjusted meets the SAR of the head index.
  • the hand forms discrete multi-point shielding on the sides of the screen, and/or discrete single-point or multi-point shielding on the middle of the screen. Therefore, after the predetermined target is determined to include the hand and the occlusion area in the screen is determined based on the light information obtained by the light sensor, the area and location of the occlusion area can be further determined, and the second target can be determined according to the area and location Block the area.
  • the second target shielding area may be a shielding area whose area is smaller than the second area threshold and the location distribution of the area satisfies a preset condition.
  • the preset condition can be the position distribution of fingers, palms and other parts on the screen when the terminal device is held by the hand. For example, it can be the position distribution of a single point or multiple points on the left side, right side of the screen, and/or in the middle of the screen. Wait.
  • the second target shielding area is the area where the hand is close to the terminal device. Therefore, the second target antenna corresponding to the second target shielding area can be determined as the antenna to be adjusted corresponding to the hand, and can be adjusted according to the hand
  • the backoff parameter corresponding to the part adjusts the transmit power of the antenna to be adjusted so that the SAR of the antenna to be adjusted meets the hand SAR index.
  • the second area threshold may be determined by analyzing the contact area or occlusion area formed by the user's hand and the screen when the user holds the terminal device, and the second area threshold is smaller than the first area threshold in the head.
  • the first target antenna corresponding to the first target shielding area and the second target antenna corresponding to the second target shielding area can be determined according to the mapping relationship between the screen area and the antenna, that is, the relationship between the screen area and the antenna can be established in advance.
  • the mapping relationship is stored in the terminal device. After determining the first target occlusion area or the second target occlusion area, the terminal device may determine the first target antenna corresponding to the first target occlusion area or the second target antenna corresponding to the second target occlusion area according to the mapping relationship.
  • the impedance of the antenna when a target is close to a certain antenna in the terminal device, the impedance of the antenna will change greatly.
  • the predetermined target includes the head
  • the terminal device when the terminal device is used close to the head, the head generally closes to the upper side of the terminal device, so that the impedance of the antenna close to the head changes greatly.
  • the terminal device may also determine the antenna to be adjusted corresponding to the predetermined target according to the impedance change value of each antenna.
  • a Modem chip can be set in the terminal device, and the Modem chip and the antenna can be connected through a radio frequency transmission line.
  • the Modem chip can obtain the impedance change value of each antenna in the terminal device, and the The change value and its corresponding location information are sent to the AP.
  • the AP may determine the third target antenna whose impedance change value is greater than the preset change threshold, and may determine the antenna to be adjusted corresponding to the predetermined target according to the position information of the third target antenna.
  • the preset change threshold can be determined according to actual conditions.
  • the third target antenna located at the upper edge of the terminal device may be determined as the antenna to be adjusted corresponding to the head.
  • the third target antenna located on the left side, right side, and/or lower edge of the terminal device may be determined as the antenna to be adjusted corresponding to the hand.
  • the terminal device may also combine the light information on the screen and the impedance change value of the antenna to determine the antenna to be adjusted corresponding to the predetermined target.
  • the predetermined target includes the head
  • the first target antenna and the third target antenna can be determined according to the light information on the screen and the impedance change value of each antenna, and then the first target antenna and the third target antenna can be combined.
  • the first target occlusion area can also be determined according to the light information on the screen, and then the impedance change value of the first target antenna corresponding to the first target occlusion area can be obtained, and the impedance can be changed
  • the first target antenna whose value is greater than the preset change threshold is determined as the antenna to be adjusted corresponding to the head.
  • the terminal device when it is determined that the predetermined target includes the head according to the first image, the area between the head and the terminal device can be determined according to the light information on the screen and/or the impedance change value of the antenna. /Or the impedance change value of the antenna determines whether there is a situation where the hand is holding the terminal device, and when there is a situation where the hand is holding the terminal device, the area where the hand is held in the terminal device is determined.
  • the first antenna to be adjusted corresponding to the head can be determined according to the area close to the head and the terminal device, and the first antenna to be adjusted can be determined according to the area held by the hand in the terminal device.
  • the corresponding second antenna to be adjusted can adjust the transmit power of the first antenna to be adjusted according to the SAR of the head, so that the first antenna to be adjusted close to the head meets the head SAR index, and at the same time, the first antenna to be adjusted can be adjusted according to the SAR of the extremities.
  • the second antenna to be adjusted adjusts the transmission power, so that the second antenna to be adjusted close to the hand meets the SAR index of the limbs.
  • the terminal device when the area where the head and/or hands are close to the terminal device is determined according to the light information on the screen, if the terminal device is currently in the off-screen state, it can be obtained according to the light sensor immediately before the screen is off Light information to determine the area of the head and/or hands close to the terminal device.
  • the terminal device can also determine the antenna to be adjusted corresponding to the head or the hand according to the capacitance change and the change area of the screen.
  • the antenna corresponding to the change area that conforms to the hand-held posture of a person may be determined as the antenna to be adjusted corresponding to the hand.
  • the antenna corresponding to the change area close to the upper side of the terminal device may be determined as the antenna to be adjusted corresponding to the head, and so on.
  • the screen of the terminal device is a resistive screen
  • the area will have a resistance change. Therefore, for a terminal device with a resistive screen, it can be based on the resistance change and the change area.
  • the determination principle of the resistive screen is basically the same as the determination principle of the above-mentioned capacitive screen, and will not be repeated here.
  • the predetermined target only includes the body
  • all antennas in the terminal device can be directly determined as the antennas to be adjusted corresponding to the body, so that the transmit power of the antennas to be adjusted can be uniformly reduced according to the back-off parameters corresponding to the body. , So that the SAR of the antenna to be adjusted meets the body SAR index.
  • the transmit antenna of the terminal device can be obtained, and the transmit antenna of the terminal device can be switched according to the current transmit power of each antenna to switch the terminal device
  • the transmitting antenna of the switch is switched to an antenna with a higher transmitting power, thereby improving the communication performance of the terminal device to enhance the user's communication experience.
  • a power amplifier, a radio frequency switch, a low noise amplifier and other radio frequency devices may also be connected between the modem chip and the antenna.
  • the AP can adjust the switch state of the radio frequency switch through the Modem chip to switch the transmit antenna, or can select different radio frequency paths through the Modem chip to switch the transmit antenna.
  • the second distance between each antenna in the terminal device and the predetermined target can be obtained, and the second distance can be obtained according to the first The second distance is to switch the transmitting antenna of the terminal device to switch the transmitting antenna of the terminal device to an antenna farther from the predetermined target.
  • the transmitting antenna can be switched from the antenna on the upper side of the terminal device close to the head to the antenna on the lower side of the terminal device away from the head, or switch to the antenna on the back of the terminal device.
  • the transmitting antenna can be switched from the antenna held by the hand to the antenna not held by the hand.
  • the image collected by the camera can be acquired and image analysis can be performed to determine whether the predetermined target close to the terminal device is the head, body, or hand, and to determine the power adjustment to be adjusted corresponding to the predetermined target.
  • the antenna can thereby reduce the transmit power of the antenna to be adjusted according to the back-off parameter corresponding to the predetermined target, wherein the back-off parameter corresponding to different predetermined targets is different. That is, this embodiment can accurately determine the type of the predetermined target close to the terminal device, and can accurately determine the antenna to be adjusted corresponding to the predetermined target, so that the transmit power of the antenna to be adjusted can be reduced based on different fallback parameters according to the predetermined target. , On the basis of ensuring that the terminal equipment meets the SAR indicator, improve the communication performance of the terminal equipment and enhance the user's communication experience.
  • FIG. 6 shows a schematic flowchart of the antenna power adjustment method provided in this embodiment.
  • the difference between this embodiment and the first embodiment is that in this embodiment, the image collected by the camera and the light information in the screen can be obtained, and the predetermined target can be determined according to the image and light information, so as to improve the accuracy of the predetermined target determination. sex.
  • the method may include:
  • S602 Identify the first target feature in the first image and the second target feature in the second image.
  • S601 to S603 can refer to the specific description in the foregoing S101, for the sake of brevity, the details are not repeated here.
  • S604 When the first target feature is a facial feature, obtain the occlusion area in the screen according to the light information on the screen, and determine the area area and the location of the occlusion area.
  • the first target feature is a facial feature
  • the terminal device is in the screen reading state
  • the screen reading state may include the hand-held screen reading state and the screen reading state placed on the body. And the screen reading status placed on the object.
  • the terminal device is in a handheld screen reading state
  • the user's hand will block a part of the screen, so that the light emitted by a part of the light source in the screen is blocked by the hand and reflected to the light sensor in the screen. Therefore, the occlusion area in the screen can be determined according to the light information obtained by the light sensor to determine whether the terminal device is in a handheld screen reading state.
  • the hand when the terminal device is in a handheld screen reading state, the hand will form discrete multi-point shielding on the sides of the screen, and/or will form a discrete single-point or multi-point shielding on the middle of the screen. Therefore, the light information on the screen can be acquired through the light sensor, the shielding area in the screen can be determined according to the light information, and the area area and position of the shielding area can be determined, so as to determine whether the terminal device is in a handheld screen reading according to the area area and area position state.
  • the terminal device is in a handheld screen reading state, that is, the terminal device is close to the terminal device.
  • the intended target includes hands.
  • the first preset condition may be the same as the preset condition described in Embodiment 1. That is, the first preset condition may be the position distribution of fingers, palms, etc. on the screen when the terminal device is held by the hand. For example, it may be The position distribution of single or multiple points on the left side, right side of the screen, and/or the middle of the screen, etc.
  • the terminal device when the area of the occluded area is greater than or equal to the second area threshold, or the area location distribution does not meet the first preset condition, it can be considered that the light information acquired by the light sensor is not reflected by the hand occlusion, and it can be determined
  • the terminal device is not in a handheld screen-reading state. At this time, it can be determined whether the terminal device is in the screen-reading state placed on the body or the screen-reading state placed on the object according to the second target feature in the second image collected by the rear camera.
  • the second image collected by the rear camera may include the user's physical characteristics (for example, limb contour characteristics). Therefore, when the second target feature is the physical feature of the user, it can be determined that the terminal device is in a screen-reading state placed on the body, and it can be determined that the predetermined target close to the terminal device includes the user's body.
  • the second target feature is not a user's physical feature, such as an object shape feature and/or an object material feature, it can be determined that the terminal device is in a screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device. At this time, there is no need to adjust the transmit power of the antenna in the terminal device.
  • the predetermined target includes a body.
  • S607 and S608 can be referred to the specific description in the foregoing S101, for the sake of brevity, the details are not repeated here.
  • the image collected by the camera and the light information on the screen can be acquired, and the predetermined target can be determined according to the image and light information, which can improve the accuracy of the predetermined target determination, thereby increasing the transmission power of the antenna to be adjusted. Adjust the accuracy.
  • FIG. 7 shows a schematic flowchart of the antenna power adjustment method provided in this embodiment.
  • the difference between this embodiment and the first embodiment is that in this embodiment, the image collected by the camera and the impedance change value of each antenna in the terminal device can be acquired, and the predetermined target can be determined according to the image and the impedance change value to improve The accuracy of the predetermined target determination.
  • the method may include:
  • S702 Identify the first target feature in the first image and the second target feature in the second image.
  • S701 to S703 can be referred to the specific description in the foregoing S101, for the sake of brevity, the details are not repeated here.
  • the first target feature is a facial feature
  • the terminal device when it indicates that the user is facing the screen reading, that is, the terminal device is in the screen reading state, and the screen reading state may include the hand-held screen reading state and the screen reading state placed on the body. And the screen reading status placed on the object.
  • the terminal device When the terminal device is in a handheld screen reading state, the user's hand generally touches a part of the terminal device, so that the impedance of the antenna corresponding to this part of the area will change greatly. Therefore, the terminal device can determine the area where the hand holds the terminal device according to the impedance change value of each antenna, so as to determine whether the terminal device is in a handheld screen reading state.
  • the target antenna whose impedance change value is greater than the preset change threshold in the terminal device can be determined, and the position information of the target antenna can be obtained.
  • the terminal can be determined
  • the device is in a handheld screen reading state, that is, it is determined that the predetermined target close to the terminal device includes the hand.
  • the second preset condition may be the position distribution of the antenna held by the hand when the terminal device is held by the hand.
  • the impedance change value of the antenna in the terminal device is not caused by holding the terminal device by hand, and it can be determined that the terminal device is not in the handheld screen reading mode. state. At this time, it can be determined whether the terminal device is in the screen reading state placed on the body or the screen reading state placed on the object according to the second target feature in the second image collected by the rear camera.
  • the second image collected by the rear camera may include the user's physical characteristics (for example, limb contour characteristics). Therefore, when the second target feature is the physical feature of the user, it can be determined that the terminal device is in a screen-reading state placed on the body, and it can be determined that the predetermined target close to the terminal device includes the user's body.
  • the second target feature is not a user's physical feature, such as an object shape feature and/or an object material feature, it can be determined that the terminal device is in a screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device. At this time, there is no need to adjust the transmit power of the antenna in the terminal device.
  • the predetermined target includes a body.
  • S707 and S708 can be referred to the specific description in the foregoing S101, and for the sake of brevity, they are not repeated here.
  • the image collected by the camera and the impedance change value of each antenna in the terminal device can be obtained, and the predetermined target can be determined according to the image and the impedance change value, which can improve the accuracy of the predetermined target determination, thereby improving the need to adjust The adjustment accuracy of the antenna transmit power.
  • the embodiment of the present application may also determine the predetermined target based on the image and the capacitance change/resistance change.
  • the terminal device can acquire the change area of the capacitance change/resistance change on the screen, and can determine the location of the change area.
  • the regional location distribution satisfies the third preset condition, it may be determined that the preset target includes a hand.
  • the third preset condition may be the same as the first preset condition, that is, the third preset condition may be the position distribution of the fingers, palms and other parts of the touch screen when the terminal device is held by the hand.
  • the embodiment of the present application may also combine the light information on the screen, the impedance change value of each antenna, and the image to determine the predetermined target.
  • the terminal device can obtain the occlusion area in the screen according to the light information on the screen, and can determine the area and location of the occlusion area.
  • the impedance change value of the antenna determines the target antenna.
  • the preset target includes the hand .
  • FIG. 8 shows a structural block diagram of an antenna power adjustment device provided in an embodiment of the present application. For ease of description, only parts related to the embodiment of the present application are shown.
  • the apparatus may be applied to terminal equipment, and the apparatus may include:
  • the predetermined target determination module 801 is configured to acquire an image collected by a camera in the terminal device, and determine a predetermined target according to the image, wherein the predetermined target includes at least one of a head, a body, and a hand, and The first distance between the predetermined target and the terminal device is less than a first distance threshold;
  • the antenna power adjustment module 802 is configured to determine the antenna to be adjusted corresponding to the predetermined target, and reduce the transmit power of the antenna to be adjusted according to the backoff parameter corresponding to the predetermined target.
  • the image includes a first image collected by a front camera and a second image collected by a rear camera
  • the predetermined target determination module 801 may include:
  • the first target determining unit is configured to identify the first target feature in the first image and the second target feature in the second image, and determine the predetermined according to the first target feature and the second target feature Target.
  • the image includes a first image collected by a front camera and a second image collected by a rear camera
  • the predetermined target determination module 801 may include:
  • a first feature recognition unit configured to recognize a first target feature in the first image and a second target feature in the second image
  • the light information acquiring unit is used to acquire the light information on the screen
  • the second target determining unit is configured to determine the predetermined target according to the first target feature, the second target feature, and the light information.
  • the image includes a first image collected by a front camera and a second image collected by a rear camera
  • the predetermined target determination module 801 may include:
  • a second feature recognition unit configured to recognize a first target feature in the first image and a second target feature in the second image
  • An impedance change acquiring unit configured to acquire the impedance change value of each antenna in the terminal device
  • the third target determination unit is configured to determine the predetermined target according to the first target feature, the second target feature, and each of the impedance change values.
  • the antenna power adjustment module 802 may include:
  • a shielding area acquiring unit configured to acquire the shielding area in the screen according to the light information in the screen, and determine the area area and the area position of the shielding area;
  • the first antenna determining unit is configured to determine the antenna to be adjusted corresponding to the predetermined target according to the area of the area and the location of the area.
  • the first antenna determining unit is configured to obtain a first target occlusion area according to the area area and the location of the area, and correspond to the first target occlusion area
  • the first target antenna of is determined as the antenna to be adjusted corresponding to the head, and the first target occlusion area is a occlusion area whose area is greater than a first area threshold, and the location of the area is a preset position.
  • the first antenna determining unit is configured to determine a second target occlusion area according to the area area and the location of the area, and correspond to the second target occlusion area
  • the second target antenna of is determined to be the antenna to be adjusted corresponding to the hand
  • the second target shielding area is a shielding area whose area is smaller than a second area threshold, and the area location distribution meets a preset condition.
  • the antenna power adjustment module 802 may include:
  • the position information acquiring unit is configured to determine a third target antenna according to the impedance change value of each antenna in the terminal device, and acquire position information of the third target antenna, where the impedance change value of the third target antenna is greater than a preset value Antennas with varying thresholds;
  • the second antenna determining unit is configured to determine the antenna to be adjusted corresponding to the predetermined target according to the position information of the third target antenna.
  • the apparatus may further include:
  • the first antenna switching module is used to obtain the transmit power of each antenna in the terminal device, and switch the transmit antenna of the terminal device according to the transmit power.
  • the apparatus may further include:
  • the second antenna switching module is configured to obtain a second distance between each antenna in the terminal device and the predetermined target, and switch the transmitting antenna of the terminal device according to the second distance.
  • FIG. 9 is a schematic structural diagram of a terminal device provided by 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 (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope 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, and the environment Light sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100.
  • the terminal device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter/receiver (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter/receiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include 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.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the terminal device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the terminal device 100.
  • the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the terminal device 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transfer data between the terminal device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect to other terminal devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the terminal device 100.
  • the terminal device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the terminal device 100. While the charging management module 140 charges the battery 142, it can also supply power to the terminal device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • 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, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the terminal device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate 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 application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the terminal device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the terminal device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the terminal device 100 implements a display function through a GPU, a display screen 194, and an application processor.
  • the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • emitting diode AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the terminal device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the terminal device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the terminal device 100 may include one or N cameras 193, and N is a positive integer greater than one.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of the terminal device 100 can be implemented, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the terminal device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required by at least one function, and the like.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the terminal device 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the terminal device 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the terminal device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the terminal device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the terminal device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the terminal device 100 may be provided with at least one microphone 170C.
  • the terminal device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals.
  • the terminal device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive materials.
  • the terminal device 100 determines the intensity of the pressure according to the change in capacitance.
  • the terminal device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the terminal device 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the movement posture of the terminal device 100.
  • the angular velocity of the terminal device 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shaking angle of the terminal device 100, and calculates the distance that the lens module needs to compensate according to the angle, so that the lens can counteract the shaking of the terminal device 100 through a reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the terminal device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the terminal device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the terminal device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device, applied to applications such as horizontal and vertical screen switching, pedometer and so on.
  • the terminal device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the terminal device 100 emits infrared light to the outside through the light emitting diode.
  • the terminal device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100.
  • the terminal device 100 can use the proximity light sensor 180G to detect that the user holds the terminal device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the terminal device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the terminal device 100 when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to avoid abnormal shutdown of the terminal device 100 due to low temperature.
  • the terminal device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the terminal device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the terminal device 100 may receive key input, and generate key signal input related to user settings and function control of the terminal device 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations applied to different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the terminal device 100.
  • the terminal device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the terminal device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the terminal device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
  • the software system of the terminal device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present application takes an Android system with a layered architecture as an example to illustrate the software structure of the terminal device 100 by way of example.
  • FIG. 10 is a block diagram of the software structure of the terminal device 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and so on.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the terminal device 100. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • prompt text messages in the status bar sound a prompt tone, terminal equipment vibration, flashing indicator lights, etc.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes the touch operation into the original input event (including touch coordinates, time stamp of the touch operation, etc.).
  • the original input events are stored in the kernel layer.
  • the application framework layer obtains the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and the control corresponding to the click operation is the control of the camera application icon as an example, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer.
  • the camera 193 captures still images or videos.
  • the embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program can implement the steps in the foregoing method embodiments when the computer program is executed by a processor.
  • the embodiments of the present application provide a computer program product.
  • the terminal device can implement the steps in the foregoing method embodiments when executed.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the computer program can be stored in a computer-readable storage medium. When executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable storage medium may at least include: any entity or device capable of carrying computer program code to the device/terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (random access memory, RAM), electrical carrier signals, telecommunications signals, and software distribution media.
  • ROM read-only memory
  • RAM random access memory
  • electrical carrier signals telecommunications signals
  • software distribution media For example, U disk, mobile hard disk, floppy disk or CD-ROM, etc.
  • computer-readable storage media cannot be electrical carrier signals and telecommunication signals.
  • the disclosed device/terminal device and method may be implemented in other ways.
  • the device/terminal device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units.
  • components can be combined or integrated into another system, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

Abstract

The present application is applicable to the technical field of communications, and in particular relates to an antenna power adjustment method, a terminal device, and a computer-readable storage medium. An image collected by a camera may be acquired and undergo image analysis to determine whether a predetermined subject near the terminal device is a head, body, or hand, and determine an antenna to be adjusted that corresponds to the predetermined subject and that needs power adjustment, so that transmit power of the antenna may be reduced according to a fallback parameter corresponding to the predetermined subject, wherein different predetermined subjects correspond to different fallback parameters. That is, in the embodiments of the application, the type of the predetermined subject close to the terminal device may be accurately determined, and the antenna corresponding to the predetermined subject may be accurately determined, so that the transmit power of the antenna may be reduced on the basis of different fallback parameters according to the predetermined subject so as to improve the communication performance of the terminal device and enhance the communication experience of a user on the basis of ensuring that the terminal device meets a SAR index.

Description

天线功率调节方法、终端设备及存储介质Antenna power adjustment method, terminal equipment and storage medium
本申请要求于2020年04月29日提交国家知识产权局、申请号为202010359679.9、申请名称为“天线功率调节方法、终端设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on April 29, 2020, the application number is 202010359679.9, and the application name is "antenna power adjustment method, terminal equipment and storage medium", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请属于通信技术领域,尤其涉及天线功率调节方法、终端设备及计算机可读存储介质。This application belongs to the field of communication technology, and in particular relates to an antenna power adjustment method, terminal equipment, and computer-readable storage medium.
背景技术Background technique
比吸收率或电磁波吸收比值(specific absorption rate,SAR)是指单位时间内,单位质量的人体所吸收或消耗的电磁辐射能量,用于衡量电磁辐射对人体的影响,其中,SAR越大,表示对人体的影响越大。为降低电磁辐射对人体的影响,当用户靠近终端设备时,一般会降低终端设备中天线的发射功率,以降低SAR。The specific absorption rate or electromagnetic wave absorption rate (SAR) refers to the electromagnetic radiation energy absorbed or consumed by a unit mass of the human body per unit time, and is used to measure the impact of electromagnetic radiation on the human body. The greater the SAR, the The greater the impact on the human body. In order to reduce the influence of electromagnetic radiation on the human body, when the user approaches the terminal device, the transmitting power of the antenna in the terminal device is generally reduced to reduce the SAR.
现有技术中,一般通过终端设备中的接近式电容传感器或接近式光学传感器来判断人体是否靠近终端设备,当人体靠近终端设备时,基于统一标准降低终端设备中所有天线的发射功率。但终端设备中不同位置的天线与人体之间的距离不相同,因此,所产生的SAR也并不相同,无差别地对所有天线进行统一的功率降低,会导致终端设备的通信性能下降,影响用户的通讯体验。In the prior art, the proximity capacitive sensor or proximity optical sensor in the terminal device is generally used to determine whether the human body is close to the terminal device. When the human body approaches the terminal device, the transmission power of all antennas in the terminal device is reduced based on a unified standard. However, the distance between the antennas in different positions of the terminal equipment and the human body is not the same, therefore, the SAR generated is also not the same. The uniform power reduction of all antennas indiscriminately will cause the communication performance of the terminal equipment to decrease and affect The user’s communication experience.
发明内容Summary of the invention
本申请实施例提供了天线功率调节方法、终端设备及计算机可读存储介质,可以提高终端设备中调节天线功率的效率,确保终端设备的通信性能,提升用户的通讯体验。The embodiments of the present application provide an antenna power adjustment method, a terminal device, and a computer-readable storage medium, which can improve the efficiency of adjusting the antenna power in the terminal device, ensure the communication performance of the terminal device, and improve the communication experience of the user.
第一方面,本申请实施例提供了一种天线功率调节方法,应用于终端设备,所述方法可以包括:In the first aspect, an embodiment of the present application provides an antenna power adjustment method, which is applied to a terminal device, and the method may include:
获取所述终端设备中摄像头采集的图像,并根据所述图像确定预定目标,其中,所述预定目标包括头部、身体和手部中的至少一种,所述预定目标与所述终端设备之间的第一距离小于第一距离阈值;Acquire an image collected by a camera in the terminal device, and determine a predetermined target based on the image, where the predetermined target includes at least one of a head, a body, and a hand, and the predetermined target is different from the terminal device. The first distance between is smaller than the first distance threshold;
确定与所述预定目标对应的待调节天线,并根据所述预定目标对应的回退参数降低所述待调节天线的发射功率。The antenna to be adjusted corresponding to the predetermined target is determined, and the transmit power of the antenna to be adjusted is reduced according to the backoff parameter corresponding to the predetermined target.
示例性的,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述根据所述图像确定预定目标包括:Exemplarily, the image includes a first image collected by a front camera and a second image collected by a rear camera, and the determining a predetermined target according to the image includes:
识别所述第一图像中的第一目标特征和第二图像中的第二目标特征,并根据所述第一目标特征和所述第二目标特征确定所述预定目标。Identify the first target feature in the first image and the second target feature in the second image, and determine the predetermined target according to the first target feature and the second target feature.
在此,可根据目标在第一图像/第二图像中占据的图像面积来确定目标与终端设备之间的第一距离。应理解,当目标在图像中占据的图像面积越大时,目标与终端设备之间的第一距离越小,目标距离终端设备越近;当目标在图像中占据的图像面积越小时,目标与终端设备之间的第一距离越大,目标距离终端设备越远。具体地,可以预先通过测试得到目标在图像中占据的图像面积与第一距离之间的对应关系。因此,在确定第一图像/第二图像中存在目标时,可以检测目标在第一图像/第二图像中的图像面积,并可以根据图像面积和该对应关系确定目标与终端设备之间的第一距离,以根据第一距离是否小于第一距离阈值来确定该目标是否为靠近终端设备的预定目标。Here, the first distance between the target and the terminal device can be determined according to the image area occupied by the target in the first image/second image. It should be understood that when the image area occupied by the target in the image is larger, the first distance between the target and the terminal device is smaller, and the target is closer to the terminal device; when the image area occupied by the target in the image is smaller, the target and The greater the first distance between terminal devices, the farther the target is from the terminal device. Specifically, the correspondence between the image area occupied by the target in the image and the first distance can be obtained through a test in advance. Therefore, when it is determined that there is a target in the first image/second image, the image area of the target in the first image/second image can be detected, and the first image between the target and the terminal device can be determined according to the image area and the corresponding relationship. A distance to determine whether the target is a predetermined target close to the terminal device according to whether the first distance is less than the first distance threshold.
具体地,在进行预定目标的确定时,可以识别第一图像中的第一目标特征,当第一目标特征为局部的头部特征时,可随即确定第一目标特征对应的头部与终端设备之间的第一距离,若第一距离 小于第一距离阈值,则可以确定终端设备处于贴头通话状态(例如听筒通话状态),即确定靠近终端设备的预定目标包括头部。当第一目标特征为脸部特征时,可以表明用户当前正面对终端设备读屏,此时可以进一步识别第二图像中的第二目标特征,当第二目标特征为环境特征时,则可以确定终端设备处于手持读屏状态,即确定靠近终端设备的预定目标包括手部;当第二目标特征为身体特征时,可随即确定第二目标特征对应的身体与终端设备之间的第一距离,若第一距离小于第一距离阈值,则可以确定终端设备处于放置于身体上的读屏状态,即确定靠近终端设备的预定目标包括身体;当第二目标特征为物体形状特征或物体材质特征时,则可以确定终端设备处于放置于物体上的读屏状态,即确定没有靠近终端设备的预定目标。当第一目标特征为环境特征,且第二目标特征为身体特征,同时第二目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,或者当第一目标特征为身体特征,且第一目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,则可以确定终端设备处于放置于身体上的非读屏状态,即确定靠近终端设备的预定目标包括身体。当第一目标特征和第二目标特征均为环境特征时,则可以确定终端设备处于手持非读屏状态,即确定靠近终端设备的预定目标包括手部。当第一目标特征为环境特征,且第二目标特征为物体形状特征或物体材质特征时,或者当第二目标特征为环境特征,且第一目标特征为物体形状特征或物体材质特征时,则可以确定终端设备处于放置于物体上的非读屏状态,即确定没有靠近终端设备的预定目标。Specifically, when the predetermined target is determined, the first target feature in the first image can be identified. When the first target feature is a local head feature, the head and the terminal device corresponding to the first target feature can be determined immediately. If the first distance is less than the first distance threshold, it can be determined that the terminal device is in a headphone talk state (for example, a headset talk state), that is, it is determined that the predetermined target close to the terminal device includes the head. When the first target feature is a facial feature, it can indicate that the user is currently reading the screen of the terminal device. At this time, the second target feature in the second image can be further identified. When the second target feature is an environmental feature, it can be determined The terminal device is in a handheld screen reading state, that is, it is determined that the predetermined target close to the terminal device includes a hand; when the second target feature is a physical feature, the first distance between the body corresponding to the second target feature and the terminal device can be determined immediately, If the first distance is less than the first distance threshold, it can be determined that the terminal device is in a screen-reading state placed on the body, that is, it is determined that the predetermined target close to the terminal device includes the body; when the second target feature is an object shape feature or an object material feature , It can be determined that the terminal device is in a screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device. When the first target feature is an environmental feature, and the second target feature is a physical feature, and the first distance between the body corresponding to the second target feature and the terminal device is less than the first distance threshold, or when the first target feature is a body Feature, and the first distance between the body corresponding to the first target feature and the terminal device is less than the first distance threshold, it can be determined that the terminal device is placed on the body in a non-screen-reading state, that is, the predetermined target close to the terminal device is determined Including the body. When the first target feature and the second target feature are both environmental features, it can be determined that the terminal device is in a handheld non-screen-reading state, that is, it is determined that the predetermined target close to the terminal device includes a hand. When the first target feature is an environmental feature and the second target feature is an object shape feature or an object material feature, or when the second target feature is an environmental feature, and the first target feature is an object shape feature or an object material feature, then It can be determined that the terminal device is in a non-screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device.
在第一方面的一种可能的实现方式中,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述根据所述图像确定预定目标可以包括:In a possible implementation of the first aspect, the image includes a first image collected by a front camera and a second image collected by a rear camera, and the determining a predetermined target based on the image may include:
识别所述第一图像中的第一目标特征和所述第二图像中的第二目标特征;Identifying a first target feature in the first image and a second target feature in the second image;
获取屏幕中的光线信息;Obtain the light information on the screen;
根据所述第一目标特征、所述第二目标特征和所述光线信息确定所述预定目标。The predetermined target is determined according to the first target feature, the second target feature, and the light information.
在该实现方式中,可以获取摄像头采集的图像和屏幕中的光线信息,并可以根据图像和光线信息来进行预定目标的确定,以提高预定目标确定的准确性。In this implementation manner, the image collected by the camera and the light information in the screen can be acquired, and the predetermined target can be determined according to the image and the light information, so as to improve the accuracy of the predetermined target determination.
应理解,当终端设备处于手持读屏状态时,用户的手部会对屏幕中的部分区域进行遮挡,从而使得屏幕内部分光源发射的光线经手部遮挡后反射至屏幕内的光线传感器。因此,可以根据光线传感器获取的光线信息来确定屏幕中的遮挡区域,以确定终端设备是否处于手持读屏状态。It should be understood that when the terminal device is in a handheld screen reading state, the user's hand will block a part of the screen, so that the light emitted by a part of the light source in the screen is blocked by the hand and reflected to the light sensor in the screen. Therefore, the occlusion area in the screen can be determined according to the light information obtained by the light sensor to determine whether the terminal device is in a handheld screen reading state.
具体地,可以识别第一图像中的第一目标特征和第二图像中的第二目标特征。当第一目标特征为头部特征,且第一目标特征对应的头部与终端设备之间的第一距离小于第一距离阈值时,确定预定目标包括头部。当第一目标特征为脸部特征时,可以根据屏幕中的光线信息获取屏幕中的遮挡区域,并确定遮挡区域的区域面积和区域位置。若区域面积小于第二面积阈值,且区域位置分布满足第一预设条件,则确定预设目标包括手部。若区域面积大于或等于第二面积阈值,或区域位置分布不满足第一预设条件,且第二目标特征为身体特征,则确定预定目标包括身体。当第一目标特征为环境特征,第二目标特征为身体特征,且第二目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,或者当第一目标特征为身体特征,且第一目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,则确定预定目标包括身体。当第一目标特征和第二目标特征均为环境特征时,则确定预定目标包括手部。Specifically, the first target feature in the first image and the second target feature in the second image can be identified. When the first target feature is a head feature, and the first distance between the head corresponding to the first target feature and the terminal device is less than the first distance threshold, it is determined that the predetermined target includes a head. When the first target feature is a facial feature, the occlusion area in the screen can be obtained according to the light information on the screen, and the area area and the location of the occlusion area can be determined. If the area of the area is less than the second area threshold and the area location distribution satisfies the first preset condition, it is determined that the preset target includes a hand. If the area of the area is greater than or equal to the second area threshold, or the location distribution of the area does not satisfy the first preset condition, and the second target feature is a physical feature, it is determined that the predetermined target includes a body. When the first target feature is an environmental feature, the second target feature is a physical feature, and the first distance between the body corresponding to the second target feature and the terminal device is less than the first distance threshold, or when the first target feature is a physical feature , And when the first distance between the body corresponding to the first target feature and the terminal device is less than the first distance threshold, it is determined that the predetermined target includes a body. When the first target feature and the second target feature are both environmental features, it is determined that the predetermined target includes a hand.
在第一方面的另一种可能的实现方式中,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述根据所述图像确定预定目标可以包括:In another possible implementation manner of the first aspect, the image includes a first image collected by a front camera and a second image collected by a rear camera, and the determining a predetermined target based on the image may include:
识别所述第一图像中的第一目标特征和所述第二图像中的第二目标特征;Identifying a first target feature in the first image and a second target feature in the second image;
获取所述终端设备中各天线的阻抗变化值;Acquiring the impedance change value of each antenna in the terminal device;
根据所述第一目标特征、所述第二目标特征和各所述阻抗变化值确定所述预定目标。The predetermined target is determined according to the first target characteristic, the second target characteristic, and each of the impedance change values.
在该实现方式中,可以获取摄像头采集的图像和终端设备中各天线的阻抗变化值,并可以根据图像和阻抗变化值来进行预定目标的确定,以提高预定目标确定的准确性。In this implementation manner, the image collected by the camera and the impedance change value of each antenna in the terminal device can be obtained, and the predetermined target can be determined according to the image and the impedance change value, so as to improve the accuracy of the predetermined target determination.
应理解,当终端设备处于手持读屏状态时,用户的手部一般会接触终端设备的部分区域,从而使得该部分区域对应的天线的阻抗会发生较大变化。因此,终端设备可以根据各天线的阻抗变化值来确定手部持握终端设备的区域,以确定终端设备是否处于手持读屏状态。It should be understood that when the terminal device is in a handheld screen-reading state, the user's hand generally touches a part of the terminal device, so that the impedance of the antenna corresponding to this part of the area will change greatly. Therefore, the terminal device can determine the area where the hand holds the terminal device according to the impedance change value of each antenna, so as to determine whether the terminal device is in a handheld screen reading state.
具体地,可以识别第一图像中的第一目标特征和第二图像中的第二目标特征。当第一目标特征为头部特征,且第一目标特征对应的头部与所述终端设备之间的第一距离小于第一距离阈值时,确定预定目标包括头部。当第一目标特征为脸部特征时,根据终端设备中各天线的阻抗变化值确定目标天线,目标天线为阻抗变化值大于预设变化阈值的天线。若目标天线的位置分布满足第二预设条件,则确定预设目标包括手部。若目标天线的位置分布不满足第二预设条件,且第二目标特征为身体特征,则确定预定目标包括身体。当第一目标特征为环境特征,第二目标特征为身体特征,且第二目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,或者当第一目标特征为身体特征,且第一目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,则确定预定目标包括身体。当第一目标特征和第二目标特征均为环境特征时,则确定预定目标包括手部。Specifically, the first target feature in the first image and the second target feature in the second image can be identified. When the first target feature is a head feature, and the first distance between the head corresponding to the first target feature and the terminal device is less than the first distance threshold, it is determined that the predetermined target includes a head. When the first target feature is a facial feature, the target antenna is determined according to the impedance change value of each antenna in the terminal device, and the target antenna is an antenna whose impedance change value is greater than a preset change threshold. If the position distribution of the target antenna satisfies the second preset condition, it is determined that the preset target includes a hand. If the location distribution of the target antenna does not satisfy the second preset condition, and the second target feature is a physical feature, it is determined that the predetermined target includes a body. When the first target feature is an environmental feature, the second target feature is a physical feature, and the first distance between the body corresponding to the second target feature and the terminal device is less than the first distance threshold, or when the first target feature is a physical feature , And when the first distance between the body corresponding to the first target feature and the terminal device is less than the first distance threshold, it is determined that the predetermined target includes a body. When the first target feature and the second target feature are both environmental features, it is determined that the predetermined target includes a hand.
在一个示例中,本申请实施例也可以基于图像和电容变化/电阻变化来确定预定目标。示例性的,当第一目标特征为脸部特征时,终端设备可以获取屏幕中的电容变化/电阻变化的变化区域,并可以确定变化区域的区域位置。在区域位置分布满足第三预设条件时,可以确定预设目标包括手部。其中,第三预设条件可以与第一预设条件相同,即第三预设条件可以为手部持握终端设备时手指、手掌等部位触摸屏幕的位置分布。In an example, the embodiment of the present application may also determine the predetermined target based on the image and the capacitance change/resistance change. Exemplarily, when the first target feature is a facial feature, the terminal device can acquire the change area of the capacitance change/resistance change on the screen, and can determine the location of the change area. When the regional location distribution satisfies the third preset condition, it may be determined that the preset target includes a hand. The third preset condition may be the same as the first preset condition, that is, the third preset condition may be the position distribution of the fingers, palms and other parts of the touch screen when the terminal device is held by the hand.
在一个示例中,本申请实施例也可以结合屏幕中的光线信息、各天线的阻抗变化值和图像来确定预定目标。示例性的,在第一目标特征为脸部特征时,终端设备可以根据屏幕中的光线信息获取屏幕中的遮挡区域,并可以确定遮挡区域的区域面积和区域位置,同时可以根据终端设备中各天线的阻抗变化值确定目标天线,当区域面积小于第二面积阈值,且区域位置分布满足第一预设条件,同时目标天线的位置分布满足第二预设条件时,确定预设目标包括手部。In an example, the embodiment of the present application may also combine the light information on the screen, the impedance change value of each antenna, and the image to determine the predetermined target. Exemplarily, when the first target feature is a facial feature, the terminal device can obtain the occlusion area in the screen according to the light information on the screen, and can determine the area and location of the occlusion area. The impedance change value of the antenna determines the target antenna. When the area area is less than the second area threshold, and the area location distribution meets the first preset condition, and the target antenna location distribution meets the second preset condition, it is determined that the preset target includes the hand .
示例性的,所述确定与所述预定目标对应的待调节天线可以包括:Exemplarily, the determining the antenna to be adjusted corresponding to the predetermined target may include:
根据屏幕中的光线信息获取所述屏幕中的遮挡区域,并确定所述遮挡区域的区域面积和区域位置;Acquiring the shielding area in the screen according to the light information in the screen, and determining the area and location of the shielding area;
根据所述区域面积和所述区域位置确定与所述预定目标对应的待调节天线。The antenna to be adjusted corresponding to the predetermined target is determined according to the area of the area and the location of the area.
需要说明的是,当预定目标包括头部时,即当终端设备靠近头部使用时,头部会对屏幕内的部分光源发射的光线进行遮挡,遮挡后的光线则可反射至屏幕内。同样地,当预定目标包括手部时,即当用户手持终端设备时,用户的手部也会对屏幕中的部分区域进行遮挡,从而使得屏幕内的部分光源发射的光线经手部遮挡后反射至屏幕内。因此,在确定预定目标包括头部和/或手部后,终端设备可以根据屏幕中的光线信息来确定与预定目标对应的待调节天线。It should be noted that when the predetermined target includes the head, that is, when the terminal device is used close to the head, the head will block part of the light emitted by the light source in the screen, and the blocked light can be reflected into the screen. Similarly, when the predetermined target includes the hand, that is, when the user holds the terminal device, the user's hand will also block a part of the screen, so that the light emitted by part of the light source in the screen is blocked by the hand and reflected to Inside the screen. Therefore, after determining that the predetermined target includes the head and/or the hand, the terminal device can determine the antenna to be adjusted corresponding to the predetermined target according to the light information on the screen.
具体地,当所述预定目标为头部时,所述根据所述区域面积和所述区域位置确定与所述预定目标对应的待调节天线可以包括:Specifically, when the predetermined target is a head, the determining the antenna to be adjusted corresponding to the predetermined target according to the area area and the position of the area may include:
根据所述区域面积和所述区域位置获取第一目标遮挡区域,并将所述第一目标遮挡区域对应的第一目标天线确定为与所述头部对应的待调节天线,所述第一目标遮挡区域为区域面积大于第一面 积阈值,且区域位置为预设位置的遮挡区域。Obtain a first target occlusion area according to the area area and the location of the area, and determine the first target antenna corresponding to the first target occlusion area as the antenna to be adjusted corresponding to the head, and the first target The shielded area is a shielded area whose area is greater than the first area threshold and the location of the area is a preset position.
其中,第一面积阈值可通过对用户将终端设备靠近头部使用时,头部与终端设备贴近的区域面积进行分析确定。因在贴头通话时,头部一般是贴近终端设备的上侧,因此,预设位置可设置为屏幕中靠近终端设备上边缘或者靠近前置摄像头的位置。Wherein, the first area threshold may be determined by analyzing the area of the area where the head and the terminal device are close when the user uses the terminal device close to the head. Since the head is generally close to the upper side of the terminal device during a head-to-head call, the preset position can be set to a position close to the upper edge of the terminal device or close to the front camera on the screen.
具体地,当所述预定目标为手部时,所述根据所述区域面积和所述区域位置确定与所述预定目标对应的待调节天线可以包括:Specifically, when the predetermined target is a hand, the determining the antenna to be adjusted corresponding to the predetermined target according to the area area and the position of the area may include:
根据所述区域面积和所述区域位置确定第二目标遮挡区域,并将所述第二目标遮挡区域对应的第二目标天线确定为与所述手部对应的待调节天线,所述第二目标遮挡区域为区域面积小于第二面积阈值,且区域位置分布满足预设条件的遮挡区域。The second target shielding area is determined according to the area area and the position of the area, and the second target antenna corresponding to the second target shielding area is determined as the antenna to be adjusted corresponding to the hand, and the second target The shielded area is a shielded area where the area of the area is smaller than the second area threshold, and the area location distribution meets the preset condition.
其中,第二面积阈值可以通过对用户手持终端设备时,用户手部与屏幕所形成的接触面积或遮挡面积进行分析确定,第二面积阈值小于头部中的第一面积阈值。预设条件可以为手部持握终端设备时手指、手掌等部位在屏幕中的位置分布,例如可以为屏幕左侧边、右侧边和/或屏幕中间具有的单点或多点的位置分布等。Wherein, the second area threshold may be determined by analyzing the contact area or occlusion area formed by the user's hand and the screen when the user holds the terminal device, and the second area threshold is smaller than the first area threshold in the head. The preset condition can be the position distribution of fingers, palms and other parts on the screen when the terminal device is held by the hand. For example, it can be the position distribution of a single point or multiple points on the left side, right side of the screen, and/or in the middle of the screen. Wait.
示例性的,所述确定与所述预定目标对应的待调节天线可以包括:Exemplarily, the determining the antenna to be adjusted corresponding to the predetermined target may include:
根据所述终端设备中各天线的阻抗变化值确定第三目标天线,并获取所述第三目标天线的位置信息,所述第三目标天线为阻抗变化值大于预设变化阈值的天线;Determine a third target antenna according to the impedance change value of each antenna in the terminal device, and obtain position information of the third target antenna, where the third target antenna is an antenna with an impedance change value greater than a preset change threshold;
根据所述第三目标天线的位置信息确定与所述预定目标对应的待调节天线。The antenna to be adjusted corresponding to the predetermined target is determined according to the position information of the third target antenna.
需要说明的是,当有目标紧贴终端设备中的某一天线时,该天线的阻抗会发生较大变化。而在预定目标包括头部时,即在终端设备靠近头部使用时,头部一般会紧贴终端设备的上侧,使得头部所贴近的天线的阻抗会发生较大变化。同样地,在用户手持终端设备时,若手部持握的位置中包括天线,则该天线的阻抗也会发生较大变化。因此,在确定预定目标包括头部和/或手部时,终端设备还可以根据各天线的阻抗变化值来确定与预定目标对应的待调节天线。It should be noted that when a target is close to a certain antenna in the terminal device, the impedance of the antenna will change greatly. When the predetermined target includes the head, that is, when the terminal device is used close to the head, the head generally closes to the upper side of the terminal device, so that the impedance of the antenna close to the head changes greatly. Similarly, when the user holds the terminal device, if the position where the hand holds the antenna includes an antenna, the impedance of the antenna will also change significantly. Therefore, when it is determined that the predetermined target includes the head and/or the hand, the terminal device may also determine the antenna to be adjusted corresponding to the predetermined target according to the impedance change value of each antenna.
示例性的,在预定目标包括头部和/或手部时,终端设备也可以结合屏幕中的光线信息和天线的阻抗变化值来确定与预定目标对应的待调节天线。例如,在预定目标包括头部时,可以先根据屏幕中的光线信息和各天线的阻抗变化值分别确定出第一目标天线和第三目标天线,然后可以将第一目标天线和第三目标天线统一确定为与头部对应的待调节天线;或者可以将第一目标天线和第三目标天线中所重叠的天线确定为与头部对应的待调节天线。在预定目标包括头部时,也可以先根据屏幕中的光线信息确定第一目标遮挡区域,然后可以获取第一目标遮挡区域对应的第一目标天线的阻抗变化值,并可以将阻抗变化值大于预设变化阈值的第一目标天线确定为头部对应的待调节天线。Exemplarily, when the predetermined target includes the head and/or the hand, the terminal device may also combine the light information on the screen and the impedance change value of the antenna to determine the antenna to be adjusted corresponding to the predetermined target. For example, when the predetermined target includes the head, the first target antenna and the third target antenna can be determined according to the light information on the screen and the impedance change value of each antenna, and then the first target antenna and the third target antenna can be combined. Unifiedly determine the antenna to be adjusted corresponding to the head; or the overlapping antenna of the first target antenna and the third target antenna may be determined as the antenna to be adjusted corresponding to the head. When the predetermined target includes the head, the first target occlusion area can also be determined according to the light information on the screen, and then the impedance change value of the first target antenna corresponding to the first target occlusion area can be obtained, and the impedance change value can be greater than The first target antenna with the preset change threshold is determined as the antenna to be adjusted corresponding to the head.
应理解,当终端设备靠近头部时,还可以同时存在靠近手部的情况。因此,在根据第一图像确定预定目标包括头部时,可以在根据屏幕中的光线信息和/或天线的阻抗变化值确定头部与终端设备所靠近的区域时,根据屏幕中的光线信息和/或天线的阻抗变化值确定是否存在手部持握终端设备的情况,以及当存在手部持握终端设备的情况时,确定手部在终端设备中所持握的区域。因此,在预定目标包括头部和手部时,可以根据头部与终端设备靠近的区域确定与头部对应的第一待调节天线以及根据手部在终端设备中所持握的区域确定与手部对应的第二待调节天线,并可以根据头部SAR对第一待调节天线进行发射功率的调节,以使得靠近头部的第一待调节天线满足头部SAR指标,同时可以根据四肢SAR对第二待调节天线进行发射功率的调节,以使得靠近手部的第二待调节天线满足四肢SAR指标。It should be understood that when the terminal device is close to the head, it may also be close to the hand at the same time. Therefore, when it is determined that the predetermined target includes the head according to the first image, the area between the head and the terminal device can be determined according to the light information on the screen and/or the impedance change value of the antenna. /Or the impedance change value of the antenna determines whether there is a situation where the hand is holding the terminal device, and when there is a situation where the hand is holding the terminal device, the area where the hand is held in the terminal device is determined. Therefore, when the predetermined target includes the head and the hand, the first antenna to be adjusted corresponding to the head can be determined according to the area close to the head and the terminal device, and the first antenna to be adjusted can be determined according to the area held by the hand in the terminal device. The corresponding second antenna to be adjusted can adjust the transmit power of the first antenna to be adjusted according to the SAR of the head, so that the first antenna to be adjusted close to the head meets the head SAR index, and at the same time, the first antenna to be adjusted can be adjusted according to the SAR of the extremities. The second antenna to be adjusted adjusts the transmission power, so that the second antenna to be adjusted close to the hand meets the SAR index of the limbs.
示例性的,当终端设备的屏幕为电容屏或电阻屏时,若有目标与屏幕中的某一区域接触,该区 域即会产生电容变化或产生电阻变化。而在预定目标包括头部或手部时,即在终端设备靠近头部或靠近手部使用时,头部或手部一般会与屏幕中的部分区域接触,从而使得该区域产生电容变化或产生电阻变化。因此,终端设备还可以根据屏幕的电容变化以及变化区域或屏幕的电阻变化以及变化区域来确定与头部或与手部对应的待调节天线。Exemplarily, when the screen of the terminal device is a capacitive screen or a resistive screen, if a target contacts a certain area of the screen, the area will have a capacitance change or a resistance change. When the predetermined target includes the head or the hand, that is, when the terminal device is used close to the head or close to the hand, the head or the hand will generally contact a part of the screen area, which causes the capacitance change or generation of this area. Resistance changes. Therefore, the terminal device can also determine the antenna to be adjusted corresponding to the head or the hand according to the capacitance change and the change area of the screen or the resistance change and the change area of the screen.
在第一方面的一种可能的实现方式中,在根据所述预定目标对应的回退参数降低所述待调节天线的发射功率之后可以包括:In a possible implementation manner of the first aspect, after reducing the transmit power of the antenna to be adjusted according to the backoff parameter corresponding to the predetermined target, the method may include:
获取所述终端设备中各天线的发射功率,并根据所述发射功率切换所述终端设备的发射天线。Acquire the transmit power of each antenna in the terminal device, and switch the transmit antenna of the terminal device according to the transmit power.
应理解,在对待调节天线的发射功率进行降低之后,可以获取终端设备中各天线当前的发射功率,并可以根据各天线当前的发射功率对终端设备的发射天线进行切换,以将终端设备的发射天线切换至发射功率较高的天线,从而提高终端设备的通信性能,以提升用户的通讯体验。It should be understood that after the transmit power of the antenna to be adjusted is reduced, the current transmit power of each antenna in the terminal device can be obtained, and the transmit antenna of the terminal device can be switched according to the current transmit power of each antenna, so as to change the transmit power of the terminal device. The antenna is switched to an antenna with a higher transmitting power, thereby improving the communication performance of the terminal device and enhancing the user's communication experience.
在第一方面的另一种可能的实现方式中,在根据所述预定目标对应的回退参数降低所述待调节天线的发射功率之后可以包括:In another possible implementation manner of the first aspect, after reducing the transmit power of the antenna to be adjusted according to the backoff parameter corresponding to the predetermined target, the method may include:
获取所述终端设备中各天线与所述预定目标之间的第二距离,并根据所述第二距离切换所述终端设备的发射天线。Acquire a second distance between each antenna in the terminal device and the predetermined target, and switch the transmitting antenna of the terminal device according to the second distance.
应理解,在对待调节天线的发射功率进行降低之后,为进一步降低天线产生的电磁辐射对用户的影响,可以获取终端设备中各天线与预定目标之间的第二距离,并可以根据第二距离对终端设备的发射天线进行切换,以将终端设备的发射天线切换至距离预定目标较远的天线。例如,在头部靠近终端设备时,可以将发射天线由位于终端设备上侧靠近头部的天线切换至终端设备下侧远离头部的天线,或者切换至终端设备背部的天线。在手部持握终端设备时,可以将发射天线由被手部持握的天线切换至没有被手部持握的天线。It should be understood that after the transmit power of the antenna to be adjusted is reduced, in order to further reduce the influence of the electromagnetic radiation generated by the antenna on the user, the second distance between each antenna in the terminal device and the predetermined target can be obtained, and the second distance can be obtained according to the second distance. Switch the transmitting antenna of the terminal device to switch the transmitting antenna of the terminal device to an antenna farther from the predetermined target. For example, when the head is close to the terminal device, the transmitting antenna can be switched from the antenna on the upper side of the terminal device close to the head to the antenna on the lower side of the terminal device away from the head, or switch to the antenna on the back of the terminal device. When the terminal device is held by the hand, the transmitting antenna can be switched from the antenna held by the hand to the antenna not held by the hand.
第二方面,本申请实施例提供了一种天线功率调节装置,应用于终端设备,所述装置可以包括:In the second aspect, an embodiment of the present application provides an antenna power adjustment device, which is applied to a terminal device, and the device may include:
预定目标确定模块,用于获取所述终端设备中摄像头采集的图像,并根据所述图像确定预定目标,其中,所述预定目标包括头部、身体和手部中的至少一种,所述预定目标与所述终端设备之间的第一距离小于第一距离阈值;The predetermined target determination module is used to acquire the image collected by the camera in the terminal device, and determine a predetermined target according to the image, wherein the predetermined target includes at least one of a head, a body, and a hand, and the predetermined The first distance between the target and the terminal device is less than a first distance threshold;
天线功率调节模块,用于确定与所述预定目标对应的待调节天线,并根据所述预定目标对应的回退参数降低所述待调节天线的发射功率。The antenna power adjustment module is configured to determine the antenna to be adjusted corresponding to the predetermined target, and reduce the transmit power of the antenna to be adjusted according to the backoff parameter corresponding to the predetermined target.
示例性的,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述预定目标确定模块可以包括:Exemplarily, the image includes a first image collected by a front camera and a second image collected by a rear camera, and the predetermined target determination module may include:
第一目标确定单元,用于识别所述第一图像中的第一目标特征和第二图像中的第二目标特征,并根据所述第一目标特征和所述第二目标特征确定所述预定目标。The first target determining unit is configured to identify the first target feature in the first image and the second target feature in the second image, and determine the predetermined according to the first target feature and the second target feature Target.
在第二方面的一种可能的实现方式中,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述预定目标确定模块可以包括:In a possible implementation of the second aspect, the image includes a first image collected by a front camera and a second image collected by a rear camera, and the predetermined target determination module may include:
第一特征识别单元,用于识别所述第一图像中的第一目标特征和所述第二图像中的第二目标特征;A first feature recognition unit, configured to recognize a first target feature in the first image and a second target feature in the second image;
光线信息获取单元,用于获取屏幕中的光线信息;The light information acquiring unit is used to acquire the light information on the screen;
第二目标确定单元,用于根据所述第一目标特征、所述第二目标特征和所述光线信息确定所述预定目标。The second target determining unit is configured to determine the predetermined target according to the first target feature, the second target feature, and the light information.
在第二方面的一种可能的实现方式中,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述预定目标确定模块可以包括:In a possible implementation of the second aspect, the image includes a first image collected by a front camera and a second image collected by a rear camera, and the predetermined target determination module may include:
第二特征识别单元,用于识别所述第一图像中的第一目标特征和所述第二图像中的第二目标特征;A second feature recognition unit, configured to recognize a first target feature in the first image and a second target feature in the second image;
阻抗变化获取单元,用于获取所述终端设备中各天线的阻抗变化值;An impedance change acquiring unit, configured to acquire the impedance change value of each antenna in the terminal device;
第三目标确定单元,用于根据所述第一目标特征、所述第二目标特征和各所述阻抗变化值确定所述预定目标。The third target determination unit is configured to determine the predetermined target according to the first target feature, the second target feature, and each of the impedance change values.
示例性的,所述天线功率调节模块可以包括:Exemplarily, the antenna power adjustment module may include:
遮挡区域获取单元,用于根据屏幕中的光线信息获取所述屏幕中的遮挡区域,并确定所述遮挡区域的区域面积和区域位置;A shielding area acquiring unit, configured to acquire the shielding area in the screen according to the light information in the screen, and determine the area area and the area position of the shielding area;
第一天线确定单元,用于根据所述区域面积和所述区域位置确定与所述预定目标对应的待调节天线。The first antenna determining unit is configured to determine the antenna to be adjusted corresponding to the predetermined target according to the area of the area and the location of the area.
具体地,当所述预定目标为头部时,所述第一天线确定单元,用于根据所述区域面积和所述区域位置获取第一目标遮挡区域,并将所述第一目标遮挡区域对应的第一目标天线确定为与所述头部对应的待调节天线,所述第一目标遮挡区域为区域面积大于第一面积阈值,且区域位置为预设位置的遮挡区域。Specifically, when the predetermined target is the head, the first antenna determining unit is configured to obtain a first target occlusion area according to the area area and the location of the area, and correspond to the first target occlusion area The first target antenna of is determined as the antenna to be adjusted corresponding to the head, and the first target occlusion area is a occlusion area whose area is greater than a first area threshold, and the location of the area is a preset position.
具体地,当所述预定目标为手部时,所述第一天线确定单元,用于根据所述区域面积和所述区域位置确定第二目标遮挡区域,并将所述第二目标遮挡区域对应的第二目标天线确定为与所述手部对应的待调节天线,所述第二目标遮挡区域为区域面积小于第二面积阈值,且区域位置分布满足预设条件的遮挡区域。Specifically, when the predetermined target is a hand, the first antenna determining unit is configured to determine a second target occlusion area according to the area area and the location of the area, and correspond to the second target occlusion area The second target antenna of is determined to be the antenna to be adjusted corresponding to the hand, and the second target shielding area is a shielding area whose area is smaller than a second area threshold, and the area location distribution meets a preset condition.
示例性的,所述天线功率调节模块可以包括:Exemplarily, the antenna power adjustment module may include:
位置信息获取单元,用于根据所述终端设备中各天线的阻抗变化值确定第三目标天线,并获取所述第三目标天线的位置信息,所述第三目标天线为阻抗变化值大于预设变化阈值的天线;The position information acquiring unit is configured to determine a third target antenna according to the impedance change value of each antenna in the terminal device, and acquire position information of the third target antenna, where the impedance change value of the third target antenna is greater than a preset value Antennas with varying thresholds;
第二天线确定单元,用于根据所述第三目标天线的位置信息确定与所述预定目标对应的待调节天线。The second antenna determining unit is configured to determine the antenna to be adjusted corresponding to the predetermined target according to the position information of the third target antenna.
在第二方面的一种可能的实现方式中,所述装置还可以包括:In a possible implementation manner of the second aspect, the apparatus may further include:
第一天线切换模块,用于获取所述终端设备中各天线的发射功率,并根据所述发射功率切换所述终端设备的发射天线。The first antenna switching module is used to obtain the transmit power of each antenna in the terminal device, and switch the transmit antenna of the terminal device according to the transmit power.
在第二方面的另一种可能的实现方式中,所述装置还可以包括:In another possible implementation manner of the second aspect, the apparatus may further include:
第二天线切换模块,用于获取所述终端设备中各天线与所述预定目标之间的第二距离,并根据所述第二距离切换所述终端设备的发射天线。The second antenna switching module is configured to obtain a second distance between each antenna in the terminal device and the predetermined target, and switch the transmitting antenna of the terminal device according to the second distance.
第三方面,本申请实施例提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如前述第一方面中任一项所述的天线功率调节方法。In the third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, The antenna power adjustment method according to any one of the foregoing first aspects is implemented.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如前述第一方面中任一项所述的天线功率调节方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the implementation is as described in any one of the foregoing first aspect. The antenna power adjustment method described.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面中任一项所述的天线功率调节方法。In a fifth aspect, the embodiments of the present application provide a computer program product, which when the computer program product runs on a terminal device, causes the terminal device to execute the antenna power adjustment method described in any one of the above-mentioned first aspects.
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It is understandable that, for the beneficial effects of the second aspect to the fifth aspect described above, reference may be made to the relevant description in the first aspect described above, and details are not repeated here.
本申请实施例与现有技术相比存在的有益效果是:Compared with the prior art, the embodiments of this application have the following beneficial effects:
本申请实施例中,可获取摄像头采集的图像,并进行图像分析,来确定靠近终端设备的预定目标是头部、身体还是手部,并确定与预定目标对应的、需要进行功率调节的待调节天线,从而可以根据预定目标对应的回退参数降低待调节天线的发射功率,其中,不同预定目标对应的回退参数不同。即本申请实施例可以精确确定靠近终端设备的预定目标的类型,并可以准确确定与预定目标对应的待调节天线,从而可以根据预定目标的不同基于不同的回退参数来降低待调节天线的发射功率,以在确保终端设备满足SAR指标的基础上,提高终端设备的通信性能,提升用户的通讯体验。In the embodiment of the application, the image collected by the camera can be acquired and image analysis can be performed to determine whether the predetermined target close to the terminal device is the head, body or hand, and to determine the power adjustment to be adjusted corresponding to the predetermined target The antenna can thereby reduce the transmit power of the antenna to be adjusted according to the back-off parameter corresponding to the predetermined target, wherein the back-off parameter corresponding to different predetermined targets is different. That is to say, the embodiment of the application can accurately determine the type of the predetermined target close to the terminal device, and can accurately determine the antenna to be adjusted corresponding to the predetermined target, so that the emission of the antenna to be adjusted can be reduced based on different fallback parameters according to the predetermined target. On the basis of ensuring that the terminal equipment meets the SAR index, it can improve the communication performance of the terminal equipment and enhance the user’s communication experience.
附图说明Description of the drawings
图1是终端设备中天线的分布示例图;Figure 1 is a diagram showing an example of the distribution of antennas in a terminal device;
图2是本申请实施例提供的一种天线功率调节方法的流程示意图;FIG. 2 is a schematic flowchart of an antenna power adjustment method provided by an embodiment of the present application;
图3是本申请实施例提供的终端设备靠近人体的示例图一;FIG. 3 is an example diagram 1 of a terminal device close to the human body according to an embodiment of the present application;
图4a是本申请实施例提供的终端设备靠近人体的示例图二;FIG. 4a is an example diagram 2 of a terminal device close to the human body according to an embodiment of the present application; FIG.
图4b是本申请实施例提供的终端设备靠近人体的示例图三;FIG. 4b is an example diagram 3 of the terminal device close to the human body according to an embodiment of the present application;
图4c是本申请实施例提供的终端设备靠近人体的示例图四;FIG. 4c is an example of FIG. 4 of the terminal device close to the human body according to an embodiment of the present application; FIG.
图5是本申请实施例提供的终端设备的硬件结构图;FIG. 5 is a hardware structure diagram of a terminal device provided by an embodiment of the present application;
图6是本申请另一实施例提供的一种天线功率调节方法的流程示意图;FIG. 6 is a schematic flowchart of an antenna power adjustment method provided by another embodiment of the present application;
图7是本申请另一实施例提供的一种天线功率调节方法的流程示意图;FIG. 7 is a schematic flowchart of an antenna power adjustment method provided by another embodiment of the present application;
图8是本申请实施例提供的一种天线功率调节装置的结构示意图;FIG. 8 is a schematic structural diagram of an antenna power adjustment device provided by an embodiment of the present application;
图9是本申请实施例提供的天线功率调节方法所适用于的终端设备的结构示意图;FIG. 9 is a schematic structural diagram of a terminal device to which the antenna power adjustment method provided by an embodiment of the present application is applicable;
图10是本申请实施例提供的天线功率调节方法所适用于的终端设备的软件架构示意图。FIG. 10 is a schematic diagram of a software architecture of a terminal device to which the antenna power adjustment method provided by an embodiment of the present application is applicable.
具体实施方式Detailed ways
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in the specification and appended claims of this application, the term "comprising" indicates the existence of the described features, wholes, steps, operations, elements and/or components, but does not exclude one or more other The existence or addition of features, wholes, steps, operations, elements, components, and/or collections thereof.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the specification and appended claims of this application refers to any combination of one or more of the items listed in the associated and all possible combinations, and includes these combinations.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in the description of this application and the appended claims, the term "if" can be construed as "when" or "once" or "in response to determination" or "in response to detecting ". Similarly, the phrase "if determined" or "if detected [described condition or event]" can be interpreted as meaning "once determined" or "in response to determination" or "once detected [described condition or event]" depending on the context ]" or "in response to detection of [condition or event described]".
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the specification of this application and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。The reference to "one embodiment" or "some embodiments" described in the specification of this application means that one or more embodiments of this application include a specific feature, structure, or characteristic described in combination with the embodiment. Therefore, the sentences "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless it is specifically emphasized otherwise. The terms "including", "including", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
本申请实施例提供的天线功率调节方法可以应用于手机、平板电脑、可穿戴设备、车载设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理 (personal digital assistant,PDA)等终端设备,本申请实施例对终端设备的具体类型不作任何限制。The antenna power adjustment method provided by the embodiments of this application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, notebook computers, ultra-mobile personal computers (UMPC), netbooks, and personal digital assistants (personal digital assistants). Assistant, PDA) and other terminal devices, the embodiment of this application does not impose any restrictions on the specific types of terminal devices.
如图1所示,终端设备为满足不同频段/制式的无线通信标准需求,一般会在机身的多个位置设置不同的天线101。在终端设备的使用过程中,这些天线会产生电磁辐射,而当人体距离终端设备较近时,所产生的电磁辐射会影响人体健康。因此,在终端设备的使用过程中,当人体靠近终端设备时,一般会降低终端设备中天线的发射功率,从而降低SAR,以满足SAR指标,减少电磁辐射对人体健康的影响。As shown in FIG. 1, in order to meet the wireless communication standard requirements of different frequency bands/standards, the terminal device generally installs different antennas 101 at multiple positions of the fuselage. During the use of terminal equipment, these antennas will generate electromagnetic radiation, and when the human body is close to the terminal equipment, the generated electromagnetic radiation will affect human health. Therefore, during the use of terminal equipment, when the human body approaches the terminal equipment, the transmitting power of the antenna in the terminal equipment is generally reduced, thereby reducing the SAR to meet the SAR index and reducing the impact of electromagnetic radiation on human health.
现有技术中,一般通过终端设备中的接近式电容传感器或接近式光学传感器来判断人体是否靠近终端设备,当人体靠近终端设备时,则基于统一标准(即统一的SAR指标)降低终端设备中所有天线的发射功率。但终端设备中不同位置的天线与人体之间的距离不相同,即不同位置的天线所产生的SAR并不相同,例如,在终端设备贴近头部使用(如使用听筒通话)时,终端设备顶部的天线靠近头部,对头部所产生的SAR一般较大,而终端设备底部的天线远离头部,对头部所产生的SAR较小,无差别地对顶部天线和底部天线的发射功率进行统一的降低,会导致终端设备的通信性能下降,影响用户的通讯体验。In the prior art, the proximity capacitive sensor or proximity optical sensor in the terminal device is generally used to determine whether the human body is close to the terminal device. Transmit power of all antennas. However, the distance between the antennas in different positions in the terminal equipment and the human body is not the same, that is, the SAR generated by the antennas in different positions is not the same. The antenna is close to the head, and the SAR generated to the head is generally large, while the antenna at the bottom of the terminal device is far away from the head, and the SAR generated to the head is small. The uniform reduction will cause the communication performance of the terminal equipment to decline, and affect the user's communication experience.
另外,目前针对靠近终端设备的人体部位的不同,对终端设备所产生的SAR也具有不同的SAR指标,例如,可以具有头部靠近终端设备时的头部SAR指标、人体躯干靠近终端设备时的身体SAR指标以及四肢靠近终端设备(如手持终端设备)时的四肢SAR指标,头部SAR指标、身体SAR指标和四肢SAR指标并不相同,其中,四肢SAR指标可高于头部SAR指标和身体SAR指标。现有技术中,在人体靠近终端设备时,基于统一指标降低所有天线的发射功率,会使得终端设备无法满足对应的SAR指标,例如在无论是头部、身体还是手部靠近终端设备时,都基于四肢SAR指标来统一降低所有天线的发射功率,会使得在头部靠近终端设备时,终端设备无法满足头部SAR指标;或者使得终端设备中天线的发射功率降低过多,导致终端设备的通信性能下降,影响用户的通讯体验,例如在无论是头部、身体还是手部靠近终端设备时,都基于头部SAR指标来统一降低所有天线的发射功率,会使得在手部靠近终端设备时,天线的发射功率降低过多,导致终端设备的通信性能下降,从而容易出现掉网、掉话等问题。In addition, at present, the SAR generated by the terminal device also has different SAR indicators for the different parts of the human body close to the terminal device. Body SAR indicators and limb SAR indicators when the limbs are close to terminal devices (such as handheld terminal devices). Head SAR indicators, body SAR indicators, and limb SAR indicators are different. Among them, limb SAR indicators can be higher than head SAR indicators and body SAR indicators. SAR indicator. In the prior art, when the human body is close to the terminal device, reducing the transmit power of all antennas based on a unified index will make the terminal device unable to meet the corresponding SAR index. For example, when the head, body, or hands are close to the terminal device, Reduce the transmit power of all antennas uniformly based on the SAR index of the limbs, which will make the terminal device unable to meet the head SAR index when the head is close to the terminal device; or reduce the transmit power of the antenna in the terminal device too much, resulting in the communication of the terminal device Performance degradation affects the user’s communication experience. For example, when the head, body, or hands are close to the terminal device, the transmission power of all antennas is uniformly reduced based on the head SAR index, which will make the hand close to the terminal device. The transmission power of the antenna is reduced too much, which leads to a decrease in the communication performance of the terminal device, which is prone to problems such as network drop and call drop.
为了解决上述问题,本申请实施例提供了一种天线功率调节方法、终端设备及计算机可读存储介质,可以在终端设备的使用过程中,通过摄像头采集图像,然后进行图像分析,来确定靠近终端设备的预定目标是头部、身体还是手部,并确定与预定目标对应的、需要进行功率调节的待调节天线,从而可以根据预定目标对应的回退参数降低待调节天线的发射功率,其中,不同预定目标对应的回退参数不同。即本申请实施例可以精确确定靠近终端设备的预定目标的类型,并可以准确确定与预定目标对应的待调节天线,从而可以根据预定目标的不同基于不同的回退参数来降低待调节天线的发射功率,以在确保终端设备满足SAR指标的基础上,提高终端设备的通信性能,提升用户的通讯体验。In order to solve the above problems, the embodiments of the present application provide an antenna power adjustment method, a terminal device, and a computer-readable storage medium. During the use of the terminal device, an image can be collected through a camera, and then image analysis is performed to determine the proximity to the terminal. The predetermined target of the device is the head, body, or hand, and the antenna to be adjusted corresponding to the predetermined target that needs power adjustment is determined, so that the transmit power of the antenna to be adjusted can be reduced according to the fallback parameter corresponding to the predetermined target, where: The fallback parameters corresponding to different predetermined targets are different. That is, the embodiment of the application can accurately determine the type of the predetermined target close to the terminal device, and can accurately determine the antenna to be adjusted corresponding to the predetermined target, so that the emission of the antenna to be adjusted can be reduced based on different fallback parameters according to the predetermined target. On the basis of ensuring that the terminal equipment meets the SAR index, it can improve the communication performance of the terminal equipment and enhance the user’s communication experience.
【实施例一】[Embodiment One]
请参阅图2,图2为本实施例提供的天线功率调节方法的示意性流程图,该方法可以应用于终端设备,终端设备可以包括摄像头和处理器,处理器可以包括神经网络处理器(neutral network processing unit,NPU)和应用处理器(application processor,AP)等。如图2所示,该方法可以包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of the antenna power adjustment method provided by this embodiment. The method may be applied to a terminal device. The terminal device may include a camera and a processor, and the processor may include a neural network processor (neutral network processor). network processing unit (NPU) and application processor (AP), etc. As shown in Figure 2, the method may include:
S201、获取终端设备中摄像头采集的图像,并根据图像确定预定目标,其中,预定目标包括头部、身体和手部中的至少一种,预定目标与终端设备之间的第一距离小于第一距离阈值。S201. Acquire an image collected by a camera in a terminal device, and determine a predetermined target according to the image, where the predetermined target includes at least one of a head, a body, and a hand, and the first distance between the predetermined target and the terminal device is less than the first distance between the predetermined target and the terminal device. Distance threshold.
具体地,终端设备可以包括前置摄像头和后置摄像头。在终端设备的使用过程中,前置摄像头可以进行第一图像的采集,并可以将所采集的第一图像发送至终端设备的处理器,例如NPU,后置摄像头可以进行第二图像的采集,并可以将所采集的第二图像发送至终端设备的处理器,例如NPU。NPU可以对第一图像和/或第二图像进行图像识别与分析等,确定第一图像和/或第二图像中是否存在头部、身体、手部等目标,然后再根据目标与终端设备之间的第一距离是否小于第一距离阈值来确定该目标是否靠近终端设备,并可以将靠近终端设备的目标确定为预定目标。其中,第一距离阈值可以根据实际情况确定。Specifically, the terminal device may include a front camera and a rear camera. During the use of the terminal device, the front camera can collect the first image, and can send the collected first image to the processor of the terminal device, such as the NPU, and the rear camera can collect the second image. And can send the collected second image to the processor of the terminal device, such as the NPU. The NPU can perform image recognition and analysis on the first image and/or the second image, and determine whether there are targets such as head, body, and hands in the first image and/or the second image, and then based on the relationship between the target and the terminal device. Whether the first distance between the two is smaller than the first distance threshold is used to determine whether the target is close to the terminal device, and the target close to the terminal device may be determined as a predetermined target. Among them, the first distance threshold can be determined according to actual conditions.
在此,可根据目标在第一图像/第二图像中占据的图像面积来确定目标与终端设备之间的第一距离。应理解,当目标在图像中占据的图像面积越大时,目标与终端设备之间的第一距离越小,目标距离终端设备越近;当目标在图像中占据的图像面积越小时,目标与终端设备之间的第一距离越大,目标距离终端设备越远。具体地,可以预先通过测试得到目标在图像中占据的图像面积与第一距离之间的对应关系。因此,在确定第一图像/第二图像中存在目标时,可以检测目标在第一图像/第二图像中的图像面积,并可以根据图像面积和该对应关系确定目标与终端设备之间的第一距离,以根据第一距离是否小于第一距离阈值来确定该目标是否为靠近终端设备的预定目标。Here, the first distance between the target and the terminal device can be determined according to the image area occupied by the target in the first image/second image. It should be understood that when the image area occupied by the target in the image is larger, the first distance between the target and the terminal device is smaller, and the target is closer to the terminal device; when the image area occupied by the target in the image is smaller, the target and The greater the first distance between terminal devices, the farther the target is from the terminal device. Specifically, the correspondence between the image area occupied by the target in the image and the first distance can be obtained through a test in advance. Therefore, when it is determined that there is a target in the first image/second image, the image area of the target in the first image/second image can be detected, and the first image between the target and the terminal device can be determined according to the image area and the corresponding relationship. A distance to determine whether the target is a predetermined target close to the terminal device according to whether the first distance is less than the first distance threshold.
应理解,终端设备的使用状态可以包括贴头通话状态、手持状态和放置状态,手持状态可以包括手持读屏状态和手持非读屏状态,放置状态可以包括放置于身体上的读屏状态和放置于身体上的非读屏状态,以及放置于物体上的读屏状态和放置于物体上的非读屏状态。在贴头通话状态中,例如听筒通话中,靠近终端设备的预定目标可以包括用户的头部;在手持状态中,靠近终端设备的预定目标可以包括用户的手部;在放置于身体上的读屏状态和非读屏状态中,靠近终端设备的预定目标可以包括用户的身体。It should be understood that the state of use of the terminal device may include a post-it talk state, a handheld state, and a placement state. The handheld state may include a handheld screen-reading state and a handheld non-screen-reading state. The placement state may include the screen-reading state and placement on the body. The non-screen-reading state on the body, the screen-reading state placed on the object, and the non-screen-reading state placed on the object. In the post-talk state, for example, in a handset call, the predetermined target near the terminal device may include the user's head; in the hand-held state, the predetermined target near the terminal device may include the user's hand; In the screen state and the non-screen-reading state, the predetermined target close to the terminal device may include the user's body.
需要说明的是,当终端设备处于贴头通话状态(例如听筒通话状态)时,第一图像中可以包括用户局部的头部特征(例如耳朵特征);当终端设备处于手持读屏状态时,第一图像中可以包括用户的脸部特征,第二图像中可以包括周围的环境特征;当终端设备处于手持非读屏状态时,第一图像和第二图像中均可以包括周围的环境特征;当终端设备处于放置于身体上的读屏状态时,第一图像中可以包括用户的脸部特征,第二图像中可以包括身体特征(例如肢体轮廓特征);当终端设备处于放置于身体上的非读屏状态时,第一图像中可以包括周围的环境特征,第二图像中可以包括身体特征(例如肢体轮廓特征),或者第二图像中可以包括周围的环境特征,第一图像中可以包括身体特征(例如肢体轮廓特征);当终端设备处于放置于物体上的读屏状态时,第一图像中可以包括用户的脸部特征,第二图像中可以包括物体形状特征和/或物体材质特征等;当终端设备处于放置于物体上的非读屏状态时,第一图像中可以包括周围的环境特征,第二图像中可以包括物体形状特征和/或物体材质特征等,或者第二图像中可以包括周围的环境特征,第一图像中可以包括物体形状特征和/或物体材质特征等。It should be noted that when the terminal device is in a stick-on-head talk state (for example, an earpiece talk state), the first image may include the user's partial head characteristics (for example, ear characteristics); when the terminal device is in a handheld screen-reading state, the first image One image may include the user's facial features, and the second image may include surrounding environmental characteristics; when the terminal device is in a handheld and non-reading state, both the first image and the second image may include surrounding environmental characteristics; When the terminal device is placed on the body and is in a screen-reading state, the first image may include the user's facial features, and the second image may include physical features (such as limb contour features); when the terminal device is placed on the body When reading the screen, the first image can include surrounding environment features, the second image can include physical features (such as limb contour features), or the second image can include surrounding environment features, and the first image can include the body Features (such as body contour features); when the terminal device is placed on an object and is in a screen-reading state, the first image may include the user's facial features, and the second image may include object shape features and/or object material features, etc. ; When the terminal device is placed on the object in a non-screen-reading state, the first image can include surrounding environmental features, the second image can include object shape features and/or object material features, or the second image can Including surrounding environment features, the first image may include object shape features and/or object material features, etc.
在进行预定目标的确定时,NPU可以识别第一图像中的第一目标特征,当第一目标特征为局部的头部特征时,可随即确定第一目标特征对应的头部与终端设备之间的第一距离,若第一距离小于第一距离阈值,则可以确定终端设备处于贴头通话状态,即确定靠近终端设备的预定目标包括头部。当第一目标特征为脸部特征时,可以表明用户当前正面对终端设备读屏,此时NPU可以进一步识别第二图像中的第二目标特征,当第二目标特征为环境特征时,则可以确定终端设备处于手持读屏状态,即确定靠近终端设备的预定目标包括手部;当第二目标特征为身体特征时,可随即确定第二目标特征对应的身体与终端设备之间的第一距离,若第一距离小于第一距离阈值,则可以确定终端设 备处于放置于身体上的读屏状态,即确定靠近终端设备的预定目标包括身体;当第二目标特征为物体形状特征或物体材质特征时,则可以确定终端设备处于放置于物体上的读屏状态,即确定没有靠近终端设备的预定目标。当第一目标特征为环境特征,且第二目标特征为身体特征,同时第二目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,或者当第一目标特征为身体特征,且第一目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,则可以确定终端设备处于放置于身体上的非读屏状态,即确定靠近终端设备的预定目标包括身体。当第一目标特征和第二目标特征均为环境特征时,则可以确定终端设备处于手持非读屏状态,即确定靠近终端设备的预定目标包括手部。当第一目标特征为环境特征,且第二目标特征为物体形状特征或物体材质特征时,或者当第二目标特征为环境特征,且第一目标特征为物体形状特征或物体材质特征时,则可以确定终端设备处于放置于物体上的非读屏状态,即确定没有靠近终端设备的预定目标。When determining the predetermined target, the NPU can identify the first target feature in the first image. When the first target feature is a local head feature, it can immediately determine the relationship between the head corresponding to the first target feature and the terminal device. If the first distance is less than the first distance threshold, it can be determined that the terminal device is in a head-to-head talk state, that is, it is determined that the predetermined target close to the terminal device includes the head. When the first target feature is a facial feature, it can indicate that the user is currently reading the screen of the terminal device. At this time, the NPU can further identify the second target feature in the second image. When the second target feature is an environmental feature, it can It is determined that the terminal device is in a handheld screen reading state, that is, it is determined that the predetermined target close to the terminal device includes a hand; when the second target feature is a physical feature, the first distance between the body corresponding to the second target feature and the terminal device can be determined immediately If the first distance is less than the first distance threshold, it can be determined that the terminal device is placed on the body to read the screen, that is, it is determined that the predetermined target close to the terminal device includes the body; when the second target feature is an object shape feature or an object material feature At the time, it can be determined that the terminal device is in a screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device. When the first target feature is an environmental feature, and the second target feature is a physical feature, and the first distance between the body corresponding to the second target feature and the terminal device is less than the first distance threshold, or when the first target feature is a body Feature, and the first distance between the body corresponding to the first target feature and the terminal device is less than the first distance threshold, it can be determined that the terminal device is placed on the body in a non-screen-reading state, that is, the predetermined target close to the terminal device is determined Including the body. When the first target feature and the second target feature are both environmental features, it can be determined that the terminal device is in a hand-held non-screen-reading state, that is, it is determined that the predetermined target close to the terminal device includes a hand. When the first target feature is an environmental feature and the second target feature is an object shape feature or an object material feature, or when the second target feature is an environmental feature, and the first target feature is an object shape feature or an object material feature, then It can be determined that the terminal device is in a non-screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device.
示例性的,为准确区分终端设备是处于手持读屏状态,还是非手持读屏状态,还可事先采集用户进行手持读屏和非手持读屏时的读屏距离,并可以根据读屏距离进行第二距离阈值的设置,使得NPU可以基于第二距离阈值和图像中的目标特征来进行手持读屏状态和非手持读屏状态的区分。其中,读屏距离是指用户的脸部与终端设备之间的距离。具体地,当第一目标特征为脸部特征时,NPU可确定第一目标特征对应的脸部与终端设备之间的距离。当第二目标特征为环境特征,且脸部与终端设备之间的距离小于或等于第二距离阈值时,则可以确定终端设备处于手持读屏状态,即确定靠近终端设备的预定目标包括手部;当第二目标特征为身体特征,且脸部与终端设备之间的距离大于第二距离阈值时,可随即确定第二目标特征对应的身体与终端设备之间的第一距离,若第一距离小于第一距离阈值,则可以确定终端设备处于放置于身体上的读屏状态,即确定靠近终端设备的预定目标包括身体。Exemplarily, in order to accurately distinguish whether the terminal device is in a handheld screen reading state or a non-handheld screen reading state, it is also possible to collect in advance the screen reading distance when the user performs hand-held screen reading and non-hand-held screen reading, and can proceed according to the screen reading distance. The setting of the second distance threshold allows the NPU to distinguish between the hand-held screen reading state and the non-hand-held screen reading state based on the second distance threshold and the target characteristics in the image. Among them, the screen reading distance refers to the distance between the user's face and the terminal device. Specifically, when the first target feature is a facial feature, the NPU may determine the distance between the face corresponding to the first target feature and the terminal device. When the second target feature is an environmental feature, and the distance between the face and the terminal device is less than or equal to the second distance threshold, it can be determined that the terminal device is in a handheld screen reading state, that is, it is determined that the predetermined target close to the terminal device includes the hand ; When the second target feature is a physical feature, and the distance between the face and the terminal device is greater than the second distance threshold, the first distance between the body and the terminal device corresponding to the second target feature can be determined immediately, if the first If the distance is less than the first distance threshold, it can be determined that the terminal device is in a screen-reading state placed on the body, that is, it is determined that the predetermined target close to the terminal device includes the body.
S202、确定与预定目标对应的待调节天线,并根据预定目标对应的回退参数降低待调节天线的发射功率。S202: Determine the antenna to be adjusted corresponding to the predetermined target, and reduce the transmit power of the antenna to be adjusted according to the backoff parameter corresponding to the predetermined target.
应理解,NPU确定靠近终端设备的预定目标后,可以将预定目标的信息发送至AP,AP则可以进一步确定与预定目标对应的待调节天线,并可以根据预定目标对应的回退参数降低待调节天线的发射功率。具体地,AP可以根据预定目标对应的回退参数和待调节天线的当前发射功率确定待调节天线的功率调节值,并可以将功率调节值发送至调制解调器Modem芯片,Modem芯片可以根据功率调节值来降低待调节天线的发射功率,以对待调节天线进行功率回退处理,从而满足对应的SAR指标。在此,预定目标对应的回退参数可以为天线的发射功率需要降低的功率值,或者可以为天线的发射功率所允许的上限值等。其中,预定目标对应的回退参数可以根据预定目标对应的SAR指标确定,例如可以根据头部SAR指标确定头部靠近终端设备时的回退参数,可以根据身体SAR指标确定身体靠近终端设备时的回退参数,可以根据四肢SAR确定手持终端设备时的回退参数。It should be understood that after the NPU determines the predetermined target close to the terminal device, it can send the information of the predetermined target to the AP, and the AP can further determine the antenna to be adjusted corresponding to the predetermined target, and can reduce the to-be-adjusted parameters according to the fallback parameter corresponding to the predetermined target. The transmit power of the antenna. Specifically, the AP can determine the power adjustment value of the antenna to be adjusted according to the fallback parameter corresponding to the predetermined target and the current transmit power of the antenna to be adjusted, and can send the power adjustment value to the modem chip, and the modem chip can determine the power adjustment value according to the power adjustment value. Reduce the transmit power of the antenna to be adjusted to perform power back-off processing on the antenna to be adjusted, so as to meet the corresponding SAR index. Here, the backoff parameter corresponding to the predetermined target may be a power value at which the transmit power of the antenna needs to be reduced, or may be an allowable upper limit of the transmit power of the antenna, or the like. Among them, the fallback parameter corresponding to the predetermined target can be determined according to the SAR indicator corresponding to the predetermined target. For example, the fallback parameter when the head is close to the terminal device can be determined according to the head SAR indicator, and the fallback parameter when the body is close to the terminal device can be determined according to the body SAR indicator. The fallback parameters can be determined according to the SAR of the limbs when holding the terminal device.
需要说明的是,本实施例中通过AP进行待调节天线和功率调节值的确定等仅作示意性解释,不应理解为对本实施例的限制,本实施例中当然也可以采用其他处理器来进行待调节天线和功率调节值的确定等,例如也可以采用协处理器(CoProcessor)来进行待调节天线和功率调节值的确定等。It should be noted that the determination of the antenna to be adjusted and the power adjustment value performed by the AP in this embodiment is only for schematic explanation, and should not be construed as a limitation of this embodiment. Of course, other processors can also be used in this embodiment. For the determination of the antenna to be adjusted and the power adjustment value, for example, a coprocessor (CoProcessor) may also be used to determine the antenna to be adjusted and the power adjustment value.
在一个示例中,如图3所示,当预定目标包括头部时,即当终端设备靠近头部使用时,头部会对屏幕内的部分光源发射的光线进行遮挡,遮挡后的光线则可反射至屏幕内。同样地,如图4a至图4c所示,当预定目标包括手部时,即当用户手持终端设备时,用户的手部也会对屏幕中的部分区域进行遮挡,从而使得屏幕内的部分光源发射的光线经手部遮挡后反射至屏幕内。因此,在确定预定目标包括头部和/或手部后,终端设备可以根据屏幕中的光线信息来确定与预定目标对应的待调节天 线。In an example, as shown in Figure 3, when the predetermined target includes the head, that is, when the terminal device is used close to the head, the head will block some of the light emitted by the light source in the screen, and the blocked light can be used. Reflected into the screen. Similarly, as shown in Figures 4a to 4c, when the predetermined target includes the hand, that is, when the user holds the terminal device, the user’s hand will also block some areas of the screen, so that part of the light source in the screen The emitted light is blocked by the hand and reflected into the screen. Therefore, after determining that the predetermined target includes the head and/or the hand, the terminal device can determine the antenna to be adjusted corresponding to the predetermined target according to the light information on the screen.
如图5所示,本实施例可以在终端设备的屏幕内设置光线传感器和屏幕驱动芯片。屏幕内的光源发射的光线经头部或手部遮挡后可以反射至光线传感器上,光线传感器可以将所获取的光线信息发送至屏幕驱动芯片,屏幕驱动芯片可以根据光线传感器发送的光线信息来确定屏幕中的遮挡区域,并可以将遮挡区域发送至AP。AP在确定预定目标包括头部或者确定预定目标包括手部时,可以根据遮挡区域来确定头部与终端设备所靠近的区域,或者手部与终端设备所靠近的区域。示例性的,可事先对终端设备的屏幕进行网格区域划分,并可以在各网格区域内设置对应的光线传感器来获取各网格区域内的光线信息,从而可快速确定屏幕中的遮挡区域。As shown in FIG. 5, in this embodiment, a light sensor and a screen driving chip can be arranged in the screen of the terminal device. The light emitted by the light source in the screen can be reflected to the light sensor after being blocked by the head or hand. The light sensor can send the acquired light information to the screen driver chip, and the screen driver chip can determine according to the light information sent by the light sensor The blocked area on the screen, and the blocked area can be sent to the AP. When the AP determines that the predetermined target includes the head or determines that the predetermined target includes the hand, it may determine the area close to the head and the terminal device, or the area close to the hand and the terminal device according to the occlusion area. Exemplarily, the screen of the terminal device can be divided into grid areas in advance, and corresponding light sensors can be set in each grid area to obtain light information in each grid area, so that the occlusion area in the screen can be quickly determined .
具体地,在确定预定目标包括头部以及根据光线传感器获取的光线信息确定出屏幕中的遮挡区域后,可随即确定遮挡区域的区域面积和区域位置,并可以根据区域面积和区域位置获取第一目标遮挡区域,第一目标遮挡区域可以为区域面积大于第一面积阈值,且区域位置为预设位置的遮挡区域。其中,第一面积阈值可通过对用户将终端设备靠近头部使用时,头部与终端设备贴近的区域面积进行分析确定。因在贴头通话时,例如听筒通话时,头部一般是贴近终端设备的上侧,因此,预设位置可设置为屏幕中靠近终端设备上边缘或者靠近前置摄像头的位置。在此,第一目标遮挡区域即为头部与终端设备所靠近的区域,即第一目标遮挡区域对应的第一目标天线即为与头部靠近的天线,因此,可以将第一目标遮挡区域对应的第一目标天线确定为与头部对应的待调节天线,并可以根据头部对应的回退参数对该待调节天线的发射功率进行调节,以使得该待调节天线的SAR满足头部SAR指标。Specifically, after the predetermined target is determined to include the head and the occlusion area in the screen is determined according to the light information obtained by the light sensor, the area area and location of the occlusion area can be determined immediately, and the first The target occluded area, the first target occluded area may be an occluded area whose area is greater than the first area threshold and the location of the area is a preset position. Wherein, the first area threshold may be determined by analyzing the area of the area where the head and the terminal device are close when the user uses the terminal device close to the head. Since the head is generally close to the upper side of the terminal device during a head-to-head call, such as a handset call, the preset position can be set to a position close to the upper edge of the terminal device or close to the front camera on the screen. Here, the first target shielding area is the area where the head is close to the terminal device, that is, the first target antenna corresponding to the first target shielding area is the antenna close to the head. Therefore, the first target shielding area can be The corresponding first target antenna is determined as the antenna to be adjusted corresponding to the head, and the transmit power of the antenna to be adjusted can be adjusted according to the back-off parameters corresponding to the head, so that the SAR of the antenna to be adjusted meets the SAR of the head index.
具体地,由图4a至图4c可知,当用户手持终端设备时,手部会对屏幕侧边形成离散的多点遮挡,和/或会对屏幕中间形成离散的单点或多点遮挡。因此,在确定预定目标包括手部以及根据光线传感器获取的光线信息确定出屏幕中的遮挡区域后,可以进一步确定遮挡区域的区域面积和区域位置,并可以根据区域面积和区域位置确定第二目标遮挡区域。其中,第二目标遮挡区域可以为区域面积小于第二面积阈值,且区域位置分布满足预设条件的遮挡区域。预设条件可以为手部持握终端设备时手指、手掌等部位在屏幕中的位置分布,例如可以为屏幕左侧边、右侧边和/或屏幕中间具有的单点或多点的位置分布等。在此,第二目标遮挡区域即为手部与终端设备所靠近的区域,因此,可以将第二目标遮挡区域对应的第二目标天线确定为与手部对应的待调节天线,并可以根据手部对应的回退参数对该待调节天线的发射功率进行调节,以使得该待调节天线的SAR满足手部SAR指标。其中,第二面积阈值可以通过对用户手持终端设备时,用户手部与屏幕所形成的接触面积或遮挡面积进行分析确定,第二面积阈值小于头部中的第一面积阈值。Specifically, it can be seen from FIGS. 4a to 4c that when the user holds the terminal device, the hand forms discrete multi-point shielding on the sides of the screen, and/or discrete single-point or multi-point shielding on the middle of the screen. Therefore, after the predetermined target is determined to include the hand and the occlusion area in the screen is determined based on the light information obtained by the light sensor, the area and location of the occlusion area can be further determined, and the second target can be determined according to the area and location Block the area. Wherein, the second target shielding area may be a shielding area whose area is smaller than the second area threshold and the location distribution of the area satisfies a preset condition. The preset condition can be the position distribution of fingers, palms and other parts on the screen when the terminal device is held by the hand. For example, it can be the position distribution of a single point or multiple points on the left side, right side of the screen, and/or in the middle of the screen. Wait. Here, the second target shielding area is the area where the hand is close to the terminal device. Therefore, the second target antenna corresponding to the second target shielding area can be determined as the antenna to be adjusted corresponding to the hand, and can be adjusted according to the hand The backoff parameter corresponding to the part adjusts the transmit power of the antenna to be adjusted so that the SAR of the antenna to be adjusted meets the hand SAR index. Wherein, the second area threshold may be determined by analyzing the contact area or occlusion area formed by the user's hand and the screen when the user holds the terminal device, and the second area threshold is smaller than the first area threshold in the head.
应理解,第一目标遮挡区域对应的第一目标天线和第二目标遮挡区域对应的第二目标天线可以根据屏幕区域与天线之间的映射关系确定,即可以事先建立屏幕区域与天线之间的映射关系保存于终端设备。在确定出第一目标遮挡区域或第二目标遮挡区域后,终端设备可以根据该映射关系确定第一目标遮挡区域对应的第一目标天线,或第二目标遮挡区域对应的第二目标天线。It should be understood that the first target antenna corresponding to the first target shielding area and the second target antenna corresponding to the second target shielding area can be determined according to the mapping relationship between the screen area and the antenna, that is, the relationship between the screen area and the antenna can be established in advance. The mapping relationship is stored in the terminal device. After determining the first target occlusion area or the second target occlusion area, the terminal device may determine the first target antenna corresponding to the first target occlusion area or the second target antenna corresponding to the second target occlusion area according to the mapping relationship.
在一个示例中,当有目标紧贴终端设备中的某一天线时,该天线的阻抗会发生较大变化。而在预定目标包括头部时,即在终端设备靠近头部使用时,头部一般会紧贴终端设备的上侧,使得头部所贴近的天线的阻抗会发生较大变化。同样地,在用户手持终端设备时,若手部持握的位置中包括天线,则该天线的阻抗也会发生较大变化。因此,在确定预定目标包括头部和/或手部时,终端设备还可以根据各天线的阻抗变化值来确定与预定目标对应的待调节天线。In an example, when a target is close to a certain antenna in the terminal device, the impedance of the antenna will change greatly. When the predetermined target includes the head, that is, when the terminal device is used close to the head, the head generally closes to the upper side of the terminal device, so that the impedance of the antenna close to the head changes greatly. Similarly, when the user holds the terminal device, if the position where the hand holds the antenna includes an antenna, the impedance of the antenna will also change significantly. Therefore, when it is determined that the predetermined target includes the head and/or the hand, the terminal device may also determine the antenna to be adjusted corresponding to the predetermined target according to the impedance change value of each antenna.
具体地,如图5所示,终端设备内可设置Modem芯片,Modem芯片与天线之间可以通过射频传 输线连接,Modem芯片可以获取终端设备中各天线的阻抗变化值,并可以将各天线的阻抗变化值和其所对应的位置信息发送至AP。AP则可以确定阻抗变化值大于预设变化阈值的第三目标天线,并可以根据第三目标天线的位置信息确定与预定目标对应的待调节天线。其中,预设变化阈值可以根据实际情况确定。Specifically, as shown in Figure 5, a Modem chip can be set in the terminal device, and the Modem chip and the antenna can be connected through a radio frequency transmission line. The Modem chip can obtain the impedance change value of each antenna in the terminal device, and the The change value and its corresponding location information are sent to the AP. The AP may determine the third target antenna whose impedance change value is greater than the preset change threshold, and may determine the antenna to be adjusted corresponding to the predetermined target according to the position information of the third target antenna. Among them, the preset change threshold can be determined according to actual conditions.
例如,可以将位于终端设备上边缘的第三目标天线确定为与头部对应的待调节天线。例如,可以将位于终端设备左侧边、右侧边和/或下边缘的第三目标天线确定为与手部对应的待调节天线。For example, the third target antenna located at the upper edge of the terminal device may be determined as the antenna to be adjusted corresponding to the head. For example, the third target antenna located on the left side, right side, and/or lower edge of the terminal device may be determined as the antenna to be adjusted corresponding to the hand.
示例性的,在预定目标包括头部和/或手部时,终端设备也可以结合屏幕中的光线信息和天线的阻抗变化值来确定与预定目标对应的待调节天线。例如,在预定目标包括头部时,可以先根据屏幕中的光线信息和各天线的阻抗变化值分别确定出第一目标天线和第三目标天线,然后可以将第一目标天线和第三目标天线统一确定为与头部对应的待调节天线;或者可以将第一目标天线和第三目标天线中所重叠的天线确定为与头部对应的待调节天线,如当第一目标天线中包括天线1、天线2和天线3,第三目标天线中包括天线1和天线3时,则可以将天线1和天线3确定为与头部对应的待调节天线。例如,在预定目标包括头部时,也可以先根据屏幕中的光线信息确定第一目标遮挡区域,然后可以获取第一目标遮挡区域对应的第一目标天线的阻抗变化值,并可以将阻抗变化值大于预设变化阈值的第一目标天线确定为头部对应的待调节天线。Exemplarily, when the predetermined target includes the head and/or the hand, the terminal device may also combine the light information on the screen and the impedance change value of the antenna to determine the antenna to be adjusted corresponding to the predetermined target. For example, when the predetermined target includes the head, the first target antenna and the third target antenna can be determined according to the light information on the screen and the impedance change value of each antenna, and then the first target antenna and the third target antenna can be combined. Unifiedly determine the antenna to be adjusted corresponding to the head; or the overlapping antenna of the first target antenna and the third target antenna may be determined as the antenna to be adjusted corresponding to the head, for example, when the first target antenna includes antenna 1 , Antenna 2 and antenna 3, when the third target antenna includes antenna 1 and antenna 3, antenna 1 and antenna 3 can be determined as the antenna to be adjusted corresponding to the head. For example, when the predetermined target includes the head, the first target occlusion area can also be determined according to the light information on the screen, and then the impedance change value of the first target antenna corresponding to the first target occlusion area can be obtained, and the impedance can be changed The first target antenna whose value is greater than the preset change threshold is determined as the antenna to be adjusted corresponding to the head.
应理解,当终端设备处于贴头通话状态时,还可以伴随有手持状态。因此,在根据第一图像确定预定目标包括头部时,可以在根据屏幕中的光线信息和/或天线的阻抗变化值确定头部与终端设备所靠近的区域时,根据屏幕中的光线信息和/或天线的阻抗变化值确定是否存在手部持握终端设备的情况,以及当存在手部持握终端设备的情况时,确定手部在终端设备中所持握的区域。因此,在预定目标包括头部和手部时,可以根据头部与终端设备靠近的区域确定与头部对应的第一待调节天线以及根据手部在终端设备中所持握的区域确定与手部对应的第二待调节天线,并可以根据头部SAR对第一待调节天线进行发射功率的调节,以使得靠近头部的第一待调节天线满足头部SAR指标,同时可以根据四肢SAR对第二待调节天线进行发射功率的调节,以使得靠近手部的第二待调节天线满足四肢SAR指标。It should be understood that when the terminal device is in a stick-to-head talk state, it may also be accompanied by a hand-held state. Therefore, when it is determined that the predetermined target includes the head according to the first image, the area between the head and the terminal device can be determined according to the light information on the screen and/or the impedance change value of the antenna. /Or the impedance change value of the antenna determines whether there is a situation where the hand is holding the terminal device, and when there is a situation where the hand is holding the terminal device, the area where the hand is held in the terminal device is determined. Therefore, when the predetermined target includes the head and the hand, the first antenna to be adjusted corresponding to the head can be determined according to the area close to the head and the terminal device, and the first antenna to be adjusted can be determined according to the area held by the hand in the terminal device. The corresponding second antenna to be adjusted can adjust the transmit power of the first antenna to be adjusted according to the SAR of the head, so that the first antenna to be adjusted close to the head meets the head SAR index, and at the same time, the first antenna to be adjusted can be adjusted according to the SAR of the extremities. The second antenna to be adjusted adjusts the transmission power, so that the second antenna to be adjusted close to the hand meets the SAR index of the limbs.
需要说明的是,在根据屏幕中的光线信息确定头部和/或手部靠近终端设备的区域时,若终端设备当前处于灭屏状态,则可以根据屏幕灭屏的前一刻,光线传感器所获取的光线信息来确定头部和/或手部靠近终端设备的区域。It should be noted that when the area where the head and/or hands are close to the terminal device is determined according to the light information on the screen, if the terminal device is currently in the off-screen state, it can be obtained according to the light sensor immediately before the screen is off Light information to determine the area of the head and/or hands close to the terminal device.
在一个示例中,当终端设备的屏幕为电容屏时,若有目标与屏幕中的某一区域接触,该区域即会产生电容变化。而在预定目标包括头部或手部时,即在终端设备靠近头部或靠近手部使用时,头部或手部一般会与屏幕中的部分区域接触,从而使得该区域产生电容变化。因此,终端设备还可以根据屏幕的电容变化以及变化区域来确定与头部或与手部对应的待调节天线。例如,可以将符合人手持握姿态的变化区域所对应的天线确定为与手部对应的待调节天线。例如,可以将靠近终端设备上侧的变化区域所对应的天线确定为与头部对应的待调节天线,等等。In an example, when the screen of the terminal device is a capacitive screen, if a target touches a certain area of the screen, the area will produce a capacitance change. When the predetermined target includes the head or the hand, that is, when the terminal device is used close to the head or close to the hand, the head or the hand generally touches a part of the area on the screen, which causes a capacitance change in this area. Therefore, the terminal device can also determine the antenna to be adjusted corresponding to the head or the hand according to the capacitance change and the change area of the screen. For example, the antenna corresponding to the change area that conforms to the hand-held posture of a person may be determined as the antenna to be adjusted corresponding to the hand. For example, the antenna corresponding to the change area close to the upper side of the terminal device may be determined as the antenna to be adjusted corresponding to the head, and so on.
类似地,当终端设备的屏幕为电阻屏时,若有目标与屏幕的某一区域接触时,该区域即会产生电阻变化,因此,对于具有电阻屏的终端设备则可以根据电阻变化以及变化区域来确定与头部或手部对应的待调节天线。其中,电阻屏的确定原理与上述电容屏的确定原理基本相同,在此不再赘述。Similarly, when the screen of the terminal device is a resistive screen, if a target touches a certain area of the screen, the area will have a resistance change. Therefore, for a terminal device with a resistive screen, it can be based on the resistance change and the change area. To determine the antenna to be adjusted corresponding to the head or hand. Among them, the determination principle of the resistive screen is basically the same as the determination principle of the above-mentioned capacitive screen, and will not be repeated here.
应理解,当预定目标仅包括身体时,则可直接将终端设备中的所有天线均确定为与身体对应的待调节天线,从而可根据身体对应的回退参数统一降低各待调节天线的发射功率,以使得待调节天线的SAR满足身体SAR指标。It should be understood that when the predetermined target only includes the body, all antennas in the terminal device can be directly determined as the antennas to be adjusted corresponding to the body, so that the transmit power of the antennas to be adjusted can be uniformly reduced according to the back-off parameters corresponding to the body. , So that the SAR of the antenna to be adjusted meets the body SAR index.
需要说明的是,在对待调节天线的发射功率进行降低之后,可以获取终端设备中各天线当前的发射功率,并可以根据各天线当前的发射功率对终端设备的发射天线进行切换,以将终端设备的发射天线切换至发射功率较高的天线,从而提高终端设备的通信性能,以提升用户的通讯体验。示例性的,Modem芯片与天线之间还可以连接有功率放大器、射频开关、低噪放等射频器件。在需要进行发射天线的切换时,AP可以通过Modem芯片调整射频开关的开关状态来进行发射天线的切换,或者可以通过Modem芯片选择不同的射频通路来进行发射天线的切换。It should be noted that after the transmit power of the antenna to be adjusted is reduced, the current transmit power of each antenna in the terminal device can be obtained, and the transmit antenna of the terminal device can be switched according to the current transmit power of each antenna to switch the terminal device The transmitting antenna of the switch is switched to an antenna with a higher transmitting power, thereby improving the communication performance of the terminal device to enhance the user's communication experience. Exemplarily, a power amplifier, a radio frequency switch, a low noise amplifier and other radio frequency devices may also be connected between the modem chip and the antenna. When the transmitting antenna needs to be switched, the AP can adjust the switch state of the radio frequency switch through the Modem chip to switch the transmit antenna, or can select different radio frequency paths through the Modem chip to switch the transmit antenna.
需要说明的是,在对待调节天线的发射功率进行降低之后,为进一步降低天线产生的电磁辐射对用户的影响,可以获取终端设备中各天线与预定目标之间的第二距离,并可以根据第二距离对终端设备的发射天线进行切换,以将终端设备的发射天线切换至距离预定目标较远的天线。例如,在头部靠近终端设备时,可以将发射天线由位于终端设备上侧靠近头部的天线切换至终端设备下侧远离头部的天线,或者切换至终端设备背部的天线。例如,在手部持握终端设备时,可以将发射天线由被手部持握的天线切换至没有被手部持握的天线。It should be noted that after the transmit power of the antenna to be adjusted is reduced, in order to further reduce the influence of the electromagnetic radiation generated by the antenna on the user, the second distance between each antenna in the terminal device and the predetermined target can be obtained, and the second distance can be obtained according to the first The second distance is to switch the transmitting antenna of the terminal device to switch the transmitting antenna of the terminal device to an antenna farther from the predetermined target. For example, when the head is close to the terminal device, the transmitting antenna can be switched from the antenna on the upper side of the terminal device close to the head to the antenna on the lower side of the terminal device away from the head, or switch to the antenna on the back of the terminal device. For example, when the terminal device is held by the hand, the transmitting antenna can be switched from the antenna held by the hand to the antenna not held by the hand.
本实施例中,可通过获取摄像头采集的图像,并进行图像分析,来确定靠近终端设备的预定目标是头部、身体还是手部,并确定与预定目标对应的、需要进行功率调节的待调节天线,从而可以根据预定目标对应的回退参数降低待调节天线的发射功率,其中,不同预定目标对应的回退参数不同。即本实施例可以精确确定靠近终端设备的预定目标的类型,并可以准确确定与预定目标对应的待调节天线,从而可以根据预定目标的不同基于不同的回退参数来降低待调节天线的发射功率,以在确保终端设备满足SAR指标的基础上,提高终端设备的通信性能,提升用户的通讯体验。In this embodiment, the image collected by the camera can be acquired and image analysis can be performed to determine whether the predetermined target close to the terminal device is the head, body, or hand, and to determine the power adjustment to be adjusted corresponding to the predetermined target. The antenna can thereby reduce the transmit power of the antenna to be adjusted according to the back-off parameter corresponding to the predetermined target, wherein the back-off parameter corresponding to different predetermined targets is different. That is, this embodiment can accurately determine the type of the predetermined target close to the terminal device, and can accurately determine the antenna to be adjusted corresponding to the predetermined target, so that the transmit power of the antenna to be adjusted can be reduced based on different fallback parameters according to the predetermined target. , On the basis of ensuring that the terminal equipment meets the SAR indicator, improve the communication performance of the terminal equipment and enhance the user's communication experience.
【实施例二】[Embodiment 2]
请参阅图6,图6示出了本实施例提供的天线功率调节方法的示意性流程图。本实施例与实施例一的区别在于,本实施例中,可以获取摄像头采集的图像和屏幕中的光线信息,并可以根据图像和光线信息来进行预定目标的确定,以提高预定目标确定的准确性。下述主要描述本实施例与实施例一之间的区别部分,对于相同部分则可以直接参照上述实施例一中的描述,在此不再赘述。如图6所示,该方法可以包括:Please refer to FIG. 6, which shows a schematic flowchart of the antenna power adjustment method provided in this embodiment. The difference between this embodiment and the first embodiment is that in this embodiment, the image collected by the camera and the light information in the screen can be obtained, and the predetermined target can be determined according to the image and light information, so as to improve the accuracy of the predetermined target determination. sex. The following mainly describes the differences between this embodiment and the first embodiment, and for the same parts, you can directly refer to the description in the above-mentioned embodiment 1, which will not be repeated here. As shown in Figure 6, the method may include:
S601、获取终端设备中摄像头采集的图像,其中,图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像。S601. Acquire an image collected by a camera in a terminal device, where the image includes a first image collected by a front camera and a second image collected by a rear camera.
S602、识别第一图像中的第一目标特征和第二图像中的第二目标特征。S602: Identify the first target feature in the first image and the second target feature in the second image.
S603、当第一目标特征为头部特征,且第一目标特征对应的头部与终端设备之间的第一距离小于第一距离阈值时,确定预定目标包括头部。S603: When the first target feature is a head feature, and the first distance between the head corresponding to the first target feature and the terminal device is less than the first distance threshold, determine that the predetermined target includes a head.
其中,S601至S603可参见前述S101中的具体描述,为简明起见,在此不再赘述。Among them, S601 to S603 can refer to the specific description in the foregoing S101, for the sake of brevity, the details are not repeated here.
S604、当第一目标特征为脸部特征时,根据屏幕中的光线信息获取屏幕中的遮挡区域,并确定遮挡区域的区域面积和区域位置。S604: When the first target feature is a facial feature, obtain the occlusion area in the screen according to the light information on the screen, and determine the area area and the location of the occlusion area.
S605、若区域面积小于第二面积阈值,且区域位置分布满足第一预设条件,则确定预设目标包括手部。S605: If the area of the area is smaller than the second area threshold, and the area location distribution meets the first preset condition, determine that the preset target includes a hand.
应理解,当第一目标特征为脸部特征时,则表明用户正面对屏幕读屏,即终端设备处于读屏状态,而读屏状态可以包括手持读屏状态、放置于身体上的读屏状态以及放置于物体上的读屏状态。当终端设备处于手持读屏状态时,用户的手部会对屏幕中的部分区域进行遮挡,从而使得屏幕内部分光源发射的光线经手部遮挡后反射至屏幕内的光线传感器。因此,可以根据光线传感器获取的光线信息来确定屏幕中的遮挡区域,以确定终端设备是否处于手持读屏状态。It should be understood that when the first target feature is a facial feature, it indicates that the user is facing the screen reading, that is, the terminal device is in the screen reading state, and the screen reading state may include the hand-held screen reading state and the screen reading state placed on the body. And the screen reading status placed on the object. When the terminal device is in a handheld screen reading state, the user's hand will block a part of the screen, so that the light emitted by a part of the light source in the screen is blocked by the hand and reflected to the light sensor in the screen. Therefore, the occlusion area in the screen can be determined according to the light information obtained by the light sensor to determine whether the terminal device is in a handheld screen reading state.
具体地,在终端设备处于手持读屏状态时,手部会对屏幕侧边形成离散的多点遮挡,和/或会对屏幕中间形成离散的单点或多点遮挡。因此,可通过光线传感器获取屏幕中的光线信息,根据光线信息确定屏幕中的遮挡区域,并确定遮挡区域的区域面积和区域位置,以根据区域面积和区域位置来确定终端设备是否处于手持读屏状态。在此,当存在区域面积小于第二面积阈值,且小于第二面积阈值的这些区域的区域位置分布满足第一预设条件时,则可以确定终端设备处于手持读屏状态,即靠近终端设备的预定目标包括手部。其中,第一预设条件可以与实施例一中描述的预设条件相同,即第一预设条件可以为手部持握终端设备时手指、手掌等部位在屏幕中的位置分布,例如可以为屏幕左侧边、右侧边和/或屏幕中间具有的单点或多点的位置分布等。Specifically, when the terminal device is in a handheld screen reading state, the hand will form discrete multi-point shielding on the sides of the screen, and/or will form a discrete single-point or multi-point shielding on the middle of the screen. Therefore, the light information on the screen can be acquired through the light sensor, the shielding area in the screen can be determined according to the light information, and the area area and position of the shielding area can be determined, so as to determine whether the terminal device is in a handheld screen reading according to the area area and area position state. Here, when the area of the existing area is less than the second area threshold, and the area location distribution of these areas less than the second area threshold meets the first preset condition, it can be determined that the terminal device is in a handheld screen reading state, that is, the terminal device is close to the terminal device. The intended target includes hands. The first preset condition may be the same as the preset condition described in Embodiment 1. That is, the first preset condition may be the position distribution of fingers, palms, etc. on the screen when the terminal device is held by the hand. For example, it may be The position distribution of single or multiple points on the left side, right side of the screen, and/or the middle of the screen, etc.
S606、若区域面积大于或等于第二面积阈值,或区域位置分布不满足第一预设条件,且第二目标特征为身体特征,则确定预定目标包括身体。S606: If the area of the area is greater than or equal to the second area threshold, or the location distribution of the area does not meet the first preset condition, and the second target feature is a physical feature, it is determined that the predetermined target includes a body.
在此,当遮挡区域的区域面积大于或等于第二面积阈值,或区域位置分布不满足第一预设条件时,则可以认为光线传感器获取的光线信息不是手部遮挡所反射的,即可以确定终端设备不是处于手持读屏状态。此时,可以根据后置摄像头采集的第二图像中的第二目标特征来确定终端设备是处于放置于身体上的读屏状态还是放置于物体上的读屏状态。Here, when the area of the occluded area is greater than or equal to the second area threshold, or the area location distribution does not meet the first preset condition, it can be considered that the light information acquired by the light sensor is not reflected by the hand occlusion, and it can be determined The terminal device is not in a handheld screen-reading state. At this time, it can be determined whether the terminal device is in the screen-reading state placed on the body or the screen-reading state placed on the object according to the second target feature in the second image collected by the rear camera.
应理解,当终端设备处于放置于身体上的读屏状态时,后置摄像头所采集的第二图像中可以包括用户的身体特征(例如肢体轮廓特征)。因此,当第二目标特征为用户的身体特征时,则可以确定终端设备处于放置于身体上的读屏状态,则可以确定靠近终端设备的预定目标包括用户的身体。而当第二目标特征不是用户的身体特征,例如为物体形状特征和/或物体材质特征时,则可以确定终端设备处于放置于物体上的读屏状态,即确定不存在靠近终端设备的预定目标,此时可不用对终端设备中的天线进行发射功率的调节。It should be understood that when the terminal device is in a screen-reading state placed on the body, the second image collected by the rear camera may include the user's physical characteristics (for example, limb contour characteristics). Therefore, when the second target feature is the physical feature of the user, it can be determined that the terminal device is in a screen-reading state placed on the body, and it can be determined that the predetermined target close to the terminal device includes the user's body. When the second target feature is not a user's physical feature, such as an object shape feature and/or an object material feature, it can be determined that the terminal device is in a screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device. At this time, there is no need to adjust the transmit power of the antenna in the terminal device.
S607、当第一目标特征为环境特征,第二目标特征为身体特征,且第二目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,或者当第一目标特征为身体特征,且第一目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,则确定预定目标包括身体。S607. When the first target feature is an environmental feature, the second target feature is a physical feature, and the first distance between the body corresponding to the second target feature and the terminal device is less than the first distance threshold, or when the first target feature is Body characteristics, and when the first distance between the body corresponding to the first target characteristic and the terminal device is less than the first distance threshold, it is determined that the predetermined target includes a body.
S608、当第一目标特征和第二目标特征均为环境特征时,则确定预定目标包括手部。S608: When the first target feature and the second target feature are both environmental features, it is determined that the predetermined target includes a hand.
其中,S607和S608可参见前述S101中的具体描述,为简明起见,在此不再赘述。Among them, S607 and S608 can be referred to the specific description in the foregoing S101, for the sake of brevity, the details are not repeated here.
本实施例中,可以获取摄像头采集的图像以及获取屏幕中的光线信息,并可以根据图像和光线信息来进行预定目标的确定,可以提高预定目标确定的准确性,从而提高待调节天线发射功率的调节准确性。In this embodiment, the image collected by the camera and the light information on the screen can be acquired, and the predetermined target can be determined according to the image and light information, which can improve the accuracy of the predetermined target determination, thereby increasing the transmission power of the antenna to be adjusted. Adjust the accuracy.
【实施例三】[Embodiment Three]
请参阅图7,图7示出了本实施例提供的天线功率调节方法的示意性流程图。本实施例与实施例一的区别在于,本实施例中,可以获取摄像头采集的图像和终端设备中各天线的阻抗变化值,并可以根据图像和阻抗变化值来进行预定目标的确定,以提高预定目标确定的准确性。下述主要描述本实施例与实施例一之间的区别部分,对于相同部分则可以直接参照上述实施例一中的描述,在此不再赘述。如图7所示,该方法可以包括:Please refer to FIG. 7, which shows a schematic flowchart of the antenna power adjustment method provided in this embodiment. The difference between this embodiment and the first embodiment is that in this embodiment, the image collected by the camera and the impedance change value of each antenna in the terminal device can be acquired, and the predetermined target can be determined according to the image and the impedance change value to improve The accuracy of the predetermined target determination. The following mainly describes the differences between this embodiment and the first embodiment, and for the same parts, you can directly refer to the description in the above-mentioned embodiment 1, which will not be repeated here. As shown in Figure 7, the method may include:
S701、获取终端设备中摄像头采集的图像,其中,图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像。S701. Acquire an image collected by a camera in a terminal device, where the image includes a first image collected by a front camera and a second image collected by a rear camera.
S702、识别第一图像中的第一目标特征和第二图像中的第二目标特征。S702: Identify the first target feature in the first image and the second target feature in the second image.
S703、当第一目标特征为头部特征,且第一目标特征对应的头部与所述终端设备之间的第一距离小于第一距离阈值时,确定预定目标包括头部。S703: When the first target feature is a head feature, and the first distance between the head corresponding to the first target feature and the terminal device is less than a first distance threshold, determine that the predetermined target includes a head.
其中,S701至S703可参见前述S101中的具体描述,为简明起见,在此不再赘述。Among them, S701 to S703 can be referred to the specific description in the foregoing S101, for the sake of brevity, the details are not repeated here.
S704、当第一目标特征为脸部特征时,根据终端设备中各天线的阻抗变化值确定目标天线,目标天线为阻抗变化值大于预设变化阈值的天线。S704: When the first target feature is a facial feature, determine the target antenna according to the impedance change value of each antenna in the terminal device, and the target antenna is an antenna whose impedance change value is greater than a preset change threshold.
S705、若目标天线的位置分布满足第二预设条件,则确定预设目标包括手部。S705: If the position distribution of the target antenna meets the second preset condition, determine that the preset target includes a hand.
应理解,当第一目标特征为脸部特征时,则表明用户正面对屏幕读屏,即终端设备处于读屏状态,而读屏状态可以包括手持读屏状态、放置于身体上的读屏状态以及放置于物体上的读屏状态。当终端设备处于手持读屏状态时,用户的手部一般会接触终端设备的部分区域,从而使得该部分区域对应的天线的阻抗会发生较大变化。因此,终端设备可以根据各天线的阻抗变化值来确定手部持握终端设备的区域,以确定终端设备是否处于手持读屏状态。具体地,可以确定终端设备中阻抗变化值大于预设变化阈值的目标天线,并获取目标天线的位置信息,当根据位置信息确定目标天线的位置分布满足第二预设条件时,则可以确定终端设备处于手持读屏状态,即确定靠近终端设备的预定目标包括手部。其中,第二预设条件可以为手部持握终端设备时手部持握天线的位置分布。It should be understood that when the first target feature is a facial feature, it indicates that the user is facing the screen reading, that is, the terminal device is in the screen reading state, and the screen reading state may include the hand-held screen reading state and the screen reading state placed on the body. And the screen reading status placed on the object. When the terminal device is in a handheld screen reading state, the user's hand generally touches a part of the terminal device, so that the impedance of the antenna corresponding to this part of the area will change greatly. Therefore, the terminal device can determine the area where the hand holds the terminal device according to the impedance change value of each antenna, so as to determine whether the terminal device is in a handheld screen reading state. Specifically, the target antenna whose impedance change value is greater than the preset change threshold in the terminal device can be determined, and the position information of the target antenna can be obtained. When the position distribution of the target antenna is determined to meet the second preset condition according to the position information, the terminal can be determined The device is in a handheld screen reading state, that is, it is determined that the predetermined target close to the terminal device includes the hand. Wherein, the second preset condition may be the position distribution of the antenna held by the hand when the terminal device is held by the hand.
S706、若目标天线的位置分布不满足第二预设条件,且第二目标特征为身体特征,则确定预定目标包括身体。S706: If the position distribution of the target antenna does not satisfy the second preset condition, and the second target feature is a physical feature, it is determined that the predetermined target includes a body.
在此,当目标天线的位置分布不满足第二预设条件时,则可以认为终端设备中天线的阻抗变化值不是手部持握终端设备所产生的,即可以确定终端设备不是处于手持读屏状态。此时,则可以根据后置摄像头采集的第二图像中的第二目标特征来确定终端设备是处于放置于身体上的读屏状态还是放置于物体上的读屏状态。Here, when the location distribution of the target antenna does not meet the second preset condition, it can be considered that the impedance change value of the antenna in the terminal device is not caused by holding the terminal device by hand, and it can be determined that the terminal device is not in the handheld screen reading mode. state. At this time, it can be determined whether the terminal device is in the screen reading state placed on the body or the screen reading state placed on the object according to the second target feature in the second image collected by the rear camera.
应理解,当终端设备处于放置于身体上的读屏状态时,后置摄像头所采集的第二图像中可以包括用户的身体特征(例如肢体轮廓特征)。因此,当第二目标特征为用户的身体特征时,则可以确定终端设备处于放置于身体上的读屏状态,则可以确定靠近终端设备的预定目标包括用户的身体。而当第二目标特征不是用户的身体特征,例如为物体形状特征和/或物体材质特征时,则可以确定终端设备处于放置于物体上的读屏状态,即确定不存在靠近终端设备的预定目标,此时可不用对终端设备中的天线进行发射功率的调节。It should be understood that when the terminal device is in a screen-reading state placed on the body, the second image collected by the rear camera may include the user's physical characteristics (for example, limb contour characteristics). Therefore, when the second target feature is the physical feature of the user, it can be determined that the terminal device is in a screen-reading state placed on the body, and it can be determined that the predetermined target close to the terminal device includes the user's body. When the second target feature is not a user's physical feature, such as an object shape feature and/or an object material feature, it can be determined that the terminal device is in a screen-reading state placed on the object, that is, it is determined that there is no predetermined target close to the terminal device. At this time, there is no need to adjust the transmit power of the antenna in the terminal device.
S707、当第一目标特征为环境特征,第二目标特征为身体特征,且第二目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,或者当第一目标特征为身体特征,且第一目标特征对应的身体与终端设备之间的第一距离小于第一距离阈值时,则确定预定目标包括身体。S707. When the first target feature is an environmental feature, the second target feature is a physical feature, and the first distance between the body corresponding to the second target feature and the terminal device is less than the first distance threshold, or when the first target feature is Body characteristics, and when the first distance between the body corresponding to the first target characteristic and the terminal device is less than the first distance threshold, it is determined that the predetermined target includes a body.
S708、当第一目标特征和第二目标特征均为环境特征时,则确定预定目标包括手部。S708: When the first target feature and the second target feature are both environmental features, it is determined that the predetermined target includes a hand.
其中,S707和S708可参见前述S101中的具体描述,为简明起见,在此不再赘述。Among them, S707 and S708 can be referred to the specific description in the foregoing S101, and for the sake of brevity, they are not repeated here.
本实施例中,可以获取摄像头采集的图像和终端设备中各天线的阻抗变化值,并可以根据图像和阻抗变化值来进行预定目标的确定,可以提高预定目标确定的准确性,从而提高待调节天线发射功率的调节准确性。In this embodiment, the image collected by the camera and the impedance change value of each antenna in the terminal device can be obtained, and the predetermined target can be determined according to the image and the impedance change value, which can improve the accuracy of the predetermined target determination, thereby improving the need to adjust The adjustment accuracy of the antenna transmit power.
在一个示例中,本申请实施例也可以基于图像和电容变化/电阻变化来确定预定目标。示例性的,当第一目标特征为脸部特征时,终端设备可以获取屏幕中的电容变化/电阻变化的变化区域,并可以确定变化区域的区域位置。在区域位置分布满足第三预设条件时,可以确定预设目标包括手部。其中,第三预设条件可以与第一预设条件相同,即第三预设条件可以为手部持握终端设备时手指、手掌等部位触摸屏幕的位置分布。In an example, the embodiment of the present application may also determine the predetermined target based on the image and the capacitance change/resistance change. Exemplarily, when the first target feature is a facial feature, the terminal device can acquire the change area of the capacitance change/resistance change on the screen, and can determine the location of the change area. When the regional location distribution satisfies the third preset condition, it may be determined that the preset target includes a hand. The third preset condition may be the same as the first preset condition, that is, the third preset condition may be the position distribution of the fingers, palms and other parts of the touch screen when the terminal device is held by the hand.
在一个示例中,本申请实施例也可以结合屏幕中的光线信息、各天线的阻抗变化值和图像来确定预定目标。示例性的,在第一目标特征为脸部特征时,终端设备可以根据屏幕中的光线信息获取 屏幕中的遮挡区域,并可以确定遮挡区域的区域面积和区域位置,同时可以根据终端设备中各天线的阻抗变化值确定目标天线,当区域面积小于第二面积阈值,且区域位置分布满足第一预设条件,同时目标天线的位置分布满足第二预设条件,则确定预设目标包括手部。In an example, the embodiment of the present application may also combine the light information on the screen, the impedance change value of each antenna, and the image to determine the predetermined target. Exemplarily, when the first target feature is a facial feature, the terminal device can obtain the occlusion area in the screen according to the light information on the screen, and can determine the area and location of the occlusion area. The impedance change value of the antenna determines the target antenna. When the area of the area is smaller than the second area threshold, and the area location distribution satisfies the first preset condition, and the location distribution of the target antenna satisfies the second preset condition, it is determined that the preset target includes the hand .
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
对应于上文实施例所述的天线功率调节方法,图8示出了本申请实施例提供的天线功率调节装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the antenna power adjustment method described in the above embodiment, FIG. 8 shows a structural block diagram of an antenna power adjustment device provided in an embodiment of the present application. For ease of description, only parts related to the embodiment of the present application are shown.
参照图8,该装置可以应用于终端设备,该装置可以包括:Referring to FIG. 8, the apparatus may be applied to terminal equipment, and the apparatus may include:
预定目标确定模块801,用于获取所述终端设备中摄像头采集的图像,并根据所述图像确定预定目标,其中,所述预定目标包括头部、身体和手部中的至少一种,所述预定目标与所述终端设备之间的第一距离小于第一距离阈值;The predetermined target determination module 801 is configured to acquire an image collected by a camera in the terminal device, and determine a predetermined target according to the image, wherein the predetermined target includes at least one of a head, a body, and a hand, and The first distance between the predetermined target and the terminal device is less than a first distance threshold;
天线功率调节模块802,用于确定与所述预定目标对应的待调节天线,并根据所述预定目标对应的回退参数降低所述待调节天线的发射功率。The antenna power adjustment module 802 is configured to determine the antenna to be adjusted corresponding to the predetermined target, and reduce the transmit power of the antenna to be adjusted according to the backoff parameter corresponding to the predetermined target.
示例性的,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述预定目标确定模块801可以包括:Exemplarily, the image includes a first image collected by a front camera and a second image collected by a rear camera, and the predetermined target determination module 801 may include:
第一目标确定单元,用于识别所述第一图像中的第一目标特征和第二图像中的第二目标特征,并根据所述第一目标特征和所述第二目标特征确定所述预定目标。The first target determining unit is configured to identify the first target feature in the first image and the second target feature in the second image, and determine the predetermined according to the first target feature and the second target feature Target.
在第二方面的一种可能的实现方式中,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述预定目标确定模块801可以包括:In a possible implementation of the second aspect, the image includes a first image collected by a front camera and a second image collected by a rear camera, and the predetermined target determination module 801 may include:
第一特征识别单元,用于识别所述第一图像中的第一目标特征和所述第二图像中的第二目标特征;A first feature recognition unit, configured to recognize a first target feature in the first image and a second target feature in the second image;
光线信息获取单元,用于获取屏幕中的光线信息;The light information acquiring unit is used to acquire the light information on the screen;
第二目标确定单元,用于根据所述第一目标特征、所述第二目标特征和所述光线信息确定所述预定目标。The second target determining unit is configured to determine the predetermined target according to the first target feature, the second target feature, and the light information.
在第二方面的一种可能的实现方式中,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述预定目标确定模块801可以包括:In a possible implementation of the second aspect, the image includes a first image collected by a front camera and a second image collected by a rear camera, and the predetermined target determination module 801 may include:
第二特征识别单元,用于识别所述第一图像中的第一目标特征和所述第二图像中的第二目标特征;A second feature recognition unit, configured to recognize a first target feature in the first image and a second target feature in the second image;
阻抗变化获取单元,用于获取所述终端设备中各天线的阻抗变化值;An impedance change acquiring unit, configured to acquire the impedance change value of each antenna in the terminal device;
第三目标确定单元,用于根据所述第一目标特征、所述第二目标特征和各所述阻抗变化值确定所述预定目标。The third target determination unit is configured to determine the predetermined target according to the first target feature, the second target feature, and each of the impedance change values.
示例性的,所述天线功率调节模块802可以包括:Exemplarily, the antenna power adjustment module 802 may include:
遮挡区域获取单元,用于根据屏幕中的光线信息获取所述屏幕中的遮挡区域,并确定所述遮挡区域的区域面积和区域位置;A shielding area acquiring unit, configured to acquire the shielding area in the screen according to the light information in the screen, and determine the area area and the area position of the shielding area;
第一天线确定单元,用于根据所述区域面积和所述区域位置确定与所述预定目标对应的待调节天线。The first antenna determining unit is configured to determine the antenna to be adjusted corresponding to the predetermined target according to the area of the area and the location of the area.
具体地,当所述预定目标为头部时,所述第一天线确定单元,用于根据所述区域面积和所述区域位置获取第一目标遮挡区域,并将所述第一目标遮挡区域对应的第一目标天线确定为与所述头部对应的待调节天线,所述第一目标遮挡区域为区域面积大于第一面积阈值,且区域位置为预设位置 的遮挡区域。Specifically, when the predetermined target is the head, the first antenna determining unit is configured to obtain a first target occlusion area according to the area area and the location of the area, and correspond to the first target occlusion area The first target antenna of is determined as the antenna to be adjusted corresponding to the head, and the first target occlusion area is a occlusion area whose area is greater than a first area threshold, and the location of the area is a preset position.
具体地,当所述预定目标为手部时,所述第一天线确定单元,用于根据所述区域面积和所述区域位置确定第二目标遮挡区域,并将所述第二目标遮挡区域对应的第二目标天线确定为与所述手部对应的待调节天线,所述第二目标遮挡区域为区域面积小于第二面积阈值,且区域位置分布满足预设条件的遮挡区域。Specifically, when the predetermined target is a hand, the first antenna determining unit is configured to determine a second target occlusion area according to the area area and the location of the area, and correspond to the second target occlusion area The second target antenna of is determined to be the antenna to be adjusted corresponding to the hand, and the second target shielding area is a shielding area whose area is smaller than a second area threshold, and the area location distribution meets a preset condition.
示例性的,所述天线功率调节模块802可以包括:Exemplarily, the antenna power adjustment module 802 may include:
位置信息获取单元,用于根据所述终端设备中各天线的阻抗变化值确定第三目标天线,并获取所述第三目标天线的位置信息,所述第三目标天线为阻抗变化值大于预设变化阈值的天线;The position information acquiring unit is configured to determine a third target antenna according to the impedance change value of each antenna in the terminal device, and acquire position information of the third target antenna, where the impedance change value of the third target antenna is greater than a preset value Antennas with varying thresholds;
第二天线确定单元,用于根据所述第三目标天线的位置信息确定与所述预定目标对应的待调节天线。The second antenna determining unit is configured to determine the antenna to be adjusted corresponding to the predetermined target according to the position information of the third target antenna.
在第二方面的一种可能的实现方式中,所述装置还可以包括:In a possible implementation manner of the second aspect, the apparatus may further include:
第一天线切换模块,用于获取所述终端设备中各天线的发射功率,并根据所述发射功率切换所述终端设备的发射天线。The first antenna switching module is used to obtain the transmit power of each antenna in the terminal device, and switch the transmit antenna of the terminal device according to the transmit power.
在第二方面的另一种可能的实现方式中,所述装置还可以包括:In another possible implementation manner of the second aspect, the apparatus may further include:
第二天线切换模块,用于获取所述终端设备中各天线与所述预定目标之间的第二距离,并根据所述第二距离切换所述终端设备的发射天线。The second antenna switching module is configured to obtain a second distance between each antenna in the terminal device and the predetermined target, and switch the transmitting antenna of the terminal device according to the second distance.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction and execution process between the above-mentioned devices/units are based on the same concept as the method embodiment of this application, and its specific functions and technical effects can be found in the method embodiment section. I won't repeat it here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述***中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the division of the above functional units and modules is used as an example. In practical applications, the above functions can be allocated to different functional units and modules as needed. Module completion, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist alone physically, or two or more units can be integrated into one unit. The above-mentioned integrated units can be hardware-based Formal realization can also be realized in the form of a software functional unit. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the foregoing system, reference may be made to the corresponding process in the foregoing method embodiment, which will not be repeated here.
请参阅图9,图9是本申请实施例提供的终端设备的结构示意图。Please refer to FIG. 9, which is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
终端设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中,传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2. , Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope 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, and the environment Light sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对终端设备100的具体限定。在本申请另一些实施例中,终端设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can 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 present application, the terminal device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application  processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. Among them, the different processing units may be independent devices or integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了***的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter/receiver (universal asynchronous) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现终端设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include 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 couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the terminal device 100.
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等***器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现终端设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现终端设备100的显示功能。The MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices. The MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on. In some embodiments, the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the terminal device 100. The processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the terminal device 100.
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160, 音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on. The GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为终端设备100充电,也可以用于终端设备100与***设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他终端设备,例如AR设备等。The USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transfer data between the terminal device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect to other terminal devices, such as AR devices.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端设备100的结构限定。在本申请另一些实施例中,终端设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, 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 adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过终端设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为终端设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the terminal device 100. While the charging management module 140 charges the battery 142, it can also supply power to the terminal device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
终端设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。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, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。终端设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在终端设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate 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. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在终端设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星***(global  navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the terminal device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
在一些实施例中,终端设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得终端设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯***(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位***(global positioning system,GPS),全球导航卫星***(global navigation satellite system,GLONASS),北斗卫星导航***(beidou navigation satellite system,BDS),准天顶卫星***(quasi-zenith satellite system,QZSS)和/或星基增强***(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the terminal device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
终端设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The terminal device 100 implements a display function through a GPU, a display screen 194, and an application processor. The GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and is used for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,终端设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). emitting diode, AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include one or N display screens 194, and N is a positive integer greater than one.
终端设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The terminal device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,终端设备100可以包括1个或N个摄像头193,N为大于1的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and is projected to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the terminal device 100 may include one or N cameras 193, and N is a positive integer greater than one.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当终端设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。终端设备100可以支持一种或多种视频编解码器。 这样,终端设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现终端设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, for example, the transfer mode between human brain neurons, it can quickly process input information, and it can also continuously self-learn. Through the NPU, applications such as intelligent cognition of the terminal device 100 can be implemented, such as image recognition, face recognition, voice recognition, text understanding, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作***,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行终端设备100的各种功能应用以及数据处理。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the terminal device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like. The processor 110 executes various functional applications and data processing of the terminal device 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
终端设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The terminal device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。终端设备100可以通过扬声器170A收听音乐,或收听免提通话。The speaker 170A, also called "speaker", is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当终端设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the terminal device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。终端设备100可以设置至少一个麦克风170C。在另一些实施例中,终端设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,终端设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C. The terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the terminal device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动终端设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。终端设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,终端设备100根据压力传感器180A检测所述触摸操作强度。终端设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强 度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors and so on. The capacitive pressure sensor may include at least two parallel plates with conductive materials. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The terminal device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the terminal device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal device 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定终端设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定终端设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测终端设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消终端设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the movement posture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 around three axes (ie, x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the terminal device 100, and calculates the distance that the lens module needs to compensate according to the angle, so that the lens can counteract the shaking of the terminal device 100 through a reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
气压传感器180C用于测量气压。在一些实施例中,终端设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。终端设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当终端设备100是翻盖机时,终端设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor 180D includes a Hall sensor. The terminal device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster. In some embodiments, when the terminal device 100 is a flip machine, the terminal device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Furthermore, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
加速度传感器180E可检测终端设备100在各个方向上(一般为三轴)加速度的大小。当终端设备100静止时可检测出重力的大小及方向。还可以用于识别终端设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device, applied to applications such as horizontal and vertical screen switching, pedometer and so on.
距离传感器180F,用于测量距离。终端设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,终端设备100可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F, used to measure distance. The terminal device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。终端设备100通过发光二极管向外发射红外光。终端设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定终端设备100附近有物体。当检测到不充分的反射光时,终端设备100可以确定终端设备100附近没有物体。终端设备100可以利用接近光传感器180G检测用户手持终端设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light to the outside through the light emitting diode. The terminal device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100. The terminal device 100 can use the proximity light sensor 180G to detect that the user holds the terminal device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
环境光传感器180L用于感知环境光亮度。终端设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测终端设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense the brightness of the ambient light. The terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent accidental touch.
指纹传感器180H用于采集指纹。终端设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
温度传感器180J用于检测温度。在一些实施例中,终端设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,终端设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,终端设备100对电池142加热,以避免低温导致终端设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,终端设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to avoid abnormal shutdown of the terminal device 100 due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the terminal device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于终端设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the terminal device 100, which is different from the position of the display screen 194.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal. In some embodiments, the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone. The audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。终端设备100可以接收按键输入,产生与终端设备100的用户设置以及功能控制有关的键信号输入。The button 190 includes a power-on button, a volume button, and so on. The button 190 may be a mechanical button. It can also be a touch button. The terminal device 100 may receive key input, and generate key signal input related to user settings and function control of the terminal device 100.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback. For example, touch operations applied to different applications (such as photographing, audio playback, etc.) can correspond to different vibration feedback effects. Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminding, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过***SIM卡接口195,或从SIM卡接口195拔出,实现和终端设备100的接触和分离。终端设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时***多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。终端设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,终端设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在终端设备100中,不能和终端设备100分离。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the terminal device 100. The terminal device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the terminal device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
终端设备100的软件***可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android***为例,示例性说明终端设备100的软件结构。The software system of the terminal device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example to illustrate the software structure of the terminal device 100 by way of example.
图10是本申请实施例的终端设备100的软件结构框图。FIG. 10 is a block diagram of the software structure of the terminal device 100 according to an embodiment of the present application.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android***分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和***库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图10所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 10, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图10所示,应用程序框架层可以包括窗口管理器,内容提供器,视图***,电话管理器,资源管理器,通知管理器等。As shown in Figure 10, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and so on.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The content provider is used to store and retrieve data and make these data accessible to applications. The data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
视图***包括可视控件,例如显示文字的控件,显示图片的控件等。视图***可用于构建应用 程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text, controls that display pictures, and so on. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
电话管理器用于提供终端设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the terminal device 100. For example, the management of the call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在***顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,终端设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, and so on. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompt text messages in the status bar, sound a prompt tone, terminal equipment vibration, flashing indicator lights, etc.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓***的调度和管理。Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and application framework layer run in a virtual machine. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
***库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子***进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
2D图形引擎是2D绘图的绘图引擎。The 2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
下面结合捕获拍照场景,示例性说明终端设备100软件以及硬件的工作流程。In the following, the working process of the software and hardware of the terminal device 100 will be exemplified in conjunction with capturing a photo scene.
当触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是触摸单击操作,该单击操作所对应的控件为相机应用图标的控件为例,相机应用调用应用框架层的接口,启动相机应用,进而通过调用内核层启动摄像头驱动,通过摄像头193捕获静态图像或视频。When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into the original input event (including touch coordinates, time stamp of the touch operation, etc.). The original input events are stored in the kernel layer. The application framework layer obtains the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and the control corresponding to the click operation is the control of the camera application icon as an example, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer. The camera 193 captures still images or videos.
本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时可实现上述各个方法实施例中的步骤。The embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program can implement the steps in the foregoing method embodiments when the computer program is executed by a processor.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行时可实现上述各个方法实施例中的步骤。The embodiments of the present application provide a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the foregoing method embodiments when executed.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些 中间形式等。所述计算机可读存储介质至少可以包括:能够将计算机程序代码携带到装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不可以是电载波信号和电信信号。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the implementation of all or part of the processes in the above-mentioned embodiment methods in the present application can be accomplished by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. The computer-readable storage medium may at least include: any entity or device capable of carrying computer program code to the device/terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (random access memory, RAM), electrical carrier signals, telecommunications signals, and software distribution media. For example, U disk, mobile hard disk, floppy disk or CD-ROM, etc. In some jurisdictions, in accordance with legislation and patent practices, computer-readable storage media cannot be electrical carrier signals and telecommunication signals.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail or recorded in an embodiment, reference may be made to related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device/terminal device and method may be implemented in other ways. For example, the device/terminal device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units. Or components can be combined or integrated into another system, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.

Claims (12)

  1. 一种天线功率调节方法,其特征在于,应用于终端设备,所述方法包括:An antenna power adjustment method, characterized in that it is applied to a terminal device, and the method includes:
    获取所述终端设备中摄像头采集的图像,并根据所述图像确定预定目标,其中,所述预定目标包括头部、身体和手部中的至少一种,所述预定目标与所述终端设备之间的第一距离小于第一距离阈值;Acquire an image collected by a camera in the terminal device, and determine a predetermined target based on the image, where the predetermined target includes at least one of a head, a body, and a hand, and the predetermined target is different from the terminal device. The first distance between is smaller than the first distance threshold;
    确定与所述预定目标对应的待调节天线,并根据所述预定目标对应的回退参数降低所述待调节天线的发射功率。The antenna to be adjusted corresponding to the predetermined target is determined, and the transmit power of the antenna to be adjusted is reduced according to the backoff parameter corresponding to the predetermined target.
  2. 根据权利要求1所述的方法,其特征在于,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述根据所述图像确定预定目标包括:The method according to claim 1, wherein the image comprises a first image collected by a front camera and a second image collected by a rear camera, and the determining a predetermined target according to the image comprises:
    识别所述第一图像中的第一目标特征和第二图像中的第二目标特征,并根据所述第一目标特征和所述第二目标特征确定所述预定目标。Identify the first target feature in the first image and the second target feature in the second image, and determine the predetermined target according to the first target feature and the second target feature.
  3. 根据权利要求1所述的方法,其特征在于,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述根据所述图像确定预定目标包括:The method according to claim 1, wherein the image comprises a first image collected by a front camera and a second image collected by a rear camera, and the determining a predetermined target according to the image comprises:
    识别所述第一图像中的第一目标特征和所述第二图像中的第二目标特征;Identifying a first target feature in the first image and a second target feature in the second image;
    获取屏幕中的光线信息;Obtain the light information on the screen;
    根据所述第一目标特征、所述第二目标特征和所述光线信息确定所述预定目标。The predetermined target is determined according to the first target feature, the second target feature, and the light information.
  4. 根据权利要求1所述的方法,其特征在于,所述图像包括前置摄像头采集的第一图像和后置摄像头采集的第二图像,所述根据所述图像确定预定目标包括:The method according to claim 1, wherein the image comprises a first image collected by a front camera and a second image collected by a rear camera, and the determining a predetermined target according to the image comprises:
    识别所述第一图像中的第一目标特征和所述第二图像中的第二目标特征;Identifying a first target feature in the first image and a second target feature in the second image;
    获取所述终端设备中各天线的阻抗变化值;Acquiring the impedance change value of each antenna in the terminal device;
    根据所述第一目标特征、所述第二目标特征和各所述阻抗变化值确定所述预定目标。The predetermined target is determined according to the first target characteristic, the second target characteristic, and each of the impedance change values.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述确定与所述预定目标对应的待调节天线包括:The method according to any one of claims 1 to 4, wherein the determining the antenna to be adjusted corresponding to the predetermined target comprises:
    根据屏幕中的光线信息获取所述屏幕中的遮挡区域,并确定所述遮挡区域的区域面积和区域位置;Acquiring the shielding area in the screen according to the light information in the screen, and determining the area and location of the shielding area;
    根据所述区域面积和所述区域位置确定与所述预定目标对应的待调节天线。The antenna to be adjusted corresponding to the predetermined target is determined according to the area of the area and the location of the area.
  6. 根据权利要求5所述的方法,其特征在于,当所述预定目标为头部时,所述根据所述区域面积和所述区域位置确定与所述预定目标对应的待调节天线包括:The method according to claim 5, wherein when the predetermined target is a head, the determining the antenna to be adjusted corresponding to the predetermined target according to the area of the area and the position of the area comprises:
    根据所述区域面积和所述区域位置获取第一目标遮挡区域,并将所述第一目标遮挡区域对应的第一目标天线确定为与所述头部对应的待调节天线,所述第一目标遮挡区域为区域面积大于第一面积阈值,且区域位置为预设位置的遮挡区域。Obtain a first target occlusion area according to the area area and the location of the area, and determine the first target antenna corresponding to the first target occlusion area as the antenna to be adjusted corresponding to the head, and the first target The shielded area is a shielded area whose area is greater than the first area threshold and the location of the area is a preset position.
  7. 根据权利要求5所述的方法,其特征在于,当所述预定目标为手部时,所述根据所述区域面积和所述区域位置确定与所述预定目标对应的待调节天线包括:The method according to claim 5, wherein when the predetermined target is a hand, the determining the antenna to be adjusted corresponding to the predetermined target according to the area of the area and the position of the area comprises:
    根据所述区域面积和所述区域位置确定第二目标遮挡区域,并将所述第二目标遮挡区域对应的第二目标天线确定为与所述手部对应的待调节天线,所述第二目标遮挡区域为区域面积小于第二面积阈值,且区域位置分布满足预设条件的遮挡区域。The second target shielding area is determined according to the area area and the position of the area, and the second target antenna corresponding to the second target shielding area is determined as the antenna to be adjusted corresponding to the hand, and the second target The shielded area is a shielded area where the area of the area is smaller than the second area threshold, and the area location distribution meets the preset condition.
  8. 根据权利要求1-4任一项所述的方法,其特征在于,所述确定与所述预定目标对应的待调节天线包括:The method according to any one of claims 1 to 4, wherein the determining the antenna to be adjusted corresponding to the predetermined target comprises:
    根据所述终端设备中各天线的阻抗变化值确定第三目标天线,并获取所述第三目标天线的位置 信息,所述第三目标天线为阻抗变化值大于预设变化阈值的天线;Determine a third target antenna according to the impedance change value of each antenna in the terminal device, and obtain position information of the third target antenna, where the third target antenna is an antenna with an impedance change value greater than a preset change threshold;
    根据所述第三目标天线的位置信息确定与所述预定目标对应的待调节天线。The antenna to be adjusted corresponding to the predetermined target is determined according to the position information of the third target antenna.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,在根据所述预定目标对应的回退参数降低所述待调节天线的发射功率之后包括:The method according to any one of claims 1-8, wherein after reducing the transmit power of the antenna to be adjusted according to the backoff parameter corresponding to the predetermined target, the method comprises:
    获取所述终端设备中各天线的发射功率,并根据所述发射功率切换所述终端设备的发射天线。Acquire the transmit power of each antenna in the terminal device, and switch the transmit antenna of the terminal device according to the transmit power.
  10. 根据权利要求1-8任一项所述的方法,其特征在于,在根据所述预定目标对应的回退参数降低所述待调节天线的发射功率之后包括:The method according to any one of claims 1-8, wherein after reducing the transmit power of the antenna to be adjusted according to the backoff parameter corresponding to the predetermined target, the method comprises:
    获取所述终端设备中各天线与所述预定目标之间的第二距离,并根据所述第二距离切换所述终端设备的发射天线。Acquire a second distance between each antenna in the terminal device and the predetermined target, and switch the transmitting antenna of the terminal device according to the second distance.
  11. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至10中任一项所述的天线功率调节方法。A terminal device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program as claimed in claims 1 to 10. The antenna power adjustment method described in any one of 10.
  12. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至10中任一项所述的天线功率调节方法。A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to realize the antenna power adjustment according to any one of claims 1 to 10 method.
PCT/CN2021/084203 2020-04-29 2021-03-30 Antenna power adjustment method, terminal device and storage medium WO2021218540A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010359679.9A CN113573390B (en) 2020-04-29 2020-04-29 Antenna power adjusting method, terminal device and storage medium
CN202010359679.9 2020-04-29

Publications (1)

Publication Number Publication Date
WO2021218540A1 true WO2021218540A1 (en) 2021-11-04

Family

ID=78158648

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/084203 WO2021218540A1 (en) 2020-04-29 2021-03-30 Antenna power adjustment method, terminal device and storage medium

Country Status (2)

Country Link
CN (1) CN113573390B (en)
WO (1) WO2021218540A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727101B (en) * 2022-06-08 2023-01-24 荣耀终端有限公司 Antenna power adjusting method and electronic equipment
CN116669153B (en) * 2022-12-09 2023-10-20 荣耀终端有限公司 Transmission power backoff method, terminal device, and computer-readable storage medium
CN115968019B (en) * 2023-03-16 2023-08-01 荣耀终端有限公司 Communication parameter processing method, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120075159A1 (en) * 2010-09-29 2012-03-29 Chia-Hao Chang Antenna matching circuit control device
CN103339796A (en) * 2010-04-13 2013-10-02 苹果公司 Adjustable wireless circuitry with antenna-based proximity detector
US20130331046A1 (en) * 2012-06-08 2013-12-12 Lenovo (Singapore) Pte. Ltd. Controlling antenna output power
CN104640187A (en) * 2013-11-07 2015-05-20 中兴通讯股份有限公司 Transmitting power control method and transmitting power control device
CN108601073A (en) * 2018-07-09 2018-09-28 深圳市万普拉斯科技有限公司 Reduce method, mobile terminal and the computer readable storage medium of SAR
CN109068383A (en) * 2018-08-24 2018-12-21 维沃移动通信有限公司 A kind of method and terminal device adjusting antenna transmission power
CN109982423A (en) * 2019-04-15 2019-07-05 Oppo广东移动通信有限公司 Antenna power method of adjustment, device, storage medium and intelligent terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101722237B1 (en) * 2010-09-28 2017-03-31 삼성전자주식회사 Device and method for controlling power in mobile telephone
CN107968671A (en) * 2017-11-23 2018-04-27 广东欧珀移动通信有限公司 Antenna module, terminal device and improvement aerial radiation refer to calibration method
CN108737657B (en) * 2018-05-18 2021-01-22 Oppo广东移动通信有限公司 Antenna control method and related product
CN110401473B (en) * 2019-07-23 2022-06-03 努比亚技术有限公司 Method for dynamically adjusting transmission power, mobile terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103339796A (en) * 2010-04-13 2013-10-02 苹果公司 Adjustable wireless circuitry with antenna-based proximity detector
US20120075159A1 (en) * 2010-09-29 2012-03-29 Chia-Hao Chang Antenna matching circuit control device
US20130331046A1 (en) * 2012-06-08 2013-12-12 Lenovo (Singapore) Pte. Ltd. Controlling antenna output power
CN104640187A (en) * 2013-11-07 2015-05-20 中兴通讯股份有限公司 Transmitting power control method and transmitting power control device
CN108601073A (en) * 2018-07-09 2018-09-28 深圳市万普拉斯科技有限公司 Reduce method, mobile terminal and the computer readable storage medium of SAR
CN109068383A (en) * 2018-08-24 2018-12-21 维沃移动通信有限公司 A kind of method and terminal device adjusting antenna transmission power
CN109982423A (en) * 2019-04-15 2019-07-05 Oppo广东移动通信有限公司 Antenna power method of adjustment, device, storage medium and intelligent terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150929A (en) * 2022-05-30 2022-10-04 荣耀终端有限公司 Antenna power adjusting method and device and readable storage medium
CN115150929B (en) * 2022-05-30 2023-07-07 荣耀终端有限公司 Method and device for adjusting antenna power and readable storage medium
CN115065767A (en) * 2022-08-19 2022-09-16 荣耀终端有限公司 Antenna power adjusting method and electronic equipment thereof

Also Published As

Publication number Publication date
CN113573390B (en) 2022-10-18
CN113573390A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
WO2020119493A1 (en) Response method for touch screen and electronic device
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
WO2021218540A1 (en) Antenna power adjustment method, terminal device and storage medium
JP7280005B2 (en) Wireless charging method and electronic device
CN110956939B (en) Method for adjusting screen brightness and electronic equipment
CN113722058B (en) Resource calling method and electronic equipment
WO2022127787A1 (en) Image display method and electronic device
WO2020056778A1 (en) Method for shielding touch event, and electronic device
WO2022001258A1 (en) Multi-screen display method and apparatus, terminal device, and storage medium
CN113542580B (en) Method and device for removing light spots of glasses and electronic equipment
WO2021218429A1 (en) Method for managing application window, and terminal device and computer-readable storage medium
WO2021164300A1 (en) Data presentation method, terminal device and storage medium
WO2022262492A1 (en) Data downloading method and apparatus, and terminal device
CN110058729B (en) Method and electronic device for adjusting sensitivity of touch detection
CN113542574A (en) Shooting preview method under zooming, terminal, storage medium and electronic equipment
WO2022242412A1 (en) Method for killing application, and related device
WO2022170856A1 (en) Method for establishing connection, and electronic device
CN114828098B (en) Data transmission method and electronic equipment
WO2022052786A1 (en) Method and apparatus for displaying skin sensitivity, electronic device, and readable storage medium
CN113918003A (en) Method and device for detecting time length of skin contacting screen and electronic equipment
CN113391735A (en) Display form adjusting method and device, electronic equipment and storage medium
CN116048831B (en) Target signal processing method and electronic equipment
CN116389884B (en) Thumbnail display method and terminal equipment
WO2021129453A1 (en) Screenshot method and related device
CN113496766A (en) User health management method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21795751

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21795751

Country of ref document: EP

Kind code of ref document: A1