CN106412654A - Remote controller control method and device based on android system - Google Patents

Remote controller control method and device based on android system Download PDF

Info

Publication number
CN106412654A
CN106412654A CN201610893236.1A CN201610893236A CN106412654A CN 106412654 A CN106412654 A CN 106412654A CN 201610893236 A CN201610893236 A CN 201610893236A CN 106412654 A CN106412654 A CN 106412654A
Authority
CN
China
Prior art keywords
remote control
touch
bluetooth
sampled data
time value
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.)
Pending
Application number
CN201610893236.1A
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201610893236.1A priority Critical patent/CN106412654A/en
Priority to PCT/CN2016/113020 priority patent/WO2018068413A1/en
Publication of CN106412654A publication Critical patent/CN106412654A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • 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/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • 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/42224Touch pad or touch panel provided on the remote control
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/30User interface
    • G08C2201/32Remote control based on movements, attitude of remote control device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)
  • Details Of Television Systems (AREA)

Abstract

The invention discloses a remote controller control method based on an android system. The remote controller control method based on the android system comprises the steps of initializing a touch board and a Bluetooth module of a remote controller and controlling the remote controller to be connected with a controlled device through Bluetooth; monitoring sampling data of the touch board of the remote controller and a time value of a timer in real time; and encapsulating the sampling data and the time value into a Bluetooth HID private protocol data packet and sending the data packet to the controller device through the Bluetooth module, thereby enabling the controlled device to analyze an operation instruction input by a user according to the sampling data and the time value. The invention also discloses a remote controller control device based on the android system. The technical scheme of the method and the device aims at solving the technical problem that an existing Bluetooth touch remote controller cannot process a complicated gesture and is slow in processing speed.

Description

Control method for remote controller based on Android system and device
Technical field
The present invention relates to remote control touch-control field, more particularly, to a kind of control method for remote controller based on Android system and dress Put.
Background technology
Popularization with Android system and application, the wireless input device of ARIXTRA is also on the increase, such as blue Tooth remote controller, Bluetooth keyboard etc..But, the touch function of bluetooth touch-control remote controller in the market can only use the keypad protocol of HID, It is necessary for requiring the CPU of remote control to take a substantial amount of time to carry out touch gestures identification, the gesture conversion that then will identify that The HID keyboard value of one-tenth standard is then forwarded to Android system so that existing bluetooth touch-control remote controller can not process the gesture of complexity And processing speed is slow.
Content of the invention
Present invention is primarily targeted at providing a kind of control method for remote controller based on Android system and device it is intended to solve Certainly existing bluetooth touch-control remote controller can not process gesture and the slow technical problem of processing speed of complexity.
For achieving the above object, a kind of of present invention offer includes following step based on the control method for remote controller of Android system Suddenly:
The touch pad of initial based remote controller and bluetooth module, and control remote control bluetooth connection controlled device;
The sampled data of real-time monitoring remote control touch pad and the time value of timer;
Sampled data and time value are packaged into bluetooth HID proprietary protocol packet and are sent to controlled by bluetooth module Equipment, so that described controlled device analyzes the operational order of user input according to described sampled data and time value.
Preferably, described sampled data includes bluetooth HID proprietary protocol coding, touch action coding, touch action level Codes co-ordinates and touch action vertical coordinate coding.
Preferably, described by sampled data and time value be packaged into bluetooth HID proprietary protocol packet and pass through bluetooth mould Block sends to controlled device, so that described controlled device refers to according to the operation that described sampled data and time value analyze user input The step of order includes:
Judge whether touch operation completes according to described touch action coding;
If so, sampled data and time value are packaged into bluetooth HID proprietary protocol packet and store to bluetooth module In FIFO buffer;
Described bluetooth module sends the described bluetooth HID proprietary protocol packet storing to controlled device, for described Controlled device analyzes the operational order of user input according to described sampled data and time value.
Preferably, described also included based on the control method for remote controller of Android system:
Obtain the touch information of remote control on & off switch, and judge whether remote control on & off switch is long pressed, if so, then control distant Control device shutdown.
Preferably, described timer is 32 bit timers, and the clock cycle is 1 millisecond.
Additionally, for achieving the above object, the present invention is also provided and a kind of is included based on the remote control control device of Android system:
Initialization module, the touch pad for initial based remote controller and bluetooth module, and control remote control bluetooth connection quilt Control equipment;
Monitoring modular, the sampled data for real-time monitoring remote control touch pad and the time value of timer;
Sending module, for being packaged into bluetooth HID proprietary protocol packet by sampled data and time value and passing through bluetooth Module sends to controlled device, so that described controlled device analyzes the operation of user input according to described sampled data and time value Instruction.
Preferably, described sampled data includes bluetooth HID proprietary protocol coding, touch action coding, touch action level Codes co-ordinates and touch action vertical coordinate coding.
Preferably, described sending module includes:
According to described touch action coding, judging unit, for judging whether touch operation completes;
Memory element, for when judging to have touch operation to complete, sampled data and time value being packaged into bluetooth HID private There is protocol data bag and store to bluetooth module FIFO buffer;
Transmitting element, sends the described bluetooth HID proprietary protocol packet storing to controlled for described bluetooth module Equipment, so that described controlled device analyzes the operational order of user input according to described sampled data and time value.
Preferably, described also included based on the remote control control device of Android system:
Shutdown module, for obtaining the touch information of remote control on & off switch, and when judging that remote control on & off switch is long pressed, Control remote control shutdown.
Preferably, described timer is 32 bit timers, and the clock cycle is 1 millisecond.
The technical scheme that the present invention provides passes through touch pad and the bluetooth module of initial based remote controller, and controls remote control blue Tooth connects controlled device;The sampled data of real-time monitoring remote control touch pad and the time value of timer;By sampled data and when Between value be packaged into bluetooth HID proprietary protocol packet and sent to controlled device, for described controlled device by bluetooth module Analyze the operational order of user input according to described sampled data and time value.By the remote control touch gestures data obtaining packing Send to controlled device so that remote control is not required to touch data is identified retransmiting, using controlled device come to touch handss Gesture is identified, and then alleviates the system burden of blue Tooth remote controller so that blue Tooth remote controller also can be processed to complicated gesture, carries High processing speed.
Brief description
Fig. 1 is the schematic flow sheet based on the control method for remote controller first embodiment of Android system for the present invention;
Fig. 2 is the present invention based on the transmission privately owned association of bluetooth HID in the control method for remote controller second embodiment of Android system The refinement schematic flow sheet of view packet step;
Fig. 3 is the schematic flow sheet based on the control method for remote controller 3rd embodiment of Android system for the present invention;
Fig. 4 is the high-level schematic functional block diagram based on the remote control control device first embodiment of Android system for the present invention;
Fig. 5 is the refinement function based on sending module in the remote control control device second embodiment of Android system for the present invention Module diagram;
Fig. 6 is the high-level schematic functional block diagram based on the remote control control device 3rd embodiment of Android system for the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein is used only for explaining the present invention, it is not intended to limit the present invention.
The present invention provides a kind of control method for remote controller based on Android system, with reference to Fig. 1, in one embodiment, this base Control method for remote controller in Android system includes:
S10, the touch pad of initial based remote controller and bluetooth module, and control remote control bluetooth connection controlled device;
In the present embodiment, the touch pad of described initial based remote controller and bluetooth module, as by the touch pad of remote control and Bluetooth module is reduced to original state, and controls remote control and the Bluetooth system of controlled device to set up bluetooth even by bluetooth module Connect.
S20, the sampled data of real-time monitoring remote control touch pad and the time value of timer;
Preferably, described timer is 32 bit timers, and the clock cycle is 1 millisecond, i.e. the timing of described 32 bit timers Unit is 1 millisecond.That is, when the current time data of described remote control is 100, as remote control is started shooting to current Time interval is 100 milliseconds, and then enables the time under described remote control accurate recording current touch operation, and touch operation Between time interval it is ensured that the reality of the accurate acquisition of touch information of described remote control touch pad and follow-up remote-controller function Existing.
In the present embodiment, described sampled data includes touch track and/or touches distance, in conjunction with the described touch pad of collection The time value of timer, subsequently can calculate touch speed and it is analyzed.
S30, by sampled data and time value be packaged into bluetooth HID proprietary protocol packet and by bluetooth module send to Controlled device, so that described controlled device analyzes the operational order of user input according to described sampled data and time value.
Specifically, when judging that described remote control has touch operation, then by the sampled data of remote control touch pad and time Value is packaged into bluetooth HID proprietary protocol packet, and is sent above-mentioned packet by the bluetooth module of remote control and set to controlled Standby Bluetooth system, for make described controlled device according to receive packet sampled data and time value are analyzed and Computing, and then the touch information of user is identified.
It should be noted that described packet includes sampled data and time value, wherein, described sampled data includes bluetooth HID proprietary protocol coding, touch action coding, touch action horizontal coordinate coding and touch action vertical coordinate coding.Described Packet is the packet of 10 bytes, including the bluetooth HID proprietary protocol data encoding of a byte, a byte Touch action encodes, the touch action horizontal coordinate coding of two bytes, the touch action vertical coordinate coding of two bytes, with And the timer periods Value Data of four bytes;And then enable described packet successfully to get around the standard agreement of bluetooth HID, will The sampled data of bluetooth touch-control remote controller and time value are packaged into HID proprietary protocol packet and are sent to controlled device, by quilt Control equipment to be analyzed computing to sampled data and time value.That is, described bluetooth touch-control remote controller is only responsible for tactile The information of touching is obtained, encapsulated and is sent, and need not be analyzed computing to touch information, significantly reduces bluetooth touch-control remote controller The processing load of CPU, simplifies the process step of bluetooth touch-control remote controller, and then also allows for described bluetooth touch-control remote controller pair Complicated gesture also can be obtained and be processed, and also improve the processing speed of bluetooth touch-control remote controller.
Wherein, above-mentioned touch action coding, can be defined as, and 1 expression is pressed, and 2 represent slip, and 3 expressions are lifted.
It should be noted that described in the present embodiment based on the controlled device of Android system include BlueDroid process and Input process, described BlueDroid process includes BlueDroid, EventThread and touch point buffer circle, described Input process includes EventHub and InputReader.Set to controlled when described bluetooth touch-control remote controller sends described packet Standby, described BlueDroid receives described packet, and described packet is stored in the buffer circle of touch point, meanwhile, Described, EventThread reads described packet, and it is bent that the point of reading is become finger to slide according to time order and function order restoring Line, from the angle analysis of vector velocity and movement locus and calculate touch track, identifies touch gestures, then by touch gestures It is converted into the Input Key value of Android system standard, Input Key value is write Input device node, then Input process meeting Read immediately, and broadcast to corresponding APP process.
The technical scheme that the present invention provides passes through touch pad and the bluetooth module of initial based remote controller, and controls remote control blue Tooth connects controlled device;The sampled data of real-time monitoring remote control touch pad and the time value of timer;By sampled data and when Between value be packaged into bluetooth HID proprietary protocol packet and sent to controlled device, for described controlled device by bluetooth module Analyze the operational order of user input according to described sampled data and time value.By the remote control touch gestures data obtaining packing Send to controlled device so that remote control is not required to touch data is identified retransmiting, using controlled device come to touch handss Gesture is identified, and then alleviates the system burden of blue Tooth remote controller so that blue Tooth remote controller also can be processed to complicated gesture, carries High processing speed.
Further, with reference to Fig. 2, based on above-described embodiment, in the present embodiment, above-mentioned steps S30 also include:
According to described touch action coding, S31, judges whether touch operation completes;
If so, sampled data and time value are packaged into bluetooth HID proprietary protocol packet and store to bluetooth mould by S32 In block FIFO buffer;
S33, described bluetooth module sends the described bluetooth HID proprietary protocol packet storing to controlled device, for Described controlled device analyzes the operational order of user input according to described sampled data and time value.
Specifically, the touch action coding in the sampled data according to monitoring judges whether touch operation completes, Ye Jitong Cross the touch action that touch action coding determines whether to lift;If so, then judge that touch operation completes, by adopting that monitoring obtains Sample data and time value are packaged into bluetooth HID proprietary protocol packet and store to bluetooth module FIFO buffer.Need into One step explanation, described touch action is to be judged within the default time, namely in timer default timing duration Inside determine whether the touch action lifted, obtain in this preset duration is that single lifts touch action or lifts twice Touch action, and then may determine that single-click operation or double click operation, in order to realize different operating functions.
Described FIFO buffer is a kind of buffer of first in first out, namely writes data in order, is sequentially read out counting According to for example, the data first of first write is read.In the present embodiment, described FIFO buffer can be to continuous data Enter row cache, prevent from losing data when carrying out storage operation, frequently bus operation can be avoided simultaneously, alleviate remote control CPU processing load, and allow remote manipulator system to carry out dma operation, substantially increase the transmission speed of data.
The bluetooth module of described remote control sends the bluetooth HID proprietary protocol packet of storage to controlled device, for Described controlled device is decoded to packet, analyzes the operation of user input according to the described sampled data receiving and time value Instruction.
It should be noted that when the sampled data according to Trackpad judges no touch operation, namely do not obtain corresponding Touch action encodes, then abandon the sampled data having obtained and time value, again monitors the sampled data of remote control touch pad With the time value of timer, until touch operation is had according to the touch action coding judgement reacquiring, then by sampled data and Time value is packaged into bluetooth HID proprietary protocol packet and stores to bluetooth module FIFO buffer, to guarantee subsequent operation The realization of function.
In the present embodiment, further provide according to when in sampled data, touch action coding determines whether touch operation Specific implementation step that is to say, that the described control method for remote controller based on Android system passes through once or multiple obtains The sampled data of remote control touch pad and the time value of timer, until judge there is touch operation, by sampled data and time value It is packaged into HID proprietary protocol packet to send to controlled device, for making the controlled device of described Android system according to reception Packet sampled data and time value are analyzed and computing, and then touch information is identified it is ensured that user's finger The effective operation touching.
Further, with reference to Fig. 3, based on above-described embodiment, in the present embodiment, the described remote control based on Android system Control method also includes:
S40, obtains the touch information of remote control on & off switch, and judges whether remote control on & off switch is long pressed, if so, then control Remote control shutdown processed.
Specifically, when described bluetooth touch-control remote controller completes the transmission of packet, then judge remote control on & off switch whether by Length is pressed, and when judging that described remote control on & off switch is long pressed, then controls remote control shutdown.Shut down in time by controlling remote control, The maloperation being avoided that false touch remote control and occurring, also can save the operation power consumption of described remote control.
It is understood that the on & off switch of described remote control can be physical button or membrane keyboard, and described on & off switch with The battery electrical connection of remote control.
In the present embodiment, information is pressed by the length obtaining remote control on & off switch, remote control can be controlled to shut down;Should illustrate , the on & off switch of described remote control can be, but not limited to only realize the shutdown of remote control, is touched by the difference obtaining on & off switch Touch information, remote control can be controlled to realize different functions.For example, obtain the double-click information of on & off switch, for controlling remote control Enter sleep state or release sleep state.
Or, by obtaining the different touch informations of on & off switch, can be realized different by remote control control controlled device Function.For example, in one embodiment, by obtain on & off switch click information, can by remote control control controlled Equipment is realized pause function or is released pause function;In another embodiment, by obtaining the double-click information of on & off switch, can To realize determining the function of current operation by remote control control controlled device.
It should be noted that when judging that remote control on & off switch is not long pressed, then returning to real-time monitoring remote control touch pad Sampled data and timer time value step, sampled data and time value are packaged into bluetooth HID proprietary protocol data Wrap and sent to controlled device by bluetooth module, judge whether remote control on & off switch is long pressed again;Until judging remote control When on & off switch is long pressed, then control remote control shutdown.
It is understood that by judging whether remote control on & off switch is long pressed, to control whether remote control shuts down;Pass through Obtain the touch information of remote control on & off switch, to judge that the operation of user is intended to, and then to execute different actions, to realize different work( Energy.In the present embodiment, long it is defined as controlling remote control shutdown by & off switch, namely only when collecting with the head of a household by & off switch Touch operation, remote control just can shut down, when not collecting the long touch operation by & off switch, you can thinks that user is not turned off distant The intention of control device, and then continue to obtain the sampled data of remote control touch pad and the time value of timer, execution is corresponding to be implemented , it is ensured that the gesture touch operation of user can be identified in time, the accuracy improving gesture touch operation identification is so that described for step Control method for remote controller based on Android system is more intelligent.
The present invention also provides a kind of remote control control device based on Android system, with reference to Fig. 4, in one embodiment, basis What invention provided is included based on the remote control control device of Android system:
Initialization module 10, the touch pad for initial based remote controller and bluetooth module, and control remote control bluetooth connection Controlled device;
In the present embodiment, the touch pad of described initial based remote controller and bluetooth module, as by the touch pad of remote control and Bluetooth module is reduced to original state, and controls remote control and the Bluetooth system of controlled device to set up bluetooth even by bluetooth module Connect.
Monitoring modular 20, the sampled data for real-time monitoring remote control touch pad and the time value of timer;
Preferably, described timer is 32 bit timers, and the clock cycle is 1 millisecond, i.e. the timing of described 32 bit timers Unit is 1 millisecond.That is, when the current time data of described remote control is 100, as remote control is started shooting to current Time interval is 100 milliseconds, and then enables the time under described remote control accurate recording current touch operation, and touch operation Between time interval it is ensured that the reality of the accurate acquisition of touch information of described remote control touch pad and follow-up remote-controller function Existing.
In the present embodiment, described sampled data includes touch track and/or touches distance, in conjunction with the described touch pad of collection The time value of timer, subsequently can calculate touch speed and it is analyzed.
Sending module 30, for being packaged into bluetooth HID proprietary protocol packet and by indigo plant by sampled data and time value Tooth module sends to controlled device, so that described controlled device analyzes the behaviour of user input according to described sampled data and time value Instruct.
Specifically, when judging that described remote control has touch operation, then by the sampled data of remote control touch pad and time Value is packaged into bluetooth HID proprietary protocol packet, and is sent above-mentioned packet by the bluetooth module of remote control and set to controlled Standby Bluetooth system, for make described controlled device according to receive packet sampled data and time value are analyzed and Computing, and then the touch information of user is identified.
It should be noted that described packet includes sampled data and time value, wherein, described sampled data includes bluetooth HID proprietary protocol coding, touch action coding, touch action horizontal coordinate coding and touch action vertical coordinate coding.Described Packet is the packet of 10 bytes, including the bluetooth HID proprietary protocol data encoding of a byte, a byte Touch action encodes, the touch action horizontal coordinate coding of two bytes, the touch action vertical coordinate coding of two bytes, with And the timer periods Value Data of four bytes;And then enable described packet successfully to get around the standard agreement of bluetooth HID, will The sampled data of bluetooth touch-control remote controller and time value are packaged into HID proprietary protocol packet and are sent to controlled device, by quilt Control equipment to be analyzed computing to sampled data and time value.That is, described bluetooth touch-control remote controller is only responsible for tactile The information of touching is obtained, encapsulated and is sent, and need not be analyzed computing to touch information, significantly reduces bluetooth touch-control remote controller The processing load of CPU, simplifies the process step of bluetooth touch-control remote controller, and then also allows for described bluetooth touch-control remote controller pair Complicated gesture also can be obtained and be processed, and also improve the processing speed of bluetooth touch-control remote controller.
Wherein, above-mentioned touch action coding, can be defined as, and 1 expression is pressed, and 2 represent slip, and 3 expressions are lifted.
It should be noted that described in the present embodiment based on the controlled device of Android system include BlueDroid process and Input process, described BlueDroid process includes BlueDroid, EventThread and touch point buffer circle, described Input process includes EventHub and InputReader.Set to controlled when described bluetooth touch-control remote controller sends described packet Standby, described BlueDroid receives described packet, and described packet is stored in the buffer circle of touch point, meanwhile, Described, EventThread reads described packet, and it is bent that the point of reading is become finger to slide according to time order and function order restoring Line, from the angle analysis of vector velocity and movement locus and calculate touch track, identifies touch gestures, then by touch gestures It is converted into the Input Key value of Android system standard, Input Key value is write Input device node, then Input process meeting Read immediately, and broadcast to corresponding APP process.
The technical scheme that the present invention provides passes through touch pad and the bluetooth module of initial based remote controller, and controls remote control blue Tooth connects controlled device;The sampled data of real-time monitoring remote control touch pad and the time value of timer;By sampled data and when Between value be packaged into bluetooth HID proprietary protocol packet and sent to controlled device, for described controlled device by bluetooth module Analyze the operational order of user input according to described sampled data and time value.By the remote control touch gestures data obtaining packing Send to controlled device so that remote control is not required to touch data is identified retransmiting, using controlled device come to touch handss Gesture is identified, and then alleviates the system burden of blue Tooth remote controller so that blue Tooth remote controller also can be processed to complicated gesture, carries High processing speed.
Further, refer to Fig. 5, based on above-described embodiment, in the present embodiment, described sending module 30 includes:
Judging unit 31, for determining whether touch operation according to described touch action coding;
Memory element 32, for when judging to have touch operation, sampled data and time value being packaged into bluetooth HID privately owned Protocol data bag simultaneously stores to bluetooth module FIFO buffer;
Transmitting element 33, sends the described bluetooth HID proprietary protocol packet storing to quilt for described bluetooth module Control equipment, so that described controlled device analyzes the operational order of user input according to described sampled data and time value.
Specifically, the touch action coding in the sampled data according to monitoring judges whether touch operation completes, Ye Jitong Cross the touch action that touch action coding determines whether to lift;If so, then judge that touch operation completes, by adopting that monitoring obtains Sample data and time value are packaged into bluetooth HID proprietary protocol packet and store to bluetooth module FIFO buffer.Need into One step explanation, described touch action is to be judged within the default time, namely in timer default timing duration Inside determine whether the touch action lifted, obtain in this preset duration is that single lifts touch action or lifts twice Touch action, and then may determine that single-click operation or double click operation, in order to realize different operating functions.
Described FIFO buffer is a kind of buffer of first in first out, namely writes data in order, is sequentially read out counting According to for example, the data first of first write is read.In the present embodiment, described FIFO buffer can be to continuous data Enter row cache, prevent from losing data when carrying out storage operation, frequently bus operation can be avoided simultaneously, alleviate remote control CPU processing load, and allow remote manipulator system to carry out dma operation, substantially increase the transmission speed of data.
The bluetooth module of described remote control sends the bluetooth HID proprietary protocol packet of storage to controlled device, for Described controlled device is decoded to packet, analyzes the operation of user input according to the described sampled data receiving and time value Instruction.
It should be noted that when judging unit 31 judges no touch operation according to the sampled data of Trackpad, Ye Jiwei Obtain corresponding touch action coding, then abandon the sampled data having obtained and time value, described distant based on Android system Control device control device re-executes the function of monitoring modular 20, until having touch according to the touch action coding judgement reacquiring Operation, then be packaged into bluetooth HID proprietary protocol packet by sampled data and time value and store to bluetooth module FIFO caching In device, to guarantee the realization of subsequent operation function.
In the present embodiment, further provide according to when in sampled data, touch action coding determines whether touch operation Specific implementation step that is to say, that the described remote control control device based on Android system passes through once or multiple obtains The sampled data of remote control touch pad and the time value of timer, until judge there is touch operation, by sampled data and time value It is packaged into HID proprietary protocol packet to send to controlled device, for making the controlled device of described Android system according to reception Packet sampled data and time value are analyzed and computing, and then touch information is identified it is ensured that user's finger The effective operation touching.
Further, further, refer to Fig. 6, based on above-described embodiment, in the present embodiment, described based on ARIXTRA The remote control control device of system also includes:
Shutdown module 40, for obtaining the touch information of remote control on & off switch, and ought judge that remote control on & off switch is long pressed When, control remote control shutdown.
Specifically, when described bluetooth touch-control remote controller completes the transmission of packet, then judge remote control on & off switch whether by Length is pressed, and when judging that described remote control on & off switch is long pressed, then controls remote control shutdown.Shut down in time by controlling remote control, The maloperation being avoided that false touch remote control and occurring, also can save the operation power consumption of described remote control.
It is understood that the on & off switch of described remote control can be physical button or membrane keyboard, and described on & off switch with The battery electrical connection of remote control.
In the present embodiment, information is pressed by the length obtaining remote control on & off switch, remote control can be controlled to shut down;Should illustrate , the on & off switch of described remote control can be, but not limited to only realize the shutdown of remote control, is touched by the difference obtaining on & off switch Touch information, remote control can be controlled to realize different functions.For example, obtain the double-click information of on & off switch, for controlling remote control Enter sleep state or release sleep state.
Or, by obtaining the different touch informations of on & off switch, can be realized different by remote control control controlled device Function.For example, in one embodiment, by obtain on & off switch click information, can by remote control control controlled Equipment is realized pause function or is released pause function;In another embodiment, by obtaining the double-click information of on & off switch, can To realize determining the function of current operation by remote control control controlled device.
It should be noted that when judging that remote control on & off switch is not long pressed, then returning to real-time monitoring remote control touch pad Sampled data and timer time value step, sampled data and time value are packaged into bluetooth HID proprietary protocol data Wrap and sent to controlled device by bluetooth module, judge whether remote control on & off switch is long pressed again;Until judging remote control When on & off switch is long pressed, then control remote control shutdown.
It is understood that by judging whether remote control on & off switch is long pressed, to control whether remote control shuts down;Pass through Obtain the touch information of remote control on & off switch, to judge that the operation of user is intended to, and then to execute different actions, to realize different work( Energy.In the present embodiment, long it is defined as controlling remote control shutdown by & off switch, namely only when collecting with the head of a household by & off switch Touch operation, remote control just can shut down, when not collecting the long touch operation by & off switch, you can thinks that user is not turned off distant The intention of control device, and then continue to obtain the sampled data of remote control touch pad and the time value of timer, execution is corresponding to be implemented , it is ensured that the gesture touch operation of user can be identified in time, the accuracy improving gesture touch operation identification is so that described for step Remote control control device based on Android system is more intelligent.
These are only the preferred embodiments of the present invention, not thereby limit the present invention the scope of the claims, every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of control method for remote controller based on Android system is it is characterised in that comprise the following steps:
The touch pad of initial based remote controller and bluetooth module, and control remote control bluetooth connection controlled device;
The sampled data of real-time monitoring remote control touch pad and the time value of timer;
Sampled data and time value are packaged into bluetooth HID proprietary protocol packet sending by bluetooth module set to controlled Standby, so that described controlled device analyzes the operational order of user input according to described sampled data and time value.
2. the control method for remote controller based on Android system as claimed in claim 1 is it is characterised in that described sampled data bag Include bluetooth HID proprietary protocol coding, touch action coding, touch action horizontal coordinate coding and touch action vertical coordinate to compile Code.
3. the control method for remote controller based on Android system as claimed in claim 2 it is characterised in that described by sampled data It is packaged into bluetooth HID proprietary protocol packet with time value and is sent to controlled device by bluetooth module, for described controlled The step of the operational order that equipment analyzes user input according to described sampled data and time value includes:
Judge whether touch operation completes according to described touch action coding;
If so, sampled data and time value are packaged into bluetooth HID proprietary protocol packet storing to delay to bluetooth module FIFO In storage;
Described bluetooth module sends the described bluetooth HID proprietary protocol packet storing to controlled device, for described controlled Equipment analyzes the operational order of user input according to described sampled data and time value.
4. the control method for remote controller based on Android system as claimed in claim 3 it is characterised in that described based on ARIXTRA system The control method for remote controller of system also includes:
Obtain the touch information of remote control on & off switch, and judge whether remote control on & off switch is long pressed, if so, then control remote control Shutdown.
5. as in claim 1-4 arbitrary described control method for remote controller based on Android system it is characterised in that described meter When device be 32 bit timers, the clock cycle be 1 millisecond.
6. a kind of remote control control device based on Android system is it is characterised in that include:
Initialization module, the touch pad for initial based remote controller and bluetooth module, and control that remote control bluetooth connection is controlled to be set Standby;
Monitoring modular, the sampled data for real-time monitoring remote control touch pad and the time value of timer;
Sending module, for being packaged into bluetooth HID proprietary protocol packet by sampled data and time value and passing through bluetooth module Send to controlled device, so that described controlled device refers to according to the operation that described sampled data and time value analyze user input Order.
7. the remote control control device based on Android system as claimed in claim 6 is it is characterised in that described sampled data bag Include bluetooth HID proprietary protocol coding, touch action coding, touch action horizontal coordinate coding and touch action vertical coordinate to compile Code.
8. the remote control control device based on Android system as claimed in claim 7 is it is characterised in that described sending module bag Include:
According to described touch action coding, judging unit, for judging whether touch operation completes;
Memory element, for when judging to have touch operation to complete, sampled data and time value being packaged into the privately owned association of bluetooth HID View packet simultaneously stores to bluetooth module FIFO buffer;
Transmitting element, sends the described bluetooth HID proprietary protocol packet storing to controlled device for described bluetooth module, So that described controlled device analyzes the operational order of user input according to described sampled data and time value.
9. the remote control control device based on Android system as claimed in claim 8 it is characterised in that described based on ARIXTRA system The remote control control device of system also includes:
Shutdown module, for obtaining the touch information of remote control on & off switch, and when judging that remote control on & off switch is long pressed, controls Remote control shuts down.
10. as the described remote control control device based on Android system arbitrary in claim 6-9 it is characterised in that described Timer is 32 bit timers, and the clock cycle is 1 millisecond.
CN201610893236.1A 2016-10-12 2016-10-12 Remote controller control method and device based on android system Pending CN106412654A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610893236.1A CN106412654A (en) 2016-10-12 2016-10-12 Remote controller control method and device based on android system
PCT/CN2016/113020 WO2018068413A1 (en) 2016-10-12 2016-12-29 Method and apparatus for controlling remote controller based on android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610893236.1A CN106412654A (en) 2016-10-12 2016-10-12 Remote controller control method and device based on android system

Publications (1)

Publication Number Publication Date
CN106412654A true CN106412654A (en) 2017-02-15

Family

ID=59229380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610893236.1A Pending CN106412654A (en) 2016-10-12 2016-10-12 Remote controller control method and device based on android system

Country Status (2)

Country Link
CN (1) CN106412654A (en)
WO (1) WO2018068413A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368252A (en) * 2017-07-04 2017-11-21 Tcl移动通信科技(宁波)有限公司 Mobile terminal and its apply touch screen data processing method and storage medium more
CN107465950A (en) * 2017-07-07 2017-12-12 广州视源电子科技股份有限公司 Data forwarding method and system
CN109199354A (en) * 2018-09-17 2019-01-15 山东思迈教育科技有限公司 A kind of heart rate data acquisition method and heart rate measuring device
CN109710313A (en) * 2018-12-19 2019-05-03 珠海格力电器股份有限公司 A kind of communication instruction processing method, processing system
CN110136419A (en) * 2019-05-31 2019-08-16 盘友圈(广州)科技有限公司 A method of passing through Bluetooth remote control Android device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209351A (en) * 2013-03-27 2013-07-17 四川长虹电器股份有限公司 Method for controlling terminal device by using multi-touch remote control
CN203120084U (en) * 2012-12-12 2013-08-07 康佳集团股份有限公司 Remote control system based on touch pad
CN103517111A (en) * 2012-06-29 2014-01-15 上海广电电子科技有限公司 Television remote control method based on touch remote control device and television system
CN104811779A (en) * 2015-04-23 2015-07-29 冠捷显示科技(厦门)有限公司 Handwriting input control method and system for smart television set on basis of touch panel and remote controller
CN105430468A (en) * 2015-11-30 2016-03-23 北京奇艺世纪科技有限公司 Remote control method and device for television set-top box
CN105898479A (en) * 2015-11-17 2016-08-24 乐视致新电子科技(天津)有限公司 Intelligent television controlling method, device and system
CN105979319A (en) * 2016-03-25 2016-09-28 钟林 Method and device for controlling card flow of smart television using direction gestures

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8933910B2 (en) * 2010-06-16 2015-01-13 Panasonic Intellectual Property Corporation Of America Information input apparatus, information input method, and program
CN202433864U (en) * 2012-02-17 2012-09-12 许晓聪 Wireless touch control device
US8847909B2 (en) * 2012-11-11 2014-09-30 Nomovok Co., Ltd. Touchable mobile remote control without display
TW201430678A (en) * 2013-01-18 2014-08-01 Yomore Technology Co Ltd Display control system and control method thereof
CN104954843A (en) * 2015-06-18 2015-09-30 Tcl集团股份有限公司 Remote control method and system of smart television

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517111A (en) * 2012-06-29 2014-01-15 上海广电电子科技有限公司 Television remote control method based on touch remote control device and television system
CN203120084U (en) * 2012-12-12 2013-08-07 康佳集团股份有限公司 Remote control system based on touch pad
CN103209351A (en) * 2013-03-27 2013-07-17 四川长虹电器股份有限公司 Method for controlling terminal device by using multi-touch remote control
CN104811779A (en) * 2015-04-23 2015-07-29 冠捷显示科技(厦门)有限公司 Handwriting input control method and system for smart television set on basis of touch panel and remote controller
CN105898479A (en) * 2015-11-17 2016-08-24 乐视致新电子科技(天津)有限公司 Intelligent television controlling method, device and system
CN105430468A (en) * 2015-11-30 2016-03-23 北京奇艺世纪科技有限公司 Remote control method and device for television set-top box
CN105979319A (en) * 2016-03-25 2016-09-28 钟林 Method and device for controlling card flow of smart television using direction gestures

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梅方: "HID规范在智能遥控***中的研究与应用", 《中国海洋大学硕士论文》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368252A (en) * 2017-07-04 2017-11-21 Tcl移动通信科技(宁波)有限公司 Mobile terminal and its apply touch screen data processing method and storage medium more
CN107368252B (en) * 2017-07-04 2021-01-08 Tcl移动通信科技(宁波)有限公司 Mobile terminal, multi-application touch screen data processing method thereof and storage medium
CN107465950A (en) * 2017-07-07 2017-12-12 广州视源电子科技股份有限公司 Data forwarding method and system
CN109199354A (en) * 2018-09-17 2019-01-15 山东思迈教育科技有限公司 A kind of heart rate data acquisition method and heart rate measuring device
CN109199354B (en) * 2018-09-17 2021-06-25 山东思迈教育科技有限公司 Heart rate data acquisition method and heart rate measuring equipment
CN109710313A (en) * 2018-12-19 2019-05-03 珠海格力电器股份有限公司 A kind of communication instruction processing method, processing system
CN110136419A (en) * 2019-05-31 2019-08-16 盘友圈(广州)科技有限公司 A method of passing through Bluetooth remote control Android device

Also Published As

Publication number Publication date
WO2018068413A1 (en) 2018-04-19

Similar Documents

Publication Publication Date Title
CN106412654A (en) Remote controller control method and device based on android system
US11886667B2 (en) Always-available input through finger instrumentation
CN106598335B (en) A kind of touch screen control method, device and mobile terminal of mobile terminal
CN105760019B (en) Touch operation method and its system based on interactive electric whiteboard
CN105477854B (en) Applied to the handle control method of intelligent terminal, apparatus and system
CN105549813B (en) A kind of method for controlling mobile terminal and mobile terminal
EP3336679B1 (en) Method and terminal for preventing unintentional triggering of a touch key and storage medium
CN108205412B (en) A kind of method and apparatus for realizing screenshotss
CN106681636B (en) Method and device for preventing false touch and mobile terminal
CN104102444B (en) The method and intelligent terminal of gesture control alarm clock
WO2020199937A1 (en) Method and device for processing information in game, storage medium and electronic device
US20240077948A1 (en) Gesture-based display interface control method and apparatus, device and storage medium
CN104503321A (en) Ultralow-power wireless intelligent control system for body sensing or voice control
CN108920202A (en) Using preloading management method, device, storage medium and intelligent terminal
CN109471667A (en) Computer and mobile phones integrated intelligent interactive method
WO2020207028A1 (en) Method, device and apparatus for controlling touch operation mode, and storage medium
CN201387607Y (en) Infrared controller of user-defined function control computer
CN103823555A (en) System and method for converting 3D (three-dimensional) gestures into key codes
CN114415850A (en) Control method and device, touch control pen and computer readable storage medium
CN102880339A (en) Wireless touch remote control device and operation identification method thereof
CN105183191B (en) A kind of stylus and touch-controlled electronic devices and control method
CN110308826A (en) A kind of dynamic Simulation of keyboard input instruction set method of the free drive of interactive whiteboard system
CN106648040B (en) Terminal control method and device
CN109690446B (en) Interaction method and electronic equipment
CN105988916B (en) Visualization method, device and system are carried out to the touch locus of points of touch panel device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170215

RJ01 Rejection of invention patent application after publication