CN107483659A - Control method, device and mobile terminal based on proximity transducer - Google Patents
Control method, device and mobile terminal based on proximity transducer Download PDFInfo
- Publication number
- CN107483659A CN107483659A CN201710571120.0A CN201710571120A CN107483659A CN 107483659 A CN107483659 A CN 107483659A CN 201710571120 A CN201710571120 A CN 201710571120A CN 107483659 A CN107483659 A CN 107483659A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- proximity sensor
- proximity sensors
- value
- proximity
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000005259 measurement Methods 0.000 claims abstract description 69
- 238000001514 detection method Methods 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012216 screening Methods 0.000 claims description 7
- 238000013461 design Methods 0.000 abstract description 11
- 238000005305 interferometry Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- 230000035807 sensation Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S17/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/02—Systems using the reflection of electromagnetic waves other than radio waves
- G01S17/06—Systems determining position data of a target
- G01S17/08—Systems determining position data of a target for measuring distance only
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/03—Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The present invention proposes a kind of control method based on proximity transducer, device and mobile terminal, wherein, proximity transducer is applied to mobile terminal, mobile terminal has display surface, one end of display surface is provided with receiver, the relative other end in one end with being provided with receiver is provided with least two proximity transducers, and method includes:Obtain the measured value that at least two proximity transducer measurements obtain;According to the measured value of at least two proximity transducers, analyzed, obtain estimate;According to estimate, mobile terminal is controlled.This method enables to speaker position space sufficient, so as to realize the design of narrow frame, and the embodiment of the present invention has at least two proximity transducers, comprehensive measurement light intensity can be realized, so as to improve the precision of measured value, avoid user from holding mobile terminal, and block proximity transducer, so that the problem of interferometry.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a control method and device based on a proximity sensor and a mobile terminal.
Background
In the related art, a proximity sensor is disposed at one end of a receiver of a mobile terminal, and the proximity sensor is aligned with the receiver on the same horizontal line.
In this way, because the proximity sensor is arranged beside the telephone receiver, the proximity sensor occupies the space on the upper side of the display screen, and the narrow frame design cannot be realized. And the display surface of the mobile terminal is only provided with one proximity sensor, so that when a user holds the mobile terminal and blocks the proximity sensor, the detection of the proximity sensor is seriously influenced.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
The invention provides a control method based on proximity sensors, which aims to realize the design of a narrow frame by arranging a receiver at one end of a display surface of a mobile terminal and arranging at least two proximity sensors at the other end opposite to the end provided with the receiver, so that the position space of the receiver is sufficient. And the display surface only has a proximity sensor, when the user holds the mobile terminal and blocks the proximity sensor, the technical problem of detection of the proximity sensor is seriously influenced.
The invention provides a control device based on a proximity sensor.
The invention provides a mobile terminal.
The invention provides a computer readable storage medium.
The invention proposes a computer program product.
To this end, an embodiment of a first aspect of the present invention provides a control method based on a proximity sensor, where the proximity sensor is applied to a mobile terminal, the mobile terminal has a display surface, one end of the display surface is provided with a receiver, and the other end opposite to the end provided with the receiver is provided with at least two proximity sensors, including:
acquiring measurement values measured by at least two proximity sensors;
analyzing according to the measured values of the at least two proximity sensors to obtain an estimated value;
and controlling the mobile terminal according to the estimated value.
According to the control method based on the proximity sensors, the measured values obtained by measuring at least two proximity sensors are obtained, analysis is carried out according to the measured values of the at least two proximity sensors to obtain the estimated value, and the mobile terminal is controlled according to the estimated value. In the embodiment, the telephone receiver is arranged at one end of the display surface of the mobile terminal, and the at least two proximity sensors are arranged at the other end opposite to the end provided with the telephone receiver, so that the position space of the telephone receiver can be sufficient, and the design of a narrow frame can be realized. And the display surface only has one proximity sensor, when the user holds the mobile terminal and blocks the proximity sensor, the detection of the proximity sensor is seriously influenced.
To this end, a second embodiment of the present invention provides a control device based on a proximity sensor, where the proximity sensor is applied to a mobile terminal, the mobile terminal has a display surface, one end of the display surface is provided with a receiver, and the other end opposite to the end provided with the receiver is provided with at least two proximity sensors, including:
the acquisition module is used for acquiring measurement values measured by at least two proximity sensors;
the estimation module is used for analyzing according to the measured values of the at least two proximity sensors to obtain an estimated value;
and the control module is used for controlling the mobile terminal according to the estimated value.
According to the control device based on the proximity sensors, the measured values obtained by measuring at least two proximity sensors are obtained, analysis is carried out according to the measured values of the at least two proximity sensors to obtain the estimated value, and the mobile terminal is controlled according to the estimated value. In the embodiment, the telephone receiver is arranged at one end of the display surface of the mobile terminal, and the at least two proximity sensors are arranged at the other end opposite to the end provided with the telephone receiver, so that the position space of the telephone receiver can be sufficient, and the design of a narrow frame can be realized. And the display surface only has one proximity sensor, when the user holds the mobile terminal and blocks the proximity sensor, the detection of the proximity sensor is seriously influenced.
To this end, a third embodiment of the present invention provides a mobile terminal, where the proximity sensor is applied to a mobile terminal, the mobile terminal has a display surface, one end of the display surface is provided with a receiver, and the other end opposite to the end provided with the receiver is provided with at least two proximity sensors.
According to the mobile terminal provided by the embodiment of the invention, the receiver is arranged at one end of the display surface of the mobile terminal, and the at least two proximity sensors are arranged at the other end opposite to the end provided with the receiver, so that the position space of the receiver is sufficient, and the design of a narrow frame is realized. And the display surface only has one proximity sensor, when the user holds the mobile terminal and blocks the proximity sensor, the detection of the proximity sensor is seriously influenced.
To this end, a fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the proximity sensor-based control method according to the first embodiment.
To this end, a fifth embodiment of the present invention provides a computer program product, wherein when the instructions of the computer program product are executed by a processor, the proximity sensor-based control method according to the first embodiment is performed.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic diagram of a display surface structure of a conventional mobile terminal;
fig. 2 is a schematic flow chart of a proximity sensor-based control method according to an embodiment of the present invention;
FIG. 3a is a schematic diagram of a proximity sensor arrangement according to an embodiment of the present invention;
FIG. 3b is a schematic view of another proximity sensor arrangement in accordance with an embodiment of the present invention;
FIG. 3c is a schematic view of another proximity sensor arrangement in accordance with an embodiment of the present invention;
FIG. 3d is a schematic view of another proximity sensor arrangement in accordance with an embodiment of the present invention;
FIG. 4 is a schematic flow chart of another proximity sensor based control method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of another proximity sensor based control method according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart of another proximity sensor based control method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a proximity sensor-based control device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the prior art, a proximity sensor is arranged at one end of a receiver of a mobile terminal, and the proximity sensor is aligned with the receiver and is on the same horizontal line. For example, referring to fig. 1, fig. 1 is a schematic diagram of a display surface structure of a conventional mobile terminal. The middle position of the upper side of the display surface 10 is the receiver 110, and the front camera 120 and the proximity sensor 130 are aligned with the receiver 110.
In this way, because the proximity sensor is arranged beside the telephone receiver, the proximity sensor occupies the space on the upper side of the display screen, and the narrow frame design cannot be realized. And the display surface only has one proximity sensor, when the user holds the mobile terminal and blocks the proximity sensor, the detection of the proximity sensor is seriously influenced.
In order to solve the above problems, in the embodiment of the present invention, the receiver is disposed at one end of the display surface of the mobile terminal, and the at least two proximity sensors are disposed at the other end opposite to the end where the receiver is disposed, so that the receiver can be located in a sufficient space, and thus the design of the narrow frame is achieved.
A proximity sensor-based control method, apparatus, and mobile terminal according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 2 is a schematic flowchart of a control method based on a proximity sensor according to an embodiment of the present invention.
The proximity sensor is applied to the mobile terminal, the mobile terminal is provided with a display surface, one end of the display surface is provided with a telephone receiver, and the other end, opposite to the end provided with the telephone receiver, is provided with at least two proximity sensors.
In the embodiment of the invention, at least the proximity sensors are respectively positioned at two sides of the key and are parallel to the side edge close to the key, and in the concrete implementation, the proximity sensors at one side of the key can be arranged in multiple rows and multiple columns, single row and multiple columns, multiple rows and single column and the like, and the arrangement is not limited.
As an example, referring to FIG. 3a, FIG. 3a is a schematic layout diagram of proximity sensors in an embodiment of the present invention, the proximity sensors on one side of a key are arranged in multiple rows and multiple columns, and for a good coordination effect, the proximity sensors may be uniformly arranged, where the letter N represents the number of proximity sensors, and N ≧ 2.
As another example, referring to fig. 3b, fig. 3b is a schematic diagram of another proximity sensor layout in an embodiment of the present invention, the proximity sensors on one side of the key are arranged in multiple rows and multiple columns, and the proximity sensors may be arranged in a cross manner.
For another example, referring to fig. 3c, fig. 3c is a schematic layout diagram of another proximity sensor in the embodiment of the present invention, the proximity sensors on one side of the key are arranged in a single row and multiple columns, and the proximity sensors may be uniformly arranged for a good coordinated look and feel.
For another example, referring to fig. 3d, fig. 3d is a schematic diagram of another proximity sensor layout in an embodiment of the present invention, where the proximity sensors on one side of the key are arranged in multiple rows and single columns.
It should be noted that the number and the position arrangement of the proximity sensors include, but are not limited to, the manner disclosed in the present embodiment.
Referring to fig. 2, the proximity sensor-based control method may include the steps of:
in step 201, measurement values measured by at least two proximity sensors are obtained.
In the embodiment of the invention, the arrangement of the proximity sensors on one side of the key is taken as an example of a single row and multiple columns, and the proximity sensors can be uniformly arranged for good coordinated appearance. For example, referring to fig. 3c, each proximity sensor is aligned with a key and each proximity sensor remains on the same horizontal line, i.e., parallel to the side to which the key is adjacent.
In this embodiment, the measurement value is used to indicate a distance between the measured object and the mobile terminal. Specifically, the proximity sensor includes a transmitting end and a receiving end, where the transmitting end continuously transmits a short-stroke optical pulse signal, which is denoted as probe light in this embodiment, and when encountering an object, the probe light is reflected and received by the receiving end, and a distance between the mobile terminal and the object can be obtained by a time interval.
It should be noted that, in the embodiment of the present invention, the end of the display surface, where the receiver is disposed, of the detection light emitted by the proximity sensor is inclined, so that it can be avoided that when the screen of the mobile terminal is long, the detected object is not located in the detection area of the proximity sensor, which may cause inaccurate measurement. In addition, because the distance between the measured object and the proximity sensor is increased compared with the prior art, in order to ensure the measurement accuracy of the proximity sensor, the light intensity of the detection light emitted by the proximity sensor is also increased correspondingly.
In the specific application process, the receiving end of the proximity sensor can sense the light conditions around the mobile terminal, when the measured object is close to the mobile terminal, the light intensity of the reflected light received by the receiving end of the proximity sensor is large, when the measured object is far away from the mobile terminal, the light intensity of the reflected light received by the receiving end of the proximity sensor is small, and the distance between the mobile terminal and the measured object can be obtained according to the light intensity of the reflected light received by the receiving end of the proximity sensor. Therefore, the measured value measured by the proximity sensor is known as the light intensity (lux).
In the embodiment of the present invention, the measured values measured by the at least two proximity sensors may be, for example, marked as: lux1、lux2,…,luxN(N.gtoreq.2). Because the measured value is two at least, consequently, can all-round measurement light intensity, effectively solve the user and hold mobile terminal, plug up proximity sensor to interference measurement's problem.
After the proximity sensor measures the measurement value, a processing unit in the mobile terminal may obtain the measurement value to control the mobile terminal according to the measurement value.
Step 202, analyzing according to the measured values of at least two proximity sensors to obtain an estimated value.
It can be understood that, in a specific implementation, the measurement values measured by the proximity sensors at different positions are different, and in order to implement that the user holds the mobile terminal without affecting the light sensing detection of the proximity sensors, the maximum value of all the measurement values can be taken as an estimation value to improve the accuracy of the measurement values.
Further, since the measured value of the proximity sensor is the largest when the measured object is attached to the proximity sensor, the embodiment of the present invention may mark the measured value at this time as the second threshold value; when the measured object is far away from the proximity sensor, that is, when the measured object is not measured by the proximity sensor, the measured value of the proximity sensor is the smallest, and the embodiment of the present invention may mark the measured value at this time as the first threshold value.
It will be appreciated that the accuracy of the measurements can be further improved by screening the measurements of the at least two proximity sensors to screen out measurements that are less than a first threshold value and to screen out measurements that are greater than a second threshold value, and determining the estimate from the screened measurements.
And step 203, controlling the mobile terminal according to the estimated value.
After analyzing the estimated value, a processing unit in the mobile terminal may control the mobile terminal according to the estimated value.
As an example, the receiving end of the proximity sensor may sense the light condition around the mobile terminal, and thus, the mobile terminal may adjust the screen brightness. For example, when the user uses the mobile terminal to carry out a call, when the face of the user is close to the proximity sensor, the measurement value measured by the proximity sensor is small, and therefore, the mobile terminal can be controlled to close the screen. And when the face of the user is far away from the proximity sensor, such as when the user turns on a hands-free, the mobile terminal may be controlled to re-light the screen.
In the control method based on the proximity sensor of this embodiment, the measurement values obtained by measuring the at least two proximity sensors are obtained, and the analysis is performed according to the measurement values of the at least two proximity sensors to obtain the estimation value, and the mobile terminal is controlled according to the estimation value. In the embodiment, the telephone receiver is arranged at one end of the display surface of the mobile terminal, and the at least two proximity sensors are arranged at the other end opposite to the end provided with the telephone receiver, so that the position space of the telephone receiver can be sufficient, and the design of a narrow frame can be realized. And the display surface only has one proximity sensor, when the user holds the mobile terminal and blocks the proximity sensor, the detection of the proximity sensor is seriously influenced.
As a possible implementation manner of the embodiment of the present invention, referring to fig. 4, on the basis of the embodiment shown in fig. 2, step 202 specifically includes the following sub-steps:
from the measurements of the at least two proximity sensors, a maximum value is determined, step 401.
For example, a maximum value of lux may be marked. Thus, a maximum value of:
lux=max(lux1,lux2,…,luxN)。(1)
step 402, the maximum value is used as the estimated value.
Alternatively, the maximum value is used as the estimated value, so that the light sensation detection of the proximity sensor is not influenced when the user holds the mobile terminal.
The control method based on the proximity sensor of the embodiment can realize the all-around light intensity measurement by determining the maximum value from the measured values of at least two proximity sensors and taking the maximum value as the estimated value, and does not affect the light sensation detection of the proximity sensors when a user holds the mobile terminal. The problem of the prior art that a user holds the mobile terminal by hand and plugs up the proximity sensor to interfere with measurement can be solved.
As another possible implementation manner of the embodiment of the present invention, referring to fig. 5, on the basis of the embodiment shown in fig. 2, step 202 specifically includes the following sub-steps:
step 501, screening the measurement values of at least two proximity sensors, screening the measurement values smaller than a first threshold value, and screening the measurement values larger than a second threshold value.
The first threshold value is determined based on a measurement value of the proximity sensor when the object to be measured is not measured, and the second threshold value is determined based on a measurement value of the proximity sensor when the object to be measured is attached to the proximity sensor.
It can be understood that, because the proximity sensors in the embodiment of the present invention are distributed on both sides of the key, when the screen of the mobile terminal is wide, it may happen that some proximity sensors do not measure the measured object (for example, a human face), and at this time, the measured value measured by the proximity sensor of the measured object (which is referred to as the first threshold value in this embodiment) is the smallest among the measured values measured by the proximity sensors of the measured object.
Similarly, when the screen of the mobile terminal is wide, it may happen that some proximity sensors are blocked by the hand of the user, that is, the detected object is attached to the proximity sensors, and at this time, the measured value (denoted as the second threshold value in this embodiment) measured by the blocked proximity sensors is the largest among the measured values measured by the proximity sensors of the detected object.
The two conditions may cause the difference between the measured values to be large, so that the measured values smaller than the first threshold value can be filtered, and the measured values larger than the second threshold value can be filtered, thereby improving the accuracy of the measured values.
Step 502, determining an estimated value according to the screened measured value.
For example, the maximum value of the filtered measurement values may be used as the estimated value, or the average value of the filtered measurement values may be used as the estimated value, or the measurement values may be determined according to any algorithm that can improve the accuracy of the measurement values, which is not limited in this embodiment of the present invention.
In the control method based on the proximity sensors of this embodiment, the measured values of at least two proximity sensors are screened, the measured value smaller than the first threshold is screened, the measured value larger than the second threshold is screened, and the estimated value is determined according to the screened measured values, so that the interference value can be removed, and the accuracy of the estimated value can be improved.
Further, in order to improve the accuracy of the estimated value and improve the control effect of the mobile terminal, referring to fig. 6, on the basis of the embodiment of fig. 5, step 502 specifically includes the following sub-steps:
step 601, determining a target measurement value with the variance smaller than the variance threshold value from the screened measurement values.
It is understood that variance is a measure of the degree of dispersion of a set of data, and the greater the variance, the greater the fluctuation of the data; the smaller the variance, the smaller the fluctuation of the data. Thus, the variance can be used to calculate the difference between each measurement and the overall mean.
In the embodiment of the invention, a variance threshold value can be preset, and when the variance of the measured value is greater than the variance threshold value, the difference between the measured value and the mean value is larger, so that the measured value with the variance greater than the variance threshold value can be screened out, a target measured value is obtained, and the precision of the measured value can be further improved.
Step 602, determining an estimated value according to an average value of the target measurement values.
Alternatively, after the target measurement values are determined, the average value of the target measurement values may be used as the estimation value, further improving the accuracy of the estimation value.
In the control method based on the proximity sensor of the embodiment, the target measurement value with the variance smaller than the variance threshold is determined from the filtered measurement values, and the estimation value is determined according to the average value of the target measurement values, so that the accuracy of the estimation value can be further improved.
In order to implement the above embodiments, the present invention further provides a control device based on a proximity sensor.
Fig. 7 is a schematic structural diagram of a control device based on a proximity sensor according to an embodiment of the present invention.
Referring to fig. 7, the proximity sensor-based control apparatus includes: an acquisition module 710, an estimation module 720, and a control module 730. Wherein,
the obtaining module 710 is configured to obtain measurement values measured by at least two proximity sensors.
In an embodiment of the present invention, the measurement value is used to indicate a distance between the measured object and the mobile terminal.
And an estimation module 720, configured to perform analysis according to the measurement values of the at least two proximity sensors to obtain an estimation value.
And a control module 730, configured to control the mobile terminal according to the estimation value.
As a possible implementation manner of the embodiment of the present invention, the estimation module 720 is specifically configured to determine a maximum value from the measurement values of the at least two proximity sensors; the maximum value is taken as the estimated value.
As another possible implementation manner of the embodiment of the present invention, the estimation module 720 is specifically configured to screen the measurement values of the at least two proximity sensors, screen out the measurement values greater than the first threshold, and screen out the measurement values less than the second threshold; the first threshold value is determined according to the measured value of the proximity sensor when the measured object is not measured, and the second threshold value is determined according to the measured value of the proximity sensor when the measured object is attached to the proximity sensor; and determining an estimated value according to the screened measured value.
In a specific implementation, the estimating module 720 is further configured to determine, from the filtered measurement values, a target measurement value whose variance is smaller than the variance threshold; an estimate is determined based on the average of the target measurements.
The detection light emitted by the proximity sensor of the embodiment of the invention is inclined towards one end of the display surface, which is provided with the receiver.
It should be noted that the foregoing explanation of the embodiment of the control method based on the proximity sensor is also applicable to the control device based on the proximity sensor of the present embodiment, and the implementation principle thereof is similar, and is not repeated here.
The control device based on the proximity sensor of the embodiment obtains the measurement values measured by the at least two proximity sensors, analyzes the measurement values according to the measurement values of the at least two proximity sensors to obtain the estimation value, and controls the mobile terminal according to the estimation value. In the embodiment, the telephone receiver is arranged at one end of the display surface of the mobile terminal, and the at least two proximity sensors are arranged at the other end opposite to the end provided with the telephone receiver, so that the position space of the telephone receiver can be sufficient, and the design of a narrow frame can be realized. And the display surface only has one proximity sensor, when the user holds the mobile terminal and blocks the proximity sensor, the detection of the proximity sensor is seriously influenced.
In order to implement the above embodiments, the present invention further provides a mobile terminal.
Fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Referring to fig. 8, the mobile terminal 80 includes: a display 801, a receiver 8011, and a proximity sensor 8012. Wherein,
the proximity sensor 8012 is applied to a mobile terminal 80, and the mobile terminal 80 has a display surface 801, a receiver 8011 is provided at one end of the display surface 801, and at least two proximity sensors 8012 are provided at the other end opposite to the end at which the receiver 8011 is provided.
In the embodiment of the present invention, the arrangement of the proximity sensors may be multiple rows and multiple columns, single row and multiple columns, multiple rows and single columns, etc., without limitation. The embodiment of the invention exemplifies the arrangement of the proximity sensors as a single row and multiple columns.
Further, in a possible implementation manner of the embodiment of the present invention, on the basis of fig. 8 and referring to fig. 9, the mobile terminal 80 further includes: a key 8013.
In a specific implementation, a key 8013 is disposed at the other end of the display surface 801, and at least two proximity sensors 8012 are respectively disposed at two sides of the key 8013.
In the embodiment of the present invention, at least the proximity sensors 8012 are respectively located at two sides of the key 8013, and are parallel to the side edge where the key 8013 is close to, in particular, the proximity sensors 8012 at one side of the key 8013 may be arranged in multiple rows and multiple columns, in single row and multiple columns, in multiple rows and single column, and the like, which is not limited thereto.
See, for example, fig. 3a, 3b, 3c, and 3d, which are not described in detail herein.
In a specific implementation, at least two proximity sensors 8012 are located on the same side of the key 8013; at least two proximity sensors 8012 located on the same side of the key 8013 are on the same axis, which is parallel to the side to which the key 8013 is close.
Specifically, the detection light emitted from the proximity sensor 8012 is inclined toward the end of the display surface 801 where the receiver 8011 is provided.
It should be noted that the foregoing explanation of the embodiment of the control method based on the proximity sensor is also applicable to the mobile terminal of this embodiment, and the implementation principle is similar, and is not described herein again.
The mobile terminal of the embodiment is provided with the receiver at one end of the display surface of the mobile terminal, and the other end opposite to the end provided with the receiver is provided with the at least two proximity sensors, so that the position space of the receiver can be sufficient, and the design of the narrow frame can be realized. And the display surface only has one proximity sensor, when the user holds the mobile terminal and blocks the proximity sensor, the detection of the proximity sensor is seriously influenced.
Based on the above embodiment, the invention further provides a mobile terminal.
Fig. 10 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
As shown in fig. 10, the mobile terminal 1000 further includes: a housing 1001 and a processor 1002, a memory 1003 and a display surface 1004 located within the housing 1001, wherein the processor 1002 runs a program corresponding to executable program codes by reading the executable program codes stored in the memory 1003 for implementing the proximity sensor based control method as in the foregoing embodiments.
In order to implement the above embodiments, the present invention further provides a computer program product, wherein when the instructions in the computer program product are executed by a processor, the proximity sensor-based control method provided by the above embodiments of the present invention is executed.
In order to implement the above embodiments, the present invention also proposes a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, is capable of implementing the proximity sensor-based control method as described in the foregoing embodiments.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (12)
1. A control method based on a proximity sensor is characterized in that the proximity sensor is applied to a mobile terminal, the mobile terminal is provided with a display surface, one end of the display surface is provided with a telephone receiver, and the other end opposite to the end provided with the telephone receiver is provided with at least two proximity sensors, and the method comprises the following steps:
acquiring measurement values measured by at least two proximity sensors;
analyzing according to the measured values of the at least two proximity sensors to obtain an estimated value;
and controlling the mobile terminal according to the estimated value.
2. The control method according to claim 1, wherein the measurement value is used for indicating a distance between a measured object and the mobile terminal, and the analyzing according to the measurement values of the at least two proximity sensors to obtain an estimation value comprises:
determining a maximum value from the measurements of the at least two proximity sensors;
taking the maximum value as the estimated value.
3. The control method according to claim 1, wherein a key is disposed at the other end of the display surface, the at least two proximity sensors are respectively disposed at two sides of the key, and the analyzing according to the measured values of the at least two proximity sensors to obtain the estimated value comprises:
screening the measured values of the at least two proximity sensors, screening out the measured values greater than a first threshold value, and screening out the measured values less than a second threshold value; wherein the first threshold is determined based on a measurement value of the proximity sensor when the object to be measured is not measured, and the second threshold is determined based on a measurement value of the proximity sensor when the object to be measured is attached to the proximity sensor;
and determining the estimated value according to the screened measured value.
4. The control method of claim 3, wherein said determining the estimated value based on the filtered measurement value comprises:
determining a target measurement value with the variance smaller than a variance threshold value from the screened measurement values;
and determining the estimated value according to the average value of the target measurement values.
5. The control method according to any one of claims 1 to 4,
the detection light emitted by the proximity sensor inclines towards one end of the display surface, where the receiver is arranged.
6. A control device based on a proximity sensor, wherein the proximity sensor is applied to a mobile terminal, the mobile terminal is provided with a display surface, one end of the display surface is provided with a telephone receiver, the other end opposite to the end provided with the telephone receiver is provided with at least two proximity sensors, the device comprises:
the acquisition module is used for acquiring measurement values measured by at least two proximity sensors;
the estimation module is used for analyzing according to the measured values of the at least two proximity sensors to obtain an estimated value;
and the control module is used for controlling the mobile terminal according to the estimated value.
7. The mobile terminal is characterized in that the proximity sensor is applied to the mobile terminal, the mobile terminal is provided with a display surface, one end of the display surface is provided with a telephone receiver, and the other end opposite to the end provided with the telephone receiver is provided with at least two proximity sensors.
8. The mobile terminal according to claim 7, wherein a key is disposed at the other end of the display surface, and the at least two proximity sensors are respectively disposed at two sides of the key.
9. The mobile terminal of claim 8, wherein there are at least two proximity sensors located on the same side of the key;
at least two proximity sensors located on the same side of the key are located on the same axis, and the axis is parallel to the side where the key is close to.
10. The mobile terminal of claim 8, wherein the detection light emitted from the proximity sensor is inclined toward an end of the display surface where the receiver is disposed.
11. The mobile terminal according to any of claims 7-10, characterized in that the mobile terminal further comprises one or more of the following components: a housing, and a processor and a memory located in the housing, wherein the memory stores executable program codes, and the processor executes a program corresponding to the executable program codes by reading the executable program codes stored in the memory to execute the control method according to any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the control method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710571120.0A CN107483659B (en) | 2017-07-13 | 2017-07-13 | Control method and device based on proximity sensor and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710571120.0A CN107483659B (en) | 2017-07-13 | 2017-07-13 | Control method and device based on proximity sensor and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107483659A true CN107483659A (en) | 2017-12-15 |
CN107483659B CN107483659B (en) | 2019-12-10 |
Family
ID=60595700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710571120.0A Active CN107483659B (en) | 2017-07-13 | 2017-07-13 | Control method and device based on proximity sensor and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107483659B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110311999A (en) * | 2018-03-20 | 2019-10-08 | 广东欧珀移动通信有限公司 | The control method and device of electronic equipment |
CN112272255A (en) * | 2020-10-22 | 2021-01-26 | 珠海格力电器股份有限公司 | Electronic equipment and method for automatically adjusting transceiving angle of signal transceiving device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202872883U (en) * | 2012-11-26 | 2013-04-10 | 广东欧珀移动通信有限公司 | Narrow-bezel mobile phone |
US20130157726A1 (en) * | 2010-08-25 | 2013-06-20 | Kyocera Corporation | Mobile information device, control method, and program |
CN203327070U (en) * | 2013-05-17 | 2013-12-04 | 惠州比亚迪电子有限公司 | Mobile terminal |
CN103491230A (en) * | 2013-09-04 | 2014-01-01 | 三星半导体(中国)研究开发有限公司 | Mobile terminal capable of automatically adjusting volume and fonts and automatic adjusting method thereof |
CN104468912A (en) * | 2014-12-08 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Method for controlling luminance of screen of mobile terminal and display terminal |
CN106919359A (en) * | 2017-04-18 | 2017-07-04 | 苏州科技大学 | A kind of display screen font size automatic adjustment system |
-
2017
- 2017-07-13 CN CN201710571120.0A patent/CN107483659B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130157726A1 (en) * | 2010-08-25 | 2013-06-20 | Kyocera Corporation | Mobile information device, control method, and program |
CN202872883U (en) * | 2012-11-26 | 2013-04-10 | 广东欧珀移动通信有限公司 | Narrow-bezel mobile phone |
CN203327070U (en) * | 2013-05-17 | 2013-12-04 | 惠州比亚迪电子有限公司 | Mobile terminal |
CN103491230A (en) * | 2013-09-04 | 2014-01-01 | 三星半导体(中国)研究开发有限公司 | Mobile terminal capable of automatically adjusting volume and fonts and automatic adjusting method thereof |
CN104468912A (en) * | 2014-12-08 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Method for controlling luminance of screen of mobile terminal and display terminal |
CN106919359A (en) * | 2017-04-18 | 2017-07-04 | 苏州科技大学 | A kind of display screen font size automatic adjustment system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110311999A (en) * | 2018-03-20 | 2019-10-08 | 广东欧珀移动通信有限公司 | The control method and device of electronic equipment |
CN112272255A (en) * | 2020-10-22 | 2021-01-26 | 珠海格力电器股份有限公司 | Electronic equipment and method for automatically adjusting transceiving angle of signal transceiving device |
CN112272255B (en) * | 2020-10-22 | 2021-07-20 | 珠海格力电器股份有限公司 | Electronic equipment and method for automatically adjusting transceiving angle of signal transceiving device |
Also Published As
Publication number | Publication date |
---|---|
CN107483659B (en) | 2019-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9207862B2 (en) | Motion sensor data processing and interface and method thereof | |
CN105339877B (en) | Finger detection on the touch screen of mobile device | |
US9103929B2 (en) | Device for detecting the presence of an item in an examination object | |
US20160154118A1 (en) | Radiation measurement device | |
US10642417B2 (en) | Method and apparatus for determining touching action and display device | |
KR20100087108A (en) | Detecting ambient light levels in a vision system | |
CN107483659B (en) | Control method and device based on proximity sensor and mobile terminal | |
JP2020514752A (en) | Methods for improving usability and accuracy of physiological measurements | |
SE1550281A1 (en) | Method and system for estimating finger movement | |
US10325377B2 (en) | Image depth sensing method and image depth sensing apparatus | |
CN111854966A (en) | Temperature measurement method, device, wearable equipment and medium | |
JP5838271B2 (en) | Biological sensor and power saving mode setting method | |
JP2006087030A5 (en) | ||
CN106768311A (en) | A kind of environment light detection method, device and terminal | |
KR20120083693A (en) | Touch detection method, recording medium for performing the method and touch detection system | |
TWI451303B (en) | Method for sensing touch points | |
US10849565B2 (en) | Schemes for obtaining estimation of physiological feature of specific user, establishing profile of physiological feature of specific user, and for establishing/managing/grading profiles of different users | |
KR102536279B1 (en) | sensor device | |
CN106873877A (en) | Mobile terminal and bright screen method | |
KR20180114396A (en) | Concentration measuring device using motion detection | |
JP6779436B2 (en) | A magnetic material detection device, a program for realizing a magnetic material detection function on a computer, and a computer-readable recording medium on which the program is recorded. | |
KR101148233B1 (en) | Method and device for estimating touch pressure using image, recording medium for the same, and mobile device comprising the same | |
JP5113232B2 (en) | Panel evaluation system and panel evaluation method | |
US20160147357A1 (en) | Anti-noise method of touch panel, touch panel and display device | |
JP2017072486A (en) | Depth detection system and method |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |