Summary of the invention
The invention provides a kind of analog mouse and control the method for intelligent television, the problem of being inconvenient to carry out web page browsing operation for solving existing remote controller analog mouse technology.
Remote controller and mobile terminal that the present invention also provides a kind of analog mouse to control intelligent television, to guarantee said method application in practice.
In order to address the above problem, the invention discloses a kind of method that analog mouse is controlled intelligent television, comprising: receive the key assignments that direction key or virtual direction button mobile phone users operation interface on of user by remote controller sends; Obtain the time interval of this button and last button; If twice button value time interval identical and twice button is not more than default time interval value, the moving step length of described direction key is increased to default acceleration step-length; According to the key assignments of described direction key and moving step length thereof, adjust the sensing position of described intelligent television mouse pointer.
Preferably, this button of described acquisition from once after the time interval step of button, also comprise: if twice button value is different or twice button interval greater than default time interval value, the moving step length using default initial step length value as described direction key.
The invention also discloses a kind of analog mouse and control the method for intelligent television, comprising: receive the key assignments that direction key or virtual direction button mobile phone users operation interface on of user by remote controller sends; Obtain the duration that described direction key is pressed; Judge whether the duration that above-mentioned direction key is pressed be greater than default time threshold, if so, according to the described duration, calculate the moving step length of described direction key; According to the key assignments of described direction key and moving step length thereof, adjust the sensing position of described intelligent television mouse pointer.
Preferably, the moving step length L of described direction key adopts following formula to calculate:
L?=?L0?+?[T?/△T]?*△L
Wherein, L0 represents default initial step length value, and T represents the duration that described direction key is pressed, and △ T represents default time threshold, and △ L represents the acceleration step-length of presetting, and [T/△ T] represents the rounding operation to T/△ T.
Preferably, the moving step length L of described direction key adopts following formula to calculate:
L?=?L0?+?[K?*?T]
Wherein, L0 represents default initial step length value, and K represents linear coefficient, and T represents the duration that described direction key is pressed, and [K * T] represents the rounding operation to K * T.
Preferably, according to the key assignments of described direction key and moving step length thereof, the sensing position of adjusting described intelligent television mouse pointer also comprises before: whether the moving step length that judges described direction key is greater than default step-length threshold value, if so, the moving step length using described default step-length threshold value as described button.
The invention also discloses a kind of analog mouse and control the remote controller of intelligent television, comprising: remote controller key assignments receiving element, the key assignments sending for receiving the direction key of user by described remote controller; The time interval obtains unit, for obtaining the time interval of this button and last button; For button for the first time, this time interval is 0; The first step-length determining unit, for the button value comparison of sending with last user, when twice button value is different or twice button interval greater than default time interval value time, the moving step length using default initial step length value as described direction key; When twice button value time interval identical and twice button is not more than default time interval value, the moving step length of described direction key is increased to default acceleration step-length; Pointer adjustment unit, for according to the key assignments of described direction key and moving step length thereof, adjusts the sensing position of described intelligent television mouse pointer.
The invention also discloses a kind of analog mouse and control the remote controller of intelligent television, comprising: remote controller key assignments receiving element, the key assignments sending for receiving the direction key of user by described remote controller; Duration obtains unit, the duration being pressed for obtaining described direction key; The second step-length determining unit, for judging whether the duration that above-mentioned direction key is pressed be greater than default time threshold, if so, calculates the moving step length of described direction key according to the described duration; Pointer adjustment unit, for according to the key assignments of described direction key and moving step length thereof, adjusts the sensing position of described intelligent television mouse pointer.
Preferably, also comprise: step-length adjustment unit, for judging whether the moving step length of the described direction key after adjustment is greater than default step-length threshold value, the if so, moving step length using described default step-length threshold value as described button.
The invention also discloses a kind of analog mouse and control the mobile terminal of intelligent television, comprising: terminal key assignments receiving element, the key assignments sending by the virtual direction button on described user interface of mobile terminal for receiving user; The time interval obtains unit, for obtaining the time interval of this button and last button; For button for the first time, this time interval is 0; The first step-length determining unit, be used for the button value comparison of sending with last user, when twice button value is different or twice button interval greater than default time interval value time, the moving step length using default initial step length value as described virtual direction button; When twice button value time interval identical and twice button is not more than default time interval value, the moving step length of described virtual direction button is increased to default acceleration step-length; Pointer adjustment unit, for according to the key assignments of described virtual direction button and moving step length thereof, adjusts the sensing position of described intelligent television mouse pointer.
The invention also discloses a kind of analog mouse and control the mobile terminal of intelligent television, comprising: terminal key assignments receiving element, the key assignments sending by the virtual direction button on described user interface of mobile terminal for receiving user; Duration obtains unit, the duration being pressed for obtaining described virtual direction button; The second step-length determining unit, for judging whether the duration that above-mentioned virtual direction button is pressed be greater than default time threshold, if so, calculates the moving step length of described virtual direction button according to the described duration; Pointer adjustment unit, for according to the key assignments of described virtual direction button and moving step length thereof, adjusts the sensing position of described intelligent television mouse pointer.
Preferably, also comprise: step-length adjustment unit, for judging whether the moving step length of the described virtual direction button after adjustment is greater than default step-length threshold value, the if so, moving step length using described default step-length threshold value as described virtual direction button.
Compared with prior art, the present invention has the following advantages:
The preferred embodiment of the present invention is adjusted the moving step length of respective keys by the button time interval (improving the translational speed of mouse pointer while repeatedly pressing direction key fast) or button duration (time span of pressing by increase button improves the translational speed of mouse pointer), can effectively control the translational speed of intelligent television mouse pointer, and accurately locate it and point to position, the problem that while effectively solving existing remote controller analog mouse, mouse pointer location is inaccurate or translational speed is excessively slow.
In the further preferred embodiment of the present invention, can be according to intelligent television screen resolution size, the maximum moving step length (default step-length threshold value) of default mouse pointer, avoid because user misoperation causes the too fast problem of mouse translational speed, further the sensing position of accurate mouse beacon pointer.
accompanying drawing explanation
Fig. 1 is the flow process that analog mouse of the present invention is controlled method first embodiment of intelligent television;
Fig. 2 is the flow process that analog mouse of the present invention is controlled method second embodiment of intelligent television;
Fig. 3-1 is the structural representation of remote controller first embodiment of analog mouse control intelligent television of the present invention;
Fig. 3-2 are the structural representation of remote controller second embodiment of analog mouse control intelligent television of the present invention;
Fig. 4-1 is the structural representation of mobile terminal first embodiment of analog mouse control intelligent television of the present invention;
Fig. 4-2 are the structural representation of mobile terminal second embodiment of analog mouse control intelligent television of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
With reference to Fig. 1, show analog mouse of the present invention and control the flow process of method first embodiment of intelligent television, the core concept of this method embodiment is by repeatedly pressing fast the mode of same direction key, to improve the translational speed of mouse pointer (increasing each mobile step-length), when twice button when different, recovers default initial movable speed interval greater than default time interval value or twice button.This method embodiment specifically comprises the following steps:
Step S101: receive the key assignments that direction key or virtual direction button mobile phone users operation interface on of user by remote controller sends;
For remote controller, above-mentioned direction key comprises upward arrow < ↑ >, lower arrow < ↓ >, left arrow < ← >, right arrow < → >.
Step S102: the time interval that obtains this button and last button;
Step S103: judge that whether twice button value be identical, and the time interval of twice button is not more than default time interval value; If so, go to step S104; Otherwise, go to step S105;
In embodiments of the present invention, twice described button value is identical, and for remote controller, what represent to press for twice is same button; For mobile terminal, what represent to press for twice is the same virtual direction button on mobile phone users operation interface.Default time interval value can be according to user's use habit setting, modification, and suggestion initial setting up value is 200 milliseconds.
Step S104: the moving step length of described direction key is increased to default acceleration step-length; Go to step S106;
The moving step length of above-mentioned direction key can adopt following formula to calculate and obtain:
L2?=?L1?+?△L
Wherein, L2 represents amended moving step length, and L1 represents the moving step length before modification, and △ L represents the acceleration step-length of presetting.This default acceleration step-length can set in advance according to the screen resolution of intelligent television, for example, when the screen resolution of intelligent television is 1920*1080, can will speed up step-length and be preset as 20 pixels (in use, user can also revise at any time according to the use habit of oneself, as being revised as 10 pixels).
Step S105: the moving step length using default initial step length value as described direction key;
This default initial step length value can set in advance according to the screen resolution of intelligent television, for example, when the screen resolution of intelligent television is 1920*1080, initial step length value can be preset as to 20 pixels (in use, user can also revise at any time according to the use habit of oneself).
Step S106: according to the key assignments of above-mentioned direction key and moving step length thereof, adjust the sensing position of described intelligent television mouse pointer.
As, if direction key is right arrow < → >, the moving step length of this button is 60 pixels, 60 pixels move right the mouse pointer on intelligent television.
In the further preferred embodiment of the present embodiment, for avoiding causing the too fast problem of mouse translational speed because of user misoperation, reach the object of more accurate mouse beacon pointed position, can be according to intelligent television screen resolution size, the maximum moving step length (default step-length threshold value) of default mouse pointer, for example, when the screen resolution of intelligent television is 1920*1080, step-length threshold value can be preset as to 200 pixels (in use, user can also revise at any time according to the use habit of oneself).For this reason, the preferred embodiment (after step S104 is complete, changed into and goes to step S106-1) and also comprises before step S106:
Step S106-1: whether the moving step length that judges above-mentioned direction key is greater than default step-length threshold value, if so, goes to step S106-2; Otherwise; Go to step S106;
Step S106-2: the moving step length using default step-length threshold value as this button; Go to step S106.
With reference to Fig. 2, show analog mouse of the present invention and control the flow process of method second embodiment of intelligent television, the core concept of this method embodiment is by increasing the mode of the time span that button presses, to improve the translational speed (increasing each mobile step-length) of mouse pointer, when unclamping the button being long pressed, recover default initial movable speed.This method embodiment specifically comprises the following steps:
Step S201: receive the key assignments that direction key or virtual direction button mobile phone users operation interface on of user by described remote controller sends;
Step S202: obtain the duration that above-mentioned direction key is pressed;
Step S203: judge whether the duration that above-mentioned direction key is pressed be greater than default time threshold, if so, go to step S204; Otherwise, go to step S205;
Step S204: the moving step length that calculates this direction key according to the described duration; Go to step S206-1;
In this preferred embodiment, the translational speed of mouse pointer (or moving step length) can adopt notch cuttype to increase scheme, also can adopt linear growth scheme, can also adopt other schemes.Below, the notch cuttype of take respectively increases scheme and linear growth scheme is example, and the computational methods of above-mentioned moving step length are described.
(1), in notch cuttype growth scheme, the growth of the duration T that the moving step length L of direction key is pressed with direction key is notch cuttype increasing law.The moving step length L of direction key adopts following formula to calculate:
L?=?L0?+?[T?/△T]?*△L
Wherein, L0 represents default initial step length value, and △ T represents default time threshold, and △ L represents the acceleration step-length of presetting, and [T/△ T] for example represents, to the rounding operation of T/△ T (, when T=5 second, △ T=2 is during second, [T/△ T]=2).
(2), in linear growth scheme, the duration T that the moving step length L of direction key and described direction key are pressed is linear growth rule.The moving step length L of direction key adopts following formula to calculate:
L?=?L0?+?[K?*?T]
Wherein, L0 represents default initial step length value, and K represents linear coefficient (can be preset by those skilled in the art), and [K * T] for example represents, to the rounding operation of K * T (, work as K=0.4, during T=5, [K * T]=2).
Step S205: the moving step length using default initial step length value as described direction key;
Step S206-1: whether the moving step length that judges above-mentioned direction key is greater than default step-length threshold value; If so, go to step S206-2; Otherwise, turn S206;
Step S206-2: the moving step length using default step-length threshold value as this button;
Step S206: according to the key assignments of above-mentioned direction key and moving step length thereof, adjust the sensing position of intelligent television mouse pointer.
For aforesaid each embodiment of the method, simple in order to describe, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously, as step S101 can be before step S102, carry out afterwards or simultaneously; Secondly, those skilled in the art also should know, said method embodiment all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to Fig. 3-1, show analog mouse of the present invention and control the structured flowchart of remote controller first embodiment of intelligent television, in this device embodiment, by repeatedly pressing fast the mode of same direction key, improve the translational speed (increasing each mobile step-length) of mouse pointer, when twice button when different, recovers default initial movable speed interval greater than default time interval value or twice button.This device embodiment specifically comprises:
Remote controller key assignments receiving element 31, the key assignments sending for receiving the direction key of user by described remote controller; Described direction key comprises upper and lower, left and right arrow key;
The time interval obtains unit 32, for obtaining the time interval of this button and last button; For button for the first time, this time interval is 0;
The first step-length determining unit 34, be used for the button value comparison of sending with last user, when twice button value is different or twice button interval greater than default time interval value time, the moving step length using default initial step length value as described direction key; When twice button value time interval identical and twice button is not more than default time interval value, the moving step length of described direction key is increased to default acceleration step-length;
Pointer adjustment unit 36, for according to the key assignments of described direction key and moving step length thereof, adjusts the sensing position of described intelligent television mouse pointer.
In the further preferred embodiment of the present embodiment, for avoiding causing the too fast problem of mouse pointer translational speed because of user misoperation, reach the object of more accurate mouse beacon pointed position, can be according to intelligent television screen resolution size, the maximum moving step length (default step-length threshold value) of default mouse pointer.This preferred embodiment is also provided with: step-length adjustment unit 30, and for judging whether the moving step length of the described direction key after adjustment is greater than default step-length threshold value, the if so, moving step length using described default step-length threshold value as described button.
With reference to Fig. 3-2, show analog mouse of the present invention and control the structured flowchart of remote controller second embodiment of intelligent television, in this device embodiment, the mode of the time span of pressing by increase button improves the translational speed (increasing each mobile step-length) of mouse pointer, when unclamping the button being long pressed, recover default initial movable speed.This device embodiment specifically comprises:
Remote controller key assignments receiving element 31, the key assignments sending for receiving the direction key of user by described remote controller; Described direction key comprises upper and lower, left and right arrow key;
Duration obtains unit 33, the duration being pressed for obtaining described direction key;
The second step-length determining unit 35, for judging whether the duration that above-mentioned direction key is pressed be greater than default time threshold, if so, calculates the moving step length of described direction key according to the described duration;
Below, the notch cuttype of take respectively increases scheme and linear growth scheme is example, and the computational methods of above-mentioned moving step length are described.
(1), in notch cuttype growth scheme, the growth of the duration T that the moving step length L of direction key is pressed with direction key is notch cuttype increasing law.The moving step length L of direction key adopts following formula to calculate:
L?=?L0?+?[T?/△T]?*△L
In above-mentioned formula, L0 represents default initial step length value, and △ T represents default time threshold, and △ L represents the acceleration step-length of presetting, and [T/△ T] for example represents, to the rounding operation of T/△ T (, when T=5 second, △ T=2 is during second, [T/△ T]=2).
(2), in linear growth scheme, the duration T that the moving step length L of direction key and described direction key are pressed is linear growth rule.The moving step length L of direction key adopts following formula to calculate:
L?=?L0?+?[K?*?T]
In above-mentioned formula, L0 represents default initial step length value, and K represents linear coefficient (can be preset by those skilled in the art), and [K * T] for example represents, to the rounding operation of K * T (, work as K=0.4, during T=5, [K * T]=2).
Step-length adjustment unit 30, for judging whether the moving step length of the described direction key after adjustment is greater than default step-length threshold value, the if so, moving step length using described default step-length threshold value as described button;
Pointer adjustment unit 36, for according to the key assignments of described direction key and moving step length thereof, adjusts the sensing position of described intelligent television mouse pointer.
With reference to Fig. 4-1, show analog mouse of the present invention and control the structured flowchart of mobile terminal first embodiment of intelligent television, in this device embodiment, by repeatedly pressing fast the mode of same direction key, improve the translational speed (increasing each mobile step-length) of mouse pointer, when twice button when different, recovers default initial movable speed interval greater than default time interval value or twice button.This device embodiment specifically comprises:
Terminal key assignments receiving element 41, the key assignments sending by the virtual direction button on mobile phone users operation interface for receiving user;
The time interval obtains unit 42, for obtaining the time interval of this button and last button; For button for the first time, this time interval is 0;
The first step-length determining unit 44, be used for the button value comparison of sending with last user, when twice button value is different or twice button interval greater than default time interval value time, the moving step length using default initial step length value as described virtual direction button; When twice button value time interval identical and twice button is not more than default time interval value, the moving step length of described virtual direction button is increased to default acceleration step-length;
Pointer adjustment unit 46, for according to the key assignments of described direction key and moving step length thereof, adjusts the sensing position of described intelligent television mouse pointer.
In the further preferred embodiment of the present embodiment, for avoiding causing the too fast problem of mouse pointer translational speed because of user misoperation, reach the object of more accurate mouse beacon pointed position, can be according to intelligent television screen resolution size, the maximum moving step length (default step-length threshold value) of default mouse pointer.This preferred embodiment is also provided with: step-length adjustment unit 40, and for judging whether the moving step length of the described virtual direction button after adjustment is greater than default step-length threshold value, the if so, moving step length using described default step-length threshold value as described virtual direction button.
With reference to Fig. 4-2, show analog mouse of the present invention and control the structured flowchart of mobile terminal second embodiment of intelligent television, in this device embodiment, the mode of the time span being pressed by increase virtual direction button improves the translational speed (increasing each mobile step-length) of mouse pointer, when unclamping the virtual direction button being long pressed, recover default initial movable speed.This device embodiment specifically comprises:
Terminal key assignments receiving element 41, the key assignments sending by the virtual direction button on mobile phone users operation interface for receiving user;
Duration obtains unit 43, the duration being pressed for obtaining described virtual direction button;
The second step-length determining unit 45, for judging whether the duration that above-mentioned virtual direction button is pressed be greater than default time threshold, if so, calculates the moving step length of described virtual direction button according to the described duration;
Below, the notch cuttype of take respectively increases scheme and linear growth scheme is example, and the computational methods of above-mentioned moving step length are described.
(1), in notch cuttype growth scheme, the growth of the duration T that the moving step length L of virtual direction button is pressed with virtual direction button is notch cuttype increasing law.The moving step length L of virtual direction button adopts following formula to calculate:
L?=?L0?+?[T?/△T]?*△L
In above-mentioned formula, L0 represents default initial step length value, and △ T represents default time threshold, and △ L represents the acceleration step-length of presetting, and [T/△ T] for example represents, to the rounding operation of T/△ T (, when T=5 second, △ T=2 is during second, [T/△ T]=2).
(2), in linear growth scheme, the duration T that the moving step length L of virtual direction button and described virtual direction button are pressed is linear growth rule.The moving step length L of virtual direction button adopts following formula to calculate:
L?=?L0?+?[K?*?T]
In above-mentioned formula, L0 represents default initial step length value, and K represents linear coefficient (can be preset by those skilled in the art), and [K * T] for example represents, to the rounding operation of K * T (, work as K=0.4, during T=5, [K * T]=2).
Step-length adjustment unit 40, for judging whether the moving step length of the described virtual direction button after adjustment is greater than default step-length threshold value, the if so, moving step length using described default step-length threshold value as described virtual direction button;
Pointer adjustment unit 46, for according to the key assignments of described virtual direction button and moving step length thereof, adjusts the sensing position of described intelligent television mouse pointer.
It should be noted that, said apparatus embodiment belongs to preferred embodiment, and related unit and module might not be that the present invention is necessary.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For device embodiment of the present invention, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Method, remote controller and the mobile terminal of above a kind of analog mouse provided by the present invention being controlled to intelligent television are described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.