CN108124179A - The method and system that focus switches between a kind of more controls - Google Patents
The method and system that focus switches between a kind of more controls Download PDFInfo
- Publication number
- CN108124179A CN108124179A CN201711338031.8A CN201711338031A CN108124179A CN 108124179 A CN108124179 A CN 108124179A CN 201711338031 A CN201711338031 A CN 201711338031A CN 108124179 A CN108124179 A CN 108124179A
- Authority
- CN
- China
- Prior art keywords
- key
- event
- control
- focus
- press event
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
Abstract
The invention discloses the methods that focus between a kind of more controls switches, and for solving the problems, such as that the operating procedure of response control in the prior art is more numerous and diverse, the method that focus switches between this more control includes step:S1:Receive the key-press event input signal of default remote controler;S2:According to the key-press event input-signal judging control focus of reception whether in the corresponding preset control of the key-press event;S3:If control focus in the corresponding preset control of the key-press event, performs the key-press event, if control focus performs preset algorithm and control focus is transferred to the corresponding preset control of the key-press event not in corresponding preset control;S4:The key-press event is simulated in the preset control, and performs the analogue-key event.Method using the present invention can reduce user's operation and save the time of user, provide more humane service to the user.
Description
Technical field
The present invention relates to the method and system that focus between control field operation more particularly to a kind of more controls switches.
Background technology
With the progress of science and technology, smart television, intelligent box is come on average family, then large-size screen monitors TV, and one aobvious
Showing on interface has multiple controls, because TV, unlike mobile phone (other touch-screens), user needs to be gone to manipulate this with remote controler
A control makes focus be moved on different controls, larger in screen at present inside some smart televisions or TV box
When, for the layout at this interface with regard to more complicated, the control of utilization just compares more, remote controller operation interface, is to need the interface
On some control first have to obtain focus, otherwise can not carry out the operation at interface.
Such as the Chinese patent of 103648040 A of Publication No. CN, disclose a kind of smart television application program option
Quick switching-over method and device, this method include:It receives control signal and parses;If analysis result refers to for the switching of option
Order, then obtain handover operation type;It is determined according to the current present option for obtaining operation focus and the handover operation type
Targets option;In the text display location of the control, the identification information of the present option is hidden, shows the targets option
Identification information;The mapping relations between the targets option and operation focus are established, so that the targets option is operated
Focus.Quick switching-over method using smart television application program option provided in an embodiment of the present invention is by same control
The switching between different options can be achieved, the area at interface, improves smart television where effectively reducing changeable option
User experience.
Above-mentioned patent provides a kind of quick switching-over method of smart television application program option, you can switches in an option
The switching of various options can be realized in control, all changeable options is avoided to be shown in together in a display interface, reduce
Option switches in the occupation proportion in entire display interface, promotes the user experience of smart television.Although patent disclosed above carries
A kind of switching method of option has been supplied, the step of multiple handoff options has been solved, but without solving after having switched option, still needs to
The switching of different classes of control focus is carried out, it is necessary to user's control focus is transferred on object space step by step,
Operating procedure is complicated, and user experience is bad, it is therefore desirable to design the method that focus between a kind of more controls shifts and be asked to solve this
Topic.
The content of the invention
The invention discloses the method and system that focus between a kind of more controls switches, to solve use of the prior art
The problem of family when operating target widget needs that control focus is moved in target widget step by step, it is disclosed by the invention more
The method and system that focus switches between control can be implemented without user and control focus is moved to target control step by step
It on part, forces control focus being switched in target widget on backstage, has saved the time of user, reduce complicated operation step
Suddenly.
In order to achieve the goal above, the present invention uses following technical scheme:
A kind of method that focus switches between more controls, including step:
S1:Receive the key-press event input signal of default remote controler;
S2:It is whether corresponding default in the key-press event according to the key-press event input-signal judging control focus of reception
Control;
S3:If control focus in the corresponding preset control of the key-press event, performs the key-press event, if control is burnt
Point in corresponding preset control, does not perform preset algorithm and control focus is transferred to the corresponding preset control of the key-press event;
S4:The key-press event is simulated in the preset control, and performs the analogue-key event.
Further, step S2 includes:
S21:According to key-press event described in the key-press event input-signal judging of reception;
S22:Obtain the event attribute of the key-press event;
S23:Judge the control focus whether in the corresponding preset control of the key-press event according to the event attribute.
Further, step S3 includes:
S31:If control focus in corresponding preset control, does not call requestFocus algorithms;
S32:RequestFocus algorithms are performed, the control focus is set to corresponding preset control.
Further, step S4 includes:
S41:Obtain the event attribute of the key-press event;
S42:Call default Instrumentation frames;
S43:The event attribute is imported the default Instrumentation frames, passes through the importing event category
The default Instrumentation frames of property, simulate the key-press event and perform.
Further, step S43 includes:
S431:The event attribute is imported the default Instrumentation frames, passes through the importing event category
The default Instrumentation frames of property, simulate the key-press event, re-write OnkeyUp events;
S432:Intercept the event attribute of the analogue-key event;
S433:Perform the event attribute of the interception of the analogue-key event.
The system that focus switches between a kind of more controls, including:
Signaling module is received, for receiving the key-press event input signal of default remote controler;
Judgment module, for according to the key-press event input-signal judging control focus of reception whether in the key-press event
Corresponding preset control;
Focus handover module, for when control focus is not in corresponding preset control, performing preset algorithm control is burnt
Point is transferred to the corresponding preset control of the key-press event;
Modeling event module for simulating the key-press event in the preset control, and performs the analogue-key event;
Further, the judgment module includes:
Key-press event unit is judged, for key-press event described in the key-press event input-signal judging according to reception;
First obtains event attribute unit, for obtaining the event attribute of the key-press event;
Position units are judged, for judging the control focus whether in the key-press event pair according to the event attribute
The preset control answered.
Further, focus handover module includes:
Algorithm unit is called, for when control focus is not in corresponding preset control, calling requestFocus algorithms;
Switch cell in focus, for performing requestFocus algorithms, the control focus is set to corresponding default control
Part.
Further, modeling event module includes:
Second event attribute acquiring unit, for obtaining the event attribute of the key-press event;
Invocation framenort unit, for calling default Instrumentation frames;
Analogue unit for the event attribute to be imported the default Instrumentation frames, passes through the importing institute
The default Instrumentation frames of event attribute are stated, the key-press event is simulated and performs.
Further, analogue unit includes:
OnkeyUp event elements are re-write, for the event attribute to be imported the default Instrumentation frames
Frame by the default Instrumentation frames of the importing event attribute, re-writes after simulating the key-press event
OnkeyUp events;
Interception unit, for intercepting the event attribute of the analogue-key event;
Execution unit, for performing the event attribute of the interception of the analogue-key event.
The invention has the advantages that by judging whether control focus is mutually tied in target widget with analogue-key event
It closes, realizes in control focus not when in target widget, switching focus is forced on backstage to target widget, and analogue-key thing
Part realizes the execution of control control, has saved user time and has reduced complex operations.
Description of the drawings
Fig. 1 is the method flow diagram one of focus switching between the more controls of the present invention;
Fig. 2 is the method flow diagram two of focus switching between the more controls of the present invention;
Fig. 3 is the system construction drawing one of focus switching between the more controls of the present invention;
Fig. 4 is the system construction drawing two of focus switching between the more controls of the present invention.
Specific embodiment
It is specific embodiments of the present invention and with reference to attached drawing below, technical scheme is further described,
But the present invention is not limited to these embodiments.
Embodiment one
A kind of method that focus switches between more controls is present embodiments provided, as shown in Figure 1, this method includes step:
S1:Receive the key-press event input signal of default remote controler;
S2:It is whether corresponding default in the key-press event according to the key-press event input-signal judging control focus of reception
Control;
S3:If control focus in the corresponding preset control of the key-press event, performs the key-press event, if control is burnt
Point in corresponding preset control, does not perform preset algorithm and control focus is transferred to the corresponding preset control of the key-press event;
S4:The key-press event is simulated in the preset control, and performs the analogue-key event.
The input signal of the key-press event from corresponding remote controler is received first, i.e. corresponding remote controler in the system
A key is pressed, can all have the corresponding i.e. above-mentioned input signal of a key assignments to be sent to system, then system can be according to the input signal
Corresponding key-press event processing is carried out, for example by return key, its key assignments is 4, it, can be into after 4 signal of system identification input
The function that row processing returns.
There is progress comprising many controls, relatively common control in the display interface of smart television or intelligent box
Item, list, text box etc..In order to improve the efficiency of the operation of user, it is assumed that there are list and progress bar control in an interface,
User needs to carry out operating list control by up and down arrow keys, and progress bar is controlled with left and right directions key.Therefore can first according to
The operation at family is judged that corresponding control focus whether or not in preset control, on list control press by current control focus
Left and right directions key, then may determine that, the control focus is not in preset control.
For example current control, on list control, the input signal received is up and down arrow keys, therefore is judged described
Control focus directly performs the key-press event in preset control, if currently on list control, the input that receives
Signal is left and right directions key, it is necessary first to it is i.e. above-mentioned to corresponding preset control to be adjusted control focus according to preset algorithm
Progress bar control.
Key-press event is simulated on progress bar control, and performs the key-press event, you can is realized on different controls
Switching between control focus.
The method that focus switches between a kind of more controls provided in this embodiment, realizes no longer corresponding in control focus
During preset control, say that control focus switches to corresponding preset control in background server by preset algorithm, then using pre-
If simulating key-press event in algorithm frame simulation preset control after handover and performing, realize user need to only operate once by
Key, you can realize the operation to target widget, saved the time, simplify operating procedure, improve user experience.
Embodiment two
A kind of method that focus switches between more controls is present embodiments provided, as shown in Fig. 2, this method compares embodiment
One S1:Receive the key-press event input signal of default remote controler;S2:According to the key-press event input-signal judging control of reception
Whether focus is in the corresponding preset control of the key-press event;S3:If control focus is in the corresponding default control of the key-press event
Part then performs the key-press event, if control focus performs preset algorithm and shift control focus not in corresponding preset control
To the corresponding preset control of the key-press event;S4:The key-press event is simulated in the preset control, and performs the simulation and presses
Key events.
Further, step S2 includes:
S21:According to key-press event described in the key-press event input-signal judging of reception;
S22:Obtain the event attribute of the key-press event;
S23:Judge the control focus whether in the corresponding preset control of the key-press event according to the event attribute.
Further, step S3 includes:
S31:If control focus in corresponding preset control, does not call requestFocus algorithms;
S32:RequestFocus algorithms are performed, the control focus is set to corresponding preset control.
Further, step S4 includes:
S41:Obtain the event attribute of the key-press event;
S42:Call default Instrumentation frames;
S43:The event attribute is imported the default Instrumentation frames, passes through the importing event category
The default Instrumentation frames of property, simulate the key-press event and perform.
Further, step S43 includes:
S431:The event attribute is imported the default Instrumentation frames, passes through the importing event category
The default Instrumentation frames of property, simulate the key-press event, re-write OnkeyUp events;
S432:Intercept the event attribute of the analogue-key event;
S433:Perform the event attribute of the interception of the analogue-key event.
Specific implementation step is:
After user presses corresponding remote controler, the key assignments of remote controler is converted into input signal and by infrared or bluetooth etc.
Mode is transferred to equipment end (smart television or TV box), and a Key Event event will be received in equipment end, each
All there are one Keycode for a KeyEvent events.Equipment terminates to user and presses the key assignments of remote controler afterwards, it is necessary to judge focus
Whether on target widget, i.e., the key-press event according to the key-press event input-signal judging of reception;It is pressed described in acquisition
The event attribute of key events, the attribute of the event can be up and down arrow keys either left and right directions key or return key etc., root
Judge the control focus whether in the corresponding preset control of the key-press event, such as the attribute of event according to the event attribute
For left and right directions key when, corresponding control be progress bar, then judge the control focus whether on progress bar control.
If focus is not on target widget, it is necessary to first focus is moved on to above target widget, is in the present embodiment
By calling requestFocus algorithms, control focus is adjusted to corresponding preset control, such as when the attribute of key-press event is
Left and right directions key, control focus is on list control at this time, it is therefore desirable to call requestFocus algorithms, control focus is existed
Backstage is adjusted on progress bar control, at this time under list control, when can realize reception vertical direction key events, is carried out following
Table switches, and when receiving left and right directions key events, carries out the left and right switching of progress bar under the list.
Open thread, by analogue-key Event Function, i.e., the button that analog subscriber has just operated, the step for be rear
Platform program realizes automatically, what user can't see on interface, i.e., when target widget gets focus, has first recorded user just
Operation obtains the Keycode of user, after taking Keycode, by the frame of the Instrumentation of Android,
The value of keycode imports the frame of the Instrumentation, it is possible to modeling event.Such as switch when control focus
To after progress bar control, the event attribute of the key-press event of analog subscriber, i.e., the left and right directions key that record user starts first
The event attribute is imported default Instrumentation frames, then by this by event attribute
Instrumentation frames carry out the left and right directions key events of analog subscriber, finally to specific interface, respond user's operation
Real event.If focus, on target widget, the corresponding event directly on interface need not switch focus and modeling event
Function.
Above-mentioned analog subscriber event, it is necessary to a new thread is reopened to operate, it otherwise may be in the progressive die
When plan event, it may appear that interim card or without response the problem of.
The real event of user's operation is responded, the rewriting OnkeyUp events inside interface are concretely comprised the following steps, in this method
The inside can intercept all keycode in addition to home keys, such as user has pressed the upper key of remote controler, and keycode is
20,20 are listened to inside onkeyup, then performs the operating method of upper key.
The method that focus switches between a kind of more controls provided in this embodiment, can be strong by requestFocus algorithms
It is about to control focus to be arranged in target widget, and passes through the button of virtual algorithm Instrumentation frame analog subscribers
Event realizes the switching for the control focus for carrying out another control to a control in background server, reduces user's operation
And user operation time has been saved, provide the service of more hommization to the user.
Embodiment three
The system that focus switches between a kind of more controls is present embodiments provided, as shown in figure 3, this structure includes:
Signaling module is received, for receiving the key-press event input signal of default remote controler;
Judgment module, for according to the key-press event input-signal judging control focus of reception whether in the key-press event
Corresponding preset control;
Focus handover module, for when control focus is not in corresponding preset control, performing preset algorithm control is burnt
Point is transferred to the corresponding preset control of the key-press event;
Modeling event module for simulating the key-press event in the preset control, and performs the analogue-key event;
The input signal that signaling module receives the key-press event from corresponding remote controler is received first, i.e., in the system
Corresponding remote controler presses a key, can all have the corresponding i.e. above-mentioned input signal of a key assignments to be sent to system, and then system can root
Corresponding key-press event processing is carried out according to the input signal, for example by return key, its key assignments is 4, the 4 of system identification input
After signal, the function of processing return can be carried out.
There is progress comprising many controls, relatively common control in the display interface of smart television or intelligent box
Item, list, text box etc..In order to improve the efficiency of the operation of user, it is assumed that there are list and progress bar control in an interface,
User needs to carry out operating list control by up and down arrow keys, and progress bar is controlled with left and right directions key.Therefore judgment module can be first
First judged according to the operation of user, whether corresponding control focus or not in preset control, and current control focus is in list
On control, left and right directions key is pressed, then may determine that, the control focus is not in preset control.
For example current control, on list control, the input signal received is up and down arrow keys, therefore is judged described
Control focus directly performs the key-press event in preset control, if currently on list control, the input signal that receives
For left and right directions key, it is necessary first to be adjusted control focus according to preset algorithm by focus handover module and be preset to corresponding
It is above-mentioned progress bar control on control.
By modeling event module simulation key-press event on progress bar control, and perform the key-press event, you can
The switching between control focus is realized on different controls.
The system that focus switches between a kind of more controls provided in this embodiment, realizes no longer corresponding in control focus
During preset control, say that control focus switches to corresponding preset control, Ran Houtong in background server by focus handover module
The key-press event of modeling event module simulation user is crossed, realizes that user need to only operate one-touch, you can realize to target widget
Operation, saved the time, simplified operating procedure, improved user experience.
Example IV
The system that focus switches between a kind of more controls is present embodiments provided, as shown in figure 4, the system compares embodiment
The reception signaling module of three kinds of offers, judgment module, focus handover module, modeling event module further include:
Further, the judgment module includes:
Key-press event unit is judged, for key-press event described in the key-press event input-signal judging according to reception;
First obtains event attribute unit, for obtaining the event attribute of the key-press event;
Position units are judged, for judging the control focus whether in the key-press event pair according to the event attribute
The preset control answered.
Further, focus handover module includes:
Algorithm unit is called, for when control focus is not in corresponding preset control, calling requestFocus algorithms;
Switch cell in focus, for performing requestFocus algorithms, the control focus is set to corresponding default control
Part.
Further, modeling event module includes:
Second event attribute acquiring unit, for obtaining the event attribute of the key-press event;
Invocation framenort unit, for calling default Instrumentation frames;
Analogue unit for the event attribute to be imported the default Instrumentation frames, passes through the importing institute
The default Instrumentation frames of event attribute are stated, the key-press event is simulated and performs.
Further, analogue unit includes:
OnkeyUp event elements are re-write, for the event attribute to be imported the default Instrumentation frames
Frame by the default Instrumentation frames of the importing event attribute, re-writes after simulating the key-press event
OnkeyUp events;
Interception unit, for intercepting the event attribute of the analogue-key event;
Execution unit, for performing the event attribute of the interception of the analogue-key event.
Specific embodiment is:
By the judgement key-press event unit in judgment module, pressed according to the key-press event input-signal judging of reception
Key events;Then event attribute unit is obtained by first, obtains the event attribute of the key-press event;Such as the attribute of event
For left and right directions key either up and down arrow keys or return key etc., then by judging position units, according to the event attribute
Judge the control focus whether in the corresponding preset control of the key-press event.Such as judge to receive the thing of left and right directions key
Whether the control focus of part is on corresponding progress bar control.If not existing, will according to focus handover module to its focus into
Row control switches, and first by calling algorithm unit, calls requestFocus algorithms;Then by switching cell in focus, hold
The control focus is adjusted to corresponding preset control by row requestFocus algorithms in background server by force.Such as button
The attribute of event should corresponding be progress bar control for left and right directions key, but control focus is on list control now, leads to
Background scheduling requestFocus algorithms are crossed, control target are adjusted to progress bar control on backstage, you can show in control focus
Progress bar control can be controlled under list control.
After the toggle control focus of backstage, you can by modeling event mould second event attribute acquiring unit in the block, obtain
Take the event attribute of the key-press event;Then by invocation framenort unit, default Instrumentation frames are called;
By analogue unit, the event attribute is imported the default Instrumentation frames, passes through the importing event category
The default Instrumentation frames of property, simulate the key-press event and perform.Wherein analogue unit, which further includes, re-writes
OnkeyUp event elements for the event attribute to be imported the default Instrumentation frames, pass through the importing institute
The default Instrumentation frames of event attribute are stated, OnkeyUp events are re-write after simulating the key-press event;It blocks
Unit is cut, for intercepting the event attribute of the analogue-key event;Execution unit, for performing blocking for the analogue-key event
The event attribute cut.Event in the analogue unit is the process of key-press event processing in fact, realizes analogue-key event
Operation afterwards.
The system that focus switches between a kind of more controls provided in this embodiment can by force will by focus handover module
Control focus is arranged in target widget, and passes through modeling event module, and the key-press event of analog subscriber is realized in background service
Device carries out a control switching of the control focus of another control, when reducing user's operation and having saved user's operation
Between, provide the service of more hommization to the user.
Specific embodiment described herein is only to spirit explanation for example of the invention.Technology belonging to the present invention is led
The technical staff in domain can do various modifications or additions to described specific embodiment or replace in a similar way
Generation, but without departing from spirit of the invention or beyond the scope of the appended claims.
Claims (10)
1. a kind of method that focus switches between more controls, which is characterized in that including step:
S1:Receive the key-press event input signal of default remote controler;
S2:According to the key-press event input-signal judging control focus of reception whether in the corresponding default control of the key-press event
Part;
S3:If control focus in the corresponding preset control of the key-press event, performs the key-press event, if control focus is not
In corresponding preset control, perform preset algorithm and control focus is transferred to the corresponding preset control of the key-press event;
S4:The key-press event is simulated in the preset control, and performs the analogue-key event.
2. the method that focus switches between a kind of more controls according to claim 1, which is characterized in that step S2 includes:
S21:According to key-press event described in the key-press event input-signal judging of reception;
S22:Obtain the event attribute of the key-press event;
S23:Judge the control focus whether in the corresponding preset control of the key-press event according to the event attribute.
3. the method that focus switches between a kind of more controls according to claim 1, which is characterized in that step S3 includes:
S31:If control focus in corresponding preset control, does not call requestFocus algorithms;
S32:RequestFocus algorithms are performed, the control focus is set to corresponding preset control.
4. the method that focus switches between a kind of more controls according to claim 1, which is characterized in that step S4 includes:
S41:Obtain the event attribute of the key-press event;
S42:Call default Instrumentation frames;
S43:The event attribute is imported the default Instrumentation frames, passes through the importing event attribute
Default Instrumentation frames, simulate the key-press event and perform.
5. the method that focus switches between a kind of more controls according to claim 1, which is characterized in that step S43 includes:
S431:The event attribute is imported the default Instrumentation frames, passes through the importing event attribute
Default Instrumentation frames, simulate the key-press event, re-write OnkeyUp events;
S432:Intercept the event attribute of the analogue-key event;
S433:Perform the event attribute of the interception of the analogue-key event.
6. a kind of system that focus switches between more controls, which is characterized in that including:
Signaling module is received, for receiving the key-press event input signal of default remote controler;
Whether judgment module corresponds to for the key-press event input-signal judging control focus according to reception in the key-press event
Preset control;
Focus handover module turns control focus for when control focus is not in corresponding preset control, performing preset algorithm
Move on to the corresponding preset control of the key-press event;
Modeling event module for simulating the key-press event in the preset control, and performs the analogue-key event.
7. the system that focus switches between a kind of more controls according to claim 6, which is characterized in that the judgment module
Including:
Key-press event unit is judged, for key-press event described in the key-press event input-signal judging according to reception;
First obtains event attribute unit, for obtaining the event attribute of the key-press event;
Position units are judged, for judging whether the control focus is corresponding in the key-press event according to the event attribute
Preset control.
8. the system that focus switches between a kind of more controls according to claim 6, which is characterized in that focus handover module
Including:
Algorithm unit is called, for when control focus is not in corresponding preset control, calling requestFocus algorithms;
Switch cell in focus, for performing requestFocus algorithms, the control focus is set to corresponding preset control.
9. the system that focus switches between a kind of more controls according to claim 6, which is characterized in that modeling event module
Including:
Second event attribute acquiring unit, for obtaining the event attribute of the key-press event;
Invocation framenort unit, for calling default Instrumentation frames;
Analogue unit for the event attribute to be imported the default Instrumentation frames, passes through the importing thing
The default Instrumentation frames of part attribute, simulate the key-press event and perform.
10. the system that focus switches between a kind of more controls according to claim 6, which is characterized in that analogue unit bag
It includes:
OnkeyUp event elements are re-write, for the event attribute to be imported the default Instrumentation frames,
By the default Instrumentation frames of the importing event attribute, re-write after simulating the key-press event
OnkeyUp events;
Interception unit, for intercepting the event attribute of the analogue-key event;
Execution unit, for performing the event attribute of the interception of the analogue-key event.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711338031.8A CN108124179A (en) | 2017-12-14 | 2017-12-14 | The method and system that focus switches between a kind of more controls |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711338031.8A CN108124179A (en) | 2017-12-14 | 2017-12-14 | The method and system that focus switches between a kind of more controls |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108124179A true CN108124179A (en) | 2018-06-05 |
Family
ID=62229129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711338031.8A Withdrawn CN108124179A (en) | 2017-12-14 | 2017-12-14 | The method and system that focus switches between a kind of more controls |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108124179A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110022492A (en) * | 2019-04-03 | 2019-07-16 | 杭州当贝网络科技有限公司 | Intelligent television terminal focus adaptation method and device |
CN110049374A (en) * | 2019-03-12 | 2019-07-23 | 青岛海信宽带多媒体技术有限公司 | A kind of focus frame determines method and device |
CN110187953A (en) * | 2019-06-05 | 2019-08-30 | 北京视游互动科技有限公司 | A kind of operation method and device of application program |
CN110532765A (en) * | 2019-07-09 | 2019-12-03 | 中移(杭州)信息技术有限公司 | Control method, terminal and the computer readable storage medium of application program |
-
2017
- 2017-12-14 CN CN201711338031.8A patent/CN108124179A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110049374A (en) * | 2019-03-12 | 2019-07-23 | 青岛海信宽带多媒体技术有限公司 | A kind of focus frame determines method and device |
CN110049374B (en) * | 2019-03-12 | 2021-06-29 | 青岛海信宽带多媒体技术有限公司 | Focus frame determination method and device |
CN110022492A (en) * | 2019-04-03 | 2019-07-16 | 杭州当贝网络科技有限公司 | Intelligent television terminal focus adaptation method and device |
CN110187953A (en) * | 2019-06-05 | 2019-08-30 | 北京视游互动科技有限公司 | A kind of operation method and device of application program |
CN110532765A (en) * | 2019-07-09 | 2019-12-03 | 中移(杭州)信息技术有限公司 | Control method, terminal and the computer readable storage medium of application program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108124179A (en) | The method and system that focus switches between a kind of more controls | |
CN101431566B (en) | Mobile terminal and method for providing user with shortcut operation | |
CN108282677A (en) | Realize that content throws method, throwing screen device and the system of screen by client | |
CN108366301A (en) | A kind of video suspension playback method based on Android | |
CN106383699A (en) | Application program interface display method and device | |
CN104049866A (en) | Mobile terminal and method and device for achieving screen splitting of mobile terminal | |
CN102629157B (en) | Message conversion method and device | |
CN108319151A (en) | Control method, device, system, mobile terminal and the storage medium of household appliance | |
CN102929650A (en) | Method and device for independently configuring application program running environment and mobile device | |
CN105430465B (en) | The switching method and handover control system of TV desktop system | |
CN106933450A (en) | A kind of control method and electronic equipment | |
CN110225154A (en) | Display control method, device and intelligent terminal | |
CN106448779B (en) | Master-control room of nuclear power plant screen inter-linked controlling method and device | |
CN103856798A (en) | Operation method and electronic equipment | |
CN106708533A (en) | Method for switching application programs and mobile terminal | |
CN106528055A (en) | Simultaneous-startup control method and device of application program, and mobile terminal | |
CN106648921A (en) | Method for achieving recording data share in Android system and electronic device | |
CN107037971A (en) | Application management device, mobile terminal and method | |
CN101714285A (en) | Method and system for controlling different home audio-visual devices through remote controller | |
CN104936041B (en) | A kind of method and system of customized set-top box status bar | |
CN109059178A (en) | Control method, device, air conditioner and the computer readable storage medium of air conditioner | |
CN105653246B (en) | A kind of implementation method and device of the horizontal tabulation in android system | |
CN108804628A (en) | A kind of image display method and terminal | |
CN112764891A (en) | Electronic terminal and method for controlling application | |
CN101155276A (en) | Display device for function menu dynamic switch and its implementing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201028 Address after: No. 2-3167, zone a, Nonggang City, No. 2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province Applicant after: Taizhou Jiji Intellectual Property Operation Co.,Ltd. Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666 Applicant before: Phicomm (Shanghai) Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180605 |
|
WW01 | Invention patent application withdrawn after publication |