CN107483659B - Control method and device based on proximity sensor and mobile terminal - Google Patents

Control method and device based on proximity sensor and mobile terminal Download PDF

Info

Publication number
CN107483659B
CN107483659B CN201710571120.0A CN201710571120A CN107483659B CN 107483659 B CN107483659 B CN 107483659B CN 201710571120 A CN201710571120 A CN 201710571120A CN 107483659 B CN107483659 B CN 107483659B
Authority
CN
China
Prior art keywords
mobile terminal
proximity sensor
proximity sensors
measured
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710571120.0A
Other languages
Chinese (zh)
Other versions
CN107483659A (en
Inventor
杨成林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710571120.0A priority Critical patent/CN107483659B/en
Publication of CN107483659A publication Critical patent/CN107483659A/en
Application granted granted Critical
Publication of CN107483659B publication Critical patent/CN107483659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User 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 invention provides a control method and device based on a proximity sensor and a mobile terminal, wherein 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, and the method comprises the following steps: acquiring measurement values measured by at least two proximity sensors; analyzing according to the measured values of at least two proximity sensors to obtain an estimated value; and controlling the mobile terminal according to the estimated value. The method can ensure that the position space of the telephone receiver is sufficient, so that the design of a narrow frame is realized, and the embodiment of the invention is provided with at least two proximity sensors, so that the light intensity can be measured in an all-round way, the precision of the measured value is improved, and the problem that the user holds the mobile terminal by hand and blocks the proximity sensors, so that the measurement is interfered is solved.

Description

Control method and device based on proximity sensor and mobile terminal
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 invention, the measured values measured by at least two proximity sensors can be marked as lux 1, lux 2, … and lux N (N is more than or equal to 2), for example, because the measured values are at least two, the light intensity can be measured in an all-around way, and the problem that the user holds the mobile terminal by hand to block the proximity sensors, so that the measurement is interfered is effectively solved.
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 content of the first and second substances,
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 content of the first and second substances,
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 (9)

1. A control method based on a proximity sensor, characterized in that the proximity sensor is applied to a mobile terminal, the mobile terminal is provided with a display surface, a telephone receiver, a key and at least two proximity sensors, wherein the telephone receiver is arranged at one end of the display surface, the key and the at least two proximity sensors are only arranged at the other end of the display surface opposite to the end provided with the telephone receiver, the at least two proximity sensors are respectively positioned at two sides of the key, the proximity sensors positioned at one side of the key are uniformly distributed into a plurality of rows and a plurality of columns, a single row and a plurality of columns or a plurality of rows and a single column, the one end with the other end be the mobile terminal length direction is relative both ends, the probing light that proximity sensor launches, to the display surface is provided with the one end slope of receiver, including the following step:
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 of claim 1, wherein said analyzing from the measurements of the at least two proximity sensors to obtain an estimate 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. A control device based on a proximity sensor, characterized in that the proximity sensor is applied to a mobile terminal, the mobile terminal is provided with a display surface, a telephone receiver, a key and at least two proximity sensors, wherein the telephone receiver is arranged at one end of the display surface, the key and the at least two proximity sensors are only arranged at the other end of the display surface opposite to the end provided with the telephone receiver, the at least two proximity sensors are respectively positioned at two sides of the key, the proximity sensors positioned at one side of the key are uniformly distributed into a plurality of rows and a plurality of columns, a single row and a plurality of columns or a plurality of rows and a single column, one end with the other end is the relative both ends in mobile terminal length direction, the probing light that proximity sensor launched to the display surface is provided with the one end slope of receiver, the device includes:
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.
6. The utility model provides a mobile terminal, its characterized in that, mobile terminal has display surface, receiver, button and two at least proximity sensor, the receiver set up in the one end of display surface, the button with two at least proximity sensor only set up in the display surface with be provided with the other end that the one end of receiver is relative, two at least proximity sensor are located respectively the both sides of button are located the proximity sensor of button one side evenly lays for multirow multiseriate, single file multiseriate or multirow single row, one end with the other end is for relative both ends in the mobile terminal length direction, the probe light that proximity sensor launched, to the display surface is provided with the one end slope of receiver.
7. the mobile terminal of claim 6, 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.
8. The mobile terminal according to claim 6 or 7, 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 4.
9. 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 4.
CN201710571120.0A 2017-07-13 2017-07-13 Control method and device based on proximity sensor and mobile terminal Active CN107483659B (en)

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 CN107483659A (en) 2017-12-15
CN107483659B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311999B (en) * 2018-03-20 2022-07-12 Oppo广东移动通信有限公司 Control method and device of electronic equipment
CN112272255B (en) * 2020-10-22 2021-07-20 珠海格力电器股份有限公司 Electronic equipment and method for automatically adjusting transceiving angle of signal transceiving device

Citations (4)

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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5646915B2 (en) * 2010-08-25 2014-12-24 京セラ株式会社 Portable information terminal, control method, and program
CN202872883U (en) * 2012-11-26 2013-04-10 广东欧珀移动通信有限公司 Narrow-bezel mobile phone

Patent Citations (4)

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

Also Published As

Publication number Publication date
CN107483659A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN105339877B (en) Finger detection on the touch screen of mobile device
US9207862B2 (en) Motion sensor data processing and interface and method thereof
US9103929B2 (en) Device for detecting the presence of an item in an examination object
JP5993030B2 (en) Method for detecting liquid discharge to an absorbent article
CN108775958B (en) Brightness measuring and calibrating method and device based on light sensor and electronic equipment
US20150144767A1 (en) Method for evaluating position and motion using time of flight detectors
US20100073327A1 (en) User input device with dynamic ambient light calibration
JP2018532440A5 (en)
CN107483659B (en) Control method and device based on proximity sensor and mobile terminal
US20160154118A1 (en) Radiation measurement device
JP2019515701A5 (en)
TW200639772A (en) Display device including function to input information from screen by light
US8783123B2 (en) Locating device
WO2011003035A3 (en) Analyte sensor
CN110448225B (en) Cleaning strategy adjusting method and system and cleaning equipment
KR20100087108A (en) Detecting ambient light levels in a vision system
KR20110085066A (en) Potable device for automatically measuring moisture on skin and the same method thereof
US10325377B2 (en) Image depth sensing method and image depth sensing apparatus
US9664631B2 (en) Moisture sensor for a forage harvester
CN106768311A (en) A kind of environment light detection method, device and terminal
US20130327135A1 (en) Automatic Detection and Analysis of Tire Treads
JP2006087030A5 (en)
EP3248538A1 (en) Control device, detection device, and control method
KR20170038423A (en) Apparatus and method of calculating air change rate
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

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant