CN112751998B - Terminal equipment, distance sensing processing method and device thereof and storage medium - Google Patents
Terminal equipment, distance sensing processing method and device thereof and storage medium Download PDFInfo
- Publication number
- CN112751998B CN112751998B CN201911054087.XA CN201911054087A CN112751998B CN 112751998 B CN112751998 B CN 112751998B CN 201911054087 A CN201911054087 A CN 201911054087A CN 112751998 B CN112751998 B CN 112751998B
- Authority
- CN
- China
- Prior art keywords
- metal sheet
- induction metal
- target induction
- distance
- target
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 25
- 239000002184 metal Substances 0.000 claims abstract description 298
- 230000006698 induction Effects 0.000 claims abstract description 141
- 238000012545 processing Methods 0.000 claims abstract description 47
- 239000000725 suspension Substances 0.000 claims abstract description 34
- 238000012544 monitoring process Methods 0.000 claims abstract description 32
- 230000008859 change Effects 0.000 claims description 37
- 238000000034 method Methods 0.000 claims description 25
- 238000013459 approach Methods 0.000 claims description 24
- 230000004044 response Effects 0.000 claims description 11
- 230000005855 radiation Effects 0.000 claims description 10
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 210000005069 ears Anatomy 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R27/00—Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
- G01R27/02—Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
- G01R27/26—Measuring inductance or capacitance; Measuring quality factor, e.g. by using the resonance method; Measuring loss factor; Measuring dielectric constants ; Measuring impedance or related variables
- G01R27/2605—Measuring capacitance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
Abstract
The embodiment of the invention relates to a terminal device, a distance sensing processing method and a distance sensing processing device thereof and a storage medium, wherein the terminal device comprises: the distance sensing processing method comprises the following steps of (1) a capacitance sensing chip and a plurality of metal sheets subjected to suspension processing, wherein at least one metal sheet is connected with the capacitance sensing chip to form a sensing metal sheet, and the distance sensing processing method comprises the following steps: monitoring whether the capacitance value of each induction metal sheet changes; if the target induction metal sheet with the capacitance value changing exists, determining a medium and a distance close to the target induction metal sheet according to the capacitance value changing of the target induction metal sheet; and carrying out corresponding operation processing on the terminal equipment according to the suspension position, medium and distance of the target induction metal sheet in the terminal equipment. In the embodiment of the invention, the proximity event of the terminal equipment is detected according to the suspended sensing metal sheet, so that the situation that a proximity sensor is arranged on the opening of the terminal equipment is avoided, and the screen occupation ratio of the terminal equipment is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of intelligent photographing, in particular to a terminal device, a distance sensing processing method and device thereof and a storage medium.
Background
Generally, an infrared distance sensor is disposed in a terminal device (which may be a hardware device having a display screen, such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device, etc.) to sense a proximity event of an external object, so as to perform a series of operations according to the proximity event, for example, controlling a screen of the terminal device to be turned on and off according to the proximity event.
In the related art, the infrared sensor needs to be provided with a hole on the shell of the terminal equipment due to the fact that infrared light needing to be guaranteed is not shielded, and the infrared distance sensor is generally in the packaging size of about 3mm, so that the hole on the screen of the terminal equipment occupies a large area, the screen occupation ratio of the terminal equipment is reduced, and the trend of pursuing the screen occupation ratio of the terminal equipment is contradictory to the trend of the current terminal equipment.
Disclosure of Invention
At least one embodiment of the invention provides a terminal device, a distance sensing processing method and device thereof, and a storage medium, and solves the technical problem that in the prior art, a distance detection sensor is arranged, and a hole needs to be formed in the terminal device, so that the screen occupation ratio is reduced.
In a first aspect, an embodiment of the present invention provides a method for distance sensing processing of a terminal device, where the terminal device includes: the distance sensing processing method comprises a capacitance sensing chip and a plurality of metal sheets which are processed in a suspending mode, wherein at least one metal sheet is connected with the capacitance sensing chip to form a sensing metal sheet, and the distance sensing processing method comprises the following steps:
monitoring whether the capacitance value of each induction metal sheet changes;
if the target induction metal sheet with the changed capacitance value exists, determining a medium and a distance close to the target induction metal sheet according to the change of the capacitance value of the target induction metal sheet;
and carrying out corresponding operation processing on the terminal equipment according to the suspension position of the target induction metal sheet in the terminal equipment, the medium and the distance.
In some embodiments, the multiple suspension treated metal sheet comprises:
a metal mesh enclosure of the earphone suspended in the terminal device,
and/or the presence of a gas in the gas,
an antenna metal radiating sheet suspended in the terminal equipment frame,
and/or the presence of a gas in the atmosphere,
and the FPC is suspended inside the terminal equipment frame.
In some embodiments, the monitoring whether the capacitance value of each sensing metal sheet changes includes:
monitoring whether the capacitance value between each induction metal sheet and the ground is changed or not,
or,
and monitoring whether the mutual capacitance value between each induction metal sheet and each adjacent induction metal sheet changes or not.
In some embodiments, the determining the medium and the distance approaching the target sensing metal sheet according to the capacitance value change of the target sensing metal sheet includes:
when the capacitance value of the target induction metal sheet is increased by more than a preset first value in unit time, determining that a medium close to the target induction metal sheet is a human body;
and acquiring the current capacitance value of the target induction metal sheet, and inquiring prestored human body approaching capacitance information to acquire the approaching distance between the current human body and the target induction metal sheet.
In some embodiments, the performing the corresponding operation processing on the terminal device according to the suspension position of the target sensing metal sheet in the terminal device, the medium and the distance includes:
if the suspension position of the target induction metal sheet in the terminal equipment is determined to be the top, monitoring whether the approach distance between the target induction metal sheet and the target induction metal sheet is smaller than a preset threshold value;
and if the approaching distance is smaller than a preset threshold value, performing screen-off operation on the terminal equipment.
In some embodiments, the determining the medium and the distance close to the target sensing metal sheet according to the capacitance value change of the target sensing metal sheet comprises:
when the capacitance value of the target induction metal sheet is increased by a value larger than a preset second value in unit time, determining that a medium close to the target induction metal sheet is metal;
and acquiring the current capacitance value of the target induction metal sheet, and inquiring prestored metal proximity capacitance information to acquire the proximity distance between the current metal and the target induction metal sheet.
In some embodiments, the performing the corresponding operation processing on the terminal device according to the suspension position of the target sensing metal sheet in the terminal device, the medium and the distance includes:
if the suspended position of the target induction metal sheet in the terminal equipment is determined to be an antenna metal radiation sheet in a frame, monitoring whether the approaching distance between the current metal and the target induction metal sheet is smaller than a preset threshold value;
and if the approaching distance is smaller than a preset threshold value, controlling a corresponding tuning switch to perform antenna tuning on the antenna metal radiating sheet.
In a second aspect, an embodiment of the present invention further provides a distance sensing processing apparatus for a terminal device, where the terminal device includes: the metal sheet that electric capacity response chip and many places suspension were handled, wherein, at least one department metal sheet with electric capacity response chip is connected and is become the response metal sheet, apart from response processing apparatus includes:
the monitoring module is used for monitoring whether the capacitance value of each induction metal sheet changes or not;
the determining module is used for determining a medium and a distance which are close to a target induction metal sheet according to the capacitance value change of the target induction metal sheet when the target induction metal sheet with the capacitance value changed is known to exist;
and the processing module is used for carrying out corresponding operation processing on the terminal equipment according to the suspension position, the medium and the distance of the target induction metal sheet in the terminal equipment.
In a third aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes: the device comprises a capacitance sensing chip, a plurality of metal sheets subjected to suspension processing and at least one processor; and a memory communicatively coupled to the at least one processor, wherein at least one of the metal plates is coupled to the capacitive sensing chip to form a sensing metal plate, the sensing metal plate being communicatively coupled to the processor; wherein,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the steps of any of the methods described above.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores a program or instructions, where the program or instructions cause a computer to execute the steps of any one of the above methods.
The distance sensing processing method of the terminal equipment of the embodiment of the invention provides the terminal equipment, and the terminal equipment comprises the following steps: the method comprises a capacitance sensing chip and a plurality of metal sheets subjected to suspension processing, wherein at least one metal sheet is connected with the capacitance sensing chip to form a sensing metal sheet, whether the capacitance value of each sensing metal sheet changes or not is monitored, if a target sensing metal sheet with the changed capacitance value is obtained, a medium and a distance close to the target sensing metal sheet are determined according to the capacitance value change of the target sensing metal sheet, and then corresponding operation processing is carried out on the terminal equipment according to the suspension position, the medium and the distance of the target sensing metal sheet in the terminal equipment. Therefore, the proximity event of the terminal equipment is detected according to the suspended sensing metal sheet, the situation that a proximity sensor is arranged on the terminal equipment through a hole is avoided, and the screen occupation ratio of the terminal equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic flowchart of a distance sensing processing method of a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another distance sensing processing method for a terminal device according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a distance sensing processing method for a terminal device according to another embodiment of the present invention;
FIG. 4 is a schematic view of a proximity curve provided by an embodiment of the present invention;
fig. 5 is a schematic view of an application scenario of distance sensing processing of a terminal device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a distance sensing processing apparatus of a terminal device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, the present invention will be further described in detail with reference to the accompanying drawings and examples. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. The specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
In order to solve the technical problem that holes need to be formed in the screen of the terminal device due to the fact that the infrared distance sensor is used in the current terminal device, and therefore the screen occupation ratio of the terminal device is reduced, the invention provides a technical scheme for sensing a proximity event based on a sensing metal sheet.
Before explaining the distance sensing processing method of the terminal device according to the embodiment of the present invention, in order to facilitate those skilled in the art to more clearly understand the terminal device according to the embodiment of the present invention, first, a structure of the terminal device according to the embodiment of the present invention is explained, and the following description is made:
in the embodiment of the present invention, the terminal device includes a capacitance sensing chip and multiple metal sheets for suspension processing, where at least one metal sheet is connected to the capacitance sensing chip to form a sensing metal sheet, and the multiple metal sheets for suspension processing may be of different hardware types, for example, may be one or more of a metal mesh enclosure of an earpiece suspended inside the terminal device, an antenna metal radiation sheet (e.g., a metal frame of the terminal device) suspended inside a frame of the terminal device, and an FPC cable suspended inside the frame of the terminal device.
Wherein, it is difficult to understand that, the sheetmetal of many places suspension processing mentioned above all need not all be at the openly trompil setting of terminal equipment casing, has reduced the black limit on the terminal equipment and has taken up the ratio, helps the screen of terminal equipment to take up the improvement of ratio, for example, when the sheetmetal of many places suspension processing includes the metal screen panel of earphone, can satisfy the design demand that the high screen took up the ratio through the size of the metal screen panel of control earphone. In addition, the above-mentioned metal sheets subjected to suspension processing at multiple positions are all hardware inherent to the device on the terminal, in this embodiment, by multiplexing these hardware, occupation of an internal accommodating space of the terminal device is further avoided, and it is helpful to improve function implementation of other hardware, for example, for an antenna, a signal of the antenna is affected when the antenna is arranged relatively close to an infrared distance sensor.
Next, a distance sensing processing method of the terminal device is described, wherein the execution subject of the method may be the above-mentioned capacitance sensing chip, and the capacitance sensing chip is used as a processor to execute the method of the embodiment.
Specifically, fig. 1 is a schematic flow chart of a distance sensing processing method for a terminal device according to an embodiment of the present invention, where the method includes the following steps:
It can be understood that after at least one metal sheet is connected with the capacitance sensing chip to form a sensing metal sheet, the change of the capacitance of each sensing metal sheet reflects the proximity of other objects and the like. This is because the capacitance of the sensing metal piece increases as other objects approach. Therefore, in the present embodiment, whether the capacitance value of each sensing metal sheet changes is monitored, so as to determine the proximity of an external object and the like.
However, the change in capacitance can be manifested by its own capacitance value and mutual capacitance value with other sensing metal sheets. Therefore, as a possible implementation manner, whether the capacitance value between each sensing metal sheet and the ground changes or not can be monitored, that is, the change of the capacitance value of each sensing metal sheet per se is monitored, so that the approach condition of the object is determined according to the change of the capacitance value of each sensing metal sheet per se;
as another possible implementation manner, whether the mutual capacitance value between each sensing metal sheet and each adjacent sensing metal sheet changes is monitored, because when an object approaches a certain sensing metal sheet, the capacitance value of the object itself changes, and the mutual capacitance value between the adjacent sensing metal sheets also necessarily changes, that is, the approach condition of the object is determined according to the change between the mutual capacitance values between the adjacent sensing metal sheets.
And 102, if the target induction metal sheet with the capacitance value changing exists, determining a medium and a distance close to the target induction metal sheet according to the capacitance value changing of the target induction metal sheet.
Specifically, as analyzed above, the capacitance value may represent the approach of the object, and therefore, if it is known that there exists the target sensing metal piece with the capacitance value changing, since the capacitance value represents the approach condition of the object, for example, a medium (for example, the approach of the metal medium and the approach of the human body represent different capacitance values) and a distance (for example, the closer the object is, the higher the capacitance value is increased), and the like, the medium and the distance approaching the target sensing metal piece may be determined according to the capacitance value changing of the target sensing metal piece.
It should be noted that, in different application scenarios, the way of determining the medium and the distance approaching the target sensing metal sheet according to the capacitance value change of the target sensing metal sheet is different, and the following examples are illustrated:
example one:
in this example, as shown in fig. 2, the step 102 includes:
Specifically, because the medium of the object that is close is different, the influence to the change of target response sheetmetal's capacitance value can be different certainly, therefore, according to a large amount of experimental data calibration in advance when the medium that is close the object is the human body, corresponding first numerical value, wherein, in order to further improve the accuracy of judging, when setting up first numerical value, can also combine the material and the position of every response sheetmetal, set up different first numerical value to different response sheetmetals.
Therefore, when the capacitance value of the target induction metal sheet is increased by a value larger than a preset first value in unit time, the capacitance value of the target induction metal sheet is rapidly increased in a short time, and the change situation of the capacitance value is consistent with that when the object medium is a human body, so that the medium close to the target induction metal sheet is determined to be the human body.
Specifically, under the state that no object is close, each induction metal sheet has an initial capacitance value, in the actual execution process, when the object is close to the induction metal sheet, it is obvious that the capacitance value of the target induction metal sheet can change, the approach distance of the object is different, the capacitance change value relative to the initial capacitance value is different, and the corresponding real-time capacitance value is different.
Example two:
in this example, as shown in fig. 3, the step 102 includes:
Similarly, because the media of the approaching object are different, the influence on the change of the capacitance value of the target induction metal sheet is different, and therefore, a corresponding second numerical value is calibrated in advance according to a large amount of experimental data when the media of the approaching object is metal, wherein when the second numerical value is set, the material and the position of each induction metal sheet can be combined, and different second numerical values are set aiming at different induction metal sheets in order to further improve the accuracy of judgment.
Therefore, when the capacitance value of the target induction metal sheet is increased by a value larger than a preset second value in unit time, the capacitance value of the target induction metal sheet is rapidly increased in a short time, and the change situation of the capacitance value is consistent with that when the object medium is metal, so that the medium close to the target induction metal sheet is determined to be metal.
Specifically, under the state of no object approaching, each sensing metal sheet has an initial capacitance value, in the actual execution process, when an object approaches the sensing metal sheet, it is obvious that the capacitance value of the target sensing metal sheet changes, the approaching distance of the object is different, and the capacitance change value relative to the initial capacitance value is different, and the corresponding real-time capacitance value is different.
When the approaching medium is metal, because metal may affect a signal of the antenna, a radiation mode and efficiency of the antenna depend on a proximity degree with the metal, in this embodiment, in order to ensure performance of the antenna, if it is determined that a suspension position of the target induction metal sheet in the terminal device is an antenna metal radiation sheet inside the frame, it is monitored whether a proximity distance between the current metal and the target induction metal sheet is smaller than a preset threshold value, the preset threshold value is calibrated according to experimental data, and when the proximity distance is smaller than the preset threshold value, it is verified that the target induction metal sheet may affect the signal of the antenna, therefore, if it is known that the proximity distance is smaller than the preset threshold value, the corresponding tuning switch is controlled to perform antenna tuning on the antenna metal radiation sheet, where a mode of performing antenna tuning on the antenna metal radiation sheet based on the corresponding tuning switch may include impedance tuning, aperture tuning, and the like.
As a possible implementation manner, the number of the antenna metal radiating sheets is multiple, and some loss performance can be recovered through tuning between the antenna metal radiating sheets, that is, the corresponding tuning switch is controlled through antenna tuning to add the antenna metal radiating sheets to achieve more optimal performance in a wider frequency range, and influence brought by a target sensing metal sheet is compensated, where the number of the antenna radiating sheets that are accessed may be determined according to a difference between a threshold value and an approach distance when the approach distance is smaller than a preset threshold value, and the transmission power of the antenna may also be determined according to a difference between the threshold value and the approach distance when the approach distance is smaller than the preset threshold value.
Example three:
in this example, it is considered that when the medium approaching the object is different, the change of the capacitance value is different, and thus, capacitance values of a plurality of target sensing metal pieces are collected according to a preset sampling period, a capacitance value change curve is constructed according to the collected capacitance values, the capacitance value change curve is matched with a pre-stored approach curve and a pre-stored distance curve corresponding to different media, wherein, as shown in fig. 4, the abscissa in each curve is the approach distance from the target sensor (the approach curve corresponding to the medium a in the figure), and the ordinate is the capacitance value, and the medium and the distance approaching the target sensing metal piece are determined according to the curve successfully matched.
And 103, carrying out corresponding operation processing on the terminal equipment according to the suspension position, medium and distance of the target induction metal sheet in the terminal equipment.
Specifically, the terminal device is correspondingly processed according to the suspension position, medium and distance of the target induction metal sheet in the terminal device, wherein the corresponding processing modes are different according to different application scenes, for example, the processing modes comprise screen turning-off and screen lighting, induction animation display control and the like. As a possible implementation manner, when the medium close to the object is the human body described above with reference to fig. 2, if it is determined that the suspension position of the target sensing metal piece in the terminal device is the top, it is monitored whether the proximity distance to the target sensing metal piece is smaller than a preset threshold, the preset threshold may be calibrated according to a large amount of experimental data, if it is known that the proximity distance is smaller than the preset threshold, it indicates that a certain part of the human body is close to the terminal device, and in order to avoid a wrong operation, the terminal device is controlled to turn off the screen, for example, if it is known that the proximity distance is smaller than the preset threshold, it indicates that ears or cheeks of the human body are close to the screen of the terminal device, and thus, the terminal device is controlled to turn off the screen.
As another possible implementation manner, when the approaching object is a human body, an interactive special effect may also be provided in cooperation with a game application and the like, and different animations are displayed according to the approaching distance between the human body and the target sensing metal sheet in the terminal device, so as to indicate the approaching degree between the user and the terminal device, thereby forming an interesting display effect.
For example, as shown in fig. 5, the proximity of the user to the terminal device may be indicated by the size of a "ball" animation displayed on the screen, for example, as shown in fig. 5, as the distance between the user and the target sensing metal sheet approaches, the "ball" animation becomes larger and larger, and so on.
To sum up, the distance sensing processing method for a terminal device according to the embodiment of the present invention provides a terminal device, where the terminal device includes: the method comprises the steps that whether the capacitance value of each induction metal sheet changes or not is monitored, if the target induction metal sheet with the changed capacitance value is obtained, a medium and a distance close to the target induction metal sheet are determined according to the capacitance value change of the target induction metal sheet, and then the terminal equipment is subjected to corresponding operation processing according to the suspension position, the medium and the distance of the target induction metal sheet in the terminal equipment. Therefore, the proximity event of the terminal equipment is detected according to the suspended sensing metal sheet, the situation that a proximity sensor is arranged on the terminal equipment through a hole is avoided, and the screen occupation ratio of the terminal equipment is improved.
In order to implement the above embodiments, the present invention further provides a distance sensing processing apparatus for a terminal device.
Fig. 6 is a schematic structural diagram of a distance sensing processing apparatus of a terminal device according to an embodiment of the present invention, where the terminal device includes: a capacitive sensing chip and a plurality of metal sheets suspended for processing, wherein at least one metal sheet is connected with the capacitive sensing chip to form a sensing metal sheet, as shown in fig. 6, the device comprises: a monitoring module 10, a determining module 20 and a processing module 30;
the monitoring module 10 is configured to monitor whether capacitance values of the sensing metal sheets change;
the determining module 20 is configured to determine a medium and a distance that are close to a target sensing metal sheet according to a change in capacitance value of the target sensing metal sheet when it is known that the target sensing metal sheet with a changed capacitance value exists;
and the processing module 30 is configured to perform corresponding operation processing on the terminal device according to the suspension position of the target sensing metal sheet in the terminal device, the medium, and the distance.
In some embodiments, the multiple-site suspension-processed metal sheet comprises: the terminal equipment comprises a metal net cover of a receiver suspended in the terminal equipment, an antenna metal radiation sheet suspended in the terminal equipment frame, and one or more of FPC wiring suspended in the terminal equipment frame.
In some embodiments, the monitoring module 10 is specifically configured to:
monitoring whether the capacitance value between each induction metal sheet and the ground is changed or not,
or,
and monitoring whether the mutual capacitance value between each induction metal sheet and each adjacent induction metal sheet changes or not.
In some embodiments, the determining module 20 is specifically configured to:
when the increase value of the capacitance value change of the target induction metal sheet in unit time is larger than a preset first numerical value, determining that a medium close to the target induction metal sheet is a human body;
and acquiring the current capacitance value of the target induction metal sheet, and inquiring prestored human body proximity capacitance information to acquire the proximity distance between the current human body and the target induction metal sheet.
In this embodiment, the processing module 30 is specifically configured to:
when the suspension position of the target induction metal sheet in the terminal equipment is determined to be the top, monitoring whether the approach distance between the target induction metal sheet and the target induction metal sheet is smaller than a preset threshold value;
and when the fact that the approach distance is smaller than a preset threshold value is obtained, screen off operation is conducted on the terminal equipment.
In some embodiments, the determining module 20 is specifically configured to:
when the increase value of the capacitance value change of the target induction metal sheet in unit time is larger than a preset second numerical value, determining that a medium close to the target induction metal sheet is metal;
and acquiring the current capacitance value of the target induction metal sheet, and inquiring prestored metal proximity capacitance information to acquire the proximity distance between the current metal and the target induction metal sheet.
In this example, the processing module 30 is specifically configured to:
when the suspension position of the target induction metal sheet in the terminal equipment is determined to be an antenna metal radiation sheet in a frame, monitoring whether the approaching distance between the current metal and the target induction metal sheet is smaller than a preset threshold value;
and when the approaching distance is smaller than a preset threshold value, controlling a corresponding tuning switch to perform antenna tuning on the antenna metal radiating sheet.
It should be noted that the foregoing explanation of the distance sensing processing method for the terminal device is also applicable to the distance sensing processing apparatus for the terminal device according to the embodiment of the present invention, and the implementation principle is similar, and is not repeated herein.
Fig. 7 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention, as shown in fig. 7, the terminal device may include an intelligent terminal of a mobile phone and a PAD, and the terminal device includes:
one or more processors 301, one processor 301 being exemplified in fig. 7;
a memory 302;
the terminal device may further include: an input device 303, an output device 304, a capacitance sensing chip 305, and a plurality of metal sheets 306 processed in a suspending way, wherein at least one metal sheet 306 (only one is shown in the figure) is connected with the capacitance sensing chip 305 to form a sensing metal sheet 307, and the sensing metal sheet is connected with the processor 301 in a communication way.
The processor 301, the memory 302, the input device 303 and the output device 304 in the terminal equipment may be connected through a bus or in other ways, and fig. 7 illustrates the connection through the bus as an example.
The memory 302 is a non-transitory computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the distance sensing processing method of the terminal device in the embodiment of the present invention (for example, the monitoring module 10, the determining module 20, and the processing module 30 shown in fig. 6). The processor 301 executes various functional applications of the server and data processing by running software programs, instructions and modules stored in the memory 302, that is, implements the distance sensing processing method of the terminal device of the above-described method embodiment.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 302 may optionally include memory located remotely from the processor 301, which may be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 303 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. The output means 304 may comprise a display device such as a display screen.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a program or an instruction, and the program or the instruction is used to enable a computer to execute a distance sensing processing method for a terminal device when the program or the instruction is executed, where the terminal device includes: the device comprises a capacitance sensing chip and a plurality of metal sheets which are processed in a suspending way, wherein at least one metal sheet is connected with the capacitance sensing chip to form a sensing metal sheet, and the method comprises the following steps:
monitoring whether the capacitance value of each induction metal sheet changes;
if the target induction metal sheet with the changed capacitance value exists, determining a medium and a distance close to the target induction metal sheet according to the change of the capacitance value of the target induction metal sheet;
and carrying out corresponding operation processing on the terminal equipment according to the suspension position of the target induction metal sheet in the terminal equipment, the medium and the distance.
Optionally, the computer executable instruction, when executed by the computer processor, may be further configured to execute a technical solution of a distance sensing processing method of the terminal device provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
Those skilled in the art will appreciate that although some embodiments described herein include some features included in other embodiments instead of others, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.
Claims (14)
1. A distance sensing processing method of a terminal device is characterized in that the terminal device comprises: the distance sensing processing method comprises a capacitance sensing chip and a plurality of metal sheets which are processed in a suspending mode, wherein at least one metal sheet is connected with the capacitance sensing chip to form a sensing metal sheet, and the distance sensing processing method comprises the following steps:
monitoring whether the capacitance value of each induction metal sheet changes;
if the target induction metal sheet with the changed capacitance value exists, determining a medium and a distance close to the target induction metal sheet according to the change of the capacitance value of the target induction metal sheet;
performing corresponding operation processing on the terminal equipment according to the suspension position of the target induction metal sheet in the terminal equipment, the medium and the distance;
the determining of the medium and the distance close to the target induction metal sheet according to the capacitance value change of the target induction metal sheet comprises:
when the capacitance value of the target induction metal sheet is increased by more than a preset first value in unit time, determining that a medium close to the target induction metal sheet is a human body;
acquiring the current capacitance value of the target induction metal sheet, and inquiring prestored human body proximity capacitance information to acquire the proximity distance between the current human body and the target induction metal sheet;
the determining of the medium and the distance close to the target induction metal sheet according to the capacitance value change of the target induction metal sheet comprises:
when the increase value of the capacitance value change of the target induction metal sheet in unit time is larger than a preset second numerical value, determining that a medium close to the target induction metal sheet is metal;
and acquiring the current capacitance value of the target induction metal sheet, and inquiring prestored metal proximity capacitance information to acquire the proximity distance between the current metal and the target induction metal sheet.
2. The method of claim 1, wherein the plurality of suspended treated metal sheets comprises:
a metal mesh enclosure of the receiver suspended in the terminal equipment,
and/or the presence of a gas in the gas,
an antenna metal radiating sheet suspended in the terminal equipment frame,
and/or the presence of a gas in the gas,
and the FPC is suspended inside the terminal equipment frame.
3. The method of claim 1, wherein said monitoring whether the capacitance of each sensing plate changes comprises:
monitoring whether the capacitance value between each induction metal sheet and the ground is changed or not,
or,
and monitoring whether the mutual capacitance value between each induction metal sheet and each adjacent induction metal sheet changes or not.
4. The method of claim 1, wherein the corresponding operation processing of the terminal device according to the suspension position of the target sensing metal sheet in the terminal device, the medium and the distance comprises:
if the suspended position of the target induction metal sheet in the terminal equipment is determined to be the top, monitoring whether the approaching distance between the target induction metal sheet and the target induction metal sheet is smaller than a preset threshold value;
and if the approaching distance is smaller than a preset threshold value, performing screen-off operation on the terminal equipment.
5. The method of claim 1, wherein the corresponding operation processing of the terminal device according to the suspension position of the target sensing metal sheet in the terminal device, the medium and the distance comprises:
if the suspension position of the target induction metal sheet in the terminal equipment is determined to be an antenna metal radiation sheet in a frame, monitoring whether the approaching distance between the current metal and the target induction metal sheet is smaller than a preset threshold value;
and if the approaching distance is smaller than a preset threshold value, controlling a corresponding tuning switch to perform antenna tuning on the antenna metal radiating sheet.
6. A distance sensing processing apparatus of a terminal device, the terminal device comprising: the metal sheet that electric capacity response chip and many places suspension were handled, wherein, at least one department metal sheet with electric capacity response chip is connected and is become the response metal sheet, apart from response processing apparatus includes:
the monitoring module is used for monitoring whether the capacitance value of each induction metal sheet changes or not;
the determining module is used for determining a medium and a distance which are close to a target induction metal sheet according to the capacitance value change of the target induction metal sheet when the target induction metal sheet with the capacitance value changing is known to exist;
the processing module is used for carrying out corresponding operation processing on the terminal equipment according to the suspension position, the medium and the distance of the target induction metal sheet in the terminal equipment;
the determining module determines the medium and the distance close to the target induction metal sheet according to the capacitance value change of the target induction metal sheet, and comprises the following steps:
when the increase value of the capacitance value change of the target induction metal sheet in unit time is larger than a preset first numerical value, determining that a medium close to the target induction metal sheet is a human body;
acquiring the current capacitance value of the target induction metal sheet, and inquiring prestored human body proximity capacitance information to acquire the proximity distance between the current human body and the target induction metal sheet;
the determining module determines the medium and the distance close to the target induction metal sheet according to the capacitance value change of the target induction metal sheet, and comprises the following steps:
when the capacitance value of the target induction metal sheet is increased by a value larger than a preset second value in unit time, determining that a medium close to the target induction metal sheet is metal;
and acquiring the current capacitance value of the target induction metal sheet, and inquiring prestored metal proximity capacitance information to acquire the proximity distance between the current metal and the target induction metal sheet.
7. The apparatus of claim 6, wherein the plurality of suspended treated metal sheets comprises:
a metal mesh enclosure of the receiver suspended in the terminal equipment,
and/or the presence of a gas in the atmosphere,
an antenna metal radiating sheet suspended in the terminal equipment frame,
and/or the presence of a gas in the gas,
and the FPC is suspended inside the terminal equipment frame.
8. The apparatus of claim 7, wherein the monitoring module is specifically configured to:
monitoring whether the capacitance between each induction metal sheet and the ground is changed,
or,
and monitoring whether the mutual capacitance value between each induction metal sheet and each adjacent induction metal sheet changes or not.
9. The apparatus of claim 7, wherein the determination module is specifically configured to:
when the increase value of the capacitance value change of the target induction metal sheet in unit time is larger than a preset first numerical value, determining that a medium close to the target induction metal sheet is a human body;
and acquiring the current capacitance value of the target induction metal sheet, and inquiring prestored human body proximity capacitance information to acquire the proximity distance between the current human body and the target induction metal sheet.
10. The apparatus of claim 9, wherein the processing module is specifically configured to:
when the suspension position of the target induction metal sheet in the terminal equipment is determined to be the top, monitoring whether the approach distance between the target induction metal sheet and the target induction metal sheet is smaller than a preset threshold value;
and when the fact that the approaching distance is smaller than a preset threshold value is obtained, screen turning-off operation is conducted on the terminal equipment.
11. The apparatus of claim 7, wherein the determination module is specifically configured to:
when the increase value of the capacitance value change of the target induction metal sheet in unit time is larger than a preset second numerical value, determining that a medium close to the target induction metal sheet is metal;
and acquiring the current capacitance value of the target induction metal sheet, and inquiring prestored metal proximity capacitance information to acquire the proximity distance between the current metal and the target induction metal sheet.
12. The apparatus of claim 11, wherein the processing module is specifically configured to:
when the suspended position of the target induction metal sheet in the terminal equipment is determined to be an antenna metal radiation sheet in a frame, monitoring whether the approaching distance between the current metal and the target induction metal sheet is smaller than a preset threshold value;
and controlling a corresponding tuning switch to perform antenna tuning on the antenna metal radiating sheet when the approaching distance is smaller than a preset threshold value.
13. A terminal device, characterized in that the terminal device comprises: the device comprises a capacitance sensing chip, a plurality of metal sheets subjected to suspension processing and at least one processor; and a memory communicatively coupled to the at least one processor, wherein at least one of the metal plates is coupled to the capacitive sensing chip to form a sensing metal plate, the sensing metal plate being communicatively coupled to the processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911054087.XA CN112751998B (en) | 2019-10-31 | 2019-10-31 | Terminal equipment, distance sensing processing method and device thereof and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911054087.XA CN112751998B (en) | 2019-10-31 | 2019-10-31 | Terminal equipment, distance sensing processing method and device thereof and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112751998A CN112751998A (en) | 2021-05-04 |
CN112751998B true CN112751998B (en) | 2023-02-28 |
Family
ID=75644675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911054087.XA Active CN112751998B (en) | 2019-10-31 | 2019-10-31 | Terminal equipment, distance sensing processing method and device thereof and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112751998B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103154713A (en) * | 2010-10-15 | 2013-06-12 | 飞思卡尔半导体公司 | Decoder unit for determining a substance or material structure of a detected object based on signals of a capacitive sensor and method for determining a substance or material structure of a detected object based on signals of a capacitive sensor |
CN103685721A (en) * | 2012-08-31 | 2014-03-26 | 美国亚德诺半导体公司 | Environment detection for mobile devices |
US9042833B1 (en) * | 2011-12-21 | 2015-05-26 | Amazon Technologies, Inc. | Infrared and capacitance based sensing for proximity detection |
CN105892775A (en) * | 2014-08-19 | 2016-08-24 | 商升特公司 | Capacitive Proximity Sensor And Mobile Device |
CN107566577A (en) * | 2017-09-29 | 2018-01-09 | 努比亚技术有限公司 | Mobile terminal |
CN108924319A (en) * | 2018-08-30 | 2018-11-30 | 维沃移动通信有限公司 | A kind of proximity test method and mobile terminal |
-
2019
- 2019-10-31 CN CN201911054087.XA patent/CN112751998B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103154713A (en) * | 2010-10-15 | 2013-06-12 | 飞思卡尔半导体公司 | Decoder unit for determining a substance or material structure of a detected object based on signals of a capacitive sensor and method for determining a substance or material structure of a detected object based on signals of a capacitive sensor |
US9042833B1 (en) * | 2011-12-21 | 2015-05-26 | Amazon Technologies, Inc. | Infrared and capacitance based sensing for proximity detection |
CN103685721A (en) * | 2012-08-31 | 2014-03-26 | 美国亚德诺半导体公司 | Environment detection for mobile devices |
CN105892775A (en) * | 2014-08-19 | 2016-08-24 | 商升特公司 | Capacitive Proximity Sensor And Mobile Device |
CN107566577A (en) * | 2017-09-29 | 2018-01-09 | 努比亚技术有限公司 | Mobile terminal |
CN108924319A (en) * | 2018-08-30 | 2018-11-30 | 维沃移动通信有限公司 | A kind of proximity test method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN112751998A (en) | 2021-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11074466B2 (en) | Anti-counterfeiting processing method and related products | |
EP3561765B1 (en) | Dynamic tone mapping method, mobile terminal, and computer readable storage medium | |
CN108550353B (en) | Brightness adjusting method and related product | |
CN109711259B (en) | Fingerprint entry method and related equipment | |
EP3623973B1 (en) | Unlocking control method and related product | |
CN108492522A (en) | Alarm method based on wearable device and wearable device | |
CN106331320B (en) | Method and device for controlling screen state | |
CN108335688B (en) | Method for detecting main beat point in music, computer storage medium and terminal | |
WO2019011098A1 (en) | Unlocking control method and relevant product | |
CN104182040A (en) | Terminal parameter setting method | |
US20160357340A1 (en) | Information Processing Method and Electronic Device | |
CN105814518A (en) | Information processing method and smart bracelet | |
CN112969130A (en) | Audio signal processing method and device and electronic equipment | |
CN112312032B (en) | Method and device for shooting by using off-screen camera, storage medium and mobile terminal | |
CN115061380A (en) | Device control method and device, electronic device and readable storage medium | |
JP2024129064A (en) | Information processing device, control method, and program | |
CN112751998B (en) | Terminal equipment, distance sensing processing method and device thereof and storage medium | |
CN110086987B (en) | Camera visual angle cutting method and device and storage medium | |
AU2018302985A1 (en) | Method and mobile terminal for processing image and storage medium | |
CN109271074A (en) | Window adjusting method, window adjusting device and mobile terminal | |
CN107979387A (en) | Antenna switching method and device, storage medium and electronic equipment | |
JP2013250156A (en) | Sound detection device, control method therefor, and program | |
CN113132195A (en) | Control method and control gateway for smart home | |
CN106898036A (en) | Image processing method and mobile terminal | |
CN112019960A (en) | Context monitoring method, headset, device and readable storage medium using earphones |
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 |