CN107219940A - The conversion method and control device of a kind of sky mouse button and the Action Events of remote keying - Google Patents

The conversion method and control device of a kind of sky mouse button and the Action Events of remote keying Download PDF

Info

Publication number
CN107219940A
CN107219940A CN201710210242.7A CN201710210242A CN107219940A CN 107219940 A CN107219940 A CN 107219940A CN 201710210242 A CN201710210242 A CN 201710210242A CN 107219940 A CN107219940 A CN 107219940A
Authority
CN
China
Prior art keywords
action events
button
operation cycle
converted
sky mouse
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.)
Granted
Application number
CN201710210242.7A
Other languages
Chinese (zh)
Other versions
CN107219940B (en
Inventor
李双增
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201710210242.7A priority Critical patent/CN107219940B/en
Publication of CN107219940A publication Critical patent/CN107219940A/en
Application granted granted Critical
Publication of CN107219940B publication Critical patent/CN107219940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4221Dedicated function buttons, e.g. for the control of an EPG, subtitles, aspect ratio, picture-in-picture or teletext

Abstract

This application discloses the conversion method and control device of a kind of sky mouse button and the Action Events of remote keying.By the technical scheme of application the application, according to corresponding transformation rule, the translation processing operations between the first Action Events and the second Action Events can be carried out when receiving the operation instruction of the first Action Events.Due to the setting of transformation rule own content, and its convenience for switching between different application scene, it is to avoid after a kind of transformational relation is determined, under any scene, Action Events all can by fixed conversion into defined another Action Events the problem of.Therefore, the conversion method of this sky mouse button and the Action Events of remote keying can be configured as desired, and transfer process is flexible.

Description

The conversion method and control of a kind of sky mouse button and the Action Events of remote keying Equipment
Technical field
The application is related to electronic technology field, the conversion of the Action Events of more particularly to a kind of sky mouse button and remote keying Method.The application also relates to a kind of control device.
Background technology
At present, continuing to develop with Android (Android) technology, the customization of product increasingly attracts attention.User The continuous requirement used product, also causes the ease for use of product to increasingly become core competitiveness.
With the double technique progress that manipulation function is complicated and equipment itself is simplified, increasing function needs to get over Realized come easier control mode, therefore, same mode of operation, under different application scenarios, it is possible to realize not Same operation processing.For example, remote control itself has a button, the triggering for having corresponded to specific key-press event is pressed or lifted to button Or terminate, still, because remote control act as remote-controller function in concrete scene, so, button is pressed or lifted and right The click or release of mouse are answered.
In the prior art, there is provided specifically mapping ruler, but specific mapping ruler is only in specified application scenarios quilt It can just be come into force during triggering, if on the contrary, the triggering without corresponding application scenarios, mapping ruler is by the shape not being activated State, for example, when remote control is arranged to start sky mouse function, pressing for button will be mapped as the point of mouse in remote control Hit operation.
But, when the mapping relations once it is determined that activating, then key-press event all only can be converted into defined click thing Part, even normal button operation can not also be realized.Therefore, this Action Events conversion method tool has certain limitations, and is turning Change underaction in process.
The content of the invention
This application provides the conversion method and control device of a kind of sky mouse button and the Action Events of remote keying, use To solve the problem of event transfer process has limitation and underaction in the prior art, the conversion method includes following step Suddenly:
When receiving the operation instruction of the first Action Events, based on the page identification information residing for current application, judge Whether first Action Events need to be converted to the second Action Events;
If it is judged that being yes, first Action Events are converted into the second Action Events;
Wherein, when first Action Events are specially button operation, second Action Events operate for sky mouse, when When first Action Events are specially sky mouse operation, second Action Events are button operation.
Accordingly, the application also proposed a kind of control device, including:
Receiving module, the operation instruction for receiving the first Action Events;
First judge module, for based on the page identification information residing for current application, judging first Action Events Whether need to be converted to the second Action Events;
Modular converter, for when the judged result of first judge module is to be, first Action Events to be turned It is changed to the second Action Events;
Wherein, when first Action Events are specially button operation, second Action Events operate for sky mouse, when When first Action Events are specially sky mouse operation, second Action Events are button operation.
As can be seen here, by the technical scheme of application the application, deposited for the Action Events of sky mouse button and remote keying Possible scene is being changed, can carried out when receiving the operation instruction of the first Action Events, according to corresponding transformation rule Translation processing operations between first Action Events and the second Action Events.Due to the setting of transformation rule own content, And its convenience for switching between different application scene, it is to avoid after a kind of transformational relation is determined, under any scene, behaviour Make event all can by fixed conversion into defined another Action Events the problem of.Therefore, this sky mouse button and remote control are pressed The conversion method of the Action Events of key can be configured as desired, and transfer process is flexible.
Brief description of the drawings
, below will be in embodiment or description of the prior art in order to illustrate more clearly of the technical scheme of the embodiment of the present application The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the application Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the indicative flowchart of the conversion method of the event of the application one embodiment.
Fig. 2 is the indicative flowchart of the control module of the application one embodiment.
Fig. 3 is the indicative flowchart of the flow path switch of the event of the application one embodiment.
Fig. 4 is the schematic block diagram of the equipment of the application one embodiment.
Embodiment
As stated in the Background Art, in existing event conversion method, when mapping relations once it is determined that, then under any scene, Key-press event all only can be converted into defined click event.Such event conversion method has limitation, converted Underaction in journey.
In view of this, can be with present applicant proposes the conversion method of a kind of sky mouse button and the Action Events of remote keying When receiving the operation instruction of the first Action Events, according to corresponding transformation rule, the first Action Events and the second behaviour are carried out Make the translation processing operations between event.Due to the setting of transformation rule own content, and it is in different application scene Between the convenience that switches, it is to avoid after a kind of transformational relation is determined, under any scene, Action Events all can be by fixed conversion The problem of into defined another Action Events.Therefore, the conversion side of this sky mouse button and the Action Events of remote keying Method can be configured as desired, and transfer process is flexible..
The application can be improved in the reading of existing click event and mapping flow.Existing mapping can be Carried out in synthesizeButtonKeys methods, according to the processing of existing synthesizeButtonKeys methods rule, We can draw, this method be it is simple by AMOTION_EVENT_BUTTON_BACK (representing right mouse button), AMOTION_EVENT_BUTTON_FORWARD (representing mouse fast forward button) and AMOTION_EVENT_BUTTON_MENU (are represented Middle button of mouse) it is each mapped to BACK (return) key, FORWARD (F.F.) keys and MENU (menu) key in key-press event.Cause This, this method has limitation, transfer process underaction.
As shown in figure 1, the indicative flowchart of the conversion method for the event of the application one embodiment.Specifically, originally Application technical scheme comprises the following steps:
S101, when receiving the operation instruction of the first Action Events, based on the page identification information residing for current application, Judge whether first Action Events need to be converted to the second Action Events.
In specific application scenarios, when first Action Events are specially button operation, the second operation thing Part operates for sky mouse, and when first Action Events are specially sky mouse operation, second Action Events are button operation.
If it is judged that being yes, step S102 is performed;
If it is judged that being no, step S103 is performed.
Wherein, the specific deterministic process of this step is specifically included:
When receiving the operation instruction of the first Action Events, the application scenarios corresponding to first Action Events are judged Identification information whether matched with the page identification information residing for current application;
If it does, then determining that first Action Events need not be converted to the second Action Events;
If it does not match, determining that first Action Events need to be converted to the second Action Events.
It should be understood that the application can be improved in existing mapping process, it would however also be possible to employ new mapping method, this Application is not limited to this.
Using transitional information can be set so that the transitional information disclosure satisfy that the conversion requirements of different scenes.Using can To be arranged in some scene, the click event of mouse needs to be converted into key-press event.For example, live boundary on TV Under face, user just in played in full screen TV programme, presses the acknowledgement key of remote control, and television can be adjusted after acknowledgement key is received Go out the rendition list.So, user can be by selecting channel to carry out quick channel switch on the rendition list.But, if User now uses the sky mouse function of blue Tooth remote controller, then when pressing the determination key of remote control, the actual hair of remote control To television be mouse click event.So, television just cannot respond to the function of the normal acknowledgement key of remote control.User It must cancel after sky mouse function, clicking on the determination key of remote control just can normally send acknowledgement key to television, then television In response to determining that the function of key.In the application, using can be configured at live interface so that the click thing of mouse under the scene Part needs to be converted into key-press event.So, when user is in the sky mouse function using blue Tooth remote controller, it is not necessary to cancel sky mouse work( Can, it is possible to the click event of mouse is converted into determination key so that television is capable of the function of response confirmation key.
It should also be understood that the application can be applied in television, it can also apply in other equipment.
Alternatively, as one embodiment, the transitional information of setting can be stored in the service of system In InputManagerService.In the present processes, can by JNI (Java Native Interface) technology, Conducted interviews from the C++ layers of transitional information to preservation, so as to obtain the transitional information of the setting.The application can also be by other Preserve with acquisition methods to preserve and obtain the transitional information set, the application is not limited to this.
Transitional information can include being used to indicate whether click event is converted to the first transitional information of key-press event.It is optional Ground, as one embodiment, in concrete methods of realizing, first transitional information can be represented with Boolean type variable, can also Other method for expressing are used, as long as can indicate whether click event is converted to key-press event.
First Action Events, according to the transformation rule, are converted to the second Action Events by S102.
It should be noted that before this step is performed, in addition to:
It is the beginning or end in operation cycle to judge first Action Events;
If it is judged that the beginning for being the operation cycle for first Action Events, then identify current operation cycle shape State is beginning state;
If it is judged that the end for being the operation cycle for first Action Events, then identify current operation cycle shape State is done state;
Wherein, the operation content of the button operation is when pushing button, the beginning in correspondence button operation cycle is described to press The operation content of key operation is the end in correspondence button operation cycle when lifting button, and the operation content of the sky mouse operation is When clicking on mousebutton, the beginning in correspondence sky mouse operation cycle, when the operation content of the sky mouse operation is release mousebutton, The end in correspondence sky mouse operation cycle.
S103, keeps the operation content of first Action Events constant.
It should be noted that the operation of this step also includes judging whether current operation cycle state is done state, If it is not, indicating to terminate the current operation cycle.
As can be seen here, the application can in some scenarios, and the event of will click on is converted to key-press event, or by key-press event Be converted to click event.Under other scene, then it need not be changed.The event conversion method of the application is not by office Limit, can freely be set, the transfer process of event is more flexible by application.
In the application in the realization of the conversion method of event, in addition to other existing conventional steps, hereinafter will be specific Reading and mapping flow with reference to Fig. 2 and Fig. 3 and above-mentioned existing click event carry out detailed to the concrete scheme of the application Description.
In the event conversion method of the application, a control module can be added in systems, in existing click event Reading and mapping flow in add a modular converter.Control module is arrived for controlling modular converter whether to carry out click event The conversion of key-press event and conversion why key-press event.Modular converter is used under the control of control module, carries out event Conversion.
Specifically, as shown in Fig. 2 Fig. 2 is the indicative flowchart of the control module of the application one embodiment.Control mould Block be may reside in the service InputManagerService of system, and interface is provided in the service and is used to application.This Sample, using that can be configured by the interface to transitional information (including the first transitional information and target key value), by setting Transitional information can be stored in InputMangerService.
As lower interface and code are provided with whether change left mouse button and target key value to be converted, conversion left mouse button with Change other buttons similar, to avoid repeating, the application is not enumerated.Enter herein by taking the conversion of left mouse button as an example below Row is described in detail.
Wherein, convert parameters are the first transitional information, indicate whether left mouse button carries out event conversion.keyCode Parameter is target key value, indicates the key-press event that left mouse button is converted into.
In the method, control module sets left mouse button to convert, and is set and turned by setMouseLeftButton methods Information is changed, and records the transitional information.In the method, the transitional information can include the first transitional information and target key value.
Alternatively, as one embodiment, the method in the application can pass through JNI (Java Native Interface) technology, conducts interviews from the C++ layers of value to preservation, modular converter so that can have access to upper layer application setting Transitional information.This way it is ensured that control action of the control module to modular converter.
As shown in figure 3, modular converter may reside in the reading and mapping flow of existing click event In InputReader, distributing after the reading of click event is called in flow.Event conversion method in the application proposes several Individual interface is used for the transfer process for realizing that control module and the communication of modular converter and modular converter are carried out.Wherein, NeedChangeLeft methods are used to obtain transitional information, judge whether to need the conversion of carry out event and acquisition from transitional information Target key value.SetInCycle methods are used to set the conversion of click event to be in flow.It is individual in the flow, one-touch group Hair flow is started with AKEY_EVENT_ACTION_DOWN states, is terminated with AKEY_EVENT_ACTION_UP states. GetInCycle methods are used to obtain whether current state is in event flow path switch.
Specifically, as shown in figure 3, Fig. 3 is the indicative flowchart of the flow path switch of the event of the application one embodiment. Including:
301, modular converter receives click event.
302, obtain transitional information.
Specifically, modular converter passes through C++ layers after click event is received first with JNI technologies NeedChangeLeft methods in NativeInputManager access InputMangerService, so as to get control Transitional information in molding block.The transitional information can include the first transitional information, the original key assignments of mouse and target button Target key value.
303, judge whether to need conversion.
Modular converter judges whether to need conversion according to transitional information.
304, perform synthesizeButtonKeysControl methods.
When modular converter judges to need conversion, synthesizeButtonKeysControl methods are performed into 304. SynthesizeButtonKeysControl methods can see above code description.
305, judge whether event flow path switch is in beginning state.
Specifically, when needing to be changed, step 304 is performed.In synthesizeButtonKeysControl methods In, if the left mouse button (AKEY_EVENT_ACTION_DOWN) pressed, then the flow path switch is in beginning state, now Perform step 306.
306, set button to distribute beginning.
Specifically, when judging that flow path switch is in beginning state in step 305, call first The mark that setInCycle methods in NativeInputManager distributed button in the cycle is set to very (true), The mark, which indicates the wheel button and distributed, to be had begun to.
307, button conversion.
Button conversion is carried out after step 306, and the button value after conversion is to be obtained by needChangeLeft methods The target key value taken, state is AKEY_EVENT_ACTION_DOWN.
308, send button.
The notifyKey methods in NativeInputManger are called to send the button after conversion, final button Upper strata is sent to be handled.
Similar, in synthesizeButtonKeysControl methods, if the left mouse button (AKEY_ upspring EVENT_ACTION_UP), then the flow path switch is not at beginning state, now performs step 309.
309, set button to distribute end.
Specifically, when judging that flow path switch is not at beginning state in step 305, call first The mark that setInCycle methods in NativeInputManager distributed button in the cycle is set to very (false), the mark, which indicates the wheel button and distributed, is over.
310, button conversion.
Button conversion is carried out after step 309, the button value after conversion is to be obtained by needChangeLeft methods The target key value taken, state is AKEY_EVENT_ACTION_UP.
311, send button.
The notifyKey methods in NativeInputManger are called to send the button after conversion, final button Upper strata is sent to be handled.
In addition, in step 303, when modular converter is according to transitional information, judgement need not be changed.Perform step 312.
312, judge whether current state is in event flow path switch.
If button conversion need not be carried out, by calling the getInCycle methods in NativeInputManager Judge whether the transmission cycle after a upper conversion terminates.If it has not ended, performing step 304.304 In synthesizeButtonKeysControl methods, a button is sent, button value is the mouse key assignments recorded before, State is AKEY_EVENT_ACTION_UP, and then terminates this wheel transmission cycle.
As can be seen here, by the technical scheme of application the application, the operation instruction of the first Action Events can received When, according to corresponding transformation rule, carry out the translation processing operations between the first Action Events and the second Action Events.Due to turning Change the setting of regular own content, and its convenience for switching between different application scene, it is to avoid a kind of conversion Relation determine after, under any scene, Action Events all can by fixed conversion into defined another Action Events the problem of. Therefore, the conversion method of this sky mouse button and the Action Events of remote keying can be configured as desired, transfer process Flexibly.
To reach above technical purpose, the application also proposed a kind of equipment, as shown in figure 4, the equipment includes:
Receiving module 41, the operation instruction for receiving the first Action Events;
First judge module 42, for based on the page identification information residing for current application, judging the first operation thing Whether part needs to be converted to the second Action Events;
Modular converter 43, for when the judged result of first judge module 42 is to be, according to the transformation rule, First Action Events are converted into the second Action Events;
Wherein, when first Action Events are specially button operation, second Action Events operate for sky mouse, when When first Action Events are specially sky mouse operation, second Action Events are button operation.
It is preferred that, the first judge module 42, specifically for:
When receiving the operation instruction of the first Action Events, the application scenarios corresponding to first Action Events are judged Identification information whether matched with the page identification information residing for current application;
If it does, then determining that first Action Events need not be converted to the second Action Events;
If it does not match, determining that first Action Events need to be converted to the second Action Events.
It is preferred that, the control device, in addition to status indicator module 44, it is used for:
Before first Action Events are converted to the second Action Events by the modular converter, first behaviour is judged It is the beginning or end in operation cycle as event;
If it is judged that the beginning for being the operation cycle for first Action Events, then identify current operation cycle shape State is beginning state;
If it is judged that the end for being the operation cycle for first Action Events, then identify current operation cycle shape State is done state;
Wherein, the operation content of the button operation is when pushing button, the beginning in correspondence button operation cycle is described to press The operation content of key operation is the end in correspondence button operation cycle when lifting button, and the operation content of the sky mouse operation is When clicking on mousebutton, the beginning in correspondence sky mouse operation cycle, when the operation content of the sky mouse operation is release mousebutton, The end in correspondence sky mouse operation cycle.
It is preferred that, the control device, in addition to the second judge module 45, it is used for:
When the judged result of first judge module 42 is no, the operation content of first Action Events is kept not Become, and whether be done state according to the current operation cycle state of the condition adjudgement of the status indicator module, if it is not, Indicate to terminate the current operation cycle.
As can be seen here, by the technical scheme of application the application, the operation instruction of the first Action Events can received When, according to corresponding transformation rule, carry out the translation processing operations between the first Action Events and the second Action Events.Due to turning Change the setting of regular own content, and its convenience for switching between different application scene, it is to avoid a kind of conversion Relation determine after, under any scene, Action Events all can by fixed conversion into defined another Action Events the problem of. Therefore, the conversion method of this sky mouse button and the Action Events of remote keying can be configured as desired, transfer process Flexibly.
Through the above description of the embodiments, those skilled in the art can be understood that the application can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Understood based on such, this Shen Technical scheme please can be embodied in the form of software product, and the software product can be stored in a non-volatile memories Medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in, including some instructions are to cause a computer equipment (can be Personal computer, server, or network equipment etc.) perform method described in the application each implement scene.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for being preferable to carry out scene, module in accompanying drawing or Flow is not necessarily implemented necessary to the application.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into Row is distributed in the device of implement scene, can also carry out one or more dresses that respective change is disposed other than this implement scene In putting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
Above-mentioned the application sequence number is for illustration only, and the quality of implement scene is not represented.
Disclosed above is only several specific implementation scenes of the application, and still, the application is not limited to this, Ren Heben What the technical staff in field can think change should all fall into the protection domain of the application.

Claims (8)

1. the conversion method of a kind of sky mouse button and the Action Events of remote keying, it is characterised in that including:
When receiving the operation instruction of the first Action Events, based on the page identification information residing for current application, judge described Whether the first Action Events need to be converted to the second Action Events;
If it is judged that being yes, first Action Events are converted into the second Action Events;
Wherein, when first Action Events are specially button operation, second Action Events operate for sky mouse, when described When first Action Events are specially sky mouse operation, second Action Events are button operation.
2. according to the method described in claim 1, it is characterised in that described to receive the operation instruction of the first Action Events When, based on the page identification information residing for current application, judge whether first Action Events need to be converted to the second operation Event, is specifically included:
When receiving the operation instruction of the first Action Events, the mark of the application scenarios corresponding to first Action Events is judged Know whether information matches with the page identification information residing for current application;
If it does, then determining that first Action Events need not be converted to the second Action Events;
If it does not match, determining that first Action Events need to be converted to the second Action Events.
3. method according to claim 2, it is characterised in that described according to the transformation rule, described first is operated Event is converted to before the second Action Events, in addition to:
It is the beginning or end in operation cycle to judge first Action Events;
If it is judged that the beginning for being the operation cycle for first Action Events, then identifying current operation cycle state is Beginning state;
If it is judged that the end for being the operation cycle for first Action Events, then identifying current operation cycle state is Done state;
Wherein, the operation content of the button operation is when pushing button, the beginning in correspondence button operation cycle, the button is grasped The operation content of work is when lifting button, the end in correspondence button operation cycle, the operation content that the sky mouse is operated is click During mousebutton, the beginning in correspondence sky mouse operation cycle, when the operation content of the sky mouse operation is release mousebutton, correspondence The end in sky mouse operation cycle.
4. method according to claim 3, it is characterised in that described to judge whether first Action Events need conversion After the second Action Events, in addition to:
If it is judged that being no, keep the operation content of first Action Events constant, and judge the current operation cycle Whether state is done state;
If it is not, indicating to terminate the current operation cycle.
5. a kind of control device, it is characterised in that including:
Receiving module, the operation instruction for receiving the first Action Events;
First judge module, for whether based on the page identification information residing for current application, judging first Action Events Need to be converted to the second Action Events;
Modular converter, for when the judged result of first judge module is to be, first Action Events to be converted to Second Action Events;
Wherein, when first Action Events are specially button operation, second Action Events operate for sky mouse, when described When first Action Events are specially sky mouse operation, second Action Events are button operation.
6. control device according to claim 5, it is characterised in that first judge module, specifically for:
When receiving the operation instruction of the first Action Events, the mark of the application scenarios corresponding to first Action Events is judged Know whether information matches with the page identification information residing for current application;
If it does, then determining that first Action Events need not be converted to the second Action Events;
If it does not match, determining that first Action Events need to be converted to the second Action Events.
7. control device according to claim 6, it is characterised in that also including status indicator module, be used for:
Before first Action Events are converted to the second Action Events by the modular converter, the first operation thing is judged Part is the beginning or end in operation cycle;
If it is judged that the beginning for being the operation cycle for first Action Events, then identifying current operation cycle state is Beginning state;
If it is judged that the end for being the operation cycle for first Action Events, then identifying current operation cycle state is Done state;
Wherein, the operation content of the button operation is when pushing button, the beginning in correspondence button operation cycle, the button is grasped The operation content of work is when lifting button, the end in correspondence button operation cycle, the operation content that the sky mouse is operated is click During mousebutton, the beginning in correspondence sky mouse operation cycle, when the operation content of the sky mouse operation is release mousebutton, correspondence The end in sky mouse operation cycle.
8. control device according to claim 7, it is characterised in that also including the second judge module, be used for:
When the judged result of first judge module is no, keep the operation content of first Action Events constant, and Whether it is done state according to the current operation cycle state of the condition adjudgement of the status indicator module, if it is not, indicating Terminate the current operation cycle.
CN201710210242.7A 2017-03-31 2017-03-31 Method for converting operation events of air mouse keys and remote control keys and control equipment Active CN107219940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210242.7A CN107219940B (en) 2017-03-31 2017-03-31 Method for converting operation events of air mouse keys and remote control keys and control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210242.7A CN107219940B (en) 2017-03-31 2017-03-31 Method for converting operation events of air mouse keys and remote control keys and control equipment

Publications (2)

Publication Number Publication Date
CN107219940A true CN107219940A (en) 2017-09-29
CN107219940B CN107219940B (en) 2023-08-08

Family

ID=59927868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210242.7A Active CN107219940B (en) 2017-03-31 2017-03-31 Method for converting operation events of air mouse keys and remote control keys and control equipment

Country Status (1)

Country Link
CN (1) CN107219940B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362353A (en) * 2019-07-04 2019-10-22 Oppo广东移动通信有限公司 Peripheral hardware control method, peripheral controller, storage medium and electronic equipment
CN113617029A (en) * 2021-08-03 2021-11-09 网易(杭州)网络有限公司 Display control method, device, equipment and medium in game

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595224A (en) * 2011-11-01 2012-07-18 华为技术有限公司 Remote control method, remote controller, remote control response method and set top box
CN103561338A (en) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 Instruction mode switching method and device based on intelligent television interface
CN103561307A (en) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 Indication mode switching method and device based on browser
WO2015058443A1 (en) * 2013-10-25 2015-04-30 深圳创维-Rgb电子有限公司 Method and apparatus for positioning cursor in browser
CN105872671A (en) * 2015-12-11 2016-08-17 乐视致新电子科技(天津)有限公司 Sliding input method and device of smart television

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595224A (en) * 2011-11-01 2012-07-18 华为技术有限公司 Remote control method, remote controller, remote control response method and set top box
WO2015058443A1 (en) * 2013-10-25 2015-04-30 深圳创维-Rgb电子有限公司 Method and apparatus for positioning cursor in browser
CN103561338A (en) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 Instruction mode switching method and device based on intelligent television interface
CN103561307A (en) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 Indication mode switching method and device based on browser
CN105872671A (en) * 2015-12-11 2016-08-17 乐视致新电子科技(天津)有限公司 Sliding input method and device of smart television

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362353A (en) * 2019-07-04 2019-10-22 Oppo广东移动通信有限公司 Peripheral hardware control method, peripheral controller, storage medium and electronic equipment
CN113617029A (en) * 2021-08-03 2021-11-09 网易(杭州)网络有限公司 Display control method, device, equipment and medium in game

Also Published As

Publication number Publication date
CN107219940B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN103869761B (en) Household electric appliance control method and control system
CN102841732B (en) The method and device of task management in a kind of terminal
CN102576287B (en) For the method and apparatus creating combined user interface
CN103686275B (en) A kind of remote control device of smart television and its method to set up
CN110368676B (en) Touch information control method and device, storage medium and electronic equipment
US20170220102A1 (en) Method and device for implementing virtual button through camera, and computer-readable recording medium
CN107995513A (en) A kind of method of TV remote controller and its button multiplexing, storage medium
CN106713418A (en) Reset result confirmation method and apparatus, server and mobile terminal
CN107219940A (en) The conversion method and control device of a kind of sky mouse button and the Action Events of remote keying
CN104484038B (en) The control method and device of smart machine
CN103170136B (en) A kind of method and system being realized game control by Set Top Box
CN106878789A (en) A kind of definition method and apparatus of shortcut keys of remote controller
CN106406709A (en) Picture processing method and device and terminal equipment
CN104657125A (en) Information processing method and electronic device
CN112214774A (en) Permission setting method, file playing method and device and electronic equipment
CN104219435A (en) Data management device, data management method, information processing client, and computer-readable medium
WO2021012181A1 (en) Remote control mobile platform control method, and device and computer-readable storage medium
CN106604094B (en) Input method and system
CN102648617A (en) Mobile terminal device and mobile terminal device function setting method
CN105992039A (en) Television media device control device, system and method
CN105589591A (en) Remote control method and electronic device
CN108737870A (en) A kind of soft keyboard key assignments selection method and device
CN105045551A (en) Display apparatus and control method therefor
CN204442591U (en) The touch-control remote controller of function is confirmed with multiple spot
CN100562047C (en) A kind of universal control method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co.,Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant