CN104580743B - A kind of analogue-key input detecting method and device - Google Patents

A kind of analogue-key input detecting method and device Download PDF

Info

Publication number
CN104580743B
CN104580743B CN201510047596.5A CN201510047596A CN104580743B CN 104580743 B CN104580743 B CN 104580743B CN 201510047596 A CN201510047596 A CN 201510047596A CN 104580743 B CN104580743 B CN 104580743B
Authority
CN
China
Prior art keywords
intelligent terminal
frame
analogue
key
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510047596.5A
Other languages
Chinese (zh)
Other versions
CN104580743A (en
Inventor
冯飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510047596.5A priority Critical patent/CN104580743B/en
Publication of CN104580743A publication Critical patent/CN104580743A/en
Application granted granted Critical
Publication of CN104580743B publication Critical patent/CN104580743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a kind of analogue-key input detecting method and device, wherein, a kind of analogue-key input detecting method, including:Detect the state of intelligent terminal;If the display screen for detecting the intelligent terminal is illuminating state and the not actuated application of taking pictures of the intelligent terminal,:Start the camera of the intelligent terminal, wherein, the camera, which is currently at, can collect the position of image when user's finger is clicked on the frame of the intelligent terminal;The position that user's finger is clicked on the frame is determined by the camera of the intelligent terminal;In the mapping table of default position range and analogue-key, analogue-key corresponding with the position of the click is searched;If finding analogue-key corresponding with the position of the click, trigger the click event that the intelligent terminal handles the analogue-key.The technical scheme that the present invention is provided can effectively save the display screen space of intelligent terminal.

Description

A kind of analogue-key input detecting method and device
Technical field
The present invention relates to intelligent terminal technical field, and in particular to a kind of analogue-key input detecting method and device.
Background technology
With the popularization and the development of science and technology of mobile phone, screen enlarging has become the mainstream development trend of mobile phone, also, in order to Appearance and modeling it is attractive in appearance, the upper and lower side frame of general mobile phone is required for doing narrow, does not often just install physical button in place now (physical button such as " menu ", " homepage " and " return ").
At present, the general scheme using virtual key, i.e., mark one piece of region, for showing in the display screen of mobile phone Virtual key.However, this method can take part display screen space.
The content of the invention
The present invention provides a kind of analogue-key input detecting method and device, and the display screen for saving intelligent terminal is empty Between.
First aspect present invention provides a kind of analogue-key input detecting method, including:
Detect the state of intelligent terminal;
If the display screen for detecting above-mentioned intelligent terminal is illuminating state and the not actuated application of taking pictures of above-mentioned intelligent terminal, Then:
Start the camera of above-mentioned intelligent terminal, wherein, above-mentioned camera is currently at and can collect user's finger and exist The position of image when being clicked on the frame of above-mentioned intelligent terminal;
The position that user's finger is clicked on above-mentioned frame is determined by the camera of above-mentioned intelligent terminal;
In the mapping table of default position range and analogue-key, mould corresponding with the position of above-mentioned click is searched Intend button;
If finding analogue-key corresponding with the position of above-mentioned click, trigger above-mentioned intelligent terminal and handle above-mentioned mould Intend the click event of button.
Second aspect of the present invention provides a kind of analogue-key input detection device, including:
Detection unit, the state for detecting intelligent terminal;
Start unit, for detected when above-mentioned detection unit the display screen of above-mentioned intelligent terminal for illuminating state and The not actuated camera taken pictures when applying, start above-mentioned intelligent terminal of intelligent terminal is stated, wherein, above-mentioned camera is currently at energy Enough collect the position of image when user's finger is clicked on the frame of above-mentioned intelligent terminal;
Determining unit, frame of the user's finger in above-mentioned intelligent terminal is determined for the camera by above-mentioned intelligent terminal The position of upper click;
Searching unit, in the mapping table of default position range and analogue-key, searching and above-mentioned click The corresponding analogue-key in position;
Trigger element, for when above-mentioned searching unit finds the corresponding analogue-key with the position of above-mentioned click, touching Send out intelligent terminal above-mentioned and handle the click event of above-mentioned analogue-key.
Therefore, the mapping table of position range and analogue-key is pre-set in the present invention, intelligence is being detected Can terminal display screen for illuminating state and it is not actuated take pictures apply when, start intelligent terminal camera, pass through the shooting Head determines the position that user mobile phone is clicked on the frame of the intelligent terminal, and then combines default position range and analogue-key Mapping table find out the corresponding analogue-key in position that user clicks on frame so that trigger intelligent terminal processing should The click event of analogue-key.The present invention program realizes the detection inputted to analogue-key by camera, also, without volume Display screen space is vacateed as the viewing area of virtual key outside, therefore, saves display screen space.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
A kind of analogue-key input detecting method one embodiment schematic flow sheet that Fig. 1 provides for the present invention;
A kind of analogue-key input detection device one embodiment structural representation that Fig. 2 provides for the present invention.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, the common skill in this area The every other embodiment that art personnel are obtained under the premise of creative work is not made, belongs to the model that the present invention is protected Enclose.
The embodiment of the present invention provides a kind of analogue-key input detecting method and device, including:Detect the shape of intelligent terminal State;If the display screen for detecting above-mentioned intelligent terminal is illuminating state and the not actuated application of taking pictures of above-mentioned intelligent terminal,:Open The camera of above-mentioned intelligent terminal is moved, wherein, above-mentioned camera, which is currently at, can collect user's finger above-mentioned intelligent whole The position of image when being clicked on the frame at end;Determine user's finger on above-mentioned frame by the camera of above-mentioned intelligent terminal The position of click;In the mapping table of default position range and analogue-key, search corresponding with the position of above-mentioned click Analogue-key;If finding analogue-key corresponding with the position of above-mentioned click, trigger above-mentioned intelligent terminal processing above-mentioned The click event of analogue-key.The embodiment of the present invention also provides corresponding analogue-key input detection device.Carry out individually below Describe in detail.
A kind of analogue-key input detecting method provided in an embodiment of the present invention is described below, referring to Fig. 1, this Analogue-key input detecting method in inventive embodiments includes:
101st, the state of intelligent terminal is detected;
After in the embodiment of the present invention, analogue-key input detection device detects the state of intelligent terminal in real time, or, simulation Key-press input detection means, which is provided, inspires button, when user triggers the inspiration button, the detection of analogue-key input detection device The state of intelligent terminal.
In the embodiment of the present invention, the state of analogue-key input detection device detection intelligent terminal includes but is not limited to:Intelligence The illuminating state (for example light or extinguish) of the display screen of energy terminal and the display screen of intelligent terminal are in illuminating state When the application type that is run.
If the 102, detecting the display screen of above-mentioned intelligent terminal for illuminating state and above-mentioned intelligent terminal being not actuated takes pictures Using, then, and the camera of the above-mentioned intelligent terminal of startup;
Wherein, above-mentioned camera is currently at when can collect user's finger and being clicked on the frame of above-mentioned intelligent terminal Image position.
In one implementation, when the display screen that analogue-key input detection device detects above-mentioned intelligent terminal is Illuminating state and the not actuated motor taken pictures when applying, trigger intelligent terminal of above-mentioned intelligent terminal, control the shooting of intelligent terminal Head rotation predetermined angle so that the camera is in when can collect user's finger and being clicked on the frame of above-mentioned intelligent terminal Image position, start the camera of the camera afterwards.
In another implementation, by the camera of user's manual rotation intelligent terminal so that the camera is in energy Enough collect the position of image when user's finger is clicked on the frame of above-mentioned intelligent terminal.When analogue-key input detection dress Put detect the display screen of above-mentioned intelligent terminal for illuminating state and above-mentioned intelligent terminal it is not actuated take pictures apply when, starting should Camera.
103rd, determine what user's finger was clicked on the frame of above-mentioned intelligent terminal by the camera of above-mentioned intelligent terminal Position;
Because the camera of intelligent terminal can gather shadow when user mobile phone is clicked on the frame of above-mentioned intelligent terminal Picture, therefore, in the embodiment of the present invention, with reference to image recognition technology, you can determine frame of the user's finger in above-mentioned intelligent terminal The position of upper click.
In one implementation, analogue-key input detection device according to the camera of above-mentioned intelligent terminal gather it is many Frame picture, determines that user clicks on the event of the frame of above-mentioned intelligent terminal and clicks on the hand used during the frame of above-mentioned intelligent terminal Refer to;Using the parallel straight line of the lower frame (or upper side frame) with above-mentioned display screen as axis of abscissas (i.e. X-axis), above-mentioned hand is determined Abscissa positions when hitting the frame of above-mentioned intelligent terminal are given directions, that is, when determining that above-mentioned finger clicks on the frame of above-mentioned intelligent terminal X-coordinate value.
In another implementation, analogue-key input detection device according to the camera of above-mentioned intelligent terminal gather it is many Frame picture, determines that user clicks on the event of the frame of above-mentioned intelligent terminal and clicks on the hand used during the frame of above-mentioned intelligent terminal Refer to;Using the parallel straight line of the left frame (or left frame) with above-mentioned display screen as axis of ordinates (i.e. Y-axis), above-mentioned hand is determined Ordinate position when hitting the frame of above-mentioned intelligent terminal is given directions, that is, when determining that above-mentioned finger clicks on the frame of above-mentioned intelligent terminal Y-coordinate value.
In the third implementation, analogue-key input detection device is gathered according to the camera of above-mentioned intelligent terminal Multiframe picture, determines that user clicks on the event of the frame of above-mentioned intelligent terminal and clicks on what is used during the frame of above-mentioned intelligent terminal Finger;Using the parallel straight line of the lower frame (or upper side frame) with above-mentioned display screen as axis of abscissas (i.e. X-axis, with it is above-mentioned The parallel straight line of the left frame (or left frame) of display screen determines that above-mentioned finger is clicked on above-mentioned as axis of ordinates (i.e. Y-axis) The coordinate position during frame of intelligent terminal, wherein, above-mentioned coordinate position includes abscissa value and ordinate value, that is, determines above-mentioned Finger clicks on the X-coordinate value and Y-coordinate value during the frame of above-mentioned intelligent terminal.
Certainly, in the embodiment of the present invention, analogue-key input detection device can also be by the shooting of above-mentioned intelligent terminal Head, otherwise determines the position that user's finger is clicked on the frame of above-mentioned intelligent terminal, is not construed as limiting herein.
104th, in the mapping table of default position range and analogue-key, search corresponding with the position of above-mentioned click Analogue-key;
In the embodiment of the present invention, pre-set the mapping table of position range and analogue-key, such as, and demarcation in advance " menu ", " homepage " and " return " these three corresponding position ranges of conventional analogue-key on intelligent terminal, and set up position The mapping table of scope and analogue-key.
In one implementation, sat using the parallel straight line of the lower frame (or upper side frame) with above-mentioned display screen as horizontal The abscissa positions scope of each analogue-key on parameter (i.e. X-axis) demarcation intelligent terminal.For example, with above-mentioned display The straight line that the lower frame (or upper side frame) of screen is parallel is used as " menu ", " master on axis of abscissas (i.e. X-axis) demarcation intelligent terminal Page " and " return " these three corresponding abscissa positions scopes of conventional analogue-key, then can set " menu " analogue-key pair The abscissa positions scope answered for [X0, X1), the corresponding abscissa positions scope of " homepage " analogue-key for [X1, X2), " return Return " the corresponding abscissa positions scope of analogue-key for [X2, X3), wherein, X1, X2 represent three different horizontal seats with X3 respectively Scale value, and there is following relation:X3>X2>X1.In step 103, analogue-key input detection device it is same with above-mentioned display The parallel straight line of the lower frame (or upper side frame) of screen is as X-axis, when determining that user's finger clicks on the frame of above-mentioned intelligent terminal X-coordinate value, at step 104, analogue-key input detection device is in default abscissa positions scope and analogue-key In mapping table, the corresponding analogue-key of abscissa positions scope where the X-coordinate value that finding step 103 is determined.
In another implementation, using the parallel straight line of the left frame (or left frame) with above-mentioned display screen as vertical The ordinate position range of each analogue-key on reference axis (i.e. Y-axis) demarcation intelligent terminal.For example, to show with above-mentioned The parallel straight line of left frame (or left frame) of display screen curtain as " menu " on axis of ordinates (i.e. Y-axis) demarcation intelligent terminal, " homepage " and " return " these three corresponding ordinate position ranges of conventional analogue-key, then can set " menu " analogue-key Corresponding ordinate position range for [Y0, Y1), the corresponding ordinate position range of " homepage " analogue-key for [Y1, Y2), " return Return " the corresponding ordinate position range of analogue-key for [Y2, Y3), wherein, Y1, Y2 represent three different vertical seats with Y3 respectively Scale value, and there is following relation:Y3>Y2>Y1.In step 103, analogue-key input detection device it is same with above-mentioned display The parallel straight line of the left frame (or left frame) of screen is as Y-axis, when determining that user's finger clicks on the frame of above-mentioned intelligent terminal Y-coordinate value, at step 104, analogue-key input detection device is in default ordinate position range and analogue-key In mapping table, the corresponding analogue-key of ordinate position range where the Y-coordinate value that finding step 103 is determined.
In the third implementation, horizontal stroke is used as using the straight line that the lower frame (or upper side frame) with above-mentioned display screen is parallel Reference axis (i.e. X-axis), axis of ordinates (i.e. Y-axis) is used as using the parallel straight line of the left frame (or left frame) with above-mentioned display screen The coordinate position scope for each analogue-key demarcated on intelligent terminal.For example, with the lower frame with above-mentioned display screen (or upper side frame) parallel straight line is put down as axis of abscissas (i.e. X-axis), with the left frame (or left frame) with above-mentioned display screen " menu ", " homepage " and " return " these three conventional moulds that capable straight line is demarcated on intelligent terminal as axis of ordinates (i.e. Y-axis) Intend the corresponding coordinate position scope of button, then can set the corresponding coordinate position scope of " menu " analogue-key as [X0, X1) ∪ [Y0, Y1), the corresponding coordinate position scope of " homepage " analogue-key for [X1, X2) ∪ [Y1, Y2), " return " analogue-key pair The coordinate position scope answered for [X2, X3) ∪ [Y2, Y3), wherein, X1, X2 represent three different abscissa values with X3 respectively, And there is following relation:X3>X2>X1, Y1, Y2 represent three different ordinate values with Y3 respectively, and there is following relation:Y3 >Y2>Y1.In step 103, analogue-key input detection device is same with lower frame (or the top with above-mentioned display screen Frame) the parallel straight line straight line parallel as axis of abscissas (i.e. X-axis), with the left frame (or left frame) of above-mentioned display screen make For Y-axis, the coordinate position (i.e. X-coordinate value and Y-coordinate value) when user's finger clicks on the frame of above-mentioned intelligent terminal is determined, in step In rapid 104, analogue-key input detection device is searched in the mapping table of default coordinate position scope and analogue-key The corresponding analogue-key of coordinate position scope where X-coordinate value and Y-coordinate value that step 103 is determined.
Certainly, in the embodiment of the present invention, analogue-key input detection device can also otherwise setting position scope With the mapping table of analogue-key, it is not construed as limiting herein.
If the 105, finding analogue-key corresponding with the position of above-mentioned click, trigger in above-mentioned intelligent terminal processing State the click event of analogue-key;
In the embodiment of the present invention, when finding the corresponding analogue-key with the position of above-mentioned click, analogue-key input Detection means judges to detect the click event of the analogue-key, and then triggers the above-mentioned analogue-key of above-mentioned intelligent terminal processing Click event.
Optionally, after step 102, if analogue-key input detection device detects the display screen of above-mentioned intelligent terminal Curtain then closes the camera of above-mentioned intelligent terminal to put out screen state.Further, analogue-key input detection device triggering intelligence is whole The motor at end, the camera of control intelligent terminal rotates back to the initial position of acquiescence;Or, in the display screen of above-mentioned intelligent terminal Curtain is when putting out screen state, by the camera of user's manual rotation intelligent terminal so that the camera returns to the initial position of acquiescence.
It should be noted that the analogue-key input detection device in the embodiment of the present invention can be integrated in intelligent terminal In, or, analogue-key input detection device can also be independently of the device of intelligent terminal.Intelligence after in the embodiment of the present invention Energy terminal is specifically as follows mobile phone, tablet personal computer or other intelligent terminal, is not construed as limiting herein.
Therefore, the mapping table of position range and analogue-key is pre-set in the present invention, intelligence is being detected Can terminal display screen for illuminating state and it is not actuated take pictures apply when, start intelligent terminal camera, pass through the shooting Head determines the position that user mobile phone is clicked on the frame of the intelligent terminal, and then combines default position range and analogue-key Mapping table find out the corresponding analogue-key in position that user clicks on frame so that trigger intelligent terminal processing should The click event of analogue-key.The present invention program realizes the detection inputted to analogue-key by camera, also, without volume Display screen space is vacateed as the viewing area of virtual key outside, therefore, saves display screen space.
The embodiment of the present invention also provides a kind of analogue-key input detection device, referring to Fig. 2, in the embodiment of the present invention Analogue-key input detection device 200, including:
Detection unit 201, the state for detecting intelligent terminal;
Start unit 202, for detected when detection unit 201 display screen of above-mentioned intelligent terminal for illuminating state and Above-mentioned intelligent terminal is not actuated to take pictures when applying, and starts the camera of above-mentioned intelligent terminal, wherein, above-mentioned camera is currently at The position of image when user's finger is clicked on the frame of above-mentioned intelligent terminal can be collected;
Determining unit 203, determines user's finger in above-mentioned intelligent terminal for the camera by above-mentioned intelligent terminal The position clicked on frame;
Searching unit 204, in the mapping table of default position range and analogue-key, searching and above-mentioned point The corresponding analogue-key in position hit;
Trigger element 205, for when searching unit 204 finds the corresponding analogue-key with the position of above-mentioned click, Trigger the click event that above-mentioned intelligent terminal handles above-mentioned analogue-key.
In one implementation, determining unit 203 includes:First sub- determining unit, for according to above-mentioned intelligent terminal Camera collection multiframe picture, determine that user clicks on the event of the frame of above-mentioned intelligent terminal and clicks on above-mentioned intelligent terminal Frame when the finger that uses;Second sub- determining unit, for using the straight line parallel with the lower frame of above-mentioned display screen as Axis of abscissas, determines abscissa positions when above-mentioned finger clicks on the frame of above-mentioned intelligent terminal;Above-mentioned default position range Mapping table with analogue-key is specially:The mapping table of default abscissa positions scope and analogue-key.
In another implementation, determining unit 203 includes:First sub- determining unit, for whole according to above-mentioned intelligence The multiframe picture of the camera collection at end, determines that user clicks on the event of the frame of above-mentioned intelligent terminal and clicks on above-mentioned intelligence eventually The finger used during the frame at end;Second sub- determining unit, for the straight line work parallel with the left frame of above-mentioned display screen For axis of ordinates, ordinate position when above-mentioned finger clicks on the frame of above-mentioned intelligent terminal is determined;Above-mentioned default position model The mapping table enclosed with analogue-key is specially:The mapping table of default ordinate position range and analogue-key.
In the third implementation, determining unit 203 includes:First sub- determining unit, for whole according to above-mentioned intelligence The multiframe picture of the camera collection at end, determines that user clicks on the event of the frame of above-mentioned intelligent terminal and clicks on above-mentioned intelligence eventually The finger used during the frame at end;Second sub- determining unit, for the straight line work parallel with the lower frame of above-mentioned display screen For axis of abscissas, using the straight line parallel with the left frame of above-mentioned display screen as axis of ordinates, determine in above-mentioned finger click The coordinate position during frame of intelligent terminal is stated, above-mentioned coordinate position includes abscissa value and ordinate value;Above-mentioned default position The mapping table for putting scope and analogue-key is specially:The mapping table of default coordinate position scope and analogue-key.
Optionally, the analogue-key input detection device in the embodiment of the present invention also includes:Closing unit, for when above-mentioned Detection unit detects the display screen of above-mentioned intelligent terminal when putting out screen state, to close the camera of above-mentioned intelligent terminal.
It should be noted that the analogue-key input detection device in the embodiment of the present invention can be integrated in intelligent terminal In, or, analogue-key input detection device can also be independently of the device of intelligent terminal.Intelligence after in the embodiment of the present invention Energy terminal is specifically as follows mobile phone, tablet personal computer or other intelligent terminal, is not construed as limiting herein.
It should be understood that the analogue-key input detection device in the embodiment of the present invention can be as referred in above-mentioned embodiment of the method Analogue-key input detection device, can be used for realizing whole technical schemes in above method embodiment, its each function The function of module can be implemented according to the method in above method embodiment, and it implements process and can refer to above-mentioned implementation Associated description in example, here is omitted.
Therefore, the mapping table of position range and analogue-key is pre-set in the present invention, intelligence is being detected Can terminal display screen for illuminating state and it is not actuated take pictures apply when, start intelligent terminal camera, pass through the shooting Head determines the position that user mobile phone is clicked on the frame of the intelligent terminal, and then combines default position range and analogue-key Mapping table find out the corresponding analogue-key in position that user clicks on frame so that trigger intelligent terminal processing should The click event of analogue-key.The present invention program realizes the detection inputted to analogue-key by camera, also, without volume Display screen space is vacateed as the viewing area of virtual key outside, therefore, saves display screen space.
, can be by it in several embodiments provided herein, it should be understood that disclosed apparatus and method Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces Letter connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It should be noted that for foregoing each method embodiment, for simplicity description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is to a kind of description of analogue-key input detecting method and device provided by the present invention, for this area above Those skilled in the art, according to the embodiment of the present invention thought, change is had in specific embodiments and applications Place, to sum up, this specification content should not be construed as limiting the invention.

Claims (5)

1. a kind of analogue-key input detecting method, it is characterised in that including:
Detect the state of intelligent terminal;
If the display screen for detecting the intelligent terminal is illuminating state and the not actuated application of taking pictures of the intelligent terminal,:
Start the camera of the intelligent terminal, wherein, the camera, which is currently at, can collect user's finger described The position of image when being clicked on the frame of intelligent terminal;
The position that user's finger is clicked on the frame is determined by the camera of the intelligent terminal;
In the mapping table of default position range and analogue-key, search simulation corresponding with the position of the click and press Key;
If finding analogue-key corresponding with the position of the click, trigger the intelligent terminal processing simulation and press The click event of key;
The camera by the intelligent terminal determines the position that user's finger is clicked on the frame, including:
The multiframe picture gathered according to the camera of the intelligent terminal, determines that user clicks on the thing of the frame of the intelligent terminal The finger used during the frame of part and the click intelligent terminal;
Using the straight line parallel with the lower frame or upper side frame of the display screen as axis of abscissas, determine that the finger clicks on institute State the abscissa positions during frame of intelligent terminal;
The mapping table of the default position range and analogue-key is specially:Default abscissa positions scope and simulation The mapping table of button;
Or, the camera by the intelligent terminal determines the position that user's finger is clicked on the frame, including:
The multiframe picture gathered according to the camera of the intelligent terminal, determines that user clicks on the thing of the frame of the intelligent terminal The finger used during the frame of part and the click intelligent terminal;
Using the straight line parallel with the left frame or left frame of the display screen as axis of ordinates, determine that the finger clicks on institute State the ordinate position during frame of intelligent terminal;
The mapping table of the default position range and analogue-key is specially:Default ordinate position range and simulation The mapping table of button;
Or, the camera by the intelligent terminal determines the position that user's finger is clicked on the frame, including:
The multiframe picture gathered according to the camera of the intelligent terminal, determines that user clicks on the thing of the frame of the intelligent terminal The finger used during the frame of part and the click intelligent terminal;
Using the straight line parallel with the lower frame or upper side frame of the display screen as axis of abscissas, with the display screen Left frame or the parallel straight line of left frame determine the seat when finger clicks on the frame of the intelligent terminal as axis of ordinates Cursor position, the coordinate position includes abscissa value and ordinate value;
The mapping table of the default position range and analogue-key is specially:Default coordinate position scope is pressed with simulation The mapping table of key.
2. according to the method described in claim 1, it is characterised in that the camera for starting the intelligent terminal, wrap afterwards Include:
If detecting the display screen of the intelligent terminal to put out screen state, the camera of the intelligent terminal is closed.
3. a kind of analogue-key input detection device, it is characterised in that including:
Detection unit, the state for detecting intelligent terminal;
Start unit, the display screen for detecting the intelligent terminal when the detection unit is illuminating state and the intelligence Can the not actuated camera taken pictures when applying, start the intelligent terminal of terminal, wherein, the camera, which is currently at, to be adopted Collect the position of image when user's finger is clicked on the frame of the intelligent terminal;
Determining unit, user's finger point on the frame of the intelligent terminal is determined for the camera by the intelligent terminal The position hit;
Searching unit, in the mapping table of default position range and analogue-key, searching the position with the click Put corresponding analogue-key;
Trigger element, for when the searching unit finds the corresponding analogue-key with the position of the click, triggering institute State the click event that intelligent terminal handles the analogue-key;
The determining unit includes:
First sub- determining unit, for the multiframe picture gathered according to the camera of the intelligent terminal, determines that user clicks on institute State the event of the frame of intelligent terminal and click on the finger used during the frame of the intelligent terminal;
Second sub- determining unit, is used for:Abscissa is used as using the straight line parallel with the lower frame or upper side frame of the display screen Axle, determines the abscissa positions when finger clicks on the frame of the intelligent terminal, the default position range and simulation The mapping table of button is specially:The mapping table of default abscissa positions scope and analogue-key;Or, with institute The parallel straight line of left frame or left frame of display screen is stated as axis of ordinates, determines that the finger clicks on the intelligent terminal Frame when ordinate position, the mapping table of the default position range and analogue-key is specially:It is default vertical The mapping table of coordinate position scope and analogue-key;Or, with parallel with the lower frame or upper side frame of the display screen Straight line as axis of abscissas, using the straight line parallel with the left frame or left frame of the display screen as axis of ordinates, really The fixed finger clicks on the coordinate position during frame of the intelligent terminal, and the coordinate position includes abscissa value and ordinate It is worth, the mapping table of the default position range and analogue-key is specially:Default coordinate position scope is pressed with simulation The mapping table of key.
4. analogue-key input detection device according to claim 3, it is characterised in that the analogue-key input detection Device also includes:
Closing unit, during for detecting the display screen of the intelligent terminal when the detection unit to put out screen state, is closed The camera of the intelligent terminal.
5. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In the step of computer program realizes method as claimed in claim 1 or 2 when being executed by processor.
CN201510047596.5A 2015-01-29 2015-01-29 A kind of analogue-key input detecting method and device Active CN104580743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510047596.5A CN104580743B (en) 2015-01-29 2015-01-29 A kind of analogue-key input detecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510047596.5A CN104580743B (en) 2015-01-29 2015-01-29 A kind of analogue-key input detecting method and device

Publications (2)

Publication Number Publication Date
CN104580743A CN104580743A (en) 2015-04-29
CN104580743B true CN104580743B (en) 2017-08-11

Family

ID=53095870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510047596.5A Active CN104580743B (en) 2015-01-29 2015-01-29 A kind of analogue-key input detecting method and device

Country Status (1)

Country Link
CN (1) CN104580743B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790816A (en) * 2011-05-16 2012-11-21 中兴通讯股份有限公司 Processing method and device of pushbutton function
CN104090648A (en) * 2014-05-21 2014-10-08 中兴通讯股份有限公司 Data entry method and terminal
CN104216653A (en) * 2013-05-31 2014-12-17 Lg电子株式会社 Electronic device and control method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120038668A1 (en) * 2010-08-16 2012-02-16 Lg Electronics Inc. Method for display information and mobile terminal using the same
CN102937869B (en) * 2012-11-23 2015-11-25 小米科技有限责任公司 The method and apparatus of a kind of terminal device trigging control instruction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790816A (en) * 2011-05-16 2012-11-21 中兴通讯股份有限公司 Processing method and device of pushbutton function
CN104216653A (en) * 2013-05-31 2014-12-17 Lg电子株式会社 Electronic device and control method thereof
CN104090648A (en) * 2014-05-21 2014-10-08 中兴通讯股份有限公司 Data entry method and terminal

Also Published As

Publication number Publication date
CN104580743A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN106843739B (en) A kind of display control method and mobile terminal of mobile terminal
US8890825B2 (en) Apparatus and method for determining the position of user input
CN105426080B (en) A kind of picture switching method and terminal
CN105446673B (en) The method and terminal device of screen display
CN102819416B (en) A kind of realize the method and apparatus that component content shows
EP2752744A1 (en) Arc menu index display method and relevant apparatus
CN106790828A (en) The control method and mobile terminal of a kind of mobile terminal
CN102662601A (en) Graph menu display method
CN109683763A (en) A kind of icon moving method and mobile terminal
CN103197885A (en) Method for controlling mobile terminal and mobile terminal thereof
CN110471588B (en) Application icon sorting method and device and mobile terminal
CN109213401A (en) Double-sided screen application icon method for sorting, mobile terminal and readable storage medium storing program for executing
CN106096043B (en) A kind of photographic method and mobile terminal
EP2600234B1 (en) Information processing device, method for controlling information processing device, program, and information storage medium
CN106126101A (en) The operational approach of a kind of mobile terminal and mobile terminal
CN104572123B (en) A kind of scenario generation method and device
CN107239222A (en) The control method and terminal device of a kind of touch-screen
CN107734138A (en) The display methods and device of notification message, computer installation and storage medium
WO2015164518A1 (en) Depth-based mode switching for touchless gestural interfaces
CN105204754A (en) One-handed operation method and device of touch screen
KR101961907B1 (en) Method of providing contents of a mobile terminal based on a duration of a user's touch
CN109284060A (en) Display control method and relevant apparatus
CN107015735A (en) The control method and touch control device on a kind of browser operation column
CN107422854A (en) Action identification method and terminal applied to virtual reality
CN104580743B (en) A kind of analogue-key input detecting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.