CN103686289B - Intelligent television input through keyboard control method and intelligent television - Google Patents
Intelligent television input through keyboard control method and intelligent television Download PDFInfo
- Publication number
- CN103686289B CN103686289B CN201310733258.8A CN201310733258A CN103686289B CN 103686289 B CN103686289 B CN 103686289B CN 201310733258 A CN201310733258 A CN 201310733258A CN 103686289 B CN103686289 B CN 103686289B
- Authority
- CN
- China
- Prior art keywords
- key
- input
- button
- keyboard
- dummy keyboard
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 83
- 238000012544 monitoring process Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 8
- 230000001960 triggered effect Effects 0.000 claims description 5
- 239000011800 void material Substances 0.000 claims 1
- 230000006399 behavior Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 238000005728 strengthening Methods 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 210000003739 neck Anatomy 0.000 description 1
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The present invention discloses a kind of intelligent television input through keyboard control method and intelligent television, and its method includes:When intelligent television detects click event on input frame, input method dummy keyboard interface is recalled;Judge whether listen to the key-press event of physical keyboard at input method dummy keyboard interface, if so, then by the button with perform function key assignments of focal point to dummy keyboard;After the key-press event of the execution triggering key from physical keyboard is listened to, the button with perform function key assignments of dummy keyboard is called, the function corresponding to the input button attribute of input frame is performed.The present invention passes through the position adjustment to input method focus, user is allowed to use on TV in PC physical keyboard input processes, realize the perform function of "enter" key" on computer, avoid because ok key key assignments conflicts, so as to realize into functions such as network address, line feed, improve the key-input operation performance of intelligent television on "enter" key" on the physical keyboard that is connected with TV and remote control.
Description
Technical field
The present invention relates to ntelligent television technolog field, more particularly to a kind of intelligent television input control method and intelligence electricity
Depending on.
Background technology
With the development of intelligent television, intelligent television is had become using physical keyboard progress text input essential
One of function.But be due to the particularity of television devices, the text input of current television set either with dummy keyboard still
Inputted with physical keyboard, its experience effect is still not so good as PC.
Such as, using object input through keyboard such as PC keyboards, cell phone keyboards on existing TV, due to secondary or physical bonds such as PC keyboards
The key assignments of the ok keys of Enter buttons and TV remote controller on disk is typically all identical, so as to cause by physics such as PC keyboards
The effect of "enter" key" on keyboard, when focusing on the input frame on video screen, presses PC keys as the ok keys of remote control
The "enter" key" of the physical keyboards such as disk, simply opens TV input method dummy keyboard(As shown in Figure 1), after dummy keyboard is opened
The "enter" key" of the physical keyboards such as PC keyboards is pressed, it acts on the character for simply entering dummy keyboard focus, rather than performs
The corresponding carriage return of "enter" key", operate into network address etc..
Therefore, electricity is not realized by the "enter" key" of the physical keyboards such as PC keyboards on TV of the acquiescence with dummy keyboard
The corresponding function of "enter" key" is pressed in brain.And computer is just different, computer input need not open dummy keyboard, without passing through
Moving focal point mode inputs character, so now "enter" key" system can give corresponding software processing completely, and will not
Influence input method input.Such as browser Enter is to go to corresponding web site, and Enter is that Enter is in line feed, QQ in word
Message is sent, even if input method is opened, its function is not interfered with yet, and TV is then different, when input method dummy keyboard is opened
Afterwards, "enter" key" every operation all only returns input method to manage, and uniquely effect is exactly input focus character, and computer is not returned
The function of car key.
If changed by certain strategy, similar computer carriage return function is realized on TV, then undoubtedly greatly lifts electricity
Depending on the input operation performance of machine, the input experience of lifting user.
The content of the invention
It is a primary object of the present invention to provide a kind of intelligent television input control method and intelligent television, it is intended to lift intelligence
The key-input operation performance of energy TV.
In order to achieve the above object, the present invention proposes a kind of intelligent television input through keyboard control method, including:
When intelligent television detects click event on input frame, input method dummy keyboard interface is recalled;
Judge whether monitor the key-press event of physical keyboard at the input method dummy keyboard interface;
When listen to the key-press event of physical keyboard after, focal point to dummy keyboard had into perform function key assignments
Button;
After the key-press event of the execution triggering key from physical keyboard is listened to, having for the dummy keyboard is called to hold
The button of row function key assignments, performs the function corresponding to the input button attribute of the input frame.
Preferably, it is described after the key-press event of the execution triggering key from physical keyboard is listened to, call described virtual
The button with perform function key assignments of keyboard, the step of performing the function corresponding to the input button attribute of the input frame is wrapped
Include:
After the key-press event of the execution triggering key from physical keyboard is listened to,
Obtain the default input button attribute of the input frame;
The button with perform function key assignments of the dummy keyboard is triggered, the input button attribute of the input frame is performed
Corresponding function.
Preferably, the execution triggering key is done keys, and the button with perform function key assignments is "enter" key" or distant
The ok keys on device are controlled, the function corresponding to the input button attribute of the input frame includes:Enter the Web page, enter a new line, searching for and/or
Close input method dummy keyboard.
Preferably, it is described acquisition input frame it is default input button attribute the step of after, in addition to:
According to the default input button attribute of the input frame, match the dummy keyboard has perform function key assignments
The display character of button, and show corresponding display character on the button with perform function key assignments of the dummy keyboard.
Preferably, the judgement is wrapped the step of whether input method dummy keyboard interface monitors the key-press event of physical keyboard
Include:
On the input method dummy keyboard interface, the key-press event key assignments of detection user's input;
If detecting the key-press event key assignments for directionkeys key assignments, judge that user is inputted using dummy keyboard;
If it is character or the key assignments of function key to detect the key-press event key assignments, judge that user has accessed secondary or physical bond
Disk is simultaneously inputted.
Preferably, it is described after the key-press event of physical keyboard is listened to, having for focal point to dummy keyboard is held
The step of button of row function key assignments, includes:
After the key-press event of physical keyboard is listened to, the button with perform function key assignments after initialization is called, is connect
Receive the focus request that the button process with perform function key assignments is sent;
Asked according to the focus, successively remove old button focus on the dummy keyboard;
The corresponding layout mark ID of button of the identification with perform function key assignments, and in the corresponding layouts of layout mark ID
New focus is drawn on the button with perform function key assignments of position.
The present invention also proposes a kind of intelligent television of control keyboard input, including:
Module is recalled, for being detected on the input frame of intelligent television during click event, input method dummy keyboard is recalled
Interface;
Module is monitored, the key-press event for monitoring physical keyboard at the input method dummy keyboard interface;
Focus module, for after the key-press event of physical keyboard is listened to, by having for focal point to dummy keyboard
The button of perform function key assignments;
Performing module is called, for after the key-press event of the execution triggering key from physical keyboard is listened to, calling institute
The button with perform function key assignments of dummy keyboard is stated, the function corresponding to the input button attribute of the input frame is performed.
Preferably, it is described to call performing module, it is additionally operable to when the button for listening to the execution triggering key from physical keyboard
After event;Obtain the default input button attribute of the input frame;That triggers the dummy keyboard has perform function key assignments
Button, performs the function corresponding to the input button attribute of the input frame.
Preferably, it is described to call performing module, it is additionally operable to, according to the default input button attribute of the input frame, match institute
The display character of the button with perform function key assignments of dummy keyboard is stated, and there is perform function key in the dummy keyboard
Corresponding display character is shown on the button of value.
Preferably, the monitoring module, is additionally operable on the input method dummy keyboard interface, and what detection user inputted presses
Key events key assignments;If detecting the key-press event key assignments for directionkeys key assignments, judge that user is carried out using dummy keyboard defeated
Enter;If it is character or the key assignments of function key to detect the key-press event key assignments, judge that user has accessed physical keyboard simultaneously
Input;The focus module, is additionally operable to after the key-press event of physical keyboard is listened to, and calls having after initialization to perform work(
The button of energy key assignments, the focus request that the button process with perform function key assignments that receives is sent;Asked according to the focus, by
Layer removes old button focus on the dummy keyboard;The corresponding layout mark ID of button of the identification with perform function key assignments,
And draw new focus on the button with perform function key assignments of the corresponding placement positions of layout mark ID.
A kind of intelligent television input control method and intelligent television proposed by the present invention, intelligent television are detected on input frame
During to the event of click, input method dummy keyboard interface is recalled;Pressing for physical keyboard is monitored at the input method dummy keyboard interface
Key events;After the key-press event of physical keyboard is listened to, by the done keys of focal point to dummy keyboard;Come from when listening to
After the key-press event of the "enter" key" of physical keyboard or the ok keys of remote control, the done keys of the dummy keyboard are called, are performed described
Function corresponding to the input button attribute of input frame, thus, by the position adjustment to input method focus, allows user in TV
In upper use PC physical keyboard input processes, input method dummy keyboard done keys are focused in real time, when user's completion input, press thing
When managing ok keys on keyboard "enter" key" or remote control, the perform function of "enter" key" on computer is realized, it is to avoid due to being connected with TV
Physical keyboard on "enter" key" and remote control ok key key assignments conflicts so as to realize into functions such as network address, line feed, lifted
The key-input operation performance of intelligent television.
Brief description of the drawings
Fig. 1 is the dummy keyboard schematic diagram of intelligent television of the present invention;
Fig. 2 is the schematic flow sheet of intelligent television input through keyboard control method preferred embodiment of the present invention;
Fig. 3 is the high-level schematic functional block diagram of the intelligent television preferred embodiment of control keyboard input of the present invention.
In order that technical scheme is clearer, clear, it is described in further detail below in conjunction with accompanying drawing.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Fig. 2 present pre-ferred embodiments propose a kind of intelligent television input through keyboard control method, including:
Step S101, when intelligent television detects click event on input frame, recalls input method dummy keyboard interface;
Scheme of the embodiment of the present invention is applicable on the various intelligent televisions that are inputted using entity physical keyboard.When
So, it can also be applicable on the other display equipment with intelligent television function, the embodiment of the present invention is illustrated with intelligent television.
Wherein, object keyboard can include the external connection keyboards such as PC keyboards, keyboard for remote control, cell phone keyboard, bluetooth keyboard.
Due to television system particularity, in prior art, TV input needs by dummy keyboard and coordinates distant
Control device directionkeys and ok keys are carried out, and because remote control ok keys are as the key assignments of physical keyboard "enter" key", in TV input frame
In press the two keys, system is all to recall dummy keyboard to input for user, and done keys are pressed in dummy keyboard, simply defeated
Enter focus character, therefore, existing intelligent television, which presses "enter" key" when being inputted using physical keyboard, can not perform phase on computer
The Enter functions of answering.
In the embodiment of the present invention, entity physical keyboard and dummy keyboard are mapped by the type of focusing, when pressing physics
During "enter" key" on keyboard, by the way that "enter" key" to be mapped to the done keys of dummy keyboard, so as to realize by after pressure "enter" key"
It can perform and enter network address, line feed, the function such as search, it is to avoid due to "enter" key" and remote control on the physical keyboard that is connected with TV
Upper ok keys key assignments conflict is defeated with the user for strengthening intelligent television input so as to realize into functions such as network address, line feed, search
Enter experience.
Specifically, first, intelligent television detects whether the click event of user on input frame, when intelligent television is defeated
When entering to detect click event on frame, input method dummy keyboard interface is recalled.
Wherein, intelligent television detects whether that the click event of user uses following scheme on input frame:
On intelligent television, any key that user presses after being detected through TV hardware end, is responsible for the driving meeting of the hardware
Key-press event is write into bottom layer driving file.Television system can pass through thread InputReader polls the bottom layer driving file, one
Denier, which detects bottom layer driving file, the renewal of key-press event, and the key-press event can be transmitted to event point by thread InputReader
With thread InputDispatcher.InputDispacher can will be transmitted to system windows, system window after key-press event preliminary treatment
Mouth continues to be transmitted to application, and key-press event is eventually given specific component and handled by application widget.
Input frame is clicked when listening to user, system is to respond the event and finally give input frame to handle, input frame
The press key message that the system that monitor receives is transmitted, can recall input method dummy keyboard, and focus is placed in into input method virtual key
Disk interface, as a kind of default treatment mode, can arrive dummy keyboard when recalling input method dummy keyboard by focal point
The button of key assignments with perform function(For TV, i.e., by the done keys of the dummy keyboard of focal point to TV), its
In, if it is except directionkeys key assignments and with perform function key assignments that input frame monitor, which receives the press key message that system transmits,
Button(Such as ok keys on "enter" key" or remote control)Outside other keys, system can detect the key assignments data that press key message has,
Judge which button user presses with this, and move the focus on done keys, can also be when focus be on done keys
Focus is moved.
Step S102, judges whether listen to the key-press event of physical keyboard at the input method dummy keyboard interface;
As a kind of embodiment, system default TV has accessed physical keyboard.Certainly, as another embodiment,
System can detect whether TV has physical button access, if so, then monitoring pressing for physical keyboard at input method dummy keyboard interface
Key events.
When monitoring the key-press event of physical keyboard at input method dummy keyboard interface, first, system is in input method virtual key
On disk interface, the key-press event key assignments of detection user's input.
If the key-press event key assignments that system detectio is inputted to user is directionkeys key assignments, judge that user uses dummy keyboard
Inputted, and moving focal point is to the corresponding character position of dummy keyboard.If subsequently detecting user again presses remote control ok keys
Or the "enter" key" of physical keyboard(Key assignments is the same), then character where inputting the focus of dummy keyboard to input frame.
If the system detects that the key-press event key assignments of user's input is not directionkeys, but character or the key assignments of function key
(Including all letters, symbol, space, delete key and shift key combinations etc.), then system judge that user has accessed physics
Keyboard is simultaneously inputted.
Step S103, after the key-press event of physical keyboard is listened to, having for focal point to dummy keyboard is performed
The button of function key assignments;
When judging that user inputted using physical keyboard, then dummy keyboard focus is moved on done keys by system.Wherein,
The principle that system moves the focus to done keys is:
When system receives done key processes(Such as view View)After focus request, first check whether done keys have and can obtain
The attribute of focus, if so, then system can judge whether done buttons have parent view, parent view is referred to if this is regarded
Figure is embedded in other views, and what is be embedded into is called parent view Viewgroup, at least one parent view, due to application
Window is most basic view, therefore all views are all built-in application widget the inside.
If system judges that done buttons have parent view, meeting step-by-step recursion up sends focus request, all parents
View can be removed successively(unFocus)Drawn old focus chart picture, untill no parent view.It is for clearance complete
Bi Hou, system again on done keys draw focus chart as.
The each button of dummy keyboard corresponds to a button assembly, and they are to have initialized when dummy keyboard is opened
Into, it can directly invoke to send request, and each button assembly is assigned a layout mark ID, and with this corresponding button
Component is in the position of whole virtual keyboard layout, and the lower right corner button of such as Television Virtual keyboard is correspondence done keys.
The present embodiment is attached to, when pressing physical keyboard character keys, the done groups initialized are actually called
Part, focus request is sent by done key views.
Then, system is asked according to focus, successively calls parent view, is up sent focus request, is removed dummy keyboard
Upper old button focus.
The corresponding layout mark ID of identification done keys, and the done keys of the corresponding placement positions of ID are identified in the layout afterwards
It is upper to draw new focus, finally move the focus on done keys.
Step S104, after the key-press event of the execution triggering key from physical keyboard is listened to, calls the virtual key
The button with perform function key assignments of disk, performs the function corresponding to the input button attribute of the input frame.
Wherein, the "enter" key" that triggering key can be the "enter" key", such as PC keyboards of physical keyboard, or remote control are performed
Ok keys.
After moving the focus on done keys, system continues to monitor key-press event, when listening to from physical keyboard
After the key-press event of the ok keys of "enter" key" or remote control, the done keys of dummy keyboard are called, the input button category of input frame is performed
Function corresponding to property.Such as, when being inputted if in text box, line feed function is realized;If during webpage input frame, then realizing
Into network address function;If during search box, then realizing search keyword.
Specifically include:After the key-press event of ok keys of "enter" key" or remote control from physical keyboard is listened to, then
Obtain the default input button attribute of the input frame(Enter button attributes), the done keys of the dummy keyboard are triggered, are performed
Function corresponding to the input button attribute of the input frame.
Wherein, input frame it is default input button attribute can be pre-set by user, such as " go ", " next ",
The attribute such as " done ", " search ", " send ";For the corresponding behavior of input button attribute definition of different input frames, i.e.,
Function, such as, the function of " go " attribute are defined as entering the Web page, and the function of " next " attribute is defined as jumping to next line,
The function of " search " attribute is defined as search, and the function of " send " attribute is defined as transmission etc..
User is pressed after the done keys of the ok keys triggering dummy keyboard of "enter" key" or remote control, you can enter program
The Enter behaviors made by oneself.
More specifically, when system listens to the key-press event of the ok keys of "enter" key" or remote control from physical keyboard
Afterwards, system detects the Enter button attributes that input frame is pre-set first, so that done keys are corresponding on matching virtual keyboard
Character, such as " go ", " next ", " done ", " search ", " send " are shown, and following several properties can be performed and is pre-defined
Good behavior.Such as:
In browser address bar, input frame Enter attributes are typically preset as " go ", and the function of go attributes is defined as entering
Webpage, such lower right corner " done " becomes " go " character, and at this moment system is detecting user and pressed the "enter" key" of physical keyboard
Afterwards, into the corresponding instruction of go attributes is performed, i.e., into corresponding web site.
In form page, Enter attributes are traditionally arranged to be " next ", and next attribute definitions are to jump to next line, system detectio
To the attribute, done keys become " next " character, and detection user is pressed after the "enter" key" of physical keyboard, can perform done keys
Next line is jumped in the instruction of next attributes.
Typically entering frame, Enter attributes be traditionally arranged to be " done ", done default definitions are to complete input, now right
Inferior horn done keys are shown " done " " character, entering method keyboard can be closed by being pressed when system detectio to user after "enter" key".
Frame is sent in message, Enter attributes are set to " send ", and being pressed when system detectio to user can send out after "enter" key"
Send the message of input.
Similarly, when system detectio to input frame Enter attributes is search, done shows that character becomes " search ",
At this moment detect user and press the search attributes instruction that done keys are performed after "enter" key".Input frame can be with self-defined search
Content and mode, so after search is pressed, system can enter customized search behaviors.Hereby it is achieved that electric
"enter" key" function when depending on being inputted using physical keyboard, user's input experience of enhancing intelligent television input.
The present embodiment is by such scheme, when intelligent television detects click event on input frame, recalls input method empty
Intend keyboard interface;Judge whether monitor the key-press event of physical keyboard at the input method dummy keyboard interface;When listening to thing
After the key-press event for managing keyboard, by the done keys of focal point to dummy keyboard;When listening to the "enter" key" from physical keyboard
Or after the key-press event of the ok keys of remote control, the done keys of the dummy keyboard are called, perform the input button of the input frame
Function corresponding to attribute, thus, by the position adjustment to input method focus, allows user to use PC physical keyboards on TV
In input process, input method dummy keyboard done keys are focused in real time, when user completes input, presses physical keyboard "enter" key",
Realize the perform function of "enter" key" on computer, it is to avoid due to ok on "enter" key" on the physical keyboard that is connected with TV and remote control
The conflict of key key assignments improves the key-input operation performance of intelligent television so as to realize into functions such as network address, line feed.
As shown in figure 3, present pre-ferred embodiments propose a kind of intelligent television of control keyboard input, including:Recall mould
Block 201, monitor and module 202, focus module 203 and call performing module 204, wherein:
Module 201 is recalled, for being detected on the input frame of intelligent television during click event, input method virtual key is recalled
Disk interface;
Module 202 is monitored, for judging whether monitor the button thing of physical keyboard at the input method dummy keyboard interface
Part;
Focus module 203, for after the key-press event of physical keyboard is listened to, by the tool of focal point to dummy keyboard
There is the button of perform function key assignments;
Performing module 204 is called, for after the key-press event of the execution triggering key from physical keyboard is listened to, calling
The button with perform function key assignments of the dummy keyboard, performs the work(corresponding to the input button attribute of the input frame
Energy.
Scheme of the embodiment of the present invention is applicable on the various intelligent televisions that are inputted using entity physical keyboard.When
So, it can also be applicable on the other display equipment with intelligent television function, the embodiment of the present invention is illustrated with intelligent television.
Wherein, object keyboard can include the external connection keyboards such as PC keyboards, keyboard for remote control, cell phone keyboard, bluetooth keyboard.Perform triggering key
Can be the "enter" key" of the "enter" key" of physical keyboard, such as PC keyboards, or remote control ok keys.With perform function key assignments
Button can be done keys on Television Virtual keyboard, the present embodiment is illustrated with this.
Due to television system particularity, in prior art, TV input needs by dummy keyboard and coordinates distant
Control device directionkeys and ok keys are carried out, and because remote control ok keys are as the key assignments of physical keyboard "enter" key", in TV input frame
In press the two keys, system is all to recall dummy keyboard to input for user, and done keys are pressed in dummy keyboard, simply defeated
Enter focus character, therefore, existing intelligent television, which presses "enter" key" when being inputted using physical keyboard, can not perform phase on computer
The Enter functions of answering.
In the embodiment of the present invention, entity physical keyboard and dummy keyboard are mapped by the type of focusing, when pressing physics
During "enter" key" on keyboard, by the way that "enter" key" to be mapped to the done keys of dummy keyboard, so as to realize by after pressure "enter" key"
It can perform and enter network address, line feed, the function such as search, it is to avoid due to "enter" key" and remote control on the physical keyboard that is connected with TV
Upper ok keys key assignments conflict is defeated with the user for strengthening intelligent television input so as to realize into functions such as network address, line feed, search
Enter experience.
Specifically, first, intelligent television recalls the click event that module 201 detects whether user on input frame,
When intelligent television detects click event on input frame, input method dummy keyboard interface is recalled.
Wherein, intelligent television detects whether that the click event of user uses following scheme on input frame:
On intelligent television, any key that user presses after being detected through TV hardware end, is responsible for the driving meeting of the hardware
Key-press event is write into bottom layer driving file.Television system can pass through thread InputReader polls the bottom layer driving file, one
Denier, which detects bottom layer driving file, the renewal of key-press event, and the key-press event can be transmitted to event point by thread InputReader
With thread InputDispatcher.InputDispacher can will be transmitted to system windows, system window after key-press event preliminary treatment
Mouth continues to be transmitted to application, and key-press event is eventually given specific component and handled by application widget.
Input frame is clicked when listening to user, system is to respond the event and finally give input frame processing, is inputted
The press key message that the system that frame monitor receives is transmitted, can recall input method dummy keyboard, and it is virtual that focus is placed in into input method
Keyboard interface, can be when recalling input method dummy keyboard, by focal point to dummy keyboard as a kind of default treatment mode
The key assignments with perform function button(For TV, i.e., by the done keys of the dummy keyboard of focal point to TV),
Wherein, if it is except directionkeys key assignments and with perform function key that input frame monitor, which receives the press key message that system transmits,
The button of value(Such as ok keys on "enter" key" or remote control)Outside other keys, system can detect the key assignments number that press key message has
According to, judge which button user presses with this, and move the focus on done keys, can also be in focus not on done keys
When focusing be moved on done keys.
Judge whether monitor the key-press event of physical keyboard at input method dummy keyboard interface by monitoring module 202 afterwards.
As a kind of embodiment, system default TV has accessed physical keyboard.Certainly, as another embodiment,
System can detect whether TV has physical button access, if so, then monitoring pressing for physical keyboard at input method dummy keyboard interface
Key events.
When monitoring the key-press event of physical keyboard at input method dummy keyboard interface, first, system is in input method virtual key
On disk interface, the key-press event key assignments of detection user's input.
If the key-press event key assignments that system detectio is inputted to user is directionkeys key assignments, judge that user uses dummy keyboard
Inputted, and moving focal point is to the corresponding character position of dummy keyboard.If subsequently detecting user again presses remote control ok keys
Or the "enter" key" of physical keyboard(Key assignments is the same), then the focus character of dummy keyboard can be inputted to input frame.
If the system detects that the key-press event key assignments of user's input is not directionkeys, but character or the key assignments of function key
(Including all letters, symbol, space, delete key and shift key combinations etc.), then system judge that user has accessed physics
Keyboard is simultaneously inputted.
When judging that user inputted using physical keyboard, then system is moved dummy keyboard focus by focus module 203
Onto done keys.Wherein, the principle that system moves the focus to done keys is:
When system receives done key processes(Such as view View)After focus request, first check whether done keys have and can obtain
The attribute of focus, if so, then system can judge whether done buttons have parent view, parent view is referred to if this is regarded
Figure is embedded in other views, and what is be embedded into is called parent view Viewgroup, at least one parent view, due to application
Window is most basic view, therefore all views are all built-in application widget the inside.
If system judges that done buttons have parent view, meeting step-by-step recursion up sends focus request, all parents
View can be removed successively(unFocus)Drawn old focus chart is as untill no parent view.It is for clearance complete
Bi Hou, system again on done keys draw focus chart as.
The each button of dummy keyboard corresponds to a button assembly, and they are to have initialized when dummy keyboard is opened
Into, it can directly invoke to send request, and each button assembly is assigned a layout mark ID, and with this corresponding button
Component is in the position of whole virtual keyboard layout, and the lower right corner button of such as Television Virtual keyboard is correspondence done keys.
The present embodiment is attached to, when pressing physical keyboard character keys, the done groups initialized are actually called
Part, focus request is sent by done key views.
Then, system is asked according to focus, successively calls parent view, is up sent focus request, is removed dummy keyboard
Upper old button focus.
The corresponding layout mark ID of identification done keys, and the done keys of the corresponding placement positions of ID are identified in the layout afterwards
It is upper to draw new focus, finally move the focus on done keys.
After moving the focus on done keys, system continues to monitor key-press event, when listening to from physical keyboard
After the key-press event of the ok keys of "enter" key" or remote control, by calling performing module 204 to call the done keys of dummy keyboard, hold
Function corresponding to the input button attribute of row input frame.Such as, when being inputted if in text box, line feed function is realized;If
When being webpage input frame, then realize and enter network address function;If during search box, then realizing search keyword.
Specifically include:After the key-press event of ok keys of "enter" key" or remote control from physical keyboard is listened to, by institute
The ok keys of the "enter" key" or remote control of stating physical keyboard are mapped to the done keys of the dummy keyboard;Then the input is obtained
The default input button attribute of frame(Enter button attributes), the done keys of the dummy keyboard are triggered, the input frame is performed
Input the function corresponding to button attribute.
Wherein, input frame it is default input button attribute can be pre-set by user, such as " go ", " next ",
The attribute such as " done ", " search ", " send ";For the corresponding behavior of input button attribute definition of different input frames, i.e.,
Function, such as, the function of " go " attribute are defined as entering the Web page, and the function of " next " attribute is defined as jumping to next line,
The function of " search " attribute is defined as search, and the function of " send " attribute is defined as transmission etc..
User is pressed after the done keys of the ok keys triggering dummy keyboard of "enter" key" or remote control, you can enter program
The Enter behaviors made by oneself.
More specifically, when system listens to the key-press event of the ok keys of "enter" key" or remote control from physical keyboard
Afterwards, system detects the Enter button attributes that input frame is pre-set first, so that done keys are corresponding on matching virtual keyboard
Character, such as " go ", " next ", " done ", " search ", " send " are shown, and following several properties can be performed and is pre-defined
Good behavior.Such as:
In browser address bar, input frame Enter attributes are typically preset as " go ", and the function of go attributes is defined as entering
Webpage, such lower right corner " done " becomes " go " character, and at this moment system is detecting user and pressed the "enter" key" of physical keyboard
Afterwards, into the corresponding instruction of go attributes is performed, i.e., into corresponding web site.
In form page, Enter attributes are traditionally arranged to be " next ", and next attribute definitions are to jump to next line, system detectio
To the attribute, done keys become " next " character, and detection user is pressed after the "enter" key" of physical keyboard, can perform done keys
Next line is jumped in the instruction of next attributes.
Typically entering frame, Enter attributes be traditionally arranged to be " done ", done default definitions are to complete input, now right
Inferior horn done keys are shown " done " " character, entering method keyboard can be closed by being pressed when system detectio to user after "enter" key".
Frame is sent in message, Enter attributes are set to " send ", and being pressed when system detectio to user can send out after "enter" key"
Send the message of input.
Similarly, when system detectio to input frame Enter attributes is search, done shows that character becomes " search ",
At this moment detect user and press the search attributes instruction that done keys are performed after "enter" key".Input frame can be with self-defined search
Content and mode, so after search is pressed, system can enter customized search behaviors.Hereby it is achieved that electric
"enter" key" function when depending on being inputted using physical keyboard, user's input experience of enhancing intelligent television input.
The present embodiment is by such scheme, when intelligent television detects click event on input frame, recalls input method empty
Intend keyboard interface;Judge whether monitor the key-press event of physical keyboard at the input method dummy keyboard interface;When listening to thing
After the key-press event for managing keyboard, by the done keys of focal point to dummy keyboard;When listening to the "enter" key" from physical keyboard
Or after the key-press event of the ok keys of remote control, the done keys of the dummy keyboard are called, perform the input button of the input frame
Function corresponding to attribute, thus, by the position adjustment to input method focus, allows user to use PC physical keyboards on TV
In input process, input method dummy keyboard done keys are focused in real time, when user completes input, presses physical keyboard "enter" key",
Realize the perform function of "enter" key" on computer, it is to avoid due to ok on "enter" key" on the physical keyboard that is connected with TV and remote control
The conflict of key key assignments improves the key-input operation performance of intelligent television so as to realize into functions such as network address, line feed.
The preferred embodiments of the present invention are above are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or the flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related technology necks
Domain, is included within the scope of the present invention.
Claims (10)
1. a kind of intelligent television input through keyboard control method, it is characterised in that including:
When intelligent television detects click event on input frame, input method dummy keyboard interface is recalled;
Judge whether listen to the key-press event of physical keyboard at the input method dummy keyboard interface;
After the key-press event of physical keyboard is listened to, focal point to dummy keyboard had into pressing for perform function key assignments
Key;
After the key-press event of the execution triggering key from physical keyboard is listened to, having for the dummy keyboard is called to perform work(
The button of energy key assignments, performs the function corresponding to the input button attribute of the input frame.
2. according to the method described in claim 1, it is characterised in that described to listen to the execution triggering key from physical keyboard
Key-press event after, call the button with perform function key assignments of the dummy keyboard, the input for performing the input frame is pressed
The step of function corresponding to key attribute, includes:
After the key-press event of the execution triggering key from physical keyboard is listened to,
Obtain the default input button attribute of the input frame;
The button with perform function key assignments of the dummy keyboard is triggered, the input button attribute institute for performing the input frame is right
The function of answering.
3. method according to claim 2, it is characterised in that the execution triggering key is on "enter" key" or remote control
Ok keys, the button with perform function key assignments is done keys, the function corresponding to the input button attribute of the input frame
Including:Enter the Web page, enter a new line, search for and/or close input method dummy keyboard.
4. method according to claim 3, it is characterised in that the step of the default input button attribute of acquisition input frame
After rapid, in addition to:
According to the default input button attribute of the input frame, the button with perform function key assignments of the dummy keyboard is matched
Display character, and show corresponding display character on the button with perform function key assignments of the dummy keyboard.
5. the method according to any one of claim 1-4, it is characterised in that the judgement is in input method dummy keyboard circle
The step of whether face listens to the key-press event of physical keyboard includes:
On the input method dummy keyboard interface, the key-press event key assignments of detection user's input;
If detecting the key-press event key assignments for directionkeys key assignments, judge that user is inputted using dummy keyboard;
If it is character or the key assignments of function key to detect the key-press event key assignments, judge that user has accessed physical keyboard simultaneously
Input.
6. method according to claim 5, it is characterised in that described after the key-press event of physical keyboard is listened to, will
Focal point to dummy keyboard the button with perform function key assignments the step of include:
After the key-press event of physical keyboard is listened to, the button with perform function key assignments after initialization is called, tool is received
The focus request that the button process for having perform function key assignments is sent;
Asked according to the focus, successively remove old button focus on the dummy keyboard;
The corresponding layout mark ID of button of the identification with perform function key assignments, and in the corresponding placement positions of layout mark ID
The button with perform function key assignments on draw new focus.
7. a kind of intelligent television of control keyboard input, it is characterised in that including:
Module is recalled, for being detected on the input frame of intelligent television during click event, input method dummy keyboard interface is recalled;
Module is monitored, the key-press event for monitoring physical keyboard at the input method dummy keyboard interface;
Focus module, for after the key-press event of physical keyboard is listened to, having for focal point to dummy keyboard to be performed
The button of function key assignments;
Performing module is called, for after the key-press event of the execution triggering key from physical keyboard is listened to, calling the void
Intend the button with perform function key assignments of keyboard, perform the function corresponding to the input button attribute of the input frame.
8. intelligent television according to claim 7, it is characterised in that
It is described to call performing module, it is additionally operable to after the key-press event of the execution triggering key from physical keyboard is listened to;Obtain
The default input button attribute of input frame;The button with perform function key assignments of the dummy keyboard is triggered, institute is performed
State the function corresponding to the input button attribute of input frame.
9. intelligent television according to claim 8, it is characterised in that
It is described to call performing module, it is additionally operable to, according to the default input button attribute of the input frame, match the dummy keyboard
The button with perform function key assignments display character, and on the button with perform function key assignments of the dummy keyboard
Show corresponding display character.
10. the intelligent television according to any one of claim 7-9, it is characterised in that
The monitoring module, is additionally operable on the input method dummy keyboard interface, the key-press event key assignments of detection user's input;
If detecting the key-press event key assignments for directionkeys key assignments, judge that user is inputted using dummy keyboard;If detecting
The key-press event key assignments is character or the key assignments of function key, then judges that user has accessed physical keyboard and inputted;It is described poly-
Burnt module, is additionally operable to after the key-press event of physical keyboard is listened to, call initialization after have perform function key assignments by
Key, the focus request that the button process with perform function key assignments that receives is sent;Asked, successively removed described according to the focus
Old button focus on dummy keyboard;The corresponding layout mark ID of button of the identification with perform function key assignments, and in the layout
New focus is drawn on the button with perform function key assignments of the corresponding placement positions of mark ID.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310733258.8A CN103686289B (en) | 2013-12-26 | 2013-12-26 | Intelligent television input through keyboard control method and intelligent television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310733258.8A CN103686289B (en) | 2013-12-26 | 2013-12-26 | Intelligent television input through keyboard control method and intelligent television |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103686289A CN103686289A (en) | 2014-03-26 |
CN103686289B true CN103686289B (en) | 2017-11-03 |
Family
ID=50322359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310733258.8A Expired - Fee Related CN103686289B (en) | 2013-12-26 | 2013-12-26 | Intelligent television input through keyboard control method and intelligent television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103686289B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104007837A (en) * | 2014-05-09 | 2014-08-27 | 北京航天发射技术研究所 | Keyboard input method of control system display control terminal |
CN105516765A (en) * | 2014-09-25 | 2016-04-20 | 阿里巴巴集团控股有限公司 | Button matching method and device and signal processing method and device of remote controller |
CN105992066B (en) * | 2015-02-13 | 2019-07-02 | Tcl集团股份有限公司 | Character input method and character input device applied to intelligent equipment |
CN106060618B (en) * | 2016-06-20 | 2019-12-27 | 深圳Tcl数字技术有限公司 | Character input method and system of smart television |
CN107168549B (en) * | 2017-04-13 | 2021-11-09 | 深圳Tcl数字技术有限公司 | Input method, display device and computer-readable storage medium |
CN107396161A (en) * | 2017-08-30 | 2017-11-24 | 北京酷我科技有限公司 | A kind of data inputting method for intelligent television App keyboard layouts |
CN107426597A (en) * | 2017-08-30 | 2017-12-01 | 北京酷我科技有限公司 | A kind of intelligent television App keyboard layout input methods |
CN107509099B (en) * | 2017-08-30 | 2022-07-08 | 北京酷我科技有限公司 | Method for optimizing layout of App keyboard of smart television |
CN107577358A (en) * | 2017-09-12 | 2018-01-12 | Tcl海外电子(惠州)有限公司 | Dummy keyboard input method, device and computer-readable recording medium |
CN108124174B (en) * | 2018-02-13 | 2020-11-20 | 海信视像科技股份有限公司 | Television and television application control method and device thereof |
CN109343923B (en) * | 2018-09-20 | 2023-04-07 | 聚好看科技股份有限公司 | Method and equipment for zooming user interface focus frame of intelligent television |
CN109646944B (en) * | 2018-12-20 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Control information processing method, control information processing device, electronic equipment and storage medium |
CN111770369A (en) * | 2020-05-25 | 2020-10-13 | 广州视源电子科技股份有限公司 | Remote control method, device, storage medium and terminal |
CN113468620B (en) * | 2021-07-21 | 2022-09-06 | 赞同科技股份有限公司 | Method and device for realizing safety keyboard |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102298497A (en) * | 2011-08-12 | 2011-12-28 | 北京天地云箱科技有限公司 | Method for inputting character on embedded equipment and system |
KR20120100655A (en) * | 2011-03-04 | 2012-09-12 | 컨스핀 주식회사 | System and method for inputting combination-type character on virtual keyboard using movement sensor and touch sensor |
CN102819402A (en) * | 2012-08-23 | 2012-12-12 | 魏新成 | Method for searching keyboard directly through right-click search bar after singly clicking right click of mouse |
CN102905182A (en) * | 2011-07-26 | 2013-01-30 | 联想(北京)有限公司 | Input method, intelligent television and intelligent interaction system |
CN103379370A (en) * | 2012-04-27 | 2013-10-30 | 纬创资通股份有限公司 | Intelligent television system, intelligent television, mobile device and input operation method |
CN103475926A (en) * | 2013-09-13 | 2013-12-25 | 深圳好视网络科技有限公司 | Input method implementation method and control system based on set top box equipment |
-
2013
- 2013-12-26 CN CN201310733258.8A patent/CN103686289B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120100655A (en) * | 2011-03-04 | 2012-09-12 | 컨스핀 주식회사 | System and method for inputting combination-type character on virtual keyboard using movement sensor and touch sensor |
CN102905182A (en) * | 2011-07-26 | 2013-01-30 | 联想(北京)有限公司 | Input method, intelligent television and intelligent interaction system |
CN102298497A (en) * | 2011-08-12 | 2011-12-28 | 北京天地云箱科技有限公司 | Method for inputting character on embedded equipment and system |
CN103379370A (en) * | 2012-04-27 | 2013-10-30 | 纬创资通股份有限公司 | Intelligent television system, intelligent television, mobile device and input operation method |
CN102819402A (en) * | 2012-08-23 | 2012-12-12 | 魏新成 | Method for searching keyboard directly through right-click search bar after singly clicking right click of mouse |
CN103475926A (en) * | 2013-09-13 | 2013-12-25 | 深圳好视网络科技有限公司 | Input method implementation method and control system based on set top box equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103686289A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103686289B (en) | Intelligent television input through keyboard control method and intelligent television | |
CN102664983B (en) | Method and device for implementation of one touch dial | |
CN102625010B (en) | Eye-Free control method of television by using touch screen phone | |
CN102929425B (en) | A kind of touch key control method and device | |
CN102637127B (en) | Method for controlling mouse modules and electronic device | |
CN103561338B (en) | Instruction mode switching method and device based on intelligent television interface | |
CN103150132A (en) | Screen transmission method and electronic equipment | |
CN106294609A (en) | page loading method and device | |
CN101505386A (en) | Implementing method for transferability of household electrical appliance user operation interface | |
CN105204661B (en) | The filter method and device of the shielding word of input method | |
CN102629157A (en) | Message conversion method and device | |
WO2017156983A1 (en) | List callup method and device | |
CN105279477A (en) | Electronic device having fingerprint sensing function and call method of application program thereof | |
CN101788997A (en) | Website access method for network television browser | |
CN103747308A (en) | Method and system for controlling smart television with analog keys, and mobile terminal | |
CN102364957A (en) | Method, device and equipment for playing internet videos | |
CN103970839A (en) | Method for controlling webpage browsing through voice | |
CN105224335A (en) | A kind of control method of Automatic clearance terminal device, system and terminal device | |
US11455071B2 (en) | Layout method, device and equipment for window control bars | |
CN103561347A (en) | Shortcut menu generation method and device based on browser | |
CN102957681A (en) | Embedded browser, intelligent household appliance and intelligent system of internet of things | |
CN1963755A (en) | Control apparatus and method of GUI interface of key-control-type apparatus | |
CN105824401A (en) | Mobile terminal control method and mobile terminal thereof | |
CN105892892A (en) | Control method of key position setting in mobile terminal on the basis of Android system | |
CN103336666A (en) | HID one-touch internet access method and HID using same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171103 |
|
CF01 | Termination of patent right due to non-payment of annual fee |