CN107885394A - Terminal equipment control method based on ultrasonic waves and terminal equipment - Google Patents

Terminal equipment control method based on ultrasonic waves and terminal equipment Download PDF

Info

Publication number
CN107885394A
CN107885394A CN201711093681.0A CN201711093681A CN107885394A CN 107885394 A CN107885394 A CN 107885394A CN 201711093681 A CN201711093681 A CN 201711093681A CN 107885394 A CN107885394 A CN 107885394A
Authority
CN
China
Prior art keywords
terminal device
certain
distance
current
picture
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.)
Pending
Application number
CN201711093681.0A
Other languages
Chinese (zh)
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 Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201711093681.0A priority Critical patent/CN107885394A/en
Publication of CN107885394A publication Critical patent/CN107885394A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/043Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using propagating acoustic waves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention relates to the technical field of terminals, and discloses a terminal device control method based on ultrasonic waves and a terminal device, wherein the method comprises the following steps: periodically transmitting an ultrasonic signal by an ultrasonic ranging device built in the terminal equipment to detect the current distance between the terminal equipment and an external object; identifying the moving direction of the external object according to the current distance and the previous distance, wherein the previous distance is the distance between the terminal equipment detected in the previous period and the external object; controlling the terminal equipment to execute preset operation corresponding to the moving direction; by implementing the embodiment of the invention, the traditional touch screen operation is abandoned, the two hands of the user are liberated, the terminal equipment is controlled based on the ultrasonic signal, and better use experience is provided for the user.

Description

A kind of terminal equipment control method and terminal device based on ultrasonic wave
Technical field
The present invention relates to field of terminal technology, and in particular to a kind of terminal equipment control method and terminal based on ultrasonic wave Equipment.
Background technology
Terminal device (such as cell phone) is most at present uses touch-screen, can be realized to terminal device spirit by touch-screen Easily touch control operation living, such as solution screen locking, video capture, picture browsing, application program operation etc., touch control operation is most opened relatively For the physical button operation of beginning, although it is convenient to operate, but operate on the touchscreen, be unfavorable for liberating both hands.
The content of the invention
The embodiment of the invention discloses a kind of terminal equipment control method and terminal device based on ultrasonic wave, for providing The mode of more convenient operation control terminal equipment, can liberate user's both hands, provide the user with more excellent usage experience.
First aspect present invention discloses a kind of terminal equipment control method based on ultrasonic wave, it may include:
Periodically launch the ultrasonic signal detection terminal by the supersonic range finder built in terminal device to set The standby current distance with a certain exterior object;
According to the current distance and previous distance, identify the moving direction of a certain exterior object, it is described it is previous away from With a distance from the terminal device and a certain exterior object arrived for a upper cycle detection;
The terminal device is controlled to perform predetermined registration operation corresponding to the moving direction.
As an alternative embodiment, in first aspect present invention, the ultrasound by built in terminal device After Wave ranging device periodically launches the current distance that ultrasonic signal detects the terminal device and a certain exterior object, And it is described according to the current distance and previous distance, before the moving direction for identifying a certain exterior object, the side Method also includes:
Judge whether the current distance is in pre-determined distance value range;
When the current distance is in the pre-determined distance value range, judge that the pre-determined distance value range is used to open The terminal device a certain picture application whether be in open mode;
When a certain picture is using open mode be in, execution is described according to the current distance and previous distance, The step of identifying the moving direction of a certain exterior object;
The control terminal device performs predetermined registration operation corresponding to the moving direction, including:
Using the photo current of a certain picture application as foundation, the terminal device is controlled to a certain picture application Perform preview picture corresponding to the moving direction to operate, the preview picture operation includes reducing picture, amplification picture, checked A upper pictures check next pictures.
As an alternative embodiment, in first aspect present invention, it is not in beating in a certain picture application During open state, methods described also includes:
When a certain picture application is not in open mode, a certain picture application is opened;
The a certain pictures in some storage pictures of a certain picture association are selected as photo current, and The current preview window of a certain picture application shows the photo current.
As an alternative embodiment, in first aspect present invention, the ultrasound by built in terminal device After Wave ranging device periodically launches the current distance that ultrasonic signal detects the terminal device and a certain exterior object, And it is described according to the current distance and previous distance, before the moving direction for identifying a certain exterior object, the side Method also includes:
Judge whether the current distance is in pre-determined distance value range;
When the current distance is in the pre-determined distance value range, judge that the pre-determined distance value range is used to open The background program interface of the terminal device whether be in open mode;
When platform program interface is in open mode in the rear, perform it is described according to the current distance and previous distance, The step of identifying before the moving direction of a certain exterior object;
The control terminal device performs predetermined registration operation corresponding to the moving direction, including:
Using the current background application program at the background program interface as foundation, the terminal device is controlled to the backstage The background application of program interface performs handover operation corresponding to the moving direction, and the handover operation includes switching to One background application switches to next background application.
As an alternative embodiment, in first aspect present invention, platform program interface is not in beating in the rear During open state, methods described also includes:
When platform program interface is not in open mode in the rear, the background program interface is opened;
Select a certain background application in some background applications in open mode in the background program interface Program shows the current background application journey as current background application program, and in the current display window of the terminal device Sequence.
Second aspect of the present invention discloses a kind of terminal device, it may include:
Apart from detection unit, believe for periodically launching ultrasonic wave by the supersonic range finder built in terminal device The current distance of number the detection terminal device and a certain exterior object;
Direction discernment unit, for according to the current distance and previous distance, identifying the shifting of a certain exterior object Dynamic direction, the previous distance are the distance of the terminal device and a certain exterior object that a upper cycle detection is arrived;
Execution unit, for performing predetermined registration operation corresponding to the moving direction.
As an alternative embodiment, in second aspect of the present invention, the terminal device also includes:
First detection unit, for passing through the supersonic range finder week built in terminal device apart from detection unit described After launching to phase property the current distance that ultrasonic signal detects the terminal device and a certain exterior object, and the direction Recognition unit before the moving direction for identifying a certain exterior object, judges institute according to the current distance and previous distance State whether current distance is in pre-determined distance value range;When the current distance is in the pre-determined distance value range, judge Whether a certain picture application for the terminal device that the pre-determined distance value range is used to open is in open mode;
The direction discernment unit is beaten specifically for determining that a certain picture is applied to be in first detection unit During open state, according to the current distance and previous distance, the moving direction of the identification a certain exterior object;
The execution unit specifically includes:
Preview control unit, for using the photo current of a certain picture application as foundation, answering a certain picture Operated with preview picture corresponding to the moving direction is performed, the preview picture operation includes reducing picture, amplification picture, looked into Take a fancy to a pictures or check next pictures.
As an alternative embodiment, in second aspect of the present invention, the terminal device also includes:
First display unit, for when a certain picture application is not in open mode, opening a certain picture Using;The a certain pictures in some storage pictures of a certain picture association are selected as photo current, and in institute The current preview window for stating a certain picture application shows the photo current.
As an alternative embodiment, in second aspect of the present invention, the terminal device also includes:
Second detection unit, for passing through the supersonic range finder week built in terminal device apart from detection unit described After launching to phase property the current distance that ultrasonic signal detects the terminal device and a certain exterior object, and the direction Recognition unit before the moving direction for identifying a certain exterior object, judges institute according to the current distance and previous distance State whether current distance is in pre-determined distance value range;When the current distance is in the pre-determined distance value range, judge Whether the background program interface for the terminal device that the pre-determined distance value range is used to open is in open mode;
The direction discernment unit is beaten specifically for determining that the background program interface is in second detection unit During open state, according to the current distance and previous distance, when identifying the moving direction of a certain exterior object;
The execution unit specifically includes:
Switch control unit, for using the current background application program at the background program interface as foundation, after described The background application of platform program interface performs handover operation corresponding to the moving direction, and the handover operation includes switching to A upper background application switches to next background application.
As an alternative embodiment, in second aspect of the present invention, the terminal device also includes:
Second display unit, for when platform program interface is not in open mode in the rear, opening the background program Interface;Select a certain background application in some background applications in open mode in the background program interface The current background application program is shown as current background application program, and in the current display window of the terminal device.
Third aspect present invention discloses a kind of terminal device, it may include:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as first party of the present invention Terminal equipment control method based on ultrasonic wave disclosed in face.
Fourth aspect present invention discloses a kind of computer-readable recording medium, and it is stored based on electronic data interchange Calculation machine program, wherein, the computer program causes computer to perform as disclosed in first aspect present invention based on ultrasonic wave Terminal equipment control method.
Compared with prior art, the embodiment of the present invention has the advantages that:
In embodiments of the present invention, first pass through the supersonic range finder built in terminal device and periodically launch ultrasonic wave The current distance of signal detection terminal device and a certain exterior object, according to the current distance and previous distance, identify a certain outer The moving direction of portion's object, the previous distance are the distance of terminal device and a certain exterior object that a upper cycle detection is arrived, so Control terminal device performs predetermined registration operation corresponding to the moving direction afterwards.As can be seen that implementing the embodiment of the present invention, can pass through Supersonic range finder launches ultrasonic signal detection terminal equipment and the current distance of a certain exterior object, so as to according to detection Distance identify moving direction of a certain exterior object before terminal device, further to control terminal to set according to moving direction It is standby, and the touch screen operation of abandoning tradition, or even other objects for being inconvenient to be used for touch terminal equipment can be speckled with both hands Or when holding other objects, can be moved using both hands or other objects before terminal device to control terminal device, it is real The purpose of both hands is now liberated, gives user's more preferably usage experience.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the schematic flow sheet of the terminal equipment control method based on ultrasonic wave disclosed in the embodiment of the present invention;
Fig. 2 is another schematic flow sheet of the terminal equipment control method based on ultrasonic wave disclosed in the embodiment of the present invention;
Fig. 3 is another schematic flow sheet of the terminal equipment control method based on ultrasonic wave disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of terminal device disclosed in the embodiment of the present invention;
Fig. 5 is another structural representation of terminal device disclosed in the embodiment of the present invention;
Fig. 6 is another structural representation of terminal device disclosed in the embodiment of the present invention;
Fig. 7 is another structural representation of terminal device disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
It should be noted that term " first ", " second " in description and claims of this specification etc. is to be used for Different objects is distinguished, rather than for describing particular order.The term " comprising " and " having " of the embodiment of the present invention and he Any deformation, it is intended that cover it is non-exclusive include, for example, contain the process of series of steps or unit, method, System, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include what is do not listed clearly Or for the intrinsic other steps of these processes, method, product or equipment or unit.
It is more convenient fast for providing the embodiment of the invention discloses a kind of terminal equipment control method based on ultrasonic wave The mode of prompt operation control terminal equipment, can liberate user's both hands, provide the user with more excellent usage experience.The embodiment of the present invention is also It is correspondingly disclosed a kind of terminal device.
Terminal device disclosed in the embodiment of the present invention can include but are not limited to cell phone, mobile flat board, individual number Word assistant (Personal Digital Assistant, PDA), multimedia player, electronic reader, wearable device, shifting Dynamic internet device (Mobile Internet Device, MID), computer etc. are various can to possess setting for network-connectivity It is standby.In conjunction with specific embodiments, technical solution of the present invention will be described in detail from terminal device angle below.
Embodiment one
Referring to Fig. 1, the flow that Fig. 1 is the terminal equipment control method based on ultrasonic wave disclosed in the embodiment of the present invention is shown It is intended to;As shown in figure 1, a kind of terminal equipment control method based on ultrasonic wave may include:
101st, terminal device periodically launches ultrasonic signal by built-in supersonic range finder and detects itself and certain The current distance of one exterior object.
Supersonic range finder (supersonic reflectoscope) is built-in with terminal device, passes through supersonic range finder week Launch to phase property the current distance of ultrasonic signal detection terminal equipment and a certain exterior object.
As an alternative embodiment, terminal device detects whether it is in bright screen state, at which in bright screen shape During state, terminal device perform by built-in supersonic range finder periodically launch ultrasonic signal detect its with it is a certain outside The step of current distance of portion's object.By the embodiment, only when terminal device is in bright screen state, terminal device is Technical solution of the present invention can be performed, to prevent maloperation of the terminal device under black state.
Further, terminal device further detects whether to open ultrasonic ranging dress at which when bright screen state Put, when opening supersonic range finder, terminal device performs periodically to be launched by built-in supersonic range finder Ultrasonic signal detects the step of its current distance with a certain exterior object.
102nd, terminal device identifies the moving direction of a certain exterior object according to the current distance and previous distance, before this Secondary distance is the distance of terminal device and a certain exterior object that a upper cycle detection is arrived.
As an alternative embodiment, before step 102 is performed, terminal device judges whether current distance is in Pre-determined distance value range, when distance is in pre-determined distance value range in this prior, further perform step 102.
Wherein, in embodiments of the present invention, terminal device identifies a certain outside thing according to the current distance and previous distance The moving direction of body specifically includes:Terminal device identifies the direction positional information of a certain exterior object according to current distance, enters one The direction positional information arrived according to direction positional information and a upper cycle detection is walked, identifies the mobile side of a certain exterior object To.By the embodiment, accurately it moving direction of a certain exterior object before terminal device can be identified.
Specifically, terminal device can be with a certain fixed object in terminal device, a certain exterior object and surrounding enviroment As object of reference, so as to establish three-dimensional space model, by launching ultrasonic signal in the three-dimensional space model, so as to certain One exterior object carries out space orientation, to obtain the direction positional information of a certain exterior object.
It should be noted that in embodiments of the present invention, if previous distance is zero, i.e., it is not detected by previous distance before; If current distance and previous apart from equal, may a certain exterior object do not move.
103rd, terminal device performs predetermined registration operation corresponding to the moving direction.
Moving direction and predetermined registration operation be correspondingly arranged and store in terminal device.
In embodiments of the present invention, first pass through the supersonic range finder built in terminal device and periodically launch ultrasonic wave The current distance of signal detection terminal device and a certain exterior object, according to the current distance and previous distance, identify a certain outer The moving direction of portion's object, the previous distance are the distance of terminal device and a certain exterior object that a upper cycle detection is arrived, so Control terminal device performs predetermined registration operation corresponding to the moving direction afterwards.As can be seen that implementing the embodiment of the present invention, can pass through Supersonic range finder launches ultrasonic signal detection terminal equipment and the current distance of a certain exterior object, so as to according to detection Distance identify moving direction of a certain exterior object before terminal device, further to control terminal to set according to moving direction It is standby, and the touch screen operation of abandoning tradition, or even other objects for being inconvenient to be used for touch terminal equipment can be speckled with both hands Or when holding other objects, can be moved using both hands or other objects before terminal device to control terminal device, it is real The purpose of both hands is now liberated, gives user's more preferably usage experience.
Embodiment two
Referring to Fig. 2, Fig. 2 is another stream of the terminal equipment control method based on ultrasonic wave disclosed in the embodiment of the present invention Journey schematic diagram;As shown in Fig. 2 a kind of terminal equipment control method based on ultrasonic wave may include:
201st, terminal device periodically launches ultrasonic signal by built-in supersonic range finder and detects itself and certain The current distance of one exterior object.
As an alternative embodiment, terminal device, before step 201 is performed, terminal device is detected to a certain figure The start-up operation of piece application;And in response to the start-up operation, start a certain picture application;Perform and surpassed by built-in afterwards Sound ranging device periodically launches the current distance that ultrasonic signal detects the terminal device and a certain exterior object.Pass through The embodiment, when detecting the start-up operation to the application of a certain picture, the triggering of the embodiment of the present invention is performed as triggering Condition.
Further, before terminal device detection is to the start-up operation of a certain picture application, terminal device detection detects it Whether bright screen state is in, at which when bright screen state, detects the start-up operation to the application of a certain picture.Wherein, only exist When terminal device is in bright screen state, it is believed that terminal device is in use state, and just triggering performs the embodiment of the present invention.
Wherein, a certain picture application can be " picture " instrument in terminal device or be other to possess browsing pictures Application program.
202nd, terminal device judges whether the current distance is in pre-determined distance value range.Wherein, in this prior at distance When pre-determined distance value range, step 203 is turned to;When distance is not in pre-determined distance value range in this prior, then terminate the stream Journey.
Wherein, in embodiments of the present invention, for the distance of a certain exterior object and terminal device that control terminal device Will within the specific limits, or supersonic range finder can only send wavelength as the ultrasonic signal in pre-determined distance value range, So as to be reflected by the object in the pre-determined distance value range.
203rd, terminal device judge pre-determined distance value range be used for open the terminal device a certain picture apply whether In open mode.Wherein, when a certain picture is using open mode is in, step 204 is turned to;In a certain picture application not During in open mode, step 206 is turned to.
204th, terminal device identifies the moving direction of a certain exterior object according to the current distance and previous distance.
205th, the photo current that terminal device is applied using a certain picture performs the movement as foundation to the application of a certain picture Corresponding to direction preview picture operate, the preview picture operation includes diminution picture, amplification picture, check a pictures or Check next pictures.
For example, moving direction for it is horizontal to the left when, reduce photo current;Moving direction for it is horizontal to the right when, amplification Photo current;When moving direction is vertically upward, a pictures (a upper pictures for photo current) are checked;Moving direction is When vertically downward, next pictures (next pictures of photo current) are checked.
206th, terminal device opens a certain picture application.
If current distance is in pre-determined distance value range, and when a certain picture application is not in open mode, then It is the trigger condition that a certain picture application is opened in triggering when current distance is in pre-determined distance value range, it is a certain so as to open Picture application.
207th, a certain pictures that terminal device is selected in some storage pictures of a certain picture association are used as current Picture, and show photo current in the current preview window that a certain picture is applied.Wherein, after execution of step 207, turn to Perform step 201.
As an alternative embodiment, terminal device is selected in some storage pictures of a certain picture association A certain pictures specifically include as photo current:Terminal device is selected in some storage pictures of a certain picture association First pictures or last picture are as photo current.
As another optional embodiment, terminal device is selected in some storage pictures of a certain picture association A certain pictures specifically included as photo current:Terminal device is selected in some storage pictures of a certain picture association Preset value specified by picture as photo current.Wherein, the preset value can be some of specified a certain picture association Store picture corresponding to a certain in picture or a certain mark, including the first pictures or last picture.
In embodiments of the present invention, first pass through the supersonic range finder built in terminal device and periodically launch ultrasonic wave The current distance of signal detection terminal device and a certain exterior object, when current distance is in pre-determined distance value range, if A certain picture is using being in open mode, according to the current distance and previous distance, identifies the moving direction of a certain exterior object, Then on the basis of the photo current of a certain picture application, preview picture operation is performed to the application of a certain picture, including to current The scaling of picture, amplify, check a pictures and check next pictures.As can be seen that implement the embodiment of the present invention, can Ultrasonic signal detection terminal equipment and the current distance of a certain exterior object are launched by supersonic range finder, so as to basis The distance of detection identifies moving direction of a certain exterior object before terminal device, to realize preview picture, and abandoning tradition Touch screen operation, or even can both hands speckle with other objects for being inconvenient to be used for touch terminal equipment or hold other things During body, it can be moved using both hands before terminal device to select picture or scaling pictures, realize the purpose of liberation both hands, give With user's more preferably usage experience.
Embodiment three
Referring to Fig. 3, Fig. 3 is another stream of the terminal equipment control method based on ultrasonic wave disclosed in the embodiment of the present invention Journey schematic diagram;As shown in figure 3, a kind of terminal equipment control method based on ultrasonic wave may include:
301st, terminal device periodically launches ultrasonic signal by built-in supersonic range finder and detects itself and certain The current distance of one exterior object.
As an alternative embodiment, terminal device, before step 301 is performed, terminal device is detected to backstage journey The start-up operation at sequence interface;And in response to the start-up operation, start background program interface;Perform and surpassed by built-in afterwards Sound ranging device periodically launches the current distance that ultrasonic signal detects the terminal device and a certain exterior object.Pass through The embodiment, when detecting the start-up operation to background program interface, the triggering of the embodiment of the present invention is performed as triggering Condition.
Further, before start-up operation of the terminal device detection to background program interface, terminal device detection detects it Whether bright screen state is in, at which when bright screen state, detects the start-up operation to background program interface.Wherein, only exist When terminal device is in bright screen state, it is believed that terminal device is in use state, and just triggering performs the embodiment of the present invention.
302nd, terminal device judges whether the current distance is in pre-determined distance value range.Wherein, in this prior at distance When pre-determined distance value range, step 303 is turned to;When distance is not in pre-determined distance value range in this prior, terminate the flow.
Wherein, in embodiments of the present invention, for the distance of a certain exterior object and terminal device that control terminal device Will within the specific limits, or supersonic range finder can only send wavelength as the ultrasonic signal in pre-determined distance value range, So as to be reflected by the object in the pre-determined distance value range.
303rd, terminal device judge the pre-determined distance value range be used for open the background program interface of the terminal device be It is no to be in open mode.Wherein, when being in open mode at the background program interface, step 304 is turned to;In background program circle When face is not in open mode, step 306 is turned to.
304th, terminal device identifies the moving direction of a certain exterior object according to current distance and previous distance.
305th, terminal device is using the current background application program of backstage program interface as foundation, behind background program interface Platform application program performs handover operation corresponding to the moving direction, and the handover operation includes switching to a background application Or switch to next background application.
For example, moving direction for it is horizontal to the left when, switch to a background application;Moving direction is level When to the right, next background application is switched to.Or moving direction for vertically upward when, switch to a backstage should Use program;When moving direction is vertically downward, next background application is switched to.
306th, terminal device opens the background program interface.
If current distance is in pre-determined distance value range, and when background program interface is not in open mode, then It is the trigger condition that the background program interface is opened in triggering when current distance is in pre-determined distance value range, so as to open backstage Program interface.
307th, terminal device is selected a certain in some background applications in open mode in background program interface Background application shows the current background application program as current background application program, and in current display window.
As another optional embodiment, terminal device is selected some in open mode in background program interface A certain background application in background application specifically includes as current background application program:The selected backstage of terminal device Background application is used as when front and rear specified by the preset value of some background applications in open mode in program interface Platform application program.Wherein, the preset value is the sequence number either backstage that some is specifically used for instruction background application sequence The unique mark of application program, is not especially limited herein.
Implement above-described embodiment, first pass through the supersonic range finder built in terminal device and periodically launch ultrasonic wave letter Number detection terminal equipment and the current distance of a certain exterior object, when current distance is in pre-determined distance value range, if after Platform program interface is in open mode, according to the current distance and previous distance, identifies the moving direction of a certain exterior object, so Afterwards in the current background base of applications at background program interface, the switching that application program is performed to background program interface is grasped Make, including switch to a background application or switch to next background application.As can be seen that implement this hair Bright embodiment, the current of ultrasonic signal detection terminal equipment and a certain exterior object can be launched by supersonic range finder Distance, so as to identify moving direction of a certain exterior object before terminal device according to the distance of detection, by background application Program is switched out being shown, and the touch screen operation of abandoning tradition, or even can be speckled with both hands and other be inconvenient to be used for When the object of touch terminal equipment or hand-held other objects, both hands or other objects can be used to be moved before terminal device To switch application program, the purpose of liberation both hands is realized, gives user's more preferably usage experience.
Example IV
Referring to Fig. 4, Fig. 4 is the structural representation of terminal device disclosed in the embodiment of the present invention;It is as shown in figure 4, a kind of Terminal device may include:
Apart from detection unit 410, for periodically launching ultrasound by the supersonic range finder built in terminal device The current distance of terminal device described in ripple signal detection and a certain exterior object;
Direction discernment unit 420, for according to the current distance and previous distance, identifying the mobile side of a certain exterior object To the previous distance is the distance of terminal device and a certain exterior object that a upper cycle detection is arrived;
Execution unit 430, for performing predetermined registration operation corresponding to the moving direction.
In embodiments of the present invention, the supersonic range finder week built in terminal device is first passed through apart from detection unit 410 Launch to phase property the current distance of ultrasonic signal detection terminal equipment and a certain exterior object, the basis of direction discernment unit 420 The current distance and previous distance, identify the moving direction of a certain exterior object, and the previous upper cycle detection of distance is arrived The distance of terminal device and a certain exterior object, then execution unit 430 perform predetermined registration operation corresponding to the moving direction.Can be with Find out, implement the embodiment of the present invention, can by supersonic range finder launch ultrasonic signal detection terminal equipment with it is a certain The current distance of exterior object, so as to identify mobile side of a certain exterior object before terminal device according to the distance of detection To further to control terminal device, and the touch screen operation of abandoning tradition according to moving direction, or even being speckled with both hands When other objects for being inconvenient to be used for touch terminal equipment or hand-held other objects, both hands or other objects can be used to exist Moved before terminal device to control terminal device, realize the purpose of liberation both hands, give user's more preferably usage experience.
It is understood that terminal shown in Fig. 4 can be used for performing shown in step 101- steps 103 based on ultrasonic wave Terminal equipment control method.
Embodiment five
Referring to Fig. 5, Fig. 5 is another structural representation of terminal device disclosed in the embodiment of the present invention;End shown in Fig. 5 End equipment is to optimize what is obtained on the basis of the terminal device shown in Fig. 4, in the terminal device shown in Fig. 5, the end End equipment also includes:
First detection unit 510, for being filled at this apart from detection unit 410 by the ultrasonic ranging built in terminal device Put after periodically launching the current distance that ultrasonic signal detects the terminal device and a certain exterior object, and it is above-mentioned Direction discernment unit 420 is according to the current distance and previous distance, and before the moving direction for identifying a certain exterior object, judging should Whether current distance is in pre-determined distance value range;When current distance is in pre-determined distance value range, the pre-determined distance is judged Whether a certain picture application for the terminal device that value range is used to open is in open mode;
And then above-mentioned direction discernment unit 420 is specifically used for determining a certain picture application in above-mentioned first detection unit 510 During in open mode, according to current distance and previous distance, the moving direction of a certain exterior object is identified;
And above-mentioned execution unit 430 specifically includes:
Preview control unit 520, the photo current for being applied using a certain picture perform as foundation to the application of a certain picture Preview picture corresponding to the moving direction operates, and preview picture operation includes reducing picture, amplification picture, checks a figure Piece checks next pictures.
With reference to Fig. 5, in the terminal device shown in Fig. 5, the terminal device also includes:
First display unit 530, for when a certain picture application is not in open mode, opening a certain picture application; The a certain pictures in some storage pictures of a certain picture association are selected as photo current, and in a certain picture The current preview window of application shows photo current.
It is understood that terminal shown in Fig. 5 can be used for performing shown in step 201- steps 207 based on ultrasonic wave Terminal equipment control method.
Embodiment six
Referring to Fig. 6, Fig. 6 is another structural representation of terminal device disclosed in the embodiment of the present invention;End shown in Fig. 6 End equipment is to optimize what is obtained on the basis of the terminal device shown in Fig. 4, in the terminal device shown in Fig. 6, the terminal Equipment also includes:
Second detection unit 610, for being filled at this apart from detection unit 410 by the ultrasonic ranging built in terminal device After putting the current distance for periodically launching ultrasonic signal detection terminal equipment and a certain exterior object, and direction discernment Unit 420 is according to current distance and previous distance, before the moving direction for identifying a certain exterior object, judges that the current distance is It is no to be in pre-determined distance value range;When current distance is in pre-determined distance value range, judge that the pre-determined distance value range is used for Whether the background program interface of the terminal device of opening is in open mode;
And then above-mentioned direction discernment unit 420 is specifically used for determining the background program interface in the second detection unit 610 When open mode, according to current distance and previous distance, the moving direction of a certain exterior object is identified;
And above-mentioned execution unit 430 specifically includes:
Switch control unit 620, for using the current background application program of backstage program interface as foundation, to background program The background application at interface performs handover operation corresponding to the moving direction, and the handover operation includes switching to a backstage Application program switches to next background application.
Incorporated by reference to Fig. 6, in figure 6, the terminal device also includes:
Second display unit 630, during for being not in open mode at background program interface, open background program interface; A certain background application in selected background program interface in some background applications in open mode is as current Background application, and show the current background application program in the current display window of terminal device.
It is understood that terminal shown in Fig. 6 can be used for performing shown in step 301- steps 307 based on ultrasonic wave Terminal equipment control method.
Embodiment seven
Referring to Fig. 7, Fig. 7 is another structural representation of terminal device disclosed in the embodiment of the present invention;End shown in Fig. 7 End equipment may include:At least one processor 710, such as CPU, memory 720, at least one communication bus 730, input unit 740, output device 750.Wherein, communication bus 730 is used to realize the communication connection between these components.Memory 720 can be with It is high-speed RAM memory or non-labile memory (non-volatile memory), a for example, at least magnetic Disk storage.Memory 720 optionally can also be at least one storage device for being located remotely from aforementioned processor 710.Wherein, Processor 710 can store batch processing code, and handle with reference to the terminal device described by Fig. 4 to Fig. 6 in memory 720 Device 710 calls the program code stored in memory 720, for performing following operation:
Periodically launch the ultrasonic signal detection terminal by the supersonic range finder built in terminal device to set The standby current distance with a certain exterior object;
According to the current distance and previous distance, identify the moving direction of a certain exterior object, it is described it is previous away from With a distance from the terminal device and a certain exterior object arrived for a upper cycle detection;
The terminal device is controlled to perform predetermined registration operation corresponding to the moving direction.
Alternatively, above-mentioned processor 710 can be also used for performing following steps:
Judge whether the current distance is in pre-determined distance value range;
When the current distance is in the pre-determined distance value range, judge that the pre-determined distance value range is used to open The terminal device a certain picture application whether be in open mode;
When a certain picture is using open mode is in, according to the current distance and previous distance, described in identification The moving direction of a certain exterior object;
And afterwards, using the photo current of a certain picture application as foundation, control the terminal device to it is described certain The application of one picture performs preview picture operation corresponding to the moving direction, and the preview picture operation includes reducing picture, put Big picture, check a pictures or check next pictures.
Alternatively, above-mentioned processor 710 can be also used for performing following steps:
When a certain picture application is not in open mode, a certain picture application is opened;
The a certain pictures in some storage pictures of a certain picture association are selected as photo current, and The current preview window of a certain picture application shows the photo current.
Alternatively, above-mentioned processor 710 can be also used for performing following steps:
Judge whether the current distance is in pre-determined distance value range;
When the current distance is in the pre-determined distance value range, judge that the pre-determined distance value range is used to open The background program interface of the terminal device whether be in open mode;
When platform program interface is in open mode in the rear, according to the current distance and previous distance, described in identification The moving direction of a certain exterior object;
And afterwards, using the current background application program at the background program interface as foundation, control the terminal device Handover operation corresponding to the moving direction, the handover operation bag are performed to the background application at the background program interface Include and switch to a background application or switch to next background application.
Alternatively, above-mentioned processor 710 can be also used for performing following steps:
When platform program interface is not in open mode in the rear, the background program interface is opened;
Select a certain background application in some background applications in open mode in the background program interface Program shows the current background application journey as current background application program, and in the current display window of the terminal device Sequence.
By implementing above-mentioned terminal device, terminal device further can be controlled according to moving direction, and abandoning tradition Touch screen operation, it can be moved using both hands or other objects before terminal device to control terminal device, realize that liberation is double The purpose of hand, give user's more preferably usage experience.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of data storage.
A kind of terminal equipment control method and terminal device based on ultrasonic wave disclosed in the embodiment of the present invention are entered above Go and be discussed in detail, specific case used herein is set forth to the principle and embodiment of the present invention, and the above is implemented The explanation of example is only intended to help the method and its core concept for understanding the present invention;Meanwhile for the general technology people of this area Member, according to the thought of the present invention, there will be changes in specific embodiments and applications, in summary, this explanation Book content should not be construed as limiting the invention.

Claims (12)

  1. A kind of 1. terminal equipment control method based on ultrasonic wave, it is characterised in that including:
    By the supersonic range finder built in terminal device periodically launch ultrasonic signal detect the terminal device with The current distance of a certain exterior object;
    It is according to the current distance and previous distance, the moving direction of the identification a certain exterior object, the previous distance The distance of the terminal device that a upper cycle detection is arrived and a certain exterior object;
    The terminal device is controlled to perform predetermined registration operation corresponding to the moving direction.
  2. 2. according to the method for claim 1, it is characterised in that the supersonic range finder by built in terminal device After periodically launching the current distance that ultrasonic signal detects the terminal device and a certain exterior object, and described According to the current distance and previous distance, before the moving direction for identifying a certain exterior object, methods described also includes:
    Judge whether the current distance is in pre-determined distance value range;
    When the current distance is in the pre-determined distance value range, judge the pre-determined distance value range be used for open institute Whether a certain picture application for stating terminal device is in open mode;
    When a certain picture is using open mode is in, perform described according to the current distance and previous distance, identification The step of moving direction of a certain exterior object;
    The control terminal device performs predetermined registration operation corresponding to the moving direction, including:
    Using the photo current of a certain picture application as foundation, the terminal device is controlled to perform a certain picture application Preview picture corresponding to the moving direction operates, and the preview picture operation includes reducing picture, amplification picture, checks one Pictures check next pictures.
  3. 3. according to the method for claim 2, it is characterised in that when a certain picture application is not in open mode, Methods described also includes:
    When a certain picture application is not in open mode, a certain picture application is opened;
    The a certain pictures in some storage pictures of a certain picture association are selected as photo current, and described The current preview window of a certain picture application shows the photo current.
  4. 4. according to the method for claim 1, it is characterised in that the supersonic range finder by built in terminal device After periodically launching the current distance that ultrasonic signal detects the terminal device and a certain exterior object, and described According to the current distance and previous distance, before the moving direction for identifying a certain exterior object, methods described also includes:
    Judge whether the current distance is in pre-determined distance value range;
    When the current distance is in the pre-determined distance value range, judge the pre-determined distance value range be used for open institute Whether the background program interface for stating terminal device is in open mode;
    When platform program interface is in open mode in the rear, perform described according to the current distance and previous distance, identification The step of moving direction of a certain exterior object;
    The control terminal device performs predetermined registration operation corresponding to the moving direction, including:
    Using the current background application program at the background program interface as foundation, the terminal device is controlled to the background program The background application at interface performs handover operation corresponding to the moving direction, and the handover operation includes switching to one Background application switches to next background application.
  5. 5. according to the method for claim 4, it is characterised in that when platform program interface is not in open mode in the rear, Methods described also includes:
    When platform program interface is not in open mode in the rear, the background program interface is opened;
    Select a certain background application in some background applications in open mode in the background program interface The current background application program is shown as current background application program, and in the current display window of the terminal device.
  6. A kind of 6. terminal device, it is characterised in that including:
    Apart from detection unit, examined for periodically launching ultrasonic signal by the supersonic range finder built in terminal device Survey the current distance of the terminal device and a certain exterior object;
    Direction discernment unit, for according to the current distance and previous distance, the mobile side of the identification a certain exterior object To the previous distance is the distance of the terminal device and a certain exterior object that a upper cycle detection is arrived;
    Execution unit, for performing predetermined registration operation corresponding to the moving direction.
  7. 7. terminal device according to claim 6, it is characterised in that the terminal device also includes:
    First detection unit, for passing through the supersonic range finder periodicity built in terminal device apart from detection unit described After ground transmitting ultrasonic signal detects the current distance of the terminal device and a certain exterior object, and the direction discernment Unit is according to the current distance and previous distance, before the moving direction for identifying a certain exterior object, judges described work as Whether front distance is in pre-determined distance value range;When the current distance is in the pre-determined distance value range, described in judgement Whether a certain picture application for the terminal device that pre-determined distance value range is used to open is in open mode;
    The direction discernment unit is in open shape specifically for determining that a certain picture is applied in first detection unit During state, according to the current distance and previous distance, the moving direction of the identification a certain exterior object;
    The execution unit specifically includes:
    Preview control unit, for using the photo current of a certain picture application as foundation, being held to a certain picture application Preview picture operation corresponding to the row moving direction, the preview picture operation include reducing picture, amplification picture, checked One pictures check next pictures.
  8. 8. terminal device according to claim 7, it is characterised in that the terminal device also includes:
    First display unit, for when a certain picture application is not in open mode, opening a certain picture application; The a certain pictures in some storage pictures of a certain picture association are selected as photo current, and described a certain The current preview window of picture application shows the photo current.
  9. 9. terminal device according to claim 6, it is characterised in that the terminal device also includes:
    Second detection unit, for passing through the supersonic range finder periodicity built in terminal device apart from detection unit described After ground transmitting ultrasonic signal detects the current distance of the terminal device and a certain exterior object, and the direction discernment Unit is according to the current distance and previous distance, before the moving direction for identifying a certain exterior object, judges described work as Whether front distance is in pre-determined distance value range;When the current distance is in the pre-determined distance value range, described in judgement Whether the background program interface for the terminal device that pre-determined distance value range is used to open is in open mode;
    The direction discernment unit is specifically used for determining that the background program interface is in open shape in second detection unit During state, according to the current distance and previous distance, the moving direction of the identification a certain exterior object;
    The execution unit specifically includes:
    Switch control unit, for using the current background application program at the background program interface as foundation, to the backstage journey The background application at sequence interface performs handover operation corresponding to the moving direction, and the handover operation includes switching to one Individual background application switches to next background application.
  10. 10. terminal device according to claim 9, it is characterised in that the terminal device also includes:
    Second display unit, for when platform program interface is not in open mode in the rear, opening the background program interface; Select a certain background application conduct in some background applications in open mode in the background program interface Current background application program, and show the current background application program in the current display window of the terminal device.
  11. A kind of 11. terminal device, it is characterised in that including:
    It is stored with the memory of executable program code;
    The processor coupled with the memory;
    The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that the terminal equipment control method based on ultrasonic wave described in 5 any one.
  12. A kind of 12. computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange, Wherein, the computer program cause computer perform as described in claim 1 to any one of claim 5 based on ultrasonic wave Terminal equipment control method.
CN201711093681.0A 2017-11-08 2017-11-08 Terminal equipment control method based on ultrasonic waves and terminal equipment Pending CN107885394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711093681.0A CN107885394A (en) 2017-11-08 2017-11-08 Terminal equipment control method based on ultrasonic waves and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711093681.0A CN107885394A (en) 2017-11-08 2017-11-08 Terminal equipment control method based on ultrasonic waves and terminal equipment

Publications (1)

Publication Number Publication Date
CN107885394A true CN107885394A (en) 2018-04-06

Family

ID=61779421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711093681.0A Pending CN107885394A (en) 2017-11-08 2017-11-08 Terminal equipment control method based on ultrasonic waves and terminal equipment

Country Status (1)

Country Link
CN (1) CN107885394A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151202A (en) * 2018-08-30 2019-01-04 苏州矽典微智能科技有限公司 A kind of control method and mobile terminal of mobile terminal display screen
CN111751786A (en) * 2020-07-01 2020-10-09 北京小米移动软件有限公司 Acoustic wave measuring method, acoustic wave measuring apparatus, acoustic wave measuring device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242786A (en) * 2015-10-15 2016-01-13 广东欧珀移动通信有限公司 Ultrasonic wave-based application control method and device
CN105242861A (en) * 2015-10-15 2016-01-13 广东欧珀移动通信有限公司 Ultrasonic wave-based parameter adjustment method and device
CN105511678A (en) * 2015-12-15 2016-04-20 广东欧珀移动通信有限公司 Application interface single-hand operation method and device as well as terminal device
CN106534541A (en) * 2016-11-15 2017-03-22 广东小天才科技有限公司 Volume adjusting method and device and terminal equipment
CN106648869A (en) * 2016-12-26 2017-05-10 竞技世界(北京)网络技术有限公司 Intelligent terminal application switch method
CN106973349A (en) * 2017-05-24 2017-07-21 广东小天才科技有限公司 Directional loudspeaker control method, directional loudspeaker control device and intelligent terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242786A (en) * 2015-10-15 2016-01-13 广东欧珀移动通信有限公司 Ultrasonic wave-based application control method and device
CN105242861A (en) * 2015-10-15 2016-01-13 广东欧珀移动通信有限公司 Ultrasonic wave-based parameter adjustment method and device
CN105511678A (en) * 2015-12-15 2016-04-20 广东欧珀移动通信有限公司 Application interface single-hand operation method and device as well as terminal device
CN106534541A (en) * 2016-11-15 2017-03-22 广东小天才科技有限公司 Volume adjusting method and device and terminal equipment
CN106648869A (en) * 2016-12-26 2017-05-10 竞技世界(北京)网络技术有限公司 Intelligent terminal application switch method
CN106973349A (en) * 2017-05-24 2017-07-21 广东小天才科技有限公司 Directional loudspeaker control method, directional loudspeaker control device and intelligent terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151202A (en) * 2018-08-30 2019-01-04 苏州矽典微智能科技有限公司 A kind of control method and mobile terminal of mobile terminal display screen
CN111751786A (en) * 2020-07-01 2020-10-09 北京小米移动软件有限公司 Acoustic wave measuring method, acoustic wave measuring apparatus, acoustic wave measuring device, and storage medium
CN111751786B (en) * 2020-07-01 2023-06-30 北京小米移动软件有限公司 Acoustic wave measurement method, acoustic wave measurement device, acoustic wave measurement equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108021320A (en) Electronic equipment and item searching method thereof
US10511778B2 (en) Method and apparatus for push interaction
KR102253313B1 (en) Operation method and apparatus using fingerprint identification, and mobile terminal
KR102080183B1 (en) Electronic device and method for unlocking in the electronic device
WO2015081820A1 (en) Voice-activated shooting method and device
US20130211843A1 (en) Engagement-dependent gesture recognition
CN109690445A (en) Special locking mode user interface
CN107908801A (en) Question searching method based on voice and electronic equipment
WO2016112699A1 (en) Method and device for switching display mode
US20040196400A1 (en) Digital camera user interface using hand gestures
CN106210836A (en) Interactive learning method and device in video playing process and terminal equipment
CN107967096A (en) Destination object determines method, apparatus, electronic equipment and storage medium
TW201113743A (en) Method, electronic apparatus and computer program product for creating biologic feature data
CN107222641A (en) Mobile terminal unlocking method and mobile terminal
CN106662630A (en) Location determination of using communicatively coupled electronic devices
CN108287903A (en) Question searching method combined with projection and intelligent pen
CN109260713A (en) Virtual objects remote assistance operating method and device, storage medium, electronic equipment
CN107885394A (en) Terminal equipment control method based on ultrasonic waves and terminal equipment
CN106598425A (en) Photographing method of smart mobile terminal
CN108287900A (en) Question searching method and system of handheld photographing device and handheld photographing device
CN105446521B (en) Touch control operation setting method and device
TW201347525A (en) Photography manners and the achieving methods for the portable device with a photography function
KR102194778B1 (en) Control method of terminal by using spatial interaction
CN110164444A (en) Voice input starting method, apparatus and computer equipment
CN108182277A (en) Method and system for searching questions based on dominant points and handheld photographing equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180406

RJ01 Rejection of invention patent application after publication