CN112987127B - Detection processing method and device of specific absorption rate sensor and electronic equipment - Google Patents
Detection processing method and device of specific absorption rate sensor and electronic equipment Download PDFInfo
- Publication number
- CN112987127B CN112987127B CN202110166444.2A CN202110166444A CN112987127B CN 112987127 B CN112987127 B CN 112987127B CN 202110166444 A CN202110166444 A CN 202110166444A CN 112987127 B CN112987127 B CN 112987127B
- Authority
- CN
- China
- Prior art keywords
- angular velocity
- electronic device
- capacitance value
- preset
- ultrasonic signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000010521 absorption reaction Methods 0.000 title claims abstract description 51
- 238000001514 detection method Methods 0.000 title claims abstract description 41
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 35
- 230000007613 environmental effect Effects 0.000 description 27
- 230000005540 biological transmission Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000003990 capacitor Substances 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005670 electromagnetic radiation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01V—GEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
- G01V13/00—Manufacturing, calibrating, cleaning, or repairing instruments or devices covered by groups G01V1/00 – G01V11/00
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Life Sciences & Earth Sciences (AREA)
- General Physics & Mathematics (AREA)
- Geophysics (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
Description
技术领域Technical Field
本申请属于通信技术领域,具体涉及一种比吸收率传感器的检测处理方法、装置和电子设备。The present application belongs to the field of communication technology, and specifically relates to a detection and processing method, device and electronic equipment of a specific absorption rate sensor.
背景技术Background technique
随着信息技术的快速发展,人们在享受各种电子设备带来各种便利的同时,也日益关注电子设备的电磁辐射对人体健康的影响。With the rapid development of information technology, while people are enjoying the convenience brought by various electronic devices, they are also increasingly concerned about the impact of electromagnetic radiation from electronic devices on human health.
比吸收率(Specific Absorption Rate,SAR)是单位质量的人体组织所吸收或消耗的电磁功率,电子设备通常配置有SAR传感器,SAR传感器用于检测环境电容的电容值。电子设备通过比较环境电容值与预设电容值的大小,从而确定电子设备的预设距离范围内是否存在人体,当电子设备的预设距离范围内存在人体的情况下,降低天线的发射功率,从而降低人体组织可能吸收的电磁功率。Specific Absorption Rate (SAR) is the electromagnetic power absorbed or consumed by a unit mass of human tissue. Electronic devices are usually equipped with SAR sensors, which are used to detect the capacitance value of environmental capacitors. Electronic devices determine whether there is a human body within a preset distance range of the electronic device by comparing the environmental capacitance value with the preset capacitance value. When there is a human body within the preset distance range of the electronic device, the transmission power of the antenna is reduced, thereby reducing the electromagnetic power that may be absorbed by human tissue.
然而,在某些情况下,例如,在电子设备的天线出现脏污,电子设备跌落导致天线出现划痕,上述情况下会产生干扰电容,导致SAR传感器的检测到的环境电容值不够准确。However, in some cases, for example, when the antenna of an electronic device is dirty or scratched due to the electronic device falling, interference capacitance may be generated, resulting in inaccurate environmental capacitance value detected by the SAR sensor.
发明内容Summary of the invention
本申请实施例的目的是提供一种比吸收率传感器的检测处理方法、装置和电子设备,能够解决SAR传感器检测到的环境电容值不够准确的技术问题。The purpose of the embodiments of the present application is to provide a detection and processing method, device and electronic device for a specific absorption rate sensor, which can solve the technical problem that the environmental capacitance value detected by the SAR sensor is not accurate enough.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种比吸收率传感器的检测处理方法,包括:In a first aspect, an embodiment of the present application provides a detection and processing method for a specific absorption rate sensor, including:
在比吸收率传感器检测到的第一电容值与基准电容值的差值大于第一预设值的情况下,通过超声波发射器发射第一超声信号;When the difference between the first capacitance value detected by the specific absorption rate sensor and the reference capacitance value is greater than a first preset value, transmitting a first ultrasonic signal through the ultrasonic transmitter;
通过超声波接收器获取第二超声信号;Acquiring a second ultrasonic signal through an ultrasonic receiver;
根据所述第一超声信号和所述第二超声信号之间的关系,确定电子设备的预设距离范围内是否存在人体;determining whether a human body exists within a preset distance range of the electronic device according to a relationship between the first ultrasonic signal and the second ultrasonic signal;
在所述电子设备的预设距离范围内不存在人体的情况下,将第一电容值设置为基准电容值。When there is no human body within a preset distance range of the electronic device, the first capacitance value is set as a reference capacitance value.
第二方面,本申请实施例提供了一种检测处理装置,包括:In a second aspect, an embodiment of the present application provides a detection processing device, including:
超声波发射器,用于在比吸收率传感器检测到的第一电容值与基准电容值的差值大于第一预设值的情况下,发射第一超声信号;An ultrasonic transmitter, configured to transmit a first ultrasonic signal when a difference between a first capacitance value detected by the specific absorption rate sensor and a reference capacitance value is greater than a first preset value;
超声波接收器,用于获取第二超声信号;An ultrasonic receiver, used for acquiring a second ultrasonic signal;
第一确定模块,用于根据所述第一超声信号和所述第二超声信号之间的关系,确定电子设备的预设距离范围内是否存在人体;A first determination module, configured to determine whether there is a human body within a preset distance range of the electronic device according to a relationship between the first ultrasonic signal and the second ultrasonic signal;
第一处理模块,用于在所述电子设备的预设距离范围内不存在人体的情况下,将所述第一电容值设置为基准电容。The first processing module is configured to set the first capacitance value to a reference capacitance when there is no human body within a preset distance range of the electronic device.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
本申请实施例中,在比吸收率传感器检测到的第一电容值与基准电容值的差值大于第一预设值的情况下,通过超声波发射器发射第一超声信号,通过超声波接收器接收第二超声信号,确定电子设备的预设距离范围内是否存在人体;若电子设备的预设距离范围内不存在人体,说明出现了干扰电容,这种情况下,将第一电容值设置为基准电容值。本申请实施例中,在电子设备的预设距离范围内不存在人体的情况下,对基准电容值进行调整,将第一电容值设置为基准电容值,消除干扰电容对比吸收率传感器造成的影响,使得比吸收率传感器检测到的环境电容值更为准确。In the embodiment of the present application, when the difference between the first capacitance value detected by the specific absorption rate sensor and the reference capacitance value is greater than the first preset value, a first ultrasonic signal is emitted by an ultrasonic transmitter, and a second ultrasonic signal is received by an ultrasonic receiver to determine whether there is a human body within a preset distance range of the electronic device; if there is no human body within the preset distance range of the electronic device, it indicates that interference capacitance has occurred, and in this case, the first capacitance value is set to the reference capacitance value. In the embodiment of the present application, when there is no human body within the preset distance range of the electronic device, the reference capacitance value is adjusted, and the first capacitance value is set to the reference capacitance value, eliminating the influence of the interference capacitance on the specific absorption rate sensor, so that the environmental capacitance value detected by the specific absorption rate sensor is more accurate.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例提供的比吸收率传感器的检测处理方法的流程图;FIG1 is a flow chart of a detection and processing method of a specific absorption rate sensor provided in an embodiment of the present application;
图2是本申请实施例提供的比吸收率传感器的检测处理方法的一应用场景示意图;FIG2 is a schematic diagram of an application scenario of a detection and processing method for a specific absorption rate sensor provided in an embodiment of the present application;
图3是本申请实施例提供的检测处理装置的结构图;FIG3 is a structural diagram of a detection and processing device provided in an embodiment of the present application;
图4是本申请实施例提供的电子设备的结构图。FIG. 4 is a structural diagram of an electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally represents that the objects associated with each other are in an "or" relationship.
电子设备中通常设置有SAR传感器用于检测环境电容的电容值,该电容值可以称为环境电容值,应理解,环境电容值受电子设备所处环境的温度、湿度等因素影响。An electronic device is usually provided with a SAR sensor for detecting the capacitance value of an ambient capacitor, which may be referred to as an ambient capacitance value. It should be understood that the ambient capacitance value is affected by factors such as the temperature and humidity of the environment in which the electronic device is located.
SAR传感器的工作原理为,将SAR传感器检测到的第一电容值与基准电容值的差值,作为环境电容值。需要说明的是,该基准电容值可以理解为电子设备内部各元件的电容值,该基准电容值是一个固定值,可以理解,在未产生干扰电容的情况下,上述第一电容值为基准电容值与环境电容值的和。在环境电容值大于预设值的情况下,降低电子设备天线的发射频率,以降低人体组织可能吸收的电磁功率。The working principle of the SAR sensor is to use the difference between the first capacitance value detected by the SAR sensor and the reference capacitance value as the environmental capacitance value. It should be noted that the reference capacitance value can be understood as the capacitance value of each component inside the electronic device. The reference capacitance value is a fixed value. It can be understood that when no interference capacitance is generated, the first capacitance value is the sum of the reference capacitance value and the environmental capacitance value. When the environmental capacitance value is greater than the preset value, the transmission frequency of the electronic device antenna is reduced to reduce the electromagnetic power that may be absorbed by human tissue.
然而,在某些情况下,例如电子设备的天线出现脏污,或者电子设备的天线出现划痕,上述情况下,会产生干扰电容。SAR传感器错误的将干扰电容值确定为环境电容值,导致SAR传感器检测到的环境电容值不够准确,进而降低电子设备天线的发射频率。However, in some cases, such as when the antenna of an electronic device is dirty or scratched, interference capacitance will be generated. The SAR sensor mistakenly determines the interference capacitance value as the environmental capacitance value, resulting in the environmental capacitance value detected by the SAR sensor being inaccurate, thereby reducing the transmission frequency of the antenna of the electronic device.
基于上述可能存在的技术问题,本申请提出以下技术构思:Based on the above possible technical problems, this application proposes the following technical ideas:
在出现干扰电容的情况下,对基准电容值进行调整,将SAR传感器检测到的第一电容值设置为基准电容值,以此消除干扰电容产生的电容值,提高比吸收率传感器检测到的环境电容值的准确性。In the event of interference capacitance, the reference capacitance value is adjusted, and the first capacitance value detected by the SAR sensor is set as the reference capacitance value, so as to eliminate the capacitance value generated by the interference capacitance and improve the accuracy of the environmental capacitance value detected by the specific absorption rate sensor.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的比吸收率传感器的检测处理方法进行详细地说明。The detection and processing method of the specific absorption rate sensor provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
请参阅图1,图1是本申请实施例提供的比吸收率传感器的检测处理方法的流程图。本申请实施例提供的方法应用于电子设备,该电子设备包括SAR传感器,本申请实施例提供的比吸收率传感器的检测处理方法包括以下步骤:Please refer to FIG1 , which is a flow chart of a detection and processing method of a specific absorption rate sensor provided in an embodiment of the present application. The method provided in an embodiment of the present application is applied to an electronic device, the electronic device including a SAR sensor, and the detection and processing method of a specific absorption rate sensor provided in an embodiment of the present application includes the following steps:
S101,在比吸收率传感器检测到的第一电容值与基准电容值的差值大于第一预设值的情况下,通过超声波发射器发射第一超声信号。S101 , when the difference between a first capacitance value detected by a specific absorption rate sensor and a reference capacitance value is greater than a first preset value, transmitting a first ultrasonic signal through an ultrasonic transmitter.
本步骤中,如上所述,SAR传感器检测到的第一电容值为环境电容值与基准电容值的和,因此,第一电容值与基准电容值的差值为环境电容值。In this step, as described above, the first capacitance value detected by the SAR sensor is the sum of the ambient capacitance value and the reference capacitance value, and therefore, the difference between the first capacitance value and the reference capacitance value is the ambient capacitance value.
在环境电容值大于第一预设值的情况下,表示电子设备预设范围内可能存在人体,或者,电子设备产生了干扰电容。When the environmental capacitance value is greater than the first preset value, it indicates that there may be a human body within the preset range of the electronic device, or the electronic device generates interference capacitance.
一般而言,至少存在以下2种方式,会产生干扰电容:Generally speaking, there are at least two ways to generate interference capacitance:
第一种:电子设备的天线表面出现了脏污。The first type: The antenna surface of the electronic device is dirty.
第二种:电子设备的天线出现了划痕,该划痕可能是由于电子设备发生跌落产生的,也可能是电子设备遭到撞击或在其他情况下产生的。The second type: There are scratches on the antenna of the electronic device, which may be caused by the electronic device falling, being hit or in other circumstances.
本步骤中,电子设备还包括有超声波接收器和超声波发射器,其中,超声波发射器用于发射第一超声信号。In this step, the electronic device further includes an ultrasonic receiver and an ultrasonic transmitter, wherein the ultrasonic transmitter is used to transmit a first ultrasonic signal.
在电子设备预设范围内可能存在人体,或者,电子设备产生了干扰电容的情况下,可以使用超声波接收器和超声波发射器确定电子设备预设范围内是否存在人体。In the case where there may be a human body within the preset range of the electronic device, or the electronic device generates interference capacitance, an ultrasonic receiver and an ultrasonic transmitter may be used to determine whether there is a human body within the preset range of the electronic device.
S102,通过超声波接收器获取第二超声信号。S102: Acquire a second ultrasonic signal through an ultrasonic receiver.
本步骤中,超声波接收器获取的第二超声信号为第一超声信号发射至人体后,反馈的超声信号。In this step, the second ultrasonic signal acquired by the ultrasonic receiver is an ultrasonic signal fed back after the first ultrasonic signal is transmitted to the human body.
S103,根据所述第一超声信号和所述第二超声信号之间的关系,确定电子设备的预设距离范围内是否存在人体。S103: Determine whether there is a human body within a preset distance range of the electronic device according to the relationship between the first ultrasonic signal and the second ultrasonic signal.
本步骤中,在第二超声信号后,可以根据第一超声信号和第二超声信号,确定电子设备与人体的距离,以此判断电子设备的预设距离范围内是否存在人体,具体的技术方案请参见后续实施例。In this step, after the second ultrasonic signal, the distance between the electronic device and the human body can be determined based on the first ultrasonic signal and the second ultrasonic signal, so as to judge whether there is a human body within a preset distance range of the electronic device. For specific technical solutions, please refer to the subsequent embodiments.
S104,在所述电子设备的预设距离范围内不存在人体的情况下,将所述第一电容值设置为基准电容值。S104: When there is no human body within a preset distance range of the electronic device, setting the first capacitance value to a reference capacitance value.
本步骤中,在电子设备的预设距离范围内不存在人体的情况下,表示电子设备产生了干扰电容,这种情况下,该干扰电容可能是天线表面出现脏污造成的。同时,由于干扰电容的存在,导致SAR检测到的环境电容值不准确,这种情况下,控制电子设备不降低天线发射频率。In this step, if there is no human body within the preset distance range of the electronic device, it means that the electronic device has generated interference capacitance, in which case the interference capacitance may be caused by dirt on the antenna surface. At the same time, due to the existence of interference capacitance, the environmental capacitance value detected by SAR is inaccurate, in which case the electronic device is controlled not to reduce the antenna transmission frequency.
为了消除干扰电容对SAR传感器造成的影响,将第一电容值设置为基准电容值,这样,可以再次使用SAR传感器对环境电容进行检测,得到准确的环境电容值。In order to eliminate the influence of the interference capacitance on the SAR sensor, the first capacitance value is set as the reference capacitance value, so that the SAR sensor can be used again to detect the environmental capacitance to obtain an accurate environmental capacitance value.
示例性的,在检测到电子设备的预设距离范围内不存在人体的情况下,SAR传感器检测到的第一电容值为10pF,预先设置的基准电容值为5pF,则将该基准电容值设置为10pF。Exemplarily, when it is detected that there is no human body within a preset distance range of the electronic device, the first capacitance value detected by the SAR sensor is 10 pF, and the preset reference capacitance value is 5 pF, then the reference capacitance value is set to 10 pF.
应理解,在一些实施例中,若检测到电子设备的预设距离范围内存在人体,表示电子设备未产生干扰电容,这种情况下,可以控制电子设备降低天线发射频率,进而降低人体组织吸收的电磁功率。It should be understood that in some embodiments, if a human body is detected within a preset distance range of an electronic device, it means that the electronic device does not generate interference capacitance. In this case, the electronic device can be controlled to reduce the antenna transmission frequency, thereby reducing the electromagnetic power absorbed by human tissue.
应理解,在一些实施例中,在人工对天线表面的脏污,或者天线表面的划痕进行处理后,可以重启电子设备,重新获取电子设备各元件的电容值,并将该电容值作为基准电容值。It should be understood that in some embodiments, after manually cleaning the dirt or scratches on the antenna surface, the electronic device can be restarted to reacquire the capacitance value of each component of the electronic device and use the capacitance value as the reference capacitance value.
本申请实施例中,在电子设备的预设距离范围内不存在人体的情况下,对基准电容值进行调整,将第一电容值设置为基准电容值,消除干扰电容对比吸收率传感器造成的影响,使得比吸收率传感器检测到的环境电容值更为准确。In an embodiment of the present application, when there is no human body within a preset distance range of the electronic device, the reference capacitance value is adjusted, and the first capacitance value is set to the reference capacitance value to eliminate the influence of the interference capacitance on the specific absorption rate sensor, so that the environmental capacitance value detected by the specific absorption rate sensor is more accurate.
可选地,所述确定所述电子设备的预设距离范围内是否存在人体之后,所述方法还包括:Optionally, after determining whether there is a human body within a preset distance range of the electronic device, the method further includes:
在所述电子设备的预设距离范围内不存在人体的情况下,获取所述比吸收率传感器的检测时长;在所述检测时长大于预设时长的情况下,将所述第一电容值设置为基准电容值。When there is no human body within a preset distance range of the electronic device, the detection duration of the specific absorption rate sensor is obtained; when the detection duration is greater than the preset duration, the first capacitance value is set to a reference capacitance value.
本实施例中,在电子设备的预设距离范围内不存在人体的情况下,获取比吸收率传感器的检测时长,在该检测时长大于预设时长的情况下,确定该电子设备产生了较为稳定的干扰电容,这种情况下,才将第一电容值设置为基准电容值,以消除干扰电容的影响。In this embodiment, when there is no human body within a preset distance range of the electronic device, the detection time of the specific absorption rate sensor is obtained. When the detection time is longer than the preset time, it is determined that the electronic device has generated a relatively stable interference capacitance. In this case, the first capacitance value is set to a reference capacitance value to eliminate the influence of the interference capacitance.
需要说明的是,上述比吸收率传感器的检测时长为终止时间与起始时间的差,起始时间为比吸收率传感器检测到第一电容值与基准电容值的差值大于第一预设值时对应的时间,终止时间为所述电子设备检测到预设距离范围内不存在人体时对应的时间。It should be noted that the detection duration of the above-mentioned specific absorption rate sensor is the difference between the end time and the start time, the start time is the time corresponding to when the specific absorption rate sensor detects that the difference between the first capacitance value and the reference capacitance value is greater than the first preset value, and the end time is the time corresponding to when the electronic device detects that there is no human body within the preset distance range.
示例性的,当电子设备内置的计时器指向的时间为10:00时,比吸收率传感器检测到的环境电容值大于第一预设值,则将起始时间确定为10:00;当电子设备内置的计时器指向的时间为10:05时,电子设备检测到预设距离范围内不存在人体,则将终止时间确定为10:05;可以确定检测时长为5秒。若预设时长为3秒,由于检测时长大于预设时长,因此可以将第一电容值设置为基准电容值。For example, when the time indicated by the built-in timer of the electronic device is 10:00, the environmental capacitance value detected by the specific absorption rate sensor is greater than the first preset value, and the start time is determined to be 10:00; when the time indicated by the built-in timer of the electronic device is 10:05, the electronic device detects that there is no human body within the preset distance range, and the end time is determined to be 10:05; the detection time can be determined to be 5 seconds. If the preset time is 3 seconds, since the detection time is longer than the preset time, the first capacitance value can be set as the reference capacitance value.
应理解,在一些实施例中,在检测到电子设备的预设距离范围内不存在人体的情况下,直接将第一电容值设置为基准电容值,以消除干扰电容的影响。It should be understood that in some embodiments, when it is detected that there is no human body within a preset distance range of the electronic device, the first capacitance value is directly set to the reference capacitance value to eliminate the influence of the interference capacitance.
可选地,所述通过所述超声波发射器发射第一超声信号之前,所述方法还包括:Optionally, before transmitting the first ultrasonic signal by the ultrasonic transmitter, the method further includes:
确定所述电子设备是否处于跌落状态;Determining whether the electronic device is in a falling state;
所述通过所述超声波发射器发射第一超声信号包括:The transmitting of the first ultrasonic signal by the ultrasonic transmitter comprises:
在所述电子设备未处于所述跌落状态的情况下,通过所述超声波发射器发射第一超声信号。When the electronic device is not in the falling state, a first ultrasonic signal is emitted by the ultrasonic transmitter.
本实施例中,在比吸收率传感器检测到的第一电容值与基准电容值的差值大于第一预设值的情况下,先确定电子设备在预设时间段内是否处于跌落状态,其中,该预设时间段位于检测到环境电容值大于第一预设值之前,优选地,该预设时间段可以是在检测到环境电容值大于第一预设值之前的30秒,对于预设时间段的具体时长,本实施例在此不做具体限定。In this embodiment, when the difference between the first capacitance value detected by the specific absorption rate sensor and the reference capacitance value is greater than the first preset value, it is first determined whether the electronic device is in a falling state within a preset time period, wherein the preset time period is before the environmental capacitance value is detected to be greater than the first preset value. Preferably, the preset time period can be 30 seconds before the environmental capacitance value is detected to be greater than the first preset value. As for the specific duration of the preset time period, this embodiment does not make any specific limitation here.
若电子设备未处于跌落状态,表示电子设备的天线区域未产生划痕,进而确定电子设备的预设距离范围内是否存在人体。If the electronic device is not in a falling state, it means that there is no scratch on the antenna area of the electronic device, thereby determining whether there is a human body within a preset distance range of the electronic device.
在电子设备未处于跌落状态的情况下,表示未因电子设备的跌落,导致电子设备产生干扰电容,这种情况下,进一步判断电子设备的预设距离范围内是否存在人体,以确定电子设备是否产生了干扰电容。When the electronic device is not in a falling state, it means that the electronic device does not generate interference capacitance due to the falling of the electronic device. In this case, it is further determined whether there is a human body within a preset distance range of the electronic device to determine whether the electronic device generates interference capacitance.
在若电子设备处于跌落状态的情况下,表示电子设备的天线表面可能存在划痕,进而产生干扰电容。这种情况下,将第一电容值设置为基准电容值,消除干扰电容对SAR传感器造成的影响,这样,可以再次使用SAR传感器对环境电容值进行检测,得到准确的环境电容值。If the electronic device is in a dropped state, it means that there may be scratches on the antenna surface of the electronic device, thereby generating interference capacitance. In this case, the first capacitance value is set as the reference capacitance value to eliminate the influence of the interference capacitance on the SAR sensor, so that the SAR sensor can be used again to detect the environmental capacitance value to obtain an accurate environmental capacitance value.
可选地,在确定电子设备是否处于跌落状态之后,电子设备可以显示提示信息,提醒用户对天线进行清理,以消除干扰电容。Optionally, after determining whether the electronic device is in a falling state, the electronic device may display a prompt message to remind the user to clean the antenna to eliminate the interference capacitor.
应理解,在一些实施例中,在比吸收率传感器检测到的第一电容值与基准电容值的差值大于第一预设值的情况下,直接控制超声波发射器发射第一超声信号,以确定电子设备的预设距离范围内是否存在人体。It should be understood that in some embodiments, when the difference between the first capacitance value detected by the specific absorption rate sensor and the reference capacitance value is greater than the first preset value, the ultrasonic transmitter is directly controlled to emit a first ultrasonic signal to determine whether there is a human body within a preset distance range of the electronic device.
应理解,在另一些实施例中,在比吸收率传感器检测到的第一电容值与基准电容值的差值大于第一预设值的情况下,先确定电子设备的预设距离范围内是否存在人体,若电子设备的预设距离范围内不存在人体,则确定电子设备是否处于跌落状态。It should be understood that in other embodiments, when the difference between the first capacitance value detected by the specific absorption rate sensor and the reference capacitance value is greater than a first preset value, it is first determined whether there is a human body within the preset distance range of the electronic device. If there is no human body within the preset distance range of the electronic device, it is determined whether the electronic device is in a falling state.
以下,具体说明如何确定电子设备是否处于跌落状态:The following is a detailed description of how to determine whether an electronic device has been dropped:
可选地,所述确定所述电子设备是否处于跌落状态包括:Optionally, determining whether the electronic device is in a falling state includes:
获取所述电子设备的第一角速度、第二角速度和第三角速度;在预设的角速度表中对所述第一角速度、所述第二角速度和所述第三角速度进行查询;在所述第一角速度处于第一角速度范围,所述第二角速度处于第二角速度范围,且所述第三角速度处于第三角速度范围的情况下,确定所述电子设备处于跌落状态。Acquire a first angular velocity, a second angular velocity, and a third angular velocity of the electronic device; query the first angular velocity, the second angular velocity, and the third angular velocity in a preset angular velocity table; and determine that the electronic device is in a falling state when the first angular velocity is within a first angular velocity range, the second angular velocity is within a second angular velocity range, and the third angular velocity is within a third angular velocity range.
本实施例中,可以获取陀螺仪在预设时间段内记录的角速度数据,确定电子设备是否处于跌落状态。如上所述,预设时间段可以是在检测到环境电容值大于第一预设值之前一段时间。In this embodiment, the angular velocity data recorded by the gyroscope within a preset time period can be obtained to determine whether the electronic device is in a falling state. As described above, the preset time period can be a period of time before the environmental capacitance value is detected to be greater than the first preset value.
其中,上述角速度数据包括电子设备的第一角速度、第二角速度和第三角速度。第一角速度指向的方向、第二角速度指向的方向和第三角速度指向的方向相互垂直,第一角速度指向的方向与水平面垂直,第二角速度指向的方向和第三角速度指向的方向与水平面平行。The angular velocity data includes a first angular velocity, a second angular velocity and a third angular velocity of the electronic device. The directions of the first angular velocity, the second angular velocity and the third angular velocity are perpendicular to each other, the direction of the first angular velocity is perpendicular to the horizontal plane, and the directions of the second angular velocity and the third angular velocity are parallel to the horizontal plane.
这里,可以假设一个三维直角坐标系,其中,坐标系X轴指向的方向与第二角速度指向的方向一致,第二角速度表示电子设备在X轴方向上运动的角速度;坐标系Y轴指向的方向与第三角速度指向的方向一致,第三角速度表示电子设备在Y轴方向上运动的角速度;坐标系Z轴指向的方向与第一角速度指向的方向一致,第一角速度表示电子设备在Z轴方向上运动的角速度。Here, a three-dimensional rectangular coordinate system can be assumed, in which the direction of the X-axis of the coordinate system is consistent with the direction of the second angular velocity, and the second angular velocity represents the angular velocity of the electronic device moving in the X-axis direction; the direction of the Y-axis of the coordinate system is consistent with the direction of the third angular velocity, and the third angular velocity represents the angular velocity of the electronic device moving in the Y-axis direction; the direction of the Z-axis of the coordinate system is consistent with the direction of the first angular velocity, and the first angular velocity represents the angular velocity of the electronic device moving in the Z-axis direction.
需要说明的是,电子设备处于跌落状态时,第一角速度、第二角速度和第三角速度均处于不同的角速度范围。可以将电子设备的第一角速度、第二角速度和第三角速度输入至预设的角速度表中进行查询,该角速度表存储有电子设备处于跌落状态下的第一角速度范围、第二角速度范围和第三角速度范围,在第一角速度处于第一角速度范围,第二角速度处于第二角速度范围,且第三角速度处于第三角速度范围的情况下,确定电子设备处于跌落状态。It should be noted that when the electronic device is in a falling state, the first angular velocity, the second angular velocity, and the third angular velocity are all in different angular velocity ranges. The first angular velocity, the second angular velocity, and the third angular velocity of the electronic device can be input into a preset angular velocity table for query, and the angular velocity table stores the first angular velocity range, the second angular velocity range, and the third angular velocity range of the electronic device in the falling state. When the first angular velocity is in the first angular velocity range, the second angular velocity is in the second angular velocity range, and the third angular velocity is in the third angular velocity range, it is determined that the electronic device is in a falling state.
应理解,在一些实施例中,可以通过电子设备内置的压力传感器检测电子设备是否承受过大的压力,在承受压力大于一定数值的情况下,确定电子设备处于跌落状态。It should be understood that in some embodiments, a pressure sensor built into the electronic device can be used to detect whether the electronic device is subjected to excessive pressure, and when the pressure is greater than a certain value, it is determined that the electronic device is in a falling state.
以下,具体说明如何检测电子设备的预设距离范围内是否存在人体:The following specifically describes how to detect whether there is a human body within a preset distance range of an electronic device:
可选地,所述根据所述第一超声信号和所述第二超声信号之间的关系,确定所述电子设备的预设距离范围内是否存在人体包括:Optionally, determining whether there is a human body within a preset distance range of the electronic device according to the relationship between the first ultrasonic signal and the second ultrasonic signal includes:
获取所述第一超声信号对应的发送时间和所述第二超声信号对应的接收时间;将所述接收时间与所述发送时间的差确定为时间差值;计算所述时间差值与预设的声速值的乘积;将所述乘积与第二预设值相除,得到所述电子设备与人体的距离值;在所述距离值小于第三预设值的情况下,确定所述电子设备的预设距离范围内不存在人体。Obtain the sending time corresponding to the first ultrasonic signal and the receiving time corresponding to the second ultrasonic signal; determine the difference between the receiving time and the sending time as a time difference; calculate the product of the time difference and a preset sound speed value; divide the product by a second preset value to obtain a distance value between the electronic device and the human body; when the distance value is less than a third preset value, determine that there is no human body within the preset distance range of the electronic device.
以下,结合图2对本实施例进行阐述。如图2所示,图2中示出的电子设备包括2个SAR传感器、5个天线、听筒和麦克风。其中,该听筒可以理解为超声波发射器,该麦克风可以理解为超声波接收器,需要说明的是,超声波发射器和超声波接收器也可以是电子设备配置的其他元器件。The present embodiment is described below in conjunction with FIG2. As shown in FIG2, the electronic device shown in FIG2 includes two SAR sensors, five antennas, an earpiece and a microphone. The earpiece can be understood as an ultrasonic transmitter, and the microphone can be understood as an ultrasonic receiver. It should be noted that the ultrasonic transmitter and the ultrasonic receiver can also be other components configured in the electronic device.
应理解,在图2所示的应用场景中,天线可以理解为是SAR传感器检测环境电容的感应片,第一SAR传感器通过天线1、天线2和天线3检测环境电容;第二AR传感器通过天线4和天线5检测环境电容。It should be understood that in the application scenario shown in Figure 2, the antenna can be understood as a sensing piece for the SAR sensor to detect environmental capacitance. The first SAR sensor detects environmental capacitance through antenna 1, antenna 2 and antenna 3; the second AR sensor detects environmental capacitance through antenna 4 and antenna 5.
示例性的,声波的传播速度为340米/秒,若接收时间与发送时间的时间差值为1毫秒,则时间差值与预设的声速值的乘积为34厘米,将34厘米除以第二预设值,优选地,该第二预设值为2,得到17厘米,即电子设备与人体的距离为17厘米。若第三预设数值为20厘米,则确定在电子设备的预设距离范围内存在人体。Exemplarily, the propagation speed of sound waves is 340 m/s. If the time difference between the receiving time and the sending time is 1 millisecond, the product of the time difference and the preset sound speed value is 34 cm. 34 cm is divided by the second preset value, preferably, the second preset value is 2, and 17 cm is obtained, that is, the distance between the electronic device and the human body is 17 cm. If the third preset value is 20 cm, it is determined that there is a human body within the preset distance range of the electronic device.
如上举例,一种可选的实施方式为,可以将预设距离范围设置为17厘米,这种实施方式下,若接收时间与发送时间的时间差值大于1毫秒,表示电子设备与人体的距离大于17厘米,即电子设备与人体的距离大于预设距离范围,则确定电子设备的预设距离范围内不存在人体;若接收时间与发送时间的时间差值小于或等于1毫秒,则确定电子设备的预设距离范围内存在人体。As shown in the example above, an optional implementation is that the preset distance range can be set to 17 centimeters. In this implementation, if the time difference between the receiving time and the sending time is greater than 1 millisecond, it means that the distance between the electronic device and the human body is greater than 17 centimeters, that is, the distance between the electronic device and the human body is greater than the preset distance range, then it is determined that there is no human body within the preset distance range of the electronic device; if the time difference between the receiving time and the sending time is less than or equal to 1 millisecond, then it is determined that there is a human body within the preset distance range of the electronic device.
如图3所示,检测处理装置200包括:As shown in FIG3 , the detection processing device 200 includes:
超声波发射器201,用于在比吸收率传感器检测到的第一电容值与基准电容值的差值大于第一预设值的情况下,发射第一超声信号;The ultrasonic transmitter 201 is used to transmit a first ultrasonic signal when the difference between the first capacitance value detected by the specific absorption rate sensor and the reference capacitance value is greater than a first preset value;
超声波接收器202,用于获取第二超声信号;An ultrasonic receiver 202, used to obtain a second ultrasonic signal;
第一确定模块203,用于根据所述第一超声信号和所述第二超声信号之间的关系,确定电子设备的预设距离范围内是否存在人体;A first determination module 203, configured to determine whether there is a human body within a preset distance range of the electronic device according to a relationship between the first ultrasonic signal and the second ultrasonic signal;
第一处理模块204,用于在所述电子设备的预设距离范围内不存在人体的情况下,将所述第一电容值设置为基准电容。The first processing module 204 is configured to set the first capacitance value as a reference capacitance when there is no human body within a preset distance range of the electronic device.
可选地,所述检测处理装置200还包括:Optionally, the detection processing device 200 further includes:
获取模块,用于在所述电子设备的预设距离范围内不存在人体的情况下,获取所述比吸收率传感器的检测时长;An acquisition module, configured to acquire a detection duration of the specific absorption rate sensor when no human body exists within a preset distance range of the electronic device;
第二处理模块,用于在所述检测时长大于预设时长的情况下,将所述第一电容值设置为基准电容值。The second processing module is configured to set the first capacitance value to a reference capacitance value when the detection duration is greater than a preset duration.
可选地,所述检测处理装置200还包括:Optionally, the detection processing device 200 further includes:
第二确定模块,用于确定所述电子设备是否处于跌落状态;A second determination module, used to determine whether the electronic device is in a falling state;
所述超声波发射器201,还用于:The ultrasonic transmitter 201 is also used for:
在所述电子设备未处于所述跌落状态的情况下,通过所述超声波发射器发射第一超声信号。When the electronic device is not in the falling state, a first ultrasonic signal is emitted by the ultrasonic transmitter.
可选地,所述第二确定模块,还用于:Optionally, the second determining module is further configured to:
获取所述电子设备的第一角速度、第二角速度和第三角速度;Acquire a first angular velocity, a second angular velocity, and a third angular velocity of the electronic device;
在预设的角速度表中对所述第一角速度、所述第二角速度和所述第三角速度进行查询;Searching the first angular velocity, the second angular velocity, and the third angular velocity in a preset angular velocity table;
在所述第一角速度处于第一角速度范围,所述第二角速度处于第二角速度范围,且所述第三角速度处于第三角速度范围的情况下,确定所述电子设备处于跌落状态。When the first angular velocity is within a first angular velocity range, the second angular velocity is within a second angular velocity range, and the third angular velocity is within a third angular velocity range, it is determined that the electronic device is in a falling state.
可选地,所述第一确定模块203,还用于:Optionally, the first determining module 203 is further configured to:
获取所述第一超声信号对应的发送时间和所述第二超声信号对应的接收时间;Acquire a sending time corresponding to the first ultrasonic signal and a receiving time corresponding to the second ultrasonic signal;
将所述接收时间与所述发送时间的差确定为时间差值;Determine the difference between the receiving time and the sending time as a time difference value;
计算所述时间差值与预设的声速值的乘积;Calculating the product of the time difference and a preset sound speed value;
将所述乘积与第二预设值相除,得到所述电子设备与人体的距离值;Dividing the product by a second preset value to obtain a distance value between the electronic device and the human body;
在所述距离值小于第三预设值的情况下,确定所述电子设备的预设距离范围内不存在人体。When the distance value is less than a third preset value, it is determined that there is no human body within the preset distance range of the electronic device.
本申请实施例中的检测处理装置可以是移动终端,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The detection and processing device in the embodiment of the present application can be a mobile terminal, or a component, integrated circuit, or chip in the terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
本申请实施例中的检测处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The detection processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的检测处理装置能够实现图1的方法实施例中比吸收率传感器的检测处理方法实现的各个过程,为避免重复,这里不再赘述。The detection and processing device provided in the embodiment of the present application can implement each process implemented by the detection and processing method of the specific absorption rate sensor in the method embodiment of FIG. 1 , and will not be described again here to avoid repetition.
本申请实施例中,在电子设备的预设距离范围内不存在人体的情况下,对基准电容值进行调整,将第一电容值设置为基准电容值,消除干扰电容对比吸收率传感器造成的影响,使得比吸收率传感器检测到的环境电容值更为准确。In an embodiment of the present application, when there is no human body within a preset distance range of the electronic device, the reference capacitance value is adjusted, and the first capacitance value is set to the reference capacitance value to eliminate the influence of the interference capacitance on the specific absorption rate sensor, so that the environmental capacitance value detected by the specific absorption rate sensor is more accurate.
可选地,本申请实施例还提供一种电子设备,包括处理器310,存储器309,存储在存储器309上并可在所述处理器310上运行的程序或指令,该程序或指令被处理器310执行时实现上述比吸收率传感器的检测处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device, including a processor 310, a memory 309, and a program or instruction stored in the memory 309 and executable on the processor 310. When the program or instruction is executed by the processor 310, each process of the above-mentioned detection and processing method embodiment of the specific absorption rate sensor is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
图4为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 4 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备300包括但不限于:射频单元301、网络模块302、音频输出单元303、输入单元304、传感器305、显示单元306、用户输入单元307、接口单元308、存储器309、以及处理器310等部件。The electronic device 300 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, and a processor 310.
本领域技术人员可以理解,电子设备300还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图4中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art will appreciate that the electronic device 300 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 310 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The electronic device structure shown in FIG4 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
其中,处理器310,用于在比吸收率传感器检测到的第一电容值与基准电容值的差值大于第一预设值的情况下,通过超声波发射器发射第一超声信号;The processor 310 is configured to transmit a first ultrasonic signal through an ultrasonic transmitter when the difference between the first capacitance value detected by the specific absorption rate sensor and the reference capacitance value is greater than a first preset value;
通过超声波接收器获取第二超声信号;Acquiring a second ultrasonic signal through an ultrasonic receiver;
根据所述第一超声信号和所述第二超声信号之间的关系,确定电子设备的预设距离范围内是否存在人体;determining whether a human body exists within a preset distance range of the electronic device according to a relationship between the first ultrasonic signal and the second ultrasonic signal;
在所述电子设备的预设距离范围内不存在人体的情况下,将所述第一电容值设置为基准电容值。When there is no human body within a preset distance range of the electronic device, the first capacitance value is set as a reference capacitance value.
可选地,所述处理器310,还用于在所述电子设备的预设距离范围内不存在人体的情况下,获取所述比吸收率传感器的检测时长;Optionally, the processor 310 is further configured to obtain a detection duration of the specific absorption rate sensor when no human body exists within a preset distance range of the electronic device;
在所述检测时长大于预设时长的情况下,将所述第一电容值设置为基准电容值。When the detection duration is greater than a preset duration, the first capacitance value is set as a reference capacitance value.
可选地,所述处理器310,还用于确定所述电子设备是否处于跌落状态;Optionally, the processor 310 is further configured to determine whether the electronic device is in a falling state;
在所述电子设备未处于所述跌落状态的情况下,通过所述超声波发射器发射第一超声信号。When the electronic device is not in the falling state, a first ultrasonic signal is emitted by the ultrasonic transmitter.
可选地,所述处理器310,还用于获取所述电子设备的第一角速度、第二角速度和第三角速度;Optionally, the processor 310 is further configured to obtain a first angular velocity, a second angular velocity, and a third angular velocity of the electronic device;
在预设的角速度表中对所述第一角速度、所述第二角速度和所述第三角速度进行查询;querying the first angular velocity, the second angular velocity, and the third angular velocity in a preset angular velocity table;
在所述第一角速度处于第一角速度范围,所述第二角速度处于第二角速度范围,且所述第三角速度处于第三角速度范围的情况下,确定所述电子设备处于跌落状态。When the first angular velocity is within a first angular velocity range, the second angular velocity is within a second angular velocity range, and the third angular velocity is within a third angular velocity range, it is determined that the electronic device is in a falling state.
可选地,所述处理器310,还用于获取所述第一超声信号对应的发送时间和所述第二超声信号对应的接收时间;Optionally, the processor 310 is further configured to obtain a sending time corresponding to the first ultrasonic signal and a receiving time corresponding to the second ultrasonic signal;
将所述接收时间与所述发送时间的差确定为时间差值;Determine the difference between the receiving time and the sending time as a time difference value;
计算所述时间差值与预设的声速值的乘积;Calculating the product of the time difference and a preset sound speed value;
将所述乘积与第二预设值相除,得到所述电子设备与人体的距离值;Dividing the product by a second preset value to obtain a distance value between the electronic device and the human body;
在所述距离值小于第三预设值的情况下,确定所述电子设备的预设距离范围内不存在人体。When the distance value is less than a third preset value, it is determined that there is no human body within the preset distance range of the electronic device.
本申请实施例中,在电子设备的预设距离范围内不存在人体的情况下,对基准电容值进行调整,将第一电容值设置为基准电容值,消除干扰电容对比吸收率传感器造成的影响,使得比吸收率传感器检测到的环境电容值更为准确。In an embodiment of the present application, when there is no human body within a preset distance range of the electronic device, the reference capacitance value is adjusted, and the first capacitance value is set to the reference capacitance value to eliminate the influence of the interference capacitance on the specific absorption rate sensor, so that the environmental capacitance value detected by the specific absorption rate sensor is more accurate.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述比吸收率传感器的检测处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned detection and processing method embodiment of the specific absorption rate sensor is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述比吸收率传感器的检测处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned detection and processing method embodiment of the specific absorption rate sensor, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110166444.2A CN112987127B (en) | 2021-02-04 | 2021-02-04 | Detection processing method and device of specific absorption rate sensor and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110166444.2A CN112987127B (en) | 2021-02-04 | 2021-02-04 | Detection processing method and device of specific absorption rate sensor and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112987127A CN112987127A (en) | 2021-06-18 |
CN112987127B true CN112987127B (en) | 2024-06-25 |
Family
ID=76348643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110166444.2A Active CN112987127B (en) | 2021-02-04 | 2021-02-04 | Detection processing method and device of specific absorption rate sensor and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112987127B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115277911A (en) * | 2022-07-06 | 2022-11-01 | 上海龙旗科技股份有限公司 | Method and device for acquiring specific absorption rate SAR of mobile phone |
CN115684734A (en) * | 2022-10-20 | 2023-02-03 | 上海艾为电子技术股份有限公司 | Method and system for determining and detecting environment capacitance, chip and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108759892A (en) * | 2018-06-08 | 2018-11-06 | Oppo(重庆)智能科技有限公司 | Sensor calibrating method, electronic device and computer readable storage medium |
CN108881618A (en) * | 2018-05-28 | 2018-11-23 | Oppo广东移动通信有限公司 | Method for reducing specific absorption rate of electromagnetic wave, mobile terminal and storage medium thereof |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5558928B2 (en) * | 2010-06-04 | 2014-07-23 | 株式会社ユーシン | Touch sensor |
US8831528B2 (en) * | 2012-01-04 | 2014-09-09 | Futurewei Technologies, Inc. | SAR control using capacitive sensor and transmission duty cycle control in a wireless device |
US8744418B2 (en) * | 2012-08-31 | 2014-06-03 | Analog Devices, Inc. | Environment detection for mobile devices |
US9582111B2 (en) * | 2014-10-31 | 2017-02-28 | Semtech Corporation | Method and device for improved accuracy of proximity and touch detection in mobile devices |
CN104716944B (en) * | 2015-03-30 | 2018-09-11 | 广东美的厨房电器制造有限公司 | The triggering judgment method and household electrical appliance of touch key-press |
CN105790747A (en) * | 2016-02-25 | 2016-07-20 | 广东美的厨房电器制造有限公司 | Touch key triggering detection method and triggering detection device |
JP2020501309A (en) * | 2016-12-01 | 2020-01-16 | コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. | Methods and systems for capacitive handles |
CN108769350B (en) * | 2018-04-27 | 2021-03-12 | Oppo广东移动通信有限公司 | Fall detection method and related device |
EP3776008B1 (en) * | 2018-06-05 | 2022-07-27 | Google LLC | Method and electronic device for ultrasonic sensing in smart devices |
CN108801321B (en) * | 2018-06-08 | 2021-08-17 | Oppo(重庆)智能科技有限公司 | Sensor calibration method, electronic device, and computer-readable storage medium |
CN109373887A (en) * | 2018-09-28 | 2019-02-22 | 北京小米移动软件有限公司 | Human body distance detection mould group and electronic equipment |
CN109068006B (en) * | 2018-09-29 | 2021-04-02 | Oppo广东移动通信有限公司 | Drop reporting method, related equipment and storage medium |
CN109743070B (en) * | 2018-12-29 | 2021-07-16 | 联想(北京)有限公司 | Electronic device and information processing method |
JP7196026B2 (en) * | 2019-06-28 | 2022-12-26 | 株式会社東海理化電機製作所 | Touch sensors, controllers, and computer programs |
CN111614840B (en) * | 2020-05-27 | 2021-10-26 | 惠州Tcl移动通信有限公司 | Antenna transmission power adjusting method, device, storage medium and mobile terminal |
CN111897449B (en) * | 2020-06-19 | 2024-07-26 | 上海美仁半导体有限公司 | Anti-interference processing method, system, chip and household appliance for touch signal |
CN111953823A (en) * | 2020-07-29 | 2020-11-17 | 北京小米移动软件有限公司 | Proximity sensor state detection method and device and terminal |
-
2021
- 2021-02-04 CN CN202110166444.2A patent/CN112987127B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108881618A (en) * | 2018-05-28 | 2018-11-23 | Oppo广东移动通信有限公司 | Method for reducing specific absorption rate of electromagnetic wave, mobile terminal and storage medium thereof |
CN108759892A (en) * | 2018-06-08 | 2018-11-06 | Oppo(重庆)智能科技有限公司 | Sensor calibrating method, electronic device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112987127A (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10264135B2 (en) | Echo cancellation method and apparatus, and computer storage medium | |
US11868604B2 (en) | Display processing method and apparatus | |
US20220346020A1 (en) | Method for reducing power consumption of terminal, and terminal | |
EP2851706B1 (en) | Gps positioning method for mobile terminal and mobile terminal | |
AU2020263183B2 (en) | Parameter Obtaining Method and Terminal Device | |
CN103365419B (en) | A kind of method and apparatus triggering alarm clock control command | |
CN112987127B (en) | Detection processing method and device of specific absorption rate sensor and electronic equipment | |
CN106487984B (en) | A kind of method and apparatus adjusting volume | |
CN104571529A (en) | Application wake method and mobile terminal | |
WO2022057365A1 (en) | Noise reduction method, terminal device, and computer readable storage medium | |
CN109739394B (en) | SAR value processing method and mobile terminal | |
CN110287755A (en) | Information processing method and device, electronic equipment and computer readable storage medium | |
CN111638522A (en) | Proximity detection method and electronic device | |
CN111698100A (en) | Data processing method, system and related equipment | |
EP3696987B1 (en) | Information processing method for radio frequency device, and mobile terminal | |
CN109002223B (en) | Touch interface display method and mobile terminal | |
WO2017031647A1 (en) | Method and apparatus for detecting touch mode | |
CN110824516B (en) | Positioning method and electronic equipment | |
CN109472825B (en) | Object search method and terminal device | |
CN111356908B (en) | Noise reduction method and terminal | |
CN108614263B (en) | Mobile terminal, position detection method and related product | |
CN109031330B (en) | Method for measuring object distance and terminal equipment | |
CN113364916B (en) | Method and device for determining emotion information, electronic equipment and storage medium | |
WO2023221062A1 (en) | Voice wake-up method and apparatus of electronic device, storage medium and chip | |
CN108956093B (en) | Detection method of infrared scattering device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |