CN107219940B - Method for converting operation events of air mouse keys and remote control keys and control equipment - Google Patents

Method for converting operation events of air mouse keys and remote control keys and control equipment Download PDF

Info

Publication number
CN107219940B
CN107219940B CN201710210242.7A CN201710210242A CN107219940B CN 107219940 B CN107219940 B CN 107219940B CN 201710210242 A CN201710210242 A CN 201710210242A CN 107219940 B CN107219940 B CN 107219940B
Authority
CN
China
Prior art keywords
event
operation event
key
mouse
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710210242.7A
Other languages
Chinese (zh)
Other versions
CN107219940A (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology 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

The application discloses a method for converting operation events of a mouse button and a remote control button and control equipment. By applying the technical scheme, when the operation instruction of the first operation event is received, the conversion processing operation between the first operation event and the second operation event can be performed according to the corresponding conversion rule. Due to the settable content of the conversion rule and the convenience of switching between different application scenes, the problem that an operation event is fixedly converted into another defined operation event in any scene after the determination of a conversion relation is avoided. Therefore, the method for converting the operation events of the air mouse button and the remote control button can be set according to the requirements, and the conversion process is flexible.

Description

Method for converting operation events of air mouse keys and remote control keys and control equipment
Technical Field
The application relates to the technical field of electronics, in particular to a method for converting operation events of a mouse button and a remote control button. The application also relates to a control device.
Background
At present, along with the continuous development of Android (Android) technology, the customization of products is more and more concerned. The continuous demands of users on the use of products also make the usability of products more and more a core competitiveness.
With the dual technical progress of the complexity of the control function and the simplification of the device, more and more functions need to be realized in an easier and simpler control manner, so that different operation processes can be realized in different application scenes by the same operation manner. For example, the remote control itself has keys, the pressing or lifting of which corresponds to the triggering or ending of a particular key event, but since the remote control functions as a remote control in a particular scenario, the pressing or lifting of a key in turn corresponds to the clicking or releasing of a mouse.
In the prior art, a specific mapping rule is set, but the specific mapping rule only takes effect when a specified application scene is triggered, otherwise, if no corresponding application scene is triggered, the mapping rule is in an inactive state, for example, when a remote controller is set to start a mouse function, the pressing of a key in the remote controller is mapped to the clicking operation of a mouse.
However, when the mapping relation is once determined to be activated, the key event is converted into a defined click event only, and even normal key operation cannot be realized. Therefore, this operation event conversion method has a limit that is not flexible enough in the conversion process.
Disclosure of Invention
The application provides a conversion method and control equipment of operation events of a mouse button and a remote control button, which are used for solving the problems that the event conversion process is limited and inflexible in the prior art, and the conversion method comprises the following steps:
when an operation instruction of a first operation event is received, judging whether the first operation event needs to be converted into a second operation event or not based on page identification information of the current application;
if the judgment result is yes, converting the first operation event into a second operation event;
when the first operation event is specifically a key operation, the second operation event is a mouse operation, and when the first operation event is specifically a mouse operation, the second operation event is a key operation.
Correspondingly, the application also provides a control device, which comprises:
the receiving module is used for receiving an operation instruction of the first operation event;
the first judging module is used for judging whether the first operation event needs to be converted into a second operation event or not based on page identification information of the current application;
the conversion module is used for converting the first operation event into a second operation event when the judging result of the first judging module is yes;
when the first operation event is specifically a key operation, the second operation event is a mouse operation, and when the first operation event is specifically a mouse operation, the second operation event is a key operation.
Therefore, by applying the technical scheme, the scene that the operation events of the air mouse button and the remote control button are possible to be converted can be converted and processed according to the corresponding conversion rule when the operation instruction of the first operation event is received. Due to the settable content of the conversion rule and the convenience of switching between different application scenes, the problem that an operation event is fixedly converted into another defined operation event in any scene after the determination of a conversion relation is avoided. Therefore, the method for converting the operation events of the air mouse button and the remote control button can be set according to the requirements, and the conversion process is flexible.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart diagram of a method of event conversion according to one embodiment of the present application.
FIG. 2 is a schematic flow diagram of a control module of one embodiment of the present application.
FIG. 3 is a schematic flow chart of a transition flow of events according to one embodiment of the present application.
Fig. 4 is a schematic block diagram of an apparatus of one embodiment of the present application.
Detailed Description
As described in the background, in the existing event conversion method, once the mapping relationship is determined, the key event is only converted into the defined click event in any scene. Such event conversion methods have limitations and are not flexible enough in the conversion process.
In view of this, the present application proposes a method for converting operation events of a mouse button and a remote control button, which can perform conversion processing operation between a first operation event and a second operation event according to corresponding conversion rules when receiving an operation instruction of the first operation event. Due to the settable content of the conversion rule and the convenience of switching between different application scenes, the problem that an operation event is fixedly converted into another defined operation event in any scene after the determination of a conversion relation is avoided. Therefore, the method for converting the operation events of the air mouse button and the remote control button can be set according to the requirements, and the conversion process is flexible. .
The application can be improved in the existing reading and mapping flow of click events. The existing mapping can be performed in the syngenezeButtonKeys method, and according to the processing rules of the traditional syngenezeButtonKeys method, we can obtain that the method simply maps an AMOTION_EVENT_BUTTON_BACK (representing a right mouse BUTTON), an AMOTION_EVENT_BUTTON_FORWARD (representing a fast mouse BUTTON) and an AMOTION_EVENT_BUTTON_MENU (representing a middle mouse BUTTON) into a BACK key, a FORWARD (fast FORWARD) key and a MENU (MENU) key in a key EVENT respectively. Therefore, this method has limitations in that the conversion process is not flexible enough.
As shown in fig. 1, a schematic flow chart of a method for converting an event according to an embodiment of the present application is provided. Specifically, the technical scheme of the application comprises the following steps:
s101, when an operation instruction of a first operation event is received, judging whether the first operation event needs to be converted into a second operation event or not based on page identification information of a current application.
In a specific application scenario, when the first operation event is specifically a key operation, the second operation event is a mouse operation, and when the first operation event is specifically a mouse operation, the second operation event is a key operation.
If yes, executing step S102;
if the determination result is negative, step S103 is performed.
The specific judging process of the step specifically comprises the following steps:
when an operation instruction of a first operation event is received, judging whether identification information of an application scene corresponding to the first operation event is matched with page identification information of a current application;
if so, determining that the first operation event does not need to be converted into a second operation event;
if not, it is determined that the first operational event requires conversion to a second operational event.
It should be understood that the present application may be modified during existing mapping procedures, or may employ new mapping methods, and the present application is not limited thereto.
The application may set the conversion information such that the conversion information can meet the conversion requirements of different scenes. An application may be set in a certain scenario where a click event of a mouse needs to be converted into a key event. For example, under a live interface on a television, a user is playing a television program in full screen, presses a confirmation key of a remote controller, and after receiving the confirmation key, the television side calls out a program list. In this way, the user can quickly switch channels by selecting a channel on the program listing. However, if the user is using the mouse function of the bluetooth remote controller at this time, the remote controller actually gives a click event of the mouse to the television side when the ok key of the remote controller is pressed. Thus, the television end cannot respond to the normal function of the confirmation key of the remote controller. After the user has to cancel the function of the mouse, the user can normally send the confirmation key to the television end by clicking the confirmation key of the remote controller, and then the television end responds to the function of the confirmation key. In the application, the application can set on the live interface, so that the click event of the mouse in the scene needs to be converted into a key event. Therefore, when the user uses the mouse function of the Bluetooth remote controller, the clicking event of the mouse can be converted into the confirm key without canceling the mouse function, so that the television end can respond to the function of the confirm key.
It should also be understood that the present application may be applied to a television end, and may also be applied to other devices.
Alternatively, as an embodiment, the set conversion information may be saved in the service inputmanager service of the system. In the method, the stored conversion information can be accessed from the C++ layer through JNI (Java Native Interface) technology, so that the set conversion information is obtained. The present application may also save and acquire conversion information of the setting by other save and acquire methods, which is not limited thereto.
The conversion information may include first conversion information for indicating whether the click event is converted to a key event. Alternatively, as an embodiment, in a specific implementation method, the first conversion information may be represented by a boolean variable, or may be represented by other representation methods, so long as it can indicate whether the click event is converted into a key event.
S102, converting the first operation event into a second operation event according to the conversion rule.
It should be noted that, before this step is executed, the method further includes:
judging whether the first operation event is the beginning or the ending of an operation period;
if the first operation event is the start of the operation period, the current operation period state is marked as a start state;
if the first operation event is the end of the operation period, the current operation period state is marked as an end state;
the method comprises the steps that when a key is pressed, the operation content of key operation corresponds to the beginning of a key operation period, when the key is lifted, the operation content of mouse operation corresponds to the end of the key operation period, when a mouse key is clicked, the operation content of mouse operation corresponds to the beginning of the mouse operation period, and when the mouse key is released, the operation content of mouse operation corresponds to the end of the mouse operation period.
S103, keeping the operation content of the first operation event unchanged.
It should be noted that the operation in this step further includes determining whether the current operation cycle state is an end state, and if not, indicating to end the current operation cycle.
It can be seen that the present application may convert a click event to a key event or vice versa in some scenarios. In other scenarios, no conversion is required. The event conversion method is not limited, can be freely set by application, and has flexible event conversion process.
The implementation of the event conversion method in the present application further includes other existing conventional steps, and the specific scheme of the present application will be described in detail below with specific reference to fig. 2 and 3 and the above-mentioned existing reading and mapping process of the click event.
In the event conversion method, a control module can be added in the system, and a conversion module is added in the existing reading and mapping flow of the click event. The control module is used for controlling whether the conversion module converts the click event into the key event and why the conversion is performed. The conversion module is used for carrying out event conversion under the control of the control module.
Specifically, as shown in fig. 2, fig. 2 is a schematic flow chart of a control module according to an embodiment of the present application. The control module may reside in a service, inputmanager service, of the system in which an interface is provided for use by an application. In this way, the application can set the conversion information (including the first conversion information and the target key value) through the interface, and the set conversion information can be saved in the inputmanger service.
The following interfaces and codes set whether to switch the left mouse button and the target key value to be switched, and the switching of the left mouse button is similar to the switching of other keys, so that repetition is avoided, and the application is not limited. The following is a detailed description taking the conversion of the left mouse button as an example.
The conversion parameter is first conversion information, and indicates whether the left mouse button performs event conversion. The keyCode parameter is a target key value, and indicates a key event to be converted by the left mouse button.
In the method, the control module sets left mouse button conversion, sets conversion information through a setMouseLeftButton method, and records the conversion information. In the method, the conversion information may include first conversion information and a target key value.
Alternatively, as an embodiment, the method in the present application may access the saved value from the c++ layer through JNI (Java Native Interface) technology, and the conversion module may access the conversion information set by the upper layer application. Thus, the control function of the control module on the conversion module is ensured.
As shown in fig. 3, the conversion module may exist in the inputread in the existing click event reading and mapping flow, and be invoked in the dispatch flow after the click event is read. The event conversion method in the application provides several interfaces for realizing the communication between the control module and the conversion process performed by the conversion module. The needledchangeleft method is used for acquiring conversion information, judging whether event conversion is needed or not and acquiring a target key value from the conversion information. The setIncycle method is used for setting click event conversion in the process. In this flow, the one-time key assignment flow starts with the ake_event_action_down state and ends with the ake_event_action_up state. The getIncycle method is used for acquiring whether the current state is in an event transition flow.
Specifically, as shown in fig. 3, fig. 3 is a schematic flow chart of a transition flow of events according to an embodiment of the present application. Comprising the following steps:
301, the conversion module receives a click event.
302, conversion information is acquired.
Specifically, after receiving a click event, the conversion module accesses the inputMangerservice by using the JNI technology through a needledChangeLeft method in the native InputManager of the C++ layer, thereby obtaining conversion information in the control module. The conversion information may include first conversion information, an original key value of the mouse, and a target key value of the target key.
303, it is determined whether conversion is required.
The conversion module judges whether conversion is needed according to the conversion information.
304, a synthenzeButtonKeysControl method is performed.
When the conversion module determines that conversion is required, the method proceeds to 304 to execute a synthenizer ButtonKeysControl method. The synthizeButtonKeysControl method can be described by the code above.
305, determining whether the event transition flow is in a start state.
Specifically, when a transition is required, step 304 is performed. In the synthenzeButtonKeysControl method, if the mouse left button (AKEY_EVENT_ACTION_DOWN) is pressed, the transition flow is in the start state, at which point step 306 is performed.
306, the set key dispatch begins.
Specifically, when it is determined in step 305 that the transition flow is in the start state, the setlncycle method in the native inputmanager is first invoked to set the flag in the key-in-dispatch period to true (true), which indicates that the round of key-dispatch has started.
307, key conversion.
After step 306, key conversion is performed, where the converted key value is a target key value obtained by the needledchangeleft method, and the state is ake_event_action_down.
308, send a key.
And calling a notifyKey method in the native input Manger to send out the converted keys, and finally sending the keys to an upper layer for processing.
Similarly, in the synthenzeButtonKeysControl method, if it is the sprung mouse left button (AKEY_EVENT_ACTION_UP), the transition flow is not in the start state, at which point step 309 is performed.
309, the set key dispatch is ended.
Specifically, when it is determined in step 305 that the transition flow is not in the start state, the setlncycle method in the native inputmanager is first called to set the flag in the key-in-dispatch period to true (false), and the flag indicates that the round of key-dispatch has ended.
310, key conversion.
After step 309, key conversion is performed, where the converted key value is a target key value obtained by the needledchangeleft method, and the state is ake_event_action_up.
311, send a key.
And calling a notifyKey method in the native input Manger to send out the converted keys, and finally sending the keys to an upper layer for processing.
In addition, in step 303, when the conversion module determines that conversion is not required according to the conversion information. Step 312 is performed.
312, determine whether the current state is in an event transition flow.
And if key conversion is not needed, judging whether the transmission period after the last conversion is finished by calling a getIncycle method in the native InputManager. If not, step 304 is performed. In the synthenzeButtonKeysControl method of 304, a key is sent, the key value is the mouse key value recorded before, the state is AKEY_EVENT_ACTION_UP, and then the round of sending cycle is ended.
Therefore, by applying the technical scheme of the application, when the operation instruction of the first operation event is received, the conversion processing operation between the first operation event and the second operation event can be performed according to the corresponding conversion rule. Due to the settable content of the conversion rule and the convenience of switching between different application scenes, the problem that an operation event is fixedly converted into another defined operation event in any scene after the determination of a conversion relation is avoided. Therefore, the method for converting the operation events of the air mouse button and the remote control button can be set according to the requirements, and the conversion process is flexible.
To achieve the above technical object, the present application further proposes an apparatus, as shown in fig. 4, including:
a receiving module 41, configured to receive an operation instruction of a first operation event;
a first judging module 42, configured to judge whether the first operation event needs to be converted into a second operation event based on page identification information where the current application is located;
a conversion module 43, configured to convert the first operation event into a second operation event according to the conversion rule when the determination result of the first determination module 42 is yes;
when the first operation event is specifically a key operation, the second operation event is a mouse operation, and when the first operation event is specifically a mouse operation, the second operation event is a key operation.
Preferably, the first judging module 42 is specifically configured to:
when an operation instruction of a first operation event is received, judging whether identification information of an application scene corresponding to the first operation event is matched with page identification information of a current application;
if so, determining that the first operation event does not need to be converted into a second operation event;
if not, it is determined that the first operational event requires conversion to a second operational event.
Preferably, the control device further comprises a status identification module 44 for:
before the conversion module converts the first operation event into a second operation event, judging whether the first operation event is the beginning or the ending of an operation period;
if the first operation event is the start of the operation period, the current operation period state is marked as a start state;
if the first operation event is the end of the operation period, the current operation period state is marked as an end state;
the method comprises the steps that when a key is pressed, the operation content of key operation corresponds to the beginning of a key operation period, when the key is lifted, the operation content of mouse operation corresponds to the end of the key operation period, when a mouse key is clicked, the operation content of mouse operation corresponds to the beginning of the mouse operation period, and when the mouse key is released, the operation content of mouse operation corresponds to the end of the mouse operation period.
Preferably, the control device further includes a second judging module 45, configured to:
and when the judging result of the first judging module 42 is no, keeping the operation content of the first operation event unchanged, judging whether the current operation period state is an ending state according to the state of the state identifying module, and if not, indicating that the current operation period is ended.
Therefore, by applying the technical scheme of the application, when the operation instruction of the first operation event is received, the conversion processing operation between the first operation event and the second operation event can be performed according to the corresponding conversion rule. Due to the settable content of the conversion rule and the convenience of switching between different application scenes, the problem that an operation event is fixedly converted into another defined operation event in any scene after the determination of a conversion relation is avoided. Therefore, the method for converting the operation events of the air mouse button and the remote control button can be set according to the requirements, and the conversion process is flexible.
From the above description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented in hardware, or may be implemented by means of software plus necessary general hardware platforms. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.), and includes several instructions for causing a computer device (may be a personal computer, a server, or a network device, etc.) to perform the methods described in various implementation scenarios of the present application.
Those skilled in the art will appreciate that the drawings are merely schematic illustrations of one preferred implementation scenario, and that the modules or flows in the drawings are not necessarily required to practice the present application.
Those skilled in the art will appreciate that modules in an apparatus in an implementation scenario may be distributed in an apparatus in an implementation scenario according to an implementation scenario description, or that corresponding changes may be located in one or more apparatuses different from the implementation scenario. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The foregoing application serial numbers are merely for description, and do not represent advantages or disadvantages of the implementation scenario.
The foregoing disclosure is merely a few specific implementations of the present application, but the present application is not limited thereto and any variations that can be considered by a person skilled in the art shall fall within the protection scope of the present application.

Claims (4)

1. The method for converting the operation event of the air mouse button and the remote control button is characterized by comprising the following steps of: setting conversion information according to conversion requirements of different scenes, and judging whether the first operation event needs to be converted into a second operation event or not based on page identification information of the current application when an operation instruction of the first operation event is received; if the judgment result is yes, converting the first operation event into a second operation event;
when the first operation event is specifically a key operation, the second operation event is a mouse operation, and when the first operation event is specifically a mouse operation, the second operation event is a key operation;
when receiving an operation instruction of a first operation event, judging whether the first operation event needs to be converted into a second operation event based on page identification information of a current application, wherein the method specifically comprises the following steps: when an operation instruction of a first operation event is received, judging whether identification information of an application scene corresponding to the first operation event is matched with page identification information of a current application; if so, determining that the first operation event does not need to be converted into a second operation event; if the first operation event does not match, determining that the first operation event needs to be converted into a second operation event;
before converting the first operation event into the second operation event according to the conversion rule, the method further comprises: judging whether the first operation event is the beginning or the ending of an operation period; if the first operation event is the start of the operation period, the current operation period state is marked as a start state; if the first operation event is the end of the operation period, the current operation period state is marked as an end state; the method comprises the steps that when a key is pressed, the operation content of key operation corresponds to the beginning of a key operation period, when the key is lifted, the operation content of mouse operation corresponds to the end of the key operation period, when a mouse key is clicked, the operation content of mouse operation corresponds to the beginning of the mouse operation period, and when the mouse key is released, the operation content of mouse operation corresponds to the end of the mouse operation period.
2. The method of claim 1, wherein the determining whether the first operational event requires a transition to a second operational event further comprises: if the judgment result is negative, keeping the operation content of the first operation event unchanged, and judging whether the current operation period state is an ending state or not;
if not, the end of the current operating cycle is indicated.
3. A control apparatus, characterized by comprising:
the receiving module is used for receiving an operation instruction of the first operation event;
the first judging module is used for judging whether the first operation event needs to be converted into a second operation event or not based on page identification information of the current application;
the conversion module is used for converting the first operation event into a second operation event when the judging result of the first judging module is yes;
when the first operation event is specifically a key operation, the second operation event is a mouse operation, and when the first operation event is specifically a mouse operation, the second operation event is a key operation;
the first judging module is specifically configured to: when an operation instruction of a first operation event is received, judging whether identification information of an application scene corresponding to the first operation event is matched with page identification information of a current application;
if so, determining that the first operation event does not need to be converted into a second operation event;
if the first operation event does not match, determining that the first operation event needs to be converted into a second operation event;
the system further comprises a state identification module for: before the conversion module converts the first operation event into a second operation event, judging whether the first operation event is the beginning or the ending of an operation period;
if the first operation event is the start of the operation period, the current operation period state is marked as a start state;
if the first operation event is the end of the operation period, the current operation period state is marked as an end state;
the method comprises the steps that when a key is pressed, the operation content of key operation corresponds to the beginning of a key operation period, when the key is lifted, the operation content of mouse operation corresponds to the end of the key operation period, when a mouse key is clicked, the operation content of mouse operation corresponds to the beginning of the mouse operation period, and when the mouse key is released, the operation content of mouse operation corresponds to the end of the mouse operation period.
4. The control device of claim 3, further comprising a second determination module configured to: and when the judging result of the first judging module is NO, keeping the operation content of the first operation event unchanged, judging whether the current operation period state is an ending state according to the state of the state identification module, and if not, indicating that the current operation period is ended.
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 CN107219940A (en) 2017-09-29
CN107219940B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN107219940A (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN111078343B (en) Screen capturing method and screen capturing device for mobile terminal and mobile terminal
US20160248843A1 (en) Data upload method using shortcut
US20230138804A1 (en) Enhanced video call method and system, and electronic device
CN107219940B (en) Method for converting operation events of air mouse keys and remote control keys and control equipment
CN105955769A (en) Method and apparatus for starting multimedia application
CN109672908A (en) A kind of method for protecting privacy, device and mobile terminal
CN113938733B (en) Shortcut key control method and device for remote control equipment, storage medium and device
CA3102425C (en) Video processing method, device, terminal and storage medium
KR101815957B1 (en) Method and server for providing user emoticon of online chat service
CN102243576A (en) Image forming apparatus and image forming method
CN106406709A (en) Picture processing method and device and terminal equipment
CN113190143A (en) Interface display method and device, electronic equipment and medium
WO2015131813A1 (en) Method and system for operating device
RU2566966C2 (en) Method and device for keystroke acceleration
CN115242456B (en) User license management system, method, device, electronic equipment and storage medium
CN108920333B (en) Event state monitoring method and event state monitor
CN102402570B (en) Data management device and recording medium
KR101454484B1 (en) Digital television to add annexation function and execution method of the annexation function
CN116225286A (en) Page jump control method, operating system, electronic device and storage medium
CN113691752A (en) Video acquisition method based on terminal equipment
CN109725966B (en) Mode conversion method, device, terminal equipment and storage medium
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN106484259A (en) Input method, device and equipment
CN107220008B (en) Storage space reservation method and device
CN111556180A (en) Number allocation method and related equipment

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
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.

GR01 Patent grant
GR01 Patent grant