CN106502328A - Terminal protection shell, touch identification method and device - Google Patents

Terminal protection shell, touch identification method and device Download PDF

Info

Publication number
CN106502328A
CN106502328A CN201610942046.4A CN201610942046A CN106502328A CN 106502328 A CN106502328 A CN 106502328A CN 201610942046 A CN201610942046 A CN 201610942046A CN 106502328 A CN106502328 A CN 106502328A
Authority
CN
China
Prior art keywords
terminal
preset threshold
ultrasonic
echo signal
threshold 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.)
Granted
Application number
CN201610942046.4A
Other languages
Chinese (zh)
Other versions
CN106502328B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610942046.4A priority Critical patent/CN106502328B/en
Publication of CN106502328A publication Critical patent/CN106502328A/en
Application granted granted Critical
Publication of CN106502328B publication Critical patent/CN106502328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1656Details related to functional adaptations of the enclosure, e.g. to provide protection against EMI, shock, water, or to host detachable peripherals like a mouse or removable expansions units like PCMCIA cards, or to provide access to internal components for maintenance or to removable storage supports like CDs or DVDs, or to mechanically mount accessories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/18Telephone sets specially adapted for use in ships, mines, or other places exposed to adverse environment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of terminal protection shell, touch identification method and device.Terminal protection shell includes:Ultrasonic signal shutter, ultrasound echo signal through hole;Ultrasonic signal shutter is arranged on the top of the surface location opposite position for going out ultrasonic signal with terminal transmission of terminal protection shell; the first end of ultrasound echo signal through hole is arranged on the position corresponding with the perforation of the microphone of terminal end surface of terminal protection shell, and the second end of ultrasound echo signal through hole is arranged on the position corresponding with the predeterminated position of terminal front side of terminal protection shell;Wherein, ultrasonic signal shutter stops that the ultrasonic signal that terminal transmission goes out is launched to preset direction, and the ultrasound echo signal of ultrasonic signal imports to the microphone of terminal by the ultrasound echo signal through hole of terminal protection shell.Disclosed technique scheme enhances the directive property of the directive property of the ultrasonic signal of terminal transmission and the ultrasound echo signal for receiving.

Description

Terminal protection shell, touch identification method and device
Technical Field
The disclosure relates to the technical field of electronics, in particular to a terminal protection shell, a touch identification method and a touch identification device.
Background
In the related art, the intelligent terminal with the ultrasonic false touch prevention function is limited by a structure, the directionality of an ultrasonic signal transmitted by the terminal and the directionality of a received ultrasonic echo signal are poor, so that when a user makes a call in a handheld mode, even if the rear side of the intelligent terminal is close to the intelligent terminal, the intelligent terminal can receive the ultrasonic echo signal with high energy, the display screen is closed to achieve the false touch prevention function, the touch screen is closed instead when the touch screen is not required to be closed, and the user experience is poor.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a terminal protection case, a touch recognition method and an apparatus, which can improve the directivity of an ultrasonic signal transmitted by a terminal, enhance the directivity of ultrasonic transmission and reception of the terminal having an ultrasonic function, and avoid the problem that a touch screen is turned off instead of being turned off when the touch screen is not required to be turned off.
According to a first aspect of embodiments of the present disclosure, there is provided a terminal protective case, including: the ultrasonic signal shielding plate and the ultrasonic echo signal through hole are arranged on the ultrasonic signal shielding plate; the ultrasonic signal shielding plate is arranged above a position, corresponding to a surface position of the terminal protection shell, where an ultrasonic signal is emitted by the terminal, a first end of the ultrasonic echo signal through hole is arranged at a position, corresponding to a microphone perforation of the terminal surface, of the terminal protection shell, and a second end of the ultrasonic echo signal through hole is arranged at a position, corresponding to a preset position of the front surface of the terminal, of the terminal protection shell; wherein,
the ultrasonic signal shielding plate blocks the ultrasonic signal emitted by the terminal to be emitted to a preset direction, and the ultrasonic echo signal of the ultrasonic signal passes through the terminal protection shell and is led into a microphone of the terminal through the ultrasonic echo signal through hole.
In one embodiment, the terminal protective case further includes: the signal leakage prevention gasket is arranged at the first end of the ultrasonic echo signal through hole, and the size of the signal leakage prevention gasket is consistent with the size of a perforation of a terminal microphone on the surface of the terminal.
In one embodiment, the signal leakage prevention gasket is made of rubber.
In one embodiment, the length of the ultrasonic signal shielding plate is not less than the length of the ultrasonic signal emitting hole of the terminal surface.
In one embodiment, the terminal protective case further includes: the magnet, the magnet sets up the terminal protective housing with the medial surface of terminal laminating.
According to a second aspect of the embodiments of the present disclosure, there is provided a touch recognition method applied to a terminal, the method including:
determining whether the terminal uses a terminal protection shell;
if the terminal uses a terminal protection shell, determining whether the terminal is touched according to a first preset threshold value;
and if the terminal does not use a terminal protective shell, determining whether the terminal is touched according to a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
In one embodiment, determining whether the terminal uses a terminal protective case comprises:
controlling a Hall sensor to measure the magnetic induction intensity;
if the magnetic induction intensity is larger than a preset intensity threshold value, determining that the terminal uses a terminal protection shell;
and if the magnetic induction intensity is not greater than a preset intensity threshold value, determining that the terminal does not use a terminal protective shell.
In one embodiment, determining whether the terminal is touched according to a first preset threshold includes:
controlling a microphone to receive an ultrasonic echo signal of an ultrasonic signal transmitted by an ultrasonic transmitter;
determining whether the energy value of the ultrasonic echo signal is greater than a first preset threshold value;
if the energy value of the ultrasonic echo signal is larger than a first preset threshold value, determining that the terminal is touched;
and if the energy value of the ultrasonic echo signal is not greater than the first preset threshold value, determining that the terminal is not touched.
In an embodiment, determining whether the terminal is touched according to a second preset threshold includes:
controlling a microphone to receive an ultrasonic echo signal of an ultrasonic signal transmitted by an ultrasonic transmitter;
determining whether the energy value of the ultrasonic echo signal is greater than a second preset threshold value;
if the energy value of the ultrasonic echo signal is larger than a second preset threshold value, determining that the terminal is touched;
and if the energy value of the ultrasonic echo signal is not greater than the second preset threshold value, determining that the terminal is not touched.
According to a third aspect of the embodiments of the present disclosure, there is provided a touch recognition apparatus applied to a terminal, the apparatus including:
a first determination module configured to determine whether the terminal uses a terminal protective case;
the second determination module is configured to determine whether the terminal is touched according to a first preset threshold value when the terminal uses a terminal protection shell;
the third determining module is configured to determine whether the terminal is touched according to a second preset threshold value when the terminal does not use a terminal protective shell, wherein the second preset threshold value is larger than the first preset threshold value.
In one embodiment, the first determining module includes:
a measurement submodule configured to control the hall sensor to measure magnetic induction;
a first determining sub-module configured to determine that the terminal is using a terminal protection shell when the magnetic induction measured by the measuring sub-module is greater than a preset intensity threshold;
a second determination sub-module configured to determine that the terminal is not using a terminal protective case when the magnetic induction measured by the measurement sub-module is not greater than a preset intensity threshold.
In one embodiment, the second determining module includes:
a first receiving submodule configured to control the microphone to receive an ultrasonic echo signal of an ultrasonic signal transmitted by the ultrasonic transmitter;
a first comparison submodule configured to determine whether an energy value of the ultrasonic echo signal received by the first receiving submodule is greater than a first preset threshold;
a first determining sub-module configured to determine that the terminal is touched when the first comparing sub-module determines that the energy value of the ultrasonic echo signal is greater than a first preset threshold;
a second determination sub-module configured to determine that the terminal is not touched when the first comparison sub-module determines that the energy value of the ultrasonic echo signal is not greater than the first preset threshold.
In one embodiment, the third determining module includes:
a second receiving submodule configured to control the microphone to receive an ultrasonic echo signal of the ultrasonic signal transmitted by the ultrasonic transmitter;
the second comparison submodule determines whether the energy value of the ultrasonic echo signal is greater than a second preset threshold value;
a third determining sub-module configured to determine that the terminal is touched when the second comparing sub-module determines that the energy value of the ultrasonic echo signal is greater than a second preset threshold;
a fourth determination submodule configured to determine that the terminal is not touched when the second comparison submodule determines that the energy value of the ultrasonic echo signal is not greater than the second preset threshold.
According to a fourth aspect of embodiments of the present disclosure, there is provided a touch recognition apparatus, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining whether the terminal uses a terminal protection shell;
if the terminal uses a terminal protection shell, determining whether the terminal is touched according to a first preset threshold value;
and if the terminal does not use a terminal protective shell, determining whether the terminal is touched according to a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method comprises the steps of determining whether a terminal is touched or not by using a first preset threshold value under the condition that the terminal uses a terminal protective shell, determining whether the terminal is touched or not by using a second preset threshold value under the condition that the terminal does not use the terminal protective shell, wherein the second preset threshold value is larger than the first preset threshold value. The ultrasonic signal shielding plate of the terminal protection shell can weaken the ultrasonic signal intensity towards the upper side and the rear side of the terminal, and the ultrasonic echo signal through hole can weaken the signal intensity of the received ultrasonic echo signals at the upper side and the rear side of the terminal, so that the terminal enhances the directivity of the transmitted ultrasonic signal and the directivity of the received ultrasonic echo signal when the terminal protection shell is used, and the problem that a user closes a touch screen due to high ultrasonic echo signal intensity when the rear side of the terminal approaches the terminal can be avoided; in addition, since the terminal protection case improves the directivity of the ultrasonic signal transmitted by the terminal and the directivity of the received ultrasonic echo signal, the signal intensity of the ultrasonic echo signal received by the terminal is greatly reduced, and thus it can be determined that the energy value of the ultrasonic echo signal using the terminal protection case by the terminal is lower than that of the ultrasonic echo signal not using the terminal protection case, and the second preset threshold may be greater than the first preset threshold in order to enhance the touch recognition sensitivity of the terminal.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1A is a perspective view of a terminal protective case according to an exemplary embodiment.
Fig. 1B is a schematic view of a terminal using the terminal protective case of the embodiment shown in fig. 1A.
Fig. 2 is a perspective view of a terminal protective case according to an exemplary embodiment.
FIG. 3 is a flowchart illustrating a touch recognition method according to an example embodiment.
Fig. 4 is a flowchart illustrating a touch recognition method according to another exemplary embodiment.
Fig. 5 is a schematic structural diagram illustrating a touch recognition device according to an exemplary embodiment.
Fig. 6 is a schematic structural diagram illustrating a touch recognition apparatus according to another exemplary embodiment.
FIG. 7 is a block diagram illustrating a suitable touch recognition device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1A is a perspective view illustrating a protective case of a terminal according to an exemplary embodiment, and fig. 1B is a schematic view illustrating a terminal using the protective case of the terminal of the embodiment shown in fig. 1A; the terminal protection shell may be a protection shell of an electronic device, the electronic device is, for example, an intelligent terminal, a tablet computer, and the like, as shown in fig. 1A and 1B, the terminal protection shell 10 includes: an ultrasonic signal shielding plate 11 and an ultrasonic echo signal through hole 12.
Wherein, the ultrasonic signal shielding plate 11 is disposed above a position of the terminal protection shell 10 corresponding to a position of a surface of the terminal 20 from which an ultrasonic signal is emitted, the first end 121 of the ultrasonic echo signal through hole 12 (illustrated by a dotted line in fig. 1A because the through hole is located inside the terminal protection shell 12) is disposed at a position of the terminal protection shell 10 corresponding to the microphone perforation 21 (the perforation 21 and the first end 121 are shown to overlap in fig. 1B) on the surface of the terminal 20, and the second end 122 of the ultrasonic echo signal through hole 12 is disposed at a position of the terminal protection shell 10 corresponding to a preset position of the front surface of the terminal 20; wherein,
the ultrasonic signal shielding plate 11 blocks the ultrasonic signal emitted from the terminal 20 from being emitted in a predetermined direction, and an ultrasonic echo signal of the ultrasonic signal is guided to a microphone (not shown) of the terminal through the ultrasonic echo signal through hole 12 of the terminal protective case 10.
In one embodiment, the specific location of the ultrasonic signal shielding plate 11 is associated with the terminal 20, for example, if the terminal emits an ultrasonic signal through the earpiece device 22, the ultrasonic signal shielding plate 11 is disposed on the upper edge of the hole of the protective case of the terminal reserved for the earpiece location, as shown in fig. 1B; if the terminal emits ultrasonic signals through other positions on the surface of the terminal, the ultrasonic signal shielding plate 11 is correspondingly arranged on the upper edge of the hole or the seam of the protective shell of the terminal for emitting the ultrasonic signals. In one embodiment, the direction of the ultrasonic signal shielding plate 11 may be perpendicular to the front surface of the terminal; in yet another embodiment, the direction of the ultrasonic-signal shielding plate 11 may be at an angle of less than 90 degrees to the front face of the terminal.
In an embodiment, the larger the height of the ultrasonic signal shielding plate is, the better the shielding effect on the ultrasonic signal is, and the height of the ultrasonic signal shielding plate can be increased as much as possible on the premise of not affecting the appearance shape of the terminal protection shell 10, so as to ensure better directivity of ultrasonic emission.
In one implementation, the preset position of the front surface of the terminal may be a position above the front surface of the terminal; in a further embodiment, the preset position of the front surface of the terminal can also be the position of the second end of the other front surface of the terminal where the ultrasonic echo signal through hole can be arranged.
In an embodiment, the first end 121 of the ultrasonic echo signal through hole 12 is disposed at a position corresponding to a terminal microphone, the number of the perforations corresponding to the terminal surface of the terminal microphone may be set according to an actual design requirement of the terminal, the present disclosure does not limit the number of the perforations corresponding to the terminal surface of the microphone, the present disclosure does not limit the number of the holes corresponding to the ultrasonic echo signal through hole on the outer surface of the protective case of the terminal, the number of the ultrasonic signal through holes may be the same as the number of the perforations corresponding to the terminal surface of the terminal microphone, or only one ultrasonic signal through hole may be disposed, and the ultrasonic signal through hole may penetrate through each of the microphone perforations on the terminal surface.
In this embodiment, when the ultrasonic signal transmitted by the terminal is transmitted from the surface of the terminal, the ultrasonic signal shielding plate 11 of the terminal protection case 10 can weaken the ultrasonic signal intensity of the upper side and the rear side of the terminal, and the ultrasonic echo signal through hole 12 can weaken the signal intensity of the received ultrasonic echo signal of the upper side and the rear side of the terminal, so that the terminal enhances the directivity of the transmitted ultrasonic signal and the directivity of the received ultrasonic echo signal when using the terminal protection case, and the problem that the terminal can close the touch screen due to high ultrasonic echo signal intensity when the user approaches the terminal at the rear side of the terminal can be avoided.
Fig. 2 is a perspective view of a terminal protective case according to an exemplary embodiment; in this embodiment, by using the above-mentioned terminal protection shell provided by the embodiment of the present disclosure, taking the structure of the ultrasonic echo signal through hole as an example for exemplary explanation, as shown in fig. 2, on the basis of the above-mentioned embodiments shown in fig. 1A and fig. 1B, the apparatus may further include: a signal leakage prevention spacer 13, a magnet 14; wherein, prevent that signal from revealing gasket 13 sets up in the first end of supersound echo signal through-hole 12, prevent that the size of signal reveals gasket 13 and terminal microphone are unanimous at the perforation size of terminal surface.
In an embodiment, the signal leakage prevention gasket 13 may enhance the tightness of the joint between the terminal protective shell 10 and the terminal at the perforation of the microphone on the surface of the terminal, so that the ultrasonic echo signals entering from the second segment of the ultrasonic echo signal through hole may all enter the perforation of the microphone of the terminal, thereby ensuring that all the ultrasonic echo signals which can be collected are collected by the terminal, and increasing the accuracy of preventing the terminal from being touched by mistake.
In an embodiment, the magnet 14 is disposed on the inner side surface of the terminal protection shell attached to the terminal, when the terminal is in a call, the magnetic field strength of the periphery can be determined by a hall sensor in the terminal, and if the terminal protection shell is used, the terminal can sense the magnetic field generated by the magnet 14 of the terminal protection shell. Since the energy value of the ultrasonic echo signal of the terminal using the terminal protective case 10 is lower than that of the ultrasonic echo signal without using the terminal protective case 10, in order to enhance the touch recognition sensitivity of the terminal, when the terminal determines that the terminal protective case is used through the magnet 14 of the terminal protective case, it may be determined whether to prevent a false touch using a relatively small first preset threshold value.
It will be appreciated by those skilled in the art that detection of a touch action can also be achieved by the present disclosure when the terminal is placed in a user's pocket or bag, and in such cases disabling response to the touch action.
As will be understood by those skilled in the art, the overall material of the terminal protection case is not limited in the present disclosure, for example: the gasket 13 is preferably made of rubber, or other materials with good sealing property; in another embodiment, the present disclosure does not limit the overall shape of the terminal protection case, for example: can be soft shell, hard shell, frame, wallet type, etc.
In this embodiment, the gasket for preventing signal leakage may 13 enhance the sealing property of the terminal protective shell 10 and the terminal in the fitting of the microphone in the perforation of the terminal surface, so that the ultrasonic echo signals entering from the second segment of the ultrasonic echo signal through hole may all enter the microphone perforation of the terminal, thereby ensuring that the terminal collects all the ultrasonic echo signals that can be collected, and further realizing the function of preventing accidental touch.
Fig. 3 is a flowchart illustrating a touch recognition method according to an exemplary embodiment, where, as shown in fig. 3, the touch recognition method includes the following steps:
in step 301, it is determined whether the terminal uses a terminal protection case, and if the terminal uses the terminal protection case, step 302 is performed, and if the terminal does not use the terminal protection case, step 303 is performed.
In one embodiment, whether to use the protective case of the terminal may be determined by a hall sensor built in the terminal. In step 302, it is determined whether the terminal is touched according to a first preset threshold.
In step 303, it is determined whether the terminal is touched according to a second preset threshold, where the second preset threshold is greater than the first preset threshold.
In one embodiment, the first preset threshold and the second preset threshold are used for measuring the energy value of the ultrasonic echo signal.
In an embodiment, the specific values of the first preset threshold and the second preset threshold may be empirical values, and the second preset threshold is determined by measuring a corresponding relationship between a distance between the user and the touch screen and an energy value of the ultrasonic echo signal detected by the microphone in a case where the terminal is not using the terminal protection shell, and a corresponding relationship between a distance between the user and the back of the terminal and an energy value of the ultrasonic echo signal detected by the microphone in a case where the terminal is not using the terminal protection shell, for example: when the distance between the user and the back of the terminal is 0, the ultrasonic echo signal energy value detected by the microphone is 9 joules, the larger the distance between the user and the back of the terminal is, the smaller the ultrasonic echo signal energy value detected by the microphone is, and when the distance between the user and the front of the terminal (touch screen) is 1cm, the ultrasonic echo signal energy value detected by the microphone is 9 joules, the smaller the distance between the user and the front of the terminal is, the larger the ultrasonic echo signal energy value detected by the microphone is, so that the first preset threshold value needs to be greater than 9 joules, and the situation that when the user approaches the terminal from the back side is avoided, the terminal also performs the operation of closing the screen.
In an embodiment, the first preset threshold may be determined by using a method similar to the method for determining the second preset threshold, because the energy value of the ultrasonic echo signal when the user approaches the terminal on the rear side of the terminal is small under the condition that the terminal uses the terminal protection shell, and the energy value of the ultrasonic echo signal may be 1 joule when the distance between the user and the rear side of the terminal is 0, the first preset threshold may be set to be smaller, for example, to be 5 joules, so that the distance between the user and the front side of the terminal is relatively large, for example, the screen can be turned off when the distance is 3cm, and the touch recognition sensitivity of the terminal is increased.
In an embodiment, the terminal protection case mentioned in the embodiments of the present disclosure may be the terminal protection case shown in fig. 2.
In this embodiment, whether the terminal is touched is determined by using a first preset threshold value when the terminal uses the terminal protection shell, and whether the terminal is touched is determined by using a second preset threshold value when the terminal does not use the terminal protection shell, where the second preset threshold value is greater than the first preset threshold value. Because the ultrasonic signal shielding plate of the terminal protection shell can weaken the ultrasonic signal intensity towards the upper side and the rear side of the terminal, and the ultrasonic echo signal through hole can weaken the signal intensity of the received ultrasonic echo signal at the upper side and the rear side of the terminal, the terminal enhances the directivity of the transmitted ultrasonic signal and the directivity of the received ultrasonic echo signal when the terminal protection shell is used, and the problem that the terminal can close the touch screen due to high ultrasonic echo signal intensity when the rear side of the terminal is close to the terminal can be avoided.
Fig. 4 is a flowchart illustrating a touch recognition method according to another exemplary embodiment, and this embodiment schematically illustrates the touch recognition method of the terminal on the basis of the above embodiments, and as shown in fig. 4, the touch recognition method includes the following steps:
in step 401, the hall sensor is controlled to measure the magnetic induction, and step 402 and step 404 are executed.
In step 402, if the magnetic induction is greater than a preset intensity threshold, it is determined that the terminal uses the terminal protection shell.
In step 403, it is determined whether the terminal is touched according to the first preset threshold, and the process ends.
In step 404, if the magnetic induction is greater than the preset intensity threshold, it is determined that the terminal does not use the terminal protection shell.
In step 405, it is determined whether the terminal is touched according to a second preset threshold, and the process ends.
Step 403 may specifically include the following steps:
controlling a microphone to receive an ultrasonic echo signal of an ultrasonic signal transmitted by an ultrasonic transmitter;
determining whether the energy value of the ultrasonic echo signal is greater than a first preset threshold value;
if the energy value of the ultrasonic echo signal is larger than a first preset threshold value, determining that the terminal is touched;
and if the energy value of the ultrasonic echo signal is not greater than the first preset threshold value, determining that the terminal is not touched.
Step 405 may specifically include the following steps:
controlling a microphone to receive an ultrasonic echo signal of an ultrasonic signal transmitted by an ultrasonic transmitter;
determining whether the energy value of the ultrasonic echo signal is greater than a second preset threshold value;
if the energy value of the ultrasonic echo signal is larger than a second preset threshold value, determining that the terminal is touched;
and if the energy value of the ultrasonic echo signal is not greater than a second preset threshold value, determining that the terminal is not touched.
With regard to the method flow in the above-described embodiment, the specific manner in which each of the steps is performed has been described in detail in the embodiment related to the sensing device, and will not be described in detail herein.
Fig. 5 is a schematic structural diagram illustrating a touch recognition device according to an exemplary embodiment, and as shown in fig. 5, the touch recognition device includes:
a first determination module 510 configured to determine whether the terminal uses a terminal protective case;
a second determination module 520 configured to determine whether the terminal is touched according to a first preset threshold when the first determination module 510 determines that the terminal uses the terminal protective case;
a third determining module 530 configured to determine whether the terminal is touched according to a second preset threshold value, when the first determining module 510 determines that the terminal does not use the terminal protective case, the second preset threshold value being greater than the first preset threshold value.
Fig. 6 is a schematic structural diagram of a touch recognition apparatus according to another exemplary embodiment, and as shown in fig. 6, on the basis of the embodiment shown in fig. 5, the first determining module 510 includes:
a measurement sub-module 511 configured to control the hall sensor to measure the magnetic induction intensity;
a first determining submodule 512 configured to determine that the terminal uses the terminal protection shell when the magnetic induction intensity measured by the measuring submodule 512 is greater than a preset intensity threshold;
a second determining sub-module 513 configured to determine that the terminal is not using the terminal protection case when the magnetic induction measured by the measuring sub-module 512 is not greater than the preset intensity threshold.
In one embodiment, the second determining module 520 includes:
a first receiving submodule 521 configured to control the microphone to receive an ultrasonic echo signal of an ultrasonic signal transmitted by the ultrasonic transmitter;
a first comparison submodule 522 configured to determine whether the energy value of the ultrasonic echo signal received by the first receiving submodule 521 is greater than a first preset threshold;
a first determining submodule 523 configured to determine that the terminal is touched when the first comparing submodule 522 determines that the energy value of the ultrasonic echo signal is greater than a first preset threshold;
a second determination submodule 524 configured to determine that the terminal is not touched when the first comparison submodule 522 determines that the energy value of the ultrasonic echo signal is not greater than the first preset threshold value.
In one embodiment, the third determining module 530 includes:
a second receiving submodule 531 configured to control the microphone to receive an ultrasonic echo signal of the ultrasonic signal transmitted by the ultrasonic transmitter;
the second comparison submodule 532 determines whether the energy value of the ultrasonic echo signal is greater than a second preset threshold value;
a third determining submodule 533 configured to determine that the terminal is touched when the second comparing submodule 532 determines that the energy value of the ultrasonic echo signal is greater than the second preset threshold;
a fourth determining sub-module 534 configured to determine that the terminal is not touched when the second comparing sub-module 532 determines that the energy value of the ultrasonic echo signal is not greater than the second preset threshold.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 7 is a block diagram illustrating a suitable touch recognition device according to an example embodiment. For example, the apparatus 700 may be an electronic device such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of apparatus 700, the change in position of apparatus 700 or a component of apparatus 700, the presence or absence of user contact with apparatus 700, the orientation or acceleration/deceleration of apparatus 700, and the change in temperature of apparatus 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication section 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing a touch recognition method, including the steps of:
determining whether the terminal uses a terminal protection shell;
if the terminal uses the terminal protection shell, determining whether the terminal is touched according to a first preset threshold value;
and if the terminal does not use the terminal protective shell, determining whether the terminal is touched according to a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 704 including instructions, is also provided, for example, the non-transitory computer-readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and so forth. The instructions may be executable by the processor 720 of the device 700 to perform the methods described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A terminal protection shell, characterized in that, the terminal protection shell includes: the ultrasonic signal shielding plate and the ultrasonic echo signal through hole are arranged on the ultrasonic signal shielding plate; the ultrasonic signal shielding plate is arranged above a position, corresponding to a surface position of the terminal protection shell, where an ultrasonic signal is emitted by the terminal, a first end of the ultrasonic echo signal through hole is arranged at a position, corresponding to a microphone perforation of the terminal surface, of the terminal protection shell, and a second end of the ultrasonic echo signal through hole is arranged at a position, corresponding to a preset position of the front surface of the terminal, of the terminal protection shell; wherein,
the ultrasonic signal shielding plate blocks the ultrasonic signal emitted by the terminal to be emitted to a preset direction, and the ultrasonic echo signal of the ultrasonic signal passes through the terminal protection shell and is led into a microphone of the terminal through the ultrasonic echo signal through hole.
2. A protective case for a terminal as recited in claim 1, further comprising: the signal leakage prevention gasket is arranged at the first end of the ultrasonic echo signal through hole, and the size of the signal leakage prevention gasket is consistent with the size of a perforation of a terminal microphone on the surface of the terminal.
3. The protective case of claim 2, wherein the signal leakage prevention gasket is made of rubber.
4. The protective case of claim 1, wherein the length of the ultrasonic signal shielding plate is not less than the length of the ultrasonic signal emitting hole of the terminal surface.
5. A protective case for a terminal as recited in claim 1, further comprising: the magnet, the magnet sets up the terminal protective housing with the medial surface of terminal laminating.
6. A touch recognition method applied to a terminal, the method comprising:
determining whether the terminal uses a terminal protection shell;
if the terminal uses a terminal protection shell, determining whether the terminal is touched according to a first preset threshold value;
and if the terminal does not use a terminal protective shell, determining whether the terminal is touched according to a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
7. The method of claim 6, wherein the determining whether the terminal uses a protective case comprises:
controlling a Hall sensor to measure the magnetic induction intensity;
if the magnetic induction intensity is larger than a preset intensity threshold value, determining that the terminal uses a terminal protection shell;
and if the magnetic induction intensity is not greater than a preset intensity threshold value, determining that the terminal does not use a terminal protective shell.
8. The method according to claim 6, wherein the determining whether the terminal is touched according to a first preset threshold comprises:
controlling a microphone to receive an ultrasonic echo signal of an ultrasonic signal transmitted by an ultrasonic transmitter;
determining whether the energy value of the ultrasonic echo signal is greater than a first preset threshold value;
if the energy value of the ultrasonic echo signal is larger than a first preset threshold value, determining that the terminal is touched;
and if the energy value of the ultrasonic echo signal is not greater than the first preset threshold value, determining that the terminal is not touched.
9. The method according to claim 6, wherein the determining whether the terminal is touched according to a second preset threshold comprises:
controlling a microphone to receive an ultrasonic echo signal of an ultrasonic signal transmitted by an ultrasonic transmitter;
determining whether the energy value of the ultrasonic echo signal is greater than a second preset threshold value;
if the energy value of the ultrasonic echo signal is larger than a second preset threshold value, determining that the terminal is touched;
and if the energy value of the ultrasonic echo signal is not greater than the second preset threshold value, determining that the terminal is not touched.
10. A touch recognition apparatus applied to a terminal, the apparatus comprising:
a first determination module configured to determine whether the terminal uses a terminal protective case;
the second determination module is configured to determine whether the terminal is touched according to a first preset threshold value when the terminal uses a terminal protection shell;
the third determining module is configured to determine whether the terminal is touched according to a second preset threshold value when the terminal does not use a terminal protective shell, wherein the second preset threshold value is larger than the first preset threshold value.
11. The apparatus of claim 10, wherein the first determining module comprises:
a measurement submodule configured to control the hall sensor to measure magnetic induction;
a first determining sub-module configured to determine that the terminal is using a terminal protection shell when the magnetic induction measured by the measuring sub-module is greater than a preset intensity threshold;
a second determination sub-module configured to determine that the terminal is not using a terminal protective case when the magnetic induction measured by the measurement sub-module is not greater than a preset intensity threshold.
12. The apparatus of claim 10, wherein the second determining module comprises:
a first receiving submodule configured to control the microphone to receive an ultrasonic echo signal of an ultrasonic signal transmitted by the ultrasonic transmitter;
a first comparison submodule configured to determine whether an energy value of the ultrasonic echo signal received by the first receiving submodule is greater than a first preset threshold;
a first determining sub-module configured to determine that the terminal is touched when the first comparing sub-module determines that the energy value of the ultrasonic echo signal is greater than a first preset threshold;
a second determination sub-module configured to determine that the terminal is not touched when the first comparison sub-module determines that the energy value of the ultrasonic echo signal is not greater than the first preset threshold.
13. The apparatus of claim 10, wherein the third determining module comprises:
a second receiving submodule configured to control the microphone to receive an ultrasonic echo signal of the ultrasonic signal transmitted by the ultrasonic transmitter;
the second comparison submodule determines whether the energy value of the ultrasonic echo signal is greater than a second preset threshold value;
a third determining sub-module configured to determine that the terminal is touched when the second comparing sub-module determines that the energy value of the ultrasonic echo signal is greater than a second preset threshold;
a fourth determination submodule configured to determine that the terminal is not touched when the second comparison submodule determines that the energy value of the ultrasonic echo signal is not greater than the second preset threshold.
14. A touch recognition apparatus, characterized in that the apparatus comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining whether the terminal uses a terminal protection shell;
if the terminal uses a terminal protection shell, determining whether the terminal is touched according to a first preset threshold value;
and if the terminal does not use a terminal protective shell, determining whether the terminal is touched according to a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
CN201610942046.4A 2016-10-25 2016-10-25 Terminal protection shell, touch identification method and device Active CN106502328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610942046.4A CN106502328B (en) 2016-10-25 2016-10-25 Terminal protection shell, touch identification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610942046.4A CN106502328B (en) 2016-10-25 2016-10-25 Terminal protection shell, touch identification method and device

Publications (2)

Publication Number Publication Date
CN106502328A true CN106502328A (en) 2017-03-15
CN106502328B CN106502328B (en) 2019-10-22

Family

ID=58320982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610942046.4A Active CN106502328B (en) 2016-10-25 2016-10-25 Terminal protection shell, touch identification method and device

Country Status (1)

Country Link
CN (1) CN106502328B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122011A (en) * 2017-06-29 2017-09-01 北京小米移动软件有限公司 Mobile device
CN112712660A (en) * 2020-12-23 2021-04-27 北京小米移动软件有限公司 Camera and touch detection method
CN112865826A (en) * 2019-11-28 2021-05-28 华为技术有限公司 Touch operation identification method and wearable device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092836A (en) * 2014-06-11 2014-10-08 小米科技有限责任公司 Power-saving method and apparatus
CN104618575A (en) * 2014-12-30 2015-05-13 小米科技有限责任公司 Method and device for approaching detected objects
CN105607738A (en) * 2015-12-22 2016-05-25 小米科技有限责任公司 Single-hand mode determination method and apparatus
US20160294442A1 (en) * 2015-03-31 2016-10-06 Sony Corporation Device environment determination

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092836A (en) * 2014-06-11 2014-10-08 小米科技有限责任公司 Power-saving method and apparatus
CN104618575A (en) * 2014-12-30 2015-05-13 小米科技有限责任公司 Method and device for approaching detected objects
US20160294442A1 (en) * 2015-03-31 2016-10-06 Sony Corporation Device environment determination
CN105607738A (en) * 2015-12-22 2016-05-25 小米科技有限责任公司 Single-hand mode determination method and apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122011A (en) * 2017-06-29 2017-09-01 北京小米移动软件有限公司 Mobile device
CN112865826A (en) * 2019-11-28 2021-05-28 华为技术有限公司 Touch operation identification method and wearable device
WO2021103999A1 (en) * 2019-11-28 2021-06-03 华为技术有限公司 Method for recognizing touch operation and wearable apparatus
CN112712660A (en) * 2020-12-23 2021-04-27 北京小米移动软件有限公司 Camera and touch detection method

Also Published As

Publication number Publication date
CN106502328B (en) 2019-10-22

Similar Documents

Publication Publication Date Title
EP3301551B1 (en) Electronic device for identifying touch
CN106797416B (en) Screen control method and device
CN109656317B (en) Apparatus having distance sensing function and distance sensing method
US10027785B2 (en) Method for switching screen state of terminal, terminal thereof, and computer-readable medium thereof
CN106201292A (en) Terminal false-touch prevention method and apparatus
US10318069B2 (en) Method for controlling state of touch screen, and electronic device and medium for implementing the same
CN108989494B (en) Electronic equipment
CN104618575A (en) Method and device for approaching detected objects
CN106502328B (en) Terminal protection shell, touch identification method and device
CN105607738B (en) Determine the method and device of one hand pattern
CN106559522A (en) Function realizing method and device, electronic equipment
US11831459B2 (en) Control method and device for home device and storage medium
CN106886019A (en) Distance measurement method and device
CN106814958A (en) The touch control method and device of function key
US20170149119A1 (en) Metal housing for electronic communication device and manufacturing method thereof
CN109769191B (en) Audio output detection method and device and electronic equipment
CN106484296A (en) Mobile terminal prevents processing method, device and the equipment of false touch
CN106445122B (en) Equipment state control method and device
CN109788530A (en) Adjust device and method, the electronic equipment of radiant power
CN107682101B (en) Noise detection method and device and electronic equipment
CN111246009B (en) Sliding cover type terminal, distance detection method and device and storage medium
CN107068031B (en) Method for controlling screen lightening of intelligent terminal and intelligent terminal
CN107506630B (en) Equipment with iris recognition function and iris recognition method
CN111353427A (en) Fingerprint unlocking signal processing method, device and medium
CN107589861B (en) Method and device for communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant