CN104850332B - Intelligent terminal control method and intelligent terminal - Google Patents
Intelligent terminal control method and intelligent terminal Download PDFInfo
- Publication number
- CN104850332B CN104850332B CN201510121782.9A CN201510121782A CN104850332B CN 104850332 B CN104850332 B CN 104850332B CN 201510121782 A CN201510121782 A CN 201510121782A CN 104850332 B CN104850332 B CN 104850332B
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- positioning pointer
- touch screen
- inclination
- volume
- 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
Links
Abstract
The invention discloses a kind of intelligent terminal control method and intelligent terminals, including:When intelligent terminal detects two volume keys while being pressed, into simulated touch screen pattern, and positioning pointer is shown on its screen;Wherein, when the intelligent terminal is in the simulated touch screen pattern, the preparatory function and touch screen functionality of all mechanical keys of the intelligent terminal are shielded;Inclined direction and the angle of inclination of the intelligent terminal are obtained, and the positioning pointer is moved to corresponding position according to the inclined direction and angle of inclination;And the positioning pointer corresponding application program in final position on the screen is determined when button is pressed detecting that volume tunes up, and run the application program;Current application interface is exited when key is pressed detecting that volume is turned down.By the above-mentioned means, the present invention can still can be used normally when the touch screen of intelligent terminal breaks down, realizes the function backup of intelligent terminal, brought convenience for user.
Description
Technical field
The present invention relates to intelligent terminal technical fields, whole more particularly to a kind of intelligent terminal control method and intelligence
End.
Background technology
Along with the development of electronic communication, also the more next moon is extensive for the application of intelligent terminal.In the application of intelligent terminal
While more and more abundant, the input method of intelligent terminal is also more and more diversified.It by button, capacitance pen and can such as touch
Screen input etc..And in these input methods, the mode for being applicable in full keyboard input and electric resistance touch screen input has not been very much, electricity
Hold touch-screen input mode and occupies leading position.
Capacitance touch screen itself is the equal of a planar sensor, and input operation substantially all on the touchscreen, is located at
The outermost layer of intelligent terminal is controlled by the touch-control IC of inside setting.Since capacitance touch screen is located at the outermost of intelligent terminal
Layer, therefore be easy to be damaged by the external world, moreover, prolonged touch uses, it will also result in the abrasion of screen.
However, since the input mode of the intelligent terminal of existing capacitance touch screen substantially completely relies on touch screen,
The service life of the intelligent terminal of capacitance touch screen is typically all to be determined by its screen, once touch screen cannot use, intelligence is eventually
End can not just reuse, and make troubles to user.And allow to repair, it, can not be by intelligent end since screen cannot use
Important materials inside end are backed up, and there is also the risks of leakage individual subscriber data, make troubles to user.
Invention content
The invention mainly solves the technical problem of providing a kind of intelligent terminal control method and intelligent terminal, Neng Gou
The touch screen of intelligent terminal still can be used normally when breaking down, and realizes the function backup of intelligent terminal, is brought for user
It is convenient, while the control mode of touch screen is increased, enrich user's operation experience.
In order to solve the above technical problems, one aspect of the present invention is:A kind of intelligent terminal controlling party is provided
Method.Including:
When intelligent terminal detects two volume keys while being pressed, into simulated touch screen pattern, and on its screen
Show positioning pointer;Wherein, show that the function body of the positioning pointer belongs to the intelligence on the screen of the intelligent terminal
The application layer of energy terminal, when the intelligent terminal is in the simulated touch screen pattern, all machineries of the intelligent terminal are pressed
The preparatory function and touch screen functionality of key are shielded;
Inclined direction and the angle of inclination of the intelligent terminal are obtained, and according to the inclined direction and angle of inclination
Determine the current position coordinates of the positioning pointer, and the mobile positioning pointer is to the current corresponding position of position coordinates,
Wherein, the function body for calculating the position coordinates of the intelligent terminal belongs to the driving layer of the intelligent terminal;And
Determine that final position corresponds to the positioning pointer on the screen when button is pressed detecting that volume tunes up
Application program, and run the application program;Current application interface is exited when key is pressed detecting that volume is turned down;
Wherein, being established in the driving layer of the intelligent terminal has a file, and the file is for recording presently described intelligence
Whether terminal is in the simulated touch screen pattern;The application layer foundation of the intelligent terminal has a file monitor device, for supervising
The file is controlled to know the state of presently described intelligent terminal, and then ensures the driving layer of the intelligent terminal and the intelligence
The application layer of terminal can communicate.
Wherein, when the intelligent terminal detects two volume keys while being pressed, into simulated touch screen pattern, and
The step of showing positioning pointer on its screen specifically includes:
The intelligent terminal judges described two volume keys while whether time for being pressed is more than the first predetermined time,
It determines more than simulated touch screen pattern is entered after first predetermined time, shows the positioning pointer on its screen and record
Under the positioning pointer changing coordinates.
Wherein, the inclined direction for obtaining the intelligent terminal and angle of inclination, and according to the inclined direction with
And angle of inclination determines the current position coordinates of the positioning pointer, and the positioning pointer is moved to current position coordinates pair
The step of position answered, specifically includes:
Obtain the intelligent terminal first position coordinate of the positioning pointer on the screen in initial position;
The inclined direction and the angle of inclination for tilting that the intelligent terminal generates are obtained in real time, and according to described
Inclined direction, the angle of inclination and the first position coordinate calculate the current second position coordinate of the positioning pointer,
And the positioning pointer is moved to position corresponding with the second position coordinate in real time, to update the positioning pointer
Current location.
Wherein, the method further includes:Obtain generation during tilting the intelligent terminal and restoring to initial position
The inclined direction and the angle of inclination, and sat according to the inclined direction, the angle of inclination and the first position
Mark calculates the final position coordinate of the positioning pointer, and the positioning pointer is moved to and is sat with the final position
Mark corresponding position.
Wherein, the inclined direction for obtaining the intelligent terminal and angle of inclination, and according to the inclined direction with
And angle of inclination determines the current position coordinates of the positioning pointer, and the positioning pointer is moved to current position coordinates pair
The step of position answered further includes:
The inclined direction and pitch velocity of the intelligent terminal are obtained, and according to the inclined direction and the pitch velocity
The mobile positioning pointer.
Wherein, when the intelligent terminal is in the simulated touch screen pattern, the method further includes:Detect described two
When a volume key is pressed simultaneously, exit the simulated touch screen pattern, and restore all mechanical keys preparatory function and
Touch screen functionality.
Wherein, described to determine that the positioning pointer is final on the screen when button is pressed detecting that volume tunes up
The corresponding application program in position, and further include after the step of running the application program:
While detecting that the intelligent terminal is inclined by, when the volume tunes up button and is pressed, the positioning is controlled
Pointer moves, so that the content of the screen display realizes slide.
Wherein, described to determine that the positioning pointer is final on the screen when button is pressed detecting that volume tunes up
The corresponding application program in position, and further include after the step of running the application program:
Detect that volume tunes up after the time that button is pressed was more than the second predetermined time, the intelligent terminal be inclined by and
The volume tune up button still in be pressed state when, positioning pointer movement is controlled, so that the screen display is interior
Hold and realizes drag operation.
Wherein, the inclined direction for obtaining the intelligent terminal and angle of inclination, and according to the inclined direction with
And angle of inclination determines the current position coordinates of the positioning pointer, and the positioning pointer is moved to current position coordinates pair
The step of position answered further includes:
The intelligent terminal obtains the inclined direction and angle of inclination, and root by acceleration transducer or gyroscope
The positioning pointer is moved to corresponding position according to the inclined direction and angle of inclination.
In order to solve the above technical problems, another technical solution used in the present invention is:A kind of intelligent terminal is provided, it is described
Intelligent terminal includes:Detection module, control module and execution module,
The detection module is touched for when detecting two volume keys while being pressed, making the intelligent terminal enter simulation
Screen pattern is touched, and positioning pointer is shown on the screen of the intelligent terminal;Wherein, it is shown on the screen of the intelligent terminal
The function body of the positioning pointer belongs to the application layer of the intelligent terminal, and the intelligent terminal is in the simulated touch screen
When pattern, the preparatory function and touch screen functionality of all mechanical keys of the intelligent terminal are shielded;
The control module is used to obtain inclined direction and the angle of inclination of the intelligent terminal, and according to the inclination
Direction and angle of inclination determine the current position coordinates of the positioning pointer, and move the positioning pointer to current position
The corresponding position of coordinate, wherein the function body for calculating the position coordinates of the intelligent terminal belongs to the drive of the intelligent terminal
Dynamic layer;
The execution module is used to determine the positioning pointer in the screen when button is pressed detecting that volume tunes up
The corresponding application program in final position on curtain;Current application interface is exited when key is pressed detecting that volume is turned down;
Wherein, being established in the driving layer of the intelligent terminal has a file, and the file is for recording presently described intelligence
Whether terminal is in the simulated touch screen pattern;The application layer foundation of the intelligent terminal has a file monitor device, for supervising
The file is controlled to know the state of presently described intelligent terminal, and then ensures the driving layer of the intelligent terminal and the intelligence
The application layer of terminal can communicate.
The beneficial effects of the invention are as follows:The case where being different from the prior art, intelligent terminal of the invention are detecting two
When volume key is pressed simultaneously, the preparatory function and touch screen functionality of all mechanical keys of intelligent terminal are shielded, and in its screen
Positioning pointer is shown on curtain, intelligent terminal is made to enter another controllable simulated touch screen pattern, further obtains intelligence eventually
The inclined direction at end and angle of inclination, and according to inclined direction and angle of inclination running fix pointer to corresponding position, it is real
Existing icon or select button it is selected, when detecting that volume tunes up button and is pressed, run the final position of positioning pointer
Corresponding application program, and current application interface is exited when key is pressed detecting that volume is turned down, it realizes and returns to function.Pass through
The above method can increase the control mode of touch screen, and abundant user's operation can also alleviate touch screen while experience
It frequently utilizes, increases the service life of intelligent terminal.In addition, still when the touch function of the touch screen of intelligent terminal breaks down
So normal use can be operated by single-point, and positioning pointer can follow the inclined synchronous of intelligent terminal to move, additionally it is possible to protect
Control accuracy is demonstrate,proved, the function backup of intelligent terminal is realized, is brought convenience for user.And realize that this function is additional without user
Cost, for user save cost.
Description of the drawings
Fig. 1 is the flow diagram of one embodiment of intelligent terminal control method of the present invention;
Fig. 2 is the flow diagram of another embodiment of intelligent terminal control method of the present invention;
Fig. 3 is the structural schematic diagram of one embodiment of intelligent terminal of the present invention.
Specific implementation mode
Refering to fig. 1, Fig. 1 is the flow diagram of one embodiment of intelligent terminal control method of the present invention.
The intelligent terminal control method of present embodiment includes the following steps:
101:When intelligent terminal detects two volume keys while being pressed, into simulated touch screen pattern, and in its screen
Positioning pointer is shown on curtain;Wherein, when the intelligent terminal is in the simulated touch screen pattern, the intelligent terminal owns
The preparatory function and touch screen functionality of mechanical key are shielded.
Currently, the primary input device of intelligent terminal be touch screen, touch screen touch function break down and cannot
In use, intelligent terminal detection volume tunes up button and turns whether button is pressed simultaneously down with volume, two volume keys are being determined
When being pressed simultaneously, intelligent terminal enters simulated touch screen pattern.
Wherein, after intelligent terminal enters simulated touch screen pattern, the preset work(of all mechanical keys of intelligent terminal itself
Energy and touch screen functionality are shielded, for example, the volume button of itself no longer has the work(of control volume in simulation touch screen state
Can, touch screen can not realize any touching operation.And show positioning pointer on the screen of intelligent terminal.Wherein, positioning refers to
The shape of needle does not limit, and such as common arrow fills, human hand shape etc..
It should be noted that the touch function that the intelligent terminal control method of present embodiment is not limited to touch screen occurs
It is used when failure, as long as detecting two volume keys while being pressed, no matter whether the touch function of touch screen breaks down,
Intelligent terminal enters simulated touch screen pattern.
But since two volume keys of intelligent terminal are generally placed at the side of intelligent terminal, in daily use process
In, may lead to have pinned two volume keys simultaneously due to accidentally touching, and make in the case where user is unknown intelligent terminal into
Simulated touch screen state is entered, and has made troubles to the normal use of user.
The unnecessary trouble that above-mentioned maloperation is brought to user in order to prevent, in another embodiment, intelligence
Terminal first carries out timing to the time pressed, judges two volume keys simultaneously after detecting that two volume keys are concurrently depressed
Whether the time being pressed is more than pre-set first predetermined time, such as 2 seconds, and is determining two volume keys while being pressed
Time be more than the first predetermined time after, into simulated touch screen pattern, and positioning pointer is shown on the screen of intelligent terminal.
And in order to more accurately realize that the movement of positioning pointer, intelligent terminal record positioning pointer and be in the current of initial position
Coordinate.
It should be noted that be in present embodiment by and meanwhile press two volume keys and realize intelligent terminal to simulation
The switching of touch screen pattern, but the present invention is not limited to said combination modes, in various embodiments, according to different model
Intelligent terminal, the mode of different mechanical key controls or combination control may be used, as long as not with other defined work(
The combination of energy mutually conflicts, and does not limit herein.
102:Inclined direction and the angle of inclination of the intelligent terminal are obtained, and according to the inclined direction and inclination
Angle moves the positioning pointer to corresponding position.
Intelligent terminal is after entering simulated touch screen pattern, in order to realize that the selection and manipulation to application, user pass through
Intelligent terminal is tilted to control positioning pointer movement.Accordingly, intelligent terminal obtains the inclination generated by user's tilting action
Direction and angle of inclination, and the positioning pointer is moved to corresponding position according to angle of inclination and inclined direction.
Specifically, the intelligent terminal first position coordinate of positioning pointer on its screen in initial position is obtained, that is, is obtained
The current location of the positioning pointer recorded before taking intelligent terminal to tilt.Then it during intelligent terminal is inclined, obtains in real time
It takes and tilts angle of inclination and inclined direction caused by intelligent terminal, by physical algorithms, according to above-mentioned inclined direction, inclination angle
The first position coordinate of the initial position of degree and positioning pointer before intelligent terminal inclination calculates positioning pointer and currently stops inclining
The second position coordinate of oblique final position, and the positioning pointer is moved to the corresponding position of institute's second position coordinate in real time
It sets, to update the current location of the positioning pointer.
In specific implementation process, intelligent terminal is to acquire intelligent terminal by acceleration transducer or gyroscope
Inclined direction and angle of inclination.Acceleration transducer or gyroscope collect inclined direction and the angle of inclination of intelligent terminal
Afterwards, the data of acquisition are made into intelligent terminal control positioning pointer update current location to intelligent terminal report point.It is held in intelligent terminal
In continuous tilting procedure, acceleration transducer or gyroscope collect continuous data, to generate continuous report point information, then
Timer is updated by coordinate to realize that the update to positioning pointer position operates.It corresponds on screen, positioning pointer is continuously
It is moved to from final position from initial position.
It corresponds in program, belongs to drive due to calculating the function body of first position coordinate of positioning pointer in intelligent terminal
Dynamic layer, and the positioning pointer of screen display belongs to application layer, in order to overcome the tight of the communication across layers in intelligent terminal communication system
Lattice limit, and the intelligent terminal of present embodiment is provided with driving layer and application layer can identify and general file monitor, first exists
Driving layer establishes a file, is marked to the file and the label is written in the file, the file is used for
Record whether current intelligent terminal is in simulated touch screen pattern;A file monitor device is established in application layer again to be used for monitoring drive
The file for the label that dynamic layer is established, by knowing the state of current intelligent terminal to the monitoring of the file, with further real
The synchronization of the open and close of existing positioning pointer.
If during tilting intelligent terminal, the movement for stopping positioning pointer being needed, generally by intelligence is whole
End is horizontal positioned, and positioning pointer will stop moving at this time.
Specifically, it if initial position of the intelligent terminal before being inclined by is horizontal position, obtains and tilts intelligence eventually
Hold and restore to the inclined direction and angle of inclination generated during initial position, and according to inclined direction and angle of inclination and
The final position of the first position coordinate of initial position, positioning pointer when computational intelligence terminal turns again to initial position is sat
Mark, and positioning pointer is moved to position corresponding with final position coordinate.
In another embodiment, in order to control the movement speed of positioning pointer, intelligent terminal is obtaining its inclination side
To and while angle of inclination, further obtain the pitch velocity of intelligent terminal, and according to inclined direction and pitch velocity control
Formulate the movement speed of bit pointer.
103:Positioning pointer final position on the screen is determined when button is pressed detecting that volume tunes up
Corresponding application program, and run the application program;Current application interface is exited when key is pressed detecting that volume is turned down.
After positioning pointer is moved to corresponding position, i.e., positioning pointer has arrived at the application run required for user
When the position of icon or control button, since the preparatory function and touch screen functionality of all mechanical keys of intelligent terminal are shielded
It covers, in order to realize control function, present embodiment tunes up key by clicking volume and volume turns key down to control the selection of application
With return.
Specifically, positioning pointer is determined when button is pressed final position is corresponding on the screen detecting that volume tunes up
Application program, and run the application program.Current application interface is exited when key is pressed detecting that volume is turned down, is returned to
Last layer interface.
It should be noted that herein tune up key by clicking volume and volume turns key down to control the selection of application and return
It returns and belongs to optimal selection, but be not limited to above-mentioned selection, in the intelligent terminal of other embodiment or other models, can also lead to
Other buttons or other modes are crossed to realize the selection and closing of application program, are not limited herein.
In the present embodiment, if necessary to realize slide, if intelligent terminal is presently displaying e-book, for reality
Existing e-book slide up and down or left and right page turning, while detection intelligent terminal tilts, detection volume tune up button whether by by
Under, if detect that intelligent terminal is inclined by, when volume tunes up button and is pressed, the positioning pointer movement is controlled,
So that intelligent terminal screen display content realize slide, such as realize e-book slide up and down or left and right page turning.
In other embodiments, can also by tilt intelligent terminal while press the combination of other mechanical keys come
Realize slide, such as by while tilting intelligent terminal button volume turn the combination of key down, do not limit herein.
In the present embodiment, if necessary to realize drag operation, if a video file is currently played in intelligent terminal,
User needs to control the progress of video playing by dragging progress bar, in order to realize that drag operation, first intelligent terminal detect
Volume tunes up time that button is pressed whether more than the second predetermined time, such as 3 seconds, in this, as the triggering thing of drag operation
Then part detects whether intelligent terminal is inclined by and volume tunes up button still in the state of being pressed, if in the second pre- timing
Between after, intelligent terminal is inclined by and the volume tunes up button still in the state of being pressed, then intelligent terminal controls positioning pointer
It is mobile, to realize the dragging of scroll bar, realize the drag operation of screen display content.
In other embodiments, can also by tilt intelligent terminal while press the combination of other mechanical keys come
Realize drag operation, such as by while tilting intelligent terminal button volume turn the combination of key down, do not limit herein.
In another embodiment, as shown in Fig. 2, Fig. 2 is another embodiment of intelligent terminal control method of the present invention
Flow diagram.The intelligent terminal control method with a upper embodiment of the intelligent terminal control method of present embodiment
Difference lies in intelligent terminal further includes step 204 when being in the simulated touch screen pattern:Detect described two volume keys
When being pressed simultaneously, the simulated touch screen pattern is exited, and restore the preparatory function and touch screen functionality of all mechanical keys.
It is different from the prior art, the intelligent terminal of present embodiment is when detecting two volume keys while being pressed, screen
The preparatory function and touch screen functionality of all mechanical keys of intelligent terminal are covered, and shows positioning pointer on its screen, makes intelligence
Energy terminal enters another controllable simulated touch screen pattern, further obtains inclined direction and the inclination angle of intelligent terminal
Degree, and the choosing of icon or select button is realized to corresponding position according to inclined direction and angle of inclination running fix pointer
It is fixed, when detecting that volume tunes up button and is pressed, the corresponding application program in final position of positioning pointer is run, and detecting
It is turned down to volume and exits current application interface when key is pressed, realized and return to function.By the above method, touch can be increased
The control mode of screen, abundant user's operation can also alleviate the frequent utilization of touch screen, increase intelligent terminal while experience
Service life.In addition, still can be operated by single-point when the touch function of the touch screen of intelligent terminal breaks down normal
It uses, and positioning pointer can follow the inclined synchronous of intelligent terminal to move, additionally it is possible to ensure control accuracy, realize intelligent terminal
Function backup, brought convenience for user.And realize that without the additional cost of user, cost is saved for user for this function.
It is the structural schematic diagram of one embodiment of intelligent terminal of the present invention refering to Fig. 3, Fig. 3.The intelligence of present embodiment is eventually
End includes detection module 301, control module 302 and execution module 303.
Detection module 301 is touched for when detecting two volume keys while being pressed, making the intelligent terminal enter simulation
Screen pattern is touched, and positioning pointer is shown on the screen of intelligent terminal;Wherein, the intelligent terminal is in simulated touch screen pattern
When, the preparatory function and touch screen functionality of all mechanical keys of the intelligent terminal are shielded.
Currently, the primary input device of intelligent terminal be touch screen, touch screen touch function break down and cannot
In use, the detection of detection module 301 volume of intelligent terminal tunes up button and turns whether button is pressed simultaneously down with volume, and
When determining two volume keys while being pressed, intelligent terminal enters simulated touch screen pattern.
Wherein, after intelligent terminal enters simulated touch screen pattern, the preset work(of all mechanical keys of intelligent terminal itself
Energy and touch screen functionality are shielded, for example, the volume button of itself no longer has control volume in simulating touch screen state
Function, touch screen can not realize any touching operation.And show positioning pointer on the screen of intelligent terminal.Wherein, it positions
The shape of pointer does not limit, and such as common arrow fills, human hand shape etc..
It should be noted that the detection module 301 of present embodiment is not limited to event occur in the touch function of touch screen
It is triggered when barrier, as long as detecting two volume keys while being pressed, no matter whether the touch function of touch screen breaks down,
Intelligent terminal enters simulated touch screen pattern.
But since two volume buttons of intelligent terminal are generally placed at the side of intelligent terminal, in daily use process
In, may lead to have pinned two volume keys simultaneously due to accidentally touching, and make in the case where user is unknown intelligent terminal into
Simulated touch screen state is entered, and has made troubles to the normal use of user.
The unnecessary trouble that above-mentioned maloperation is brought to user in order to prevent, in another embodiment, detection
Module 301 first carries out timing to the time pressed, judges that two volume keys are same after detecting that two volume keys are concurrently depressed
When time for being pressed whether be more than pre-set first predetermined time, such as 2 seconds, and determine two volume keys simultaneously by by
Under time be more than the first predetermined time after, into simulated touch screen pattern, and show that positioning refers on the screen of intelligent terminal
Needle.And in order to more accurately realize that the movement of positioning pointer, intelligent terminal record positioning pointer and be in initial position
Changing coordinates.
It should be noted that be in present embodiment by and meanwhile press two volume keys and realize intelligent terminal to simulation
The switching of touch screen pattern, but the present invention is not limited to said combination modes, in other embodiments, according to different model
The mode of different mechanical key control or combination control may be used to realize, as long as not determined with other in intelligent terminal
The combination of adopted function mutually conflicts, and does not limit herein.
Control module 302 is used to obtain inclined direction and the angle of inclination of the intelligent terminal, and according to the inclination
The positioning pointer is moved to corresponding position in direction and angle of inclination.
Intelligent terminal is after entering simulated touch screen pattern, in order to realize that the selection and manipulation to application, user pass through
Intelligent terminal is tilted to control positioning pointer movement.Accordingly, control module 302 obtains by user's tilting action inclining for generating
Tilted direction and angle of inclination, and the positioning pointer is moved to corresponding position according to angle of inclination and inclined direction.
Specifically, control module 302 obtains intelligent terminal positioning pointer on its screen first in initial position
Coordinate is set, that is, obtains the current location of the positioning pointer recorded before intelligent terminal tilts.Then in the inclined process of intelligent terminal
In, it obtains tilt angle of inclination and inclined direction caused by intelligent terminal in real time, by physical algorithms, according to above-mentioned inclination
The first position coordinate of the initial position of direction, angle of inclination and positioning pointer before intelligent terminal inclination, calculates positioning and refers to
Needle currently stops the second position coordinate of inclined final position, and controls the positioning pointer in real time and be moved to institute's second
The corresponding position of coordinate is set, to update the current location of the positioning pointer.
In specific implementation process, control module 302 is that intelligent end is acquired by acceleration transducer or gyroscope
The inclined direction at end and angle of inclination.Acceleration transducer or gyroscope collect inclined direction and the inclination angle of intelligent terminal
After degree, by the data of acquisition to intelligent terminal report point, make intelligent terminal control positioning pointer update current location.In intelligent terminal
Continuing in tilting procedure, acceleration transducer or gyroscope will collect continuous data, to generate continuous report point information,
Then timer is updated by coordinate to realize that the update to positioning pointer position operates.It corresponds on screen, positioning pointer connects
Continuous ground is moved to from initial position from final position.
It corresponds in program, belongs to drive due to calculating the function body of first position coordinate of positioning pointer in intelligent terminal
Dynamic layer, and the positioning pointer of screen display belongs to application layer, in order to overcome the tight of the communication across layers in intelligent terminal communication system
Lattice limit, and the intelligent terminal of present embodiment is provided with driving layer and application layer can identify and general file monitor, first exists
Driving layer establishes a file, is marked to the file and the label is written in the file, the file is used for
Record whether current intelligent terminal is in simulated touch screen pattern;A file monitor device is established in application layer again to be used for monitoring drive
The file for the label that dynamic layer is established, by knowing the state of current intelligent terminal to the monitoring of the file, with further real
The synchronization of the open and close of existing positioning pointer.
If during tilting intelligent terminal, the movement for stopping positioning pointer being needed, generally by intelligence is whole
End is horizontal positioned, and positioning pointer will stop moving at this time.
Specifically, if initial position of the intelligent terminal before being inclined by is horizontal position, control module 302 obtains
The inclined direction of generation and angle of inclination during tilting intelligent terminal and restoring to initial position, and according to inclined direction and incline
Positioning pointer when the first position coordinate of rake angle and initial position, computational intelligence terminal turn again to initial position is most
Whole position coordinates, and positioning pointer is moved to position corresponding with final position coordinate.
In another embodiment, control module 302 is obtaining its inclination to control the movement speed of positioning pointer
While direction and angle of inclination, the pitch velocity of intelligent terminal is further obtained, and according to inclined direction and pitch velocity
Control the movement speed of positioning pointer.
Execution module 303 is used to determine the positioning pointer in the screen when button is pressed detecting that volume tunes up
The corresponding application program in upper final position;Current application interface is exited when key is pressed detecting that volume is turned down.
After positioning pointer is moved to corresponding position, i.e., positioning pointer has arrived at the application run required for user
When the position of icon or control button, since the preparatory function and touch screen functionality of all mechanical keys of intelligent terminal are shielded
It covers, in order to realize control function, present embodiment tunes up key by clicking volume and volume turns key down to control the selection of application
With return.
Specifically, execution module 303 determines positioning pointer on the screen most detecting volume to tune up when button is pressed
Final position sets corresponding application program, and runs the application program.It is currently answered detecting that volume is turned down to exit when key is pressed
With interface, last layer interface is returned to.
It should be noted that execution module 303 herein is by detecting whether to click, volume tunes up key or volume turns key down
Selection to control application belongs to optimal selection with return, but is not limited to above-mentioned selection, in other embodiment or other models
Intelligent terminal in, the selection and closing of application program can also be realized by other buttons or other modes, is not done herein
It limits.
In the present embodiment, if necessary to realize slide, if intelligent terminal is presently displaying e-book, for reality
Existing e-book slide up and down or left and right page turning, control module 302 are additionally operable to while detecting intelligent terminal and tilting, detect sound
Amount tunes up whether button is pressed, if control module 302 detects that intelligent terminal is inclined by, volume tunes up button quilt
When pressing, execution module 303 controls the positioning pointer movement, so that the content of intelligent terminal screen display realizes sliding behaviour
Make, such as realize e-book slide up and down or left and right page turning.
In other embodiments, can also by tilt intelligent terminal while press the combination of other mechanical keys come
Realize slide, such as by while tilting intelligent terminal button volume turn the combination of key down, do not limit herein.
In the present embodiment, if necessary to realize drag operation, if a video file is currently played in intelligent terminal,
User needs to control the progress of video playing by dragging progress bar, in order to realize that drag operation, control module 302 detect sound
Amount tunes up whether time that button is pressed was more than the second predetermined time, such as 3 seconds, in this, as the trigger event of drag operation,
Then further whether detection detection intelligent terminal is inclined by control module 302 and volume tunes up button still in the shape that is pressed
State, if after the second predetermined time, intelligent terminal is inclined by and the volume tunes up button still in the state of being pressed, then is held
Row module 303 controls positioning pointer movement, to realize the dragging of scroll bar, realizes the drag operation of screen display content.
In other embodiments, can also by tilt intelligent terminal while press the combination of other mechanical keys come
Realize drag operation, such as by while tilting intelligent terminal button volume turn the combination of key down, do not limit herein.
In another embodiment, detection module 301 detects described two sounds again under simulated touch screen state
When amount key is pressed simultaneously, the simulated touch screen pattern is exited, and restore the preparatory function and touch screen of all mechanical keys
Function.
It is different from the prior art, the detection module of present embodiment is when detecting two volume keys while being pressed, screen
The preparatory function and touch screen functionality of all mechanical keys of intelligent terminal are covered, and shows positioning pointer on its screen, makes intelligence
Can terminal enter another controllable simulated touch screen pattern, control module further obtain the inclined direction of intelligent terminal with
And angle of inclination, and icon or selection are realized to corresponding position according to inclined direction and angle of inclination running fix pointer
Button it is selected, for execution module when detecting that volume tunes up button and is pressed, the final position for running positioning pointer is corresponding
Application program, and current application interface is exited when key is pressed detecting that volume is turned down, it realizes and returns to function.Pass through above-mentioned side
Method can increase the control mode of touch screen, and abundant user's operation can also alleviate the frequent profit of touch screen while experience
With increasing the service life of intelligent terminal.In addition, still can be with when the touch function of the touch screen of intelligent terminal breaks down
Normal use is operated by single-point, and positioning pointer can follow the inclined synchronous of intelligent terminal to move, additionally it is possible to ensure control
Precision is realized the function backup of intelligent terminal, is brought convenience for user.And realize this function without the additional flower of user
Take, cost is saved for user.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, every to utilize this
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field is included within the scope of the present invention.
Claims (10)
1. a kind of intelligent terminal control method, which is characterized in that including:
When intelligent terminal detects two volume keys while being pressed, into simulated touch screen pattern, and show on its screen
Positioning pointer;Wherein, show that the function body of the positioning pointer belongs to the intelligence eventually on the screen of the intelligent terminal
The application layer at end, when the intelligent terminal is in the simulated touch screen pattern, all mechanical keys of the intelligent terminal
Preparatory function and touch screen functionality are shielded;
Inclined direction and the angle of inclination of the intelligent terminal are obtained, and is determined according to the inclined direction and angle of inclination
The current position coordinates of the positioning pointer, and the positioning pointer is moved to the current corresponding position of position coordinates, wherein
The function body for calculating the position coordinates of the intelligent terminal belongs to the driving layer of the intelligent terminal;And
It determines the positioning pointer when button is pressed detecting that volume tunes up final position is corresponding on the screen and answer
With program, and run the application program;Current application interface is exited when key is pressed detecting that volume is turned down;
Wherein, being established in the driving layer of the intelligent terminal has a file, and the file is for recording presently described intelligent terminal
Whether the simulated touch screen pattern is in;The application layer foundation of the intelligent terminal has a file monitor device, for monitoring
File is stated to know the state of presently described intelligent terminal, and then ensures the driving layer of the intelligent terminal and the intelligent terminal
Application layer can communicate.
2. according to the method described in claim 1, it is characterized in that, the intelligent terminal detect two volume keys simultaneously by by
When lower, into simulated touch screen pattern, and the step of showing positioning pointer on its screen specifically includes:
The intelligent terminal judges described two volume keys while whether time for being pressed is more than the first predetermined time, in determination
More than simulated touch screen pattern is entered after first predetermined time, the positioning pointer is shown on its screen and records institute
State the changing coordinates of positioning pointer.
3. according to the method described in claim 2, it is characterized in that, the inclined direction for obtaining the intelligent terminal and inclining
Rake angle, and the current position coordinates of the positioning pointer, and mobile institute are determined according to the inclined direction and angle of inclination
The step of stating positioning pointer corresponding to current position coordinates position specifically includes:
Obtain the intelligent terminal first position coordinate of the positioning pointer on the screen in initial position;
The inclined direction and the angle of inclination for tilting that the intelligent terminal generates are obtained in real time, and according to the inclination
Direction, the angle of inclination and the first position coordinate calculate the current second position coordinate of the positioning pointer, and real
When the positioning pointer is moved to position corresponding with the second position coordinate, to update the current of the positioning pointer
Position.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
Obtain the inclined direction of generation and the inclination angle during tilting the intelligent terminal and restoring to initial position
Degree, and according to the inclined direction, the angle of inclination and the first position coordinate, calculate the described of the positioning pointer
Final position coordinate, and the positioning pointer is moved to position corresponding with the final position coordinate.
5. method according to claim 1 or 4, which is characterized in that the inclined direction for obtaining the intelligent terminal with
And angle of inclination, and the current position coordinates of the positioning pointer are determined according to the inclined direction and angle of inclination, and move
The step of moving the positioning pointer corresponding to current position coordinates position further include:
The inclined direction and pitch velocity of the intelligent terminal are obtained, and is moved according to the inclined direction and the pitch velocity
The positioning pointer.
6. according to the method described in claim 1, it is characterized in that, the intelligent terminal is in the simulated touch screen pattern
When, the method further includes:When detecting described two volume keys while being pressed, the simulated touch screen pattern is exited, and
Restore the preparatory function and touch screen functionality of all mechanical keys.
7. according to the method described in claim 1, it is characterized in that, described determine detecting that volume tunes up when button is pressed
The positioning pointer corresponding application program in final position on the screen, and also wrapped after the step of running the application program
It includes:
While detecting that the intelligent terminal is inclined by, when the volume tunes up button and is pressed, the positioning pointer is controlled
It is mobile, so that the content of the screen display realizes slide.
8. according to the method described in claim 1, it is characterized in that, described determine detecting that volume tunes up when button is pressed
The positioning pointer corresponding application program in final position on the screen, and also wrapped after the step of running the application program
It includes:
Detect that volume tunes up after the time that button is pressed was more than the second predetermined time, the intelligent terminal is inclined by and described
Volume tune up button still in be pressed state when, positioning pointer movement is controlled, so that the content of the screen display is real
Existing drag operation.
9. according to the method described in claim 1, it is characterized in that, the inclined direction for obtaining the intelligent terminal and inclining
Rake angle, and the current position coordinates of the positioning pointer, and mobile institute are determined according to the inclined direction and angle of inclination
The step of stating positioning pointer corresponding to current position coordinates position further include:
The intelligent terminal obtains the inclined direction and angle of inclination by acceleration transducer or gyroscope, and according to institute
It states inclined direction and the positioning pointer is moved to corresponding position in angle of inclination.
10. a kind of intelligent terminal, which is characterized in that the intelligent terminal includes:Detection module, control module and execution mould
Block,
The detection module is for when detecting two volume keys while being pressed, making the intelligent terminal enter simulated touch screen
Pattern, and show positioning pointer on the screen of the intelligent terminal;Wherein, on the screen of the intelligent terminal described in display
The function body of positioning pointer belongs to the application layer of the intelligent terminal, and the intelligent terminal is in the simulated touch screen pattern
When, the preparatory function and touch screen functionality of all mechanical keys of the intelligent terminal are shielded;
The control module is used to obtain inclined direction and the angle of inclination of the intelligent terminal, and according to the inclined direction
And angle of inclination determines the current position coordinates of the positioning pointer, and the positioning pointer is moved to current position coordinates
Corresponding position, wherein the function body for calculating the position coordinates of the intelligent terminal belongs to the driving layer of the intelligent terminal;
The execution module is used to determine the positioning pointer on the screen detecting volume to tune up when button is pressed
The corresponding application program in final position;Current application interface is exited when key is pressed detecting that volume is turned down;
Wherein, being established in the driving layer of the intelligent terminal has a file, and the file is for recording presently described intelligent terminal
Whether the simulated touch screen pattern is in;The application layer foundation of the intelligent terminal has a file monitor device, for monitoring
File is stated to know the state of presently described intelligent terminal, and then ensures the driving layer of the intelligent terminal and the intelligent terminal
Application layer can communicate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510121782.9A CN104850332B (en) | 2015-03-19 | 2015-03-19 | Intelligent terminal control method and intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510121782.9A CN104850332B (en) | 2015-03-19 | 2015-03-19 | Intelligent terminal control method and intelligent terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104850332A CN104850332A (en) | 2015-08-19 |
CN104850332B true CN104850332B (en) | 2018-10-09 |
Family
ID=53850010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510121782.9A Active CN104850332B (en) | 2015-03-19 | 2015-03-19 | Intelligent terminal control method and intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104850332B (en) |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094567B (en) * | 2015-08-20 | 2020-11-17 | Tcl科技集团股份有限公司 | Intelligent terminal operation implementation method and system based on gravity sensing |
CN105425956B (en) * | 2015-11-04 | 2019-02-01 | Oppo广东移动通信有限公司 | A kind of application control method, control device and mobile phone based on mobile terminal |
CN105867793A (en) * | 2015-11-06 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | No touch screen response based use method and device |
CN105373242A (en) * | 2015-12-10 | 2016-03-02 | 南京信息工程大学 | Somatosensory mobile phone mouse control system and control method thereof |
CN105739863A (en) * | 2016-01-29 | 2016-07-06 | 维沃移动通信有限公司 | Method for mobile terminal to start application, and mobile terminal |
CN107544742B (en) * | 2016-06-28 | 2020-10-20 | 富泰华工业(深圳)有限公司 | Control method and electronic device thereof |
CN107656681A (en) * | 2016-07-26 | 2018-02-02 | 中兴通讯股份有限公司 | A kind of method and device of slide on simulated touch screen |
CN107844252A (en) * | 2016-09-18 | 2018-03-27 | 中兴通讯股份有限公司 | The operating method and mobile terminal of a kind of mobile terminal |
WO2018053936A1 (en) * | 2016-09-26 | 2018-03-29 | 华为技术有限公司 | Interactive method and electronic device |
CN108076216B (en) * | 2016-11-14 | 2020-11-24 | 夏普株式会社 | Mobile communication terminal, electronic device, and electronic device control method using mobile communication terminal |
CN108462790A (en) * | 2017-02-22 | 2018-08-28 | 中兴通讯股份有限公司 | A kind of method and mobile terminal of mobile multimedia terminal switching |
CN107704181A (en) * | 2017-03-14 | 2018-02-16 | 上海斐讯数据通信技术有限公司 | A kind of mobile terminal touch screen emergency operation device and operating method |
CN107807782A (en) * | 2017-10-13 | 2018-03-16 | 深圳天珑无线科技有限公司 | Control method, control system and user terminal |
CN107807761A (en) * | 2017-10-31 | 2018-03-16 | 上海爱优威软件开发有限公司 | The operating method and terminal of a kind of terminal |
CN108108208B (en) * | 2017-12-20 | 2021-09-07 | 北京奇虎科技有限公司 | Function control method and device of intelligent terminal |
CN108958601A (en) * | 2018-06-24 | 2018-12-07 | 深圳市宝尔爱迪科技有限公司 | A kind of method that mobile device simulation mouse realizes operation control |
CN109164696A (en) * | 2018-09-29 | 2019-01-08 | 深圳智芯数据服务有限公司 | A kind of clock pointers localization method, calibration method, equipment and readable storage medium storing program for executing |
CN110688049B (en) * | 2019-08-30 | 2021-12-28 | 华为技术有限公司 | Touch method and device, terminal equipment and storage medium |
CN111104035B (en) * | 2019-11-08 | 2022-09-16 | 芯海科技(深圳)股份有限公司 | Display interface control method, device, equipment and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102279647A (en) * | 2011-06-20 | 2011-12-14 | 中兴通讯股份有限公司 | Mobile terminal and method for realizing movement of cursor thereof |
CN102662556A (en) * | 2012-03-07 | 2012-09-12 | 中兴通讯股份有限公司 | Control method, apparatus and system for computer terminal |
CN103257815A (en) * | 2012-02-20 | 2013-08-21 | 索尼爱立信移动通讯有限公司 | Positioning method for touch location, text selection method and device and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102146244B1 (en) * | 2013-02-22 | 2020-08-21 | 삼성전자주식회사 | Methdo for controlling display of a plurality of objects according to input related to operation for mobile terminal and the mobile terminal therefor |
-
2015
- 2015-03-19 CN CN201510121782.9A patent/CN104850332B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102279647A (en) * | 2011-06-20 | 2011-12-14 | 中兴通讯股份有限公司 | Mobile terminal and method for realizing movement of cursor thereof |
CN103257815A (en) * | 2012-02-20 | 2013-08-21 | 索尼爱立信移动通讯有限公司 | Positioning method for touch location, text selection method and device and electronic equipment |
CN102662556A (en) * | 2012-03-07 | 2012-09-12 | 中兴通讯股份有限公司 | Control method, apparatus and system for computer terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104850332A (en) | 2015-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104850332B (en) | Intelligent terminal control method and intelligent terminal | |
US20240004530A1 (en) | Stopwatch and timer user interfaces | |
CN103513882B (en) | The control method of a kind of touch control device, device and touch control device | |
KR101885685B1 (en) | Virtual controller for touch display | |
CN106843739A (en) | The display control method and mobile terminal of a kind of mobile terminal | |
US10303266B2 (en) | Three-dimensional man/machine interface | |
EP2722730B1 (en) | Mobile terminal and method for moving cursor thereof | |
US20130080951A1 (en) | Device and method for moving icons across different desktop screens and related computer readable storage media comprising computer executable instructions | |
US20130007666A1 (en) | Electronic device with touch screen device, method of moving function icon and computer readable storage media comprising computer executable instructions | |
CN103412763B (en) | Background program management method of mobile terminal and mobile terminal | |
CN107132988A (en) | Virtual objects condition control method, device, electronic equipment and storage medium | |
CN108713181A (en) | Multifunctional equipment control to another electronic equipment | |
KR20070113025A (en) | Apparatus and operating method of touch screen | |
CN107193519A (en) | Display control method and device, computer installation and computer-readable recording medium | |
CN106998393A (en) | A kind of video playing control method and mobile terminal | |
US8436829B1 (en) | Touchscreen keyboard simulation for performance evaluation | |
US10289301B2 (en) | Gesture-based selection and manipulation method | |
CN105431810A (en) | Multi-touch virtual mouse | |
US9218064B1 (en) | Authoring multi-finger interactions through demonstration and composition | |
CN104216639B (en) | A kind of terminal operation method | |
US20140282279A1 (en) | Input interaction on a touch sensor combining touch and hover actions | |
CN103389871B (en) | The control method of a kind of electronic equipment and electronic equipment | |
CN109219791A (en) | With the real time, the content of instruction swipes item | |
CN105812978B (en) | Earphone method of toch control, earphone and touch control system | |
CN107092434A (en) | Overlay target system of selection and device, storage medium, electronic equipment |
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 |